<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/21/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sleitao</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/21/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sleitao"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/Special:Contributions/Sleitao"/>
	<updated>2026-04-17T19:17:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77114</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77114"/>
		<updated>2010-10-26T10:15:38Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Package installation===&lt;br /&gt;
* Select the &amp;quot;[http://download.moodle.org/download.php/packages/bibliography_package.zip bibliography_package.zip]&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** &#039;&#039;The package contains:&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The activity module - which is the the core of the module&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The filter - enabling the inclusion of references from your course bibliographies in your web pages&#039;&#039;&lt;br /&gt;
*** &#039;&#039;A patch to install the html editor bib icon&#039;&#039;&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===Optional HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the [http://elearning.up.pt/moodle-modules/opt_bibicon.zip opt_bibicon.zip] file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files. You may also change moodle/lib/editor/htmlarea/dialog.js to custom the popup window size.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes dialog.js ====&lt;br /&gt;
&lt;br /&gt;
Add the popup size:&lt;br /&gt;
        &lt;br /&gt;
        case &amp;quot;dlg_ins_smile&amp;quot;: x = 330; y = 320; break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;dlg_ins_bib&amp;quot;: x = 540; y = 320; break;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
==User Manual==&lt;br /&gt;
===Add Bibliography activity===&lt;br /&gt;
To add a bibliography:&lt;br /&gt;
&lt;br /&gt;
#Press &amp;quot;Turn editing on&amp;quot;&lt;br /&gt;
#Select Bibliography on &amp;quot;Add an activity&amp;quot;&lt;br /&gt;
#Fill &amp;quot;Bibliography Fullname&amp;quot;&lt;br /&gt;
#Describe you bibliography on &amp;quot;Bibliography Intro&amp;quot;&lt;br /&gt;
#Choose general settings (see below)&lt;br /&gt;
#Press &amp;quot;Save...&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
====General settings====&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;Entries shown per page&amp;quot; choose the number of items you want to display per page&lt;br /&gt;
*&amp;quot;Allow comments&amp;quot; choose if you want to allow comments about your bibliography entries&lt;br /&gt;
*&amp;quot;Allow students to insert entries&amp;quot; choose if you want to let students contribute to bibliography with their own entries&lt;br /&gt;
&lt;br /&gt;
===Viewing a bibliography===&lt;br /&gt;
&lt;br /&gt;
====Browse options====&lt;br /&gt;
You can browse bibliographies according to the following options:&lt;br /&gt;
* Browse by citekey&lt;br /&gt;
* Browse by date (year)&lt;br /&gt;
* Browse by author&lt;br /&gt;
* Browse by category (if there are any categories added)&lt;br /&gt;
&lt;br /&gt;
====Search options====&lt;br /&gt;
You can also search for a given word using the Search field.&lt;br /&gt;
&lt;br /&gt;
===Adding/editing a bibliography entry===&lt;br /&gt;
To add a glossary entry:&lt;br /&gt;
&lt;br /&gt;
#From the bibliography page, click the &amp;quot;Add a new entry&amp;quot; button.&lt;br /&gt;
#Choose your entry type (available 8 different types)&lt;br /&gt;
#Fill the required fields (Title, Year, Authors)&lt;br /&gt;
#Fill some other fields (entry type specific)&lt;br /&gt;
#Fill the fields common to all entry types like &amp;quot;Available on&amp;quot;, &amp;quot;Categories&amp;quot;, &amp;quot;Keywords&amp;quot;. &lt;br /&gt;
#If you want to add an attachment, such as a picture or an article, you can attach it below the Keyword(s) text area.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button to add your bibliography entry.&lt;br /&gt;
&lt;br /&gt;
===Bibliography comments===&lt;br /&gt;
If you enabled comments on the bibliography entries, users will see a little cartoon speech balloon icon in the lower right-hand corner of the definition block. &lt;br /&gt;
When you click on the balloon, you&#039;re taken to the comment entry page. Add your comment then click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
Once you&#039;ve saved your comment, Moodle will display all of the comments for the entry. When you return to the main bibliography page, you&#039;ll see a new message next to the speech balloon telling you how many comments there are for the entry.&lt;br /&gt;
&lt;br /&gt;
===Editing bibliography categories===&lt;br /&gt;
&lt;br /&gt;
Categories may be created to help organize your bibliography entries.&lt;br /&gt;
&lt;br /&gt;
To create a bibliography category:&lt;br /&gt;
&lt;br /&gt;
#Click the &amp;quot;Browse by category&amp;quot; tab in the main page of the bibliography.&lt;br /&gt;
#Click the &amp;quot;Edit categories&amp;quot; button on the left side of the page.&lt;br /&gt;
#Click the &amp;quot;Add category&amp;quot; button on the resulting Categories page.&lt;br /&gt;
#Give the category a name.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
===Importing/Exporting entries===&lt;br /&gt;
&lt;br /&gt;
To import bibliography entries via a bibtex file (.bib):&lt;br /&gt;
&lt;br /&gt;
#Follow the &amp;quot;Import entries&amp;quot; link at the top right of the main bibliography page.&lt;br /&gt;
#Browse for the exported entries bibtex file on your computer.&lt;br /&gt;
#If you want to import to a category, select which one.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button. You&#039;ll then see a report of the entries and categories added to the bibliography.&lt;br /&gt;
&lt;br /&gt;
To export bibliography entries to a bibtex file (.bib):&lt;br /&gt;
#Follow the &amp;quot;Export entries&amp;quot; link at the top right of the main bibliography page.&lt;br /&gt;
#Click &amp;quot;Export to BibTex file&amp;quot;.&lt;br /&gt;
#Save the automatically generated BibTex file on your computer. &lt;br /&gt;
&lt;br /&gt;
===Reference from html resources===&lt;br /&gt;
You can reference to bibliography entries from your html resources and automatically add them as a footnote.&lt;br /&gt;
You have 2 ways to accomplish that:&lt;br /&gt;
# Insert the mark [bib-citekeyname] where citekeyname is the citekey from the entry you want to make reference&lt;br /&gt;
# If the Optional HTML editor bib icon is installed you should follow these steps:&lt;br /&gt;
## On your html editor bar click &amp;quot;bib&amp;quot; icon and a popup will open with all the course bibliography entries&lt;br /&gt;
## Choose the reference you want to add clicking the arrow&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77113</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77113"/>
		<updated>2010-10-26T09:55:59Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Adding/editing a bibliography entry */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Package installation===&lt;br /&gt;
* Select the &amp;quot;[http://download.moodle.org/download.php/packages/bibliography_package.zip bibliography_package.zip]&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** &#039;&#039;The package contains:&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The activity module - which is the the core of the module&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The filter - enabling the inclusion of references from your course bibliographies in your web pages&#039;&#039;&lt;br /&gt;
*** &#039;&#039;A patch to install the html editor bib icon&#039;&#039;&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===Optional HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the [http://elearning.up.pt/moodle-modules/opt_bibicon.zip opt_bibicon.zip] file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files. You may also change moodle/lib/editor/htmlarea/dialog.js to custom the popup window size.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes dialog.js ====&lt;br /&gt;
&lt;br /&gt;
Add the popup size:&lt;br /&gt;
        &lt;br /&gt;
        case &amp;quot;dlg_ins_smile&amp;quot;: x = 330; y = 320; break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;dlg_ins_bib&amp;quot;: x = 540; y = 320; break;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
==User Manual==&lt;br /&gt;
===Add Bibliography activity===&lt;br /&gt;
To add a bibliography:&lt;br /&gt;
&lt;br /&gt;
#Press &amp;quot;Turn editing on&amp;quot;&lt;br /&gt;
#Select Bibliography on &amp;quot;Add an activity&amp;quot;&lt;br /&gt;
#Fill &amp;quot;Bibliography Fullname&amp;quot;&lt;br /&gt;
#Describe you bibliography on &amp;quot;Bibliography Intro&amp;quot;&lt;br /&gt;
#Choose general settings (see below)&lt;br /&gt;
#Press &amp;quot;Save...&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
====General settings====&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;Entries shown per page&amp;quot; choose the number of items you want to display per page&lt;br /&gt;
*&amp;quot;Allow comments&amp;quot; choose if you want to allow comments about your bibliography entries&lt;br /&gt;
*&amp;quot;Allow students to insert entries&amp;quot; choose if you want to let students contribute to bibliography with their own entries&lt;br /&gt;
&lt;br /&gt;
===Viewing a bibliography===&lt;br /&gt;
&lt;br /&gt;
====Browse options====&lt;br /&gt;
You can browse bibliographies according to the following options:&lt;br /&gt;
* Browse by citekey&lt;br /&gt;
* Browse by date (year)&lt;br /&gt;
* Browse by author&lt;br /&gt;
* Browse by category (if there are any categories added)&lt;br /&gt;
&lt;br /&gt;
====Search options====&lt;br /&gt;
You can also search for a given word using the Search field.&lt;br /&gt;
&lt;br /&gt;
===Adding/editing a bibliography entry===&lt;br /&gt;
To add a glossary entry:&lt;br /&gt;
&lt;br /&gt;
#From the bibliography page, click the &amp;quot;Add a new entry&amp;quot; button.&lt;br /&gt;
#Choose your entry type (available 8 different types)&lt;br /&gt;
#Fill the required fields (Title, Year, Authors)&lt;br /&gt;
#Fill some other fields (entry type specific)&lt;br /&gt;
#Fill the fields common to all entry types like &amp;quot;Available on&amp;quot;, &amp;quot;Categories&amp;quot;, &amp;quot;Keywords&amp;quot;. &lt;br /&gt;
#If you want to add an attachment, such as a picture or an article, you can attach it below the Keyword(s) text area.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button to add your bibliography entry.&lt;br /&gt;
&lt;br /&gt;
===Bibliography comments===&lt;br /&gt;
If you enabled comments on the bibliography entries, users will see a little cartoon speech balloon icon in the lower right-hand corner of the definition block. &lt;br /&gt;
When you click on the balloon, you&#039;re taken to the comment entry page. Add your comment then click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
Once you&#039;ve saved your comment, Moodle will display all of the comments for the entry. When you return to the main bibliography page, you&#039;ll see a new message next to the speech balloon telling you how many comments there are for the entry.&lt;br /&gt;
&lt;br /&gt;
===Editing bibliography categories===&lt;br /&gt;
&lt;br /&gt;
Categories may be created to help organize your bibliography entries.&lt;br /&gt;
&lt;br /&gt;
To create a bibliography category:&lt;br /&gt;
&lt;br /&gt;
#Click the &amp;quot;Browse by category&amp;quot; tab in the main page of the bibliography.&lt;br /&gt;
#Click the &amp;quot;Edit categories&amp;quot; button on the left side of the page.&lt;br /&gt;
#Click the &amp;quot;Add category&amp;quot; button on the resulting Categories page.&lt;br /&gt;
#Give the category a name.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
===Importing/Exporting entries===&lt;br /&gt;
&lt;br /&gt;
To import bibliography entries via a bibtex file (.bib):&lt;br /&gt;
&lt;br /&gt;
#Follow the &amp;quot;Import entries&amp;quot; link at the top right of the main bibliography page.&lt;br /&gt;
#Browse for the exported entries bibtex file on your computer.&lt;br /&gt;
#If you want to import to a category, select which one.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button. You&#039;ll then see a report of the entries and categories added to the bibliography.&lt;br /&gt;
&lt;br /&gt;
To export bibliography entries to a bibtex file (.bib):&lt;br /&gt;
#Follow the &amp;quot;Export entries&amp;quot; link at the top right of the main bibliography page.&lt;br /&gt;
#Click &amp;quot;Export to BibTex file&amp;quot;.&lt;br /&gt;
#Save the automatically generated BibTex file on your computer. &lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77062</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77062"/>
		<updated>2010-10-25T17:49:26Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Editing bibliography categories */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Package installation===&lt;br /&gt;
* Select the &amp;quot;[http://download.moodle.org/download.php/packages/bibliography_package.zip bibliography_package.zip]&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** &#039;&#039;The package contains:&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The activity module - which is the the core of the module&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The filter - enabling the inclusion of references from your course bibliographies in your web pages&#039;&#039;&lt;br /&gt;
*** &#039;&#039;A patch to install the html editor bib icon&#039;&#039;&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===Optional HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the [http://elearning.up.pt/moodle-modules/opt_bibicon.zip opt_bibicon.zip] file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files. You may also change moodle/lib/editor/htmlarea/dialog.js to custom the popup window size.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes dialog.js ====&lt;br /&gt;
&lt;br /&gt;
Add the popup size:&lt;br /&gt;
        &lt;br /&gt;
        case &amp;quot;dlg_ins_smile&amp;quot;: x = 330; y = 320; break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;dlg_ins_bib&amp;quot;: x = 540; y = 320; break;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
==User Manual==&lt;br /&gt;
===Add Bibliography activity===&lt;br /&gt;
To add a bibliography:&lt;br /&gt;
&lt;br /&gt;
#Press &amp;quot;Turn editing on&amp;quot;&lt;br /&gt;
#Select Bibliography on &amp;quot;Add an activity&amp;quot;&lt;br /&gt;
#Fill &amp;quot;Bibliography Fullname&amp;quot;&lt;br /&gt;
#Describe you bibliography on &amp;quot;Bibliography Intro&amp;quot;&lt;br /&gt;
#Choose general settings (see below)&lt;br /&gt;
#Press &amp;quot;Save...&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
====General settings====&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;Entries shown per page&amp;quot; choose the number of items you want to display per page&lt;br /&gt;
*&amp;quot;Allow comments&amp;quot; choose if you want to allow comments about your bibliography entries&lt;br /&gt;
*&amp;quot;Allow students to insert entries&amp;quot; choose if you want to let students contribute to bibliography with their own entries&lt;br /&gt;
&lt;br /&gt;
===Viewing a bibliography===&lt;br /&gt;
&lt;br /&gt;
====Browse options====&lt;br /&gt;
You can browse bibliographies according to the following options:&lt;br /&gt;
* Browse by citekey&lt;br /&gt;
* Browse by date (year)&lt;br /&gt;
* Browse by author&lt;br /&gt;
* Browse by category (if there are any categories added)&lt;br /&gt;
&lt;br /&gt;
====Search options====&lt;br /&gt;
You can also search for a given word using the Search field.&lt;br /&gt;
&lt;br /&gt;
===Adding/editing a bibliography entry===&lt;br /&gt;
To add a glossary entry:&lt;br /&gt;
&lt;br /&gt;
#From the bibliography page, click the &amp;quot;Add a new entry&amp;quot; button.&lt;br /&gt;
#Choose your entry type (see below)&lt;br /&gt;
#Fill the required fields (Title, Year, Authors)&lt;br /&gt;
#Fill some other fields (entry type specific)&lt;br /&gt;
#Fill the fields common to all entry types like &amp;quot;Available on&amp;quot;, &amp;quot;Categories&amp;quot;, &amp;quot;Keywords&amp;quot;. &lt;br /&gt;
#If you want to add an attachment, such as a picture or an article, you can attach it below the Keyword(s) text area.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button to add your bibliography entry. &lt;br /&gt;
&lt;br /&gt;
===Bibliography comments===&lt;br /&gt;
If you enabled comments on the bibliography entries, users will see a little cartoon speech balloon icon in the lower right-hand corner of the definition block. &lt;br /&gt;
When you click on the balloon, you&#039;re taken to the comment entry page. Add your comment then click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
Once you&#039;ve saved your comment, Moodle will display all of the comments for the entry. When you return to the main bibliography page, you&#039;ll see a new message next to the speech balloon telling you how many comments there are for the entry.&lt;br /&gt;
&lt;br /&gt;
===Editing bibliography categories===&lt;br /&gt;
&lt;br /&gt;
Categories may be created to help organize your bibliography entries.&lt;br /&gt;
&lt;br /&gt;
To create a bibliography category:&lt;br /&gt;
&lt;br /&gt;
#Click the &amp;quot;Browse by category&amp;quot; tab in the main page of the bibliography.&lt;br /&gt;
#Click the &amp;quot;Edit categories&amp;quot; button on the left side of the page.&lt;br /&gt;
#Click the &amp;quot;Add category&amp;quot; button on the resulting Categories page.&lt;br /&gt;
#Give the category a name.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
===Importing/Exporting entries===&lt;br /&gt;
&lt;br /&gt;
To import bibliography entries via a bibtex file (.bib):&lt;br /&gt;
&lt;br /&gt;
#Follow the &amp;quot;Import entries&amp;quot; link at the top right of the main bibliography page.&lt;br /&gt;
#Browse for the exported entries bibtex file on your computer.&lt;br /&gt;
#If you want to import to a category, select which one.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button. You&#039;ll then see a report of the entries and categories added to the bibliography.&lt;br /&gt;
&lt;br /&gt;
To export bibliography entries to a bibtex file (.bib):&lt;br /&gt;
#Follow the &amp;quot;Export entries&amp;quot; link at the top right of the main bibliography page.&lt;br /&gt;
#Click &amp;quot;Export to BibTex file&amp;quot;.&lt;br /&gt;
#Save the automatically generated BibTex file on your computer. &lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77061</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77061"/>
		<updated>2010-10-25T17:40:58Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Bibliography comments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Package installation===&lt;br /&gt;
* Select the &amp;quot;[http://download.moodle.org/download.php/packages/bibliography_package.zip bibliography_package.zip]&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** &#039;&#039;The package contains:&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The activity module - which is the the core of the module&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The filter - enabling the inclusion of references from your course bibliographies in your web pages&#039;&#039;&lt;br /&gt;
*** &#039;&#039;A patch to install the html editor bib icon&#039;&#039;&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===Optional HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the [http://elearning.up.pt/moodle-modules/opt_bibicon.zip opt_bibicon.zip] file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files. You may also change moodle/lib/editor/htmlarea/dialog.js to custom the popup window size.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes dialog.js ====&lt;br /&gt;
&lt;br /&gt;
Add the popup size:&lt;br /&gt;
        &lt;br /&gt;
        case &amp;quot;dlg_ins_smile&amp;quot;: x = 330; y = 320; break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;dlg_ins_bib&amp;quot;: x = 540; y = 320; break;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
==User Manual==&lt;br /&gt;
===Add Bibliography activity===&lt;br /&gt;
To add a bibliography:&lt;br /&gt;
&lt;br /&gt;
#Press &amp;quot;Turn editing on&amp;quot;&lt;br /&gt;
#Select Bibliography on &amp;quot;Add an activity&amp;quot;&lt;br /&gt;
#Fill &amp;quot;Bibliography Fullname&amp;quot;&lt;br /&gt;
#Describe you bibliography on &amp;quot;Bibliography Intro&amp;quot;&lt;br /&gt;
#Choose general settings (see below)&lt;br /&gt;
#Press &amp;quot;Save...&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
====General settings====&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;Entries shown per page&amp;quot; choose the number of items you want to display per page&lt;br /&gt;
*&amp;quot;Allow comments&amp;quot; choose if you want to allow comments about your bibliography entries&lt;br /&gt;
*&amp;quot;Allow students to insert entries&amp;quot; choose if you want to let students contribute to bibliography with their own entries&lt;br /&gt;
&lt;br /&gt;
===Viewing a bibliography===&lt;br /&gt;
&lt;br /&gt;
====Browse options====&lt;br /&gt;
You can browse bibliographies according to the following options:&lt;br /&gt;
* Browse by citekey&lt;br /&gt;
* Browse by date (year)&lt;br /&gt;
* Browse by author&lt;br /&gt;
* Browse by category (if there are any categories added)&lt;br /&gt;
&lt;br /&gt;
====Search options====&lt;br /&gt;
You can also search for a given word using the Search field.&lt;br /&gt;
&lt;br /&gt;
===Adding/editing a bibliography entry===&lt;br /&gt;
To add a glossary entry:&lt;br /&gt;
&lt;br /&gt;
#From the bibliography page, click the &amp;quot;Add a new entry&amp;quot; button.&lt;br /&gt;
#Choose your entry type (see below)&lt;br /&gt;
#Fill the required fields (Title, Year, Authors)&lt;br /&gt;
#Fill some other fields (entry type specific)&lt;br /&gt;
#Fill the fields common to all entry types like &amp;quot;Available on&amp;quot;, &amp;quot;Categories&amp;quot;, &amp;quot;Keywords&amp;quot;. &lt;br /&gt;
#If you want to add an attachment, such as a picture or an article, you can attach it below the Keyword(s) text area.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button to add your bibliography entry. &lt;br /&gt;
&lt;br /&gt;
===Bibliography comments===&lt;br /&gt;
If you enabled comments on the bibliography entries, users will see a little cartoon speech balloon icon in the lower right-hand corner of the definition block. &lt;br /&gt;
When you click on the balloon, you&#039;re taken to the comment entry page. Add your comment then click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
Once you&#039;ve saved your comment, Moodle will display all of the comments for the entry. When you return to the main bibliography page, you&#039;ll see a new message next to the speech balloon telling you how many comments there are for the entry.&lt;br /&gt;
&lt;br /&gt;
===Editing bibliography categories===&lt;br /&gt;
&lt;br /&gt;
Categories may be created to help organize your bibliography entries.&lt;br /&gt;
&lt;br /&gt;
To create a bibliography category:&lt;br /&gt;
&lt;br /&gt;
#Click the &amp;quot;Browse by category&amp;quot; tab in the main page of the bibliography.&lt;br /&gt;
#Click the &amp;quot;Edit categories&amp;quot; button on the left side of the page.&lt;br /&gt;
#Click the &amp;quot;Add category&amp;quot; button on the resulting Categories page.&lt;br /&gt;
#Give the category a name.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77060</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77060"/>
		<updated>2010-10-25T17:36:29Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Adding/editing a bibliography entry */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Package installation===&lt;br /&gt;
* Select the &amp;quot;[http://download.moodle.org/download.php/packages/bibliography_package.zip bibliography_package.zip]&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** &#039;&#039;The package contains:&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The activity module - which is the the core of the module&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The filter - enabling the inclusion of references from your course bibliographies in your web pages&#039;&#039;&lt;br /&gt;
*** &#039;&#039;A patch to install the html editor bib icon&#039;&#039;&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===Optional HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the [http://elearning.up.pt/moodle-modules/opt_bibicon.zip opt_bibicon.zip] file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files. You may also change moodle/lib/editor/htmlarea/dialog.js to custom the popup window size.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes dialog.js ====&lt;br /&gt;
&lt;br /&gt;
Add the popup size:&lt;br /&gt;
        &lt;br /&gt;
        case &amp;quot;dlg_ins_smile&amp;quot;: x = 330; y = 320; break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;dlg_ins_bib&amp;quot;: x = 540; y = 320; break;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
==User Manual==&lt;br /&gt;
===Add Bibliography activity===&lt;br /&gt;
To add a bibliography:&lt;br /&gt;
&lt;br /&gt;
#Press &amp;quot;Turn editing on&amp;quot;&lt;br /&gt;
#Select Bibliography on &amp;quot;Add an activity&amp;quot;&lt;br /&gt;
#Fill &amp;quot;Bibliography Fullname&amp;quot;&lt;br /&gt;
#Describe you bibliography on &amp;quot;Bibliography Intro&amp;quot;&lt;br /&gt;
#Choose general settings (see below)&lt;br /&gt;
#Press &amp;quot;Save...&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
====General settings====&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;Entries shown per page&amp;quot; choose the number of items you want to display per page&lt;br /&gt;
*&amp;quot;Allow comments&amp;quot; choose if you want to allow comments about your bibliography entries&lt;br /&gt;
*&amp;quot;Allow students to insert entries&amp;quot; choose if you want to let students contribute to bibliography with their own entries&lt;br /&gt;
&lt;br /&gt;
===Viewing a bibliography===&lt;br /&gt;
&lt;br /&gt;
====Browse options====&lt;br /&gt;
You can browse bibliographies according to the following options:&lt;br /&gt;
* Browse by citekey&lt;br /&gt;
* Browse by date (year)&lt;br /&gt;
* Browse by author&lt;br /&gt;
* Browse by category (if there are any categories added)&lt;br /&gt;
&lt;br /&gt;
====Search options====&lt;br /&gt;
You can also search for a given word using the Search field.&lt;br /&gt;
&lt;br /&gt;
===Adding/editing a bibliography entry===&lt;br /&gt;
To add a glossary entry:&lt;br /&gt;
&lt;br /&gt;
#From the bibliography page, click the &amp;quot;Add a new entry&amp;quot; button.&lt;br /&gt;
#Choose your entry type (see below)&lt;br /&gt;
#Fill the required fields (Title, Year, Authors)&lt;br /&gt;
#Fill some other fields (entry type specific)&lt;br /&gt;
#Fill the fields common to all entry types like &amp;quot;Available on&amp;quot;, &amp;quot;Categories&amp;quot;, &amp;quot;Keywords&amp;quot;. &lt;br /&gt;
#If you want to add an attachment, such as a picture or an article, you can attach it below the Keyword(s) text area.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button to add your bibliography entry. &lt;br /&gt;
&lt;br /&gt;
===Bibliography comments===&lt;br /&gt;
If you enabled comments on the bibliography entries, users will see a little cartoon speech balloon icon in the lower right-hand corner of the definition block. &lt;br /&gt;
When you click on the balloon, you&#039;re taken to the comment entry page. Add your comment then click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
Once you&#039;ve saved your comment, Moodle will display all of the comments for the entry. When you return to the main bibliography page, you&#039;ll see a new message next to the speech balloon telling you how many comments there are for the entry.&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77059</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77059"/>
		<updated>2010-10-25T17:30:26Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Add Bibliography activity */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Package installation===&lt;br /&gt;
* Select the &amp;quot;[http://download.moodle.org/download.php/packages/bibliography_package.zip bibliography_package.zip]&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** &#039;&#039;The package contains:&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The activity module - which is the the core of the module&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The filter - enabling the inclusion of references from your course bibliographies in your web pages&#039;&#039;&lt;br /&gt;
*** &#039;&#039;A patch to install the html editor bib icon&#039;&#039;&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===Optional HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the [http://elearning.up.pt/moodle-modules/opt_bibicon.zip opt_bibicon.zip] file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files. You may also change moodle/lib/editor/htmlarea/dialog.js to custom the popup window size.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes dialog.js ====&lt;br /&gt;
&lt;br /&gt;
Add the popup size:&lt;br /&gt;
        &lt;br /&gt;
        case &amp;quot;dlg_ins_smile&amp;quot;: x = 330; y = 320; break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;dlg_ins_bib&amp;quot;: x = 540; y = 320; break;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
==User Manual==&lt;br /&gt;
===Add Bibliography activity===&lt;br /&gt;
To add a bibliography:&lt;br /&gt;
&lt;br /&gt;
#Press &amp;quot;Turn editing on&amp;quot;&lt;br /&gt;
#Select Bibliography on &amp;quot;Add an activity&amp;quot;&lt;br /&gt;
#Fill &amp;quot;Bibliography Fullname&amp;quot;&lt;br /&gt;
#Describe you bibliography on &amp;quot;Bibliography Intro&amp;quot;&lt;br /&gt;
#Choose general settings (see below)&lt;br /&gt;
#Press &amp;quot;Save...&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
====General settings====&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;Entries shown per page&amp;quot; choose the number of items you want to display per page&lt;br /&gt;
*&amp;quot;Allow comments&amp;quot; choose if you want to allow comments about your bibliography entries&lt;br /&gt;
*&amp;quot;Allow students to insert entries&amp;quot; choose if you want to let students contribute to bibliography with their own entries&lt;br /&gt;
&lt;br /&gt;
===Viewing a bibliography===&lt;br /&gt;
&lt;br /&gt;
====Browse options====&lt;br /&gt;
You can browse bibliographies according to the following options:&lt;br /&gt;
* Browse by citekey&lt;br /&gt;
* Browse by date (year)&lt;br /&gt;
* Browse by author&lt;br /&gt;
* Browse by category (if there are any categories added)&lt;br /&gt;
&lt;br /&gt;
====Search options====&lt;br /&gt;
You can also search for a given word using the Search field.&lt;br /&gt;
&lt;br /&gt;
===Adding/editing a bibliography entry===&lt;br /&gt;
To add a glossary entry:&lt;br /&gt;
&lt;br /&gt;
#From the bibliography page, click the &amp;quot;Add a new entry&amp;quot; button.&lt;br /&gt;
#Choose your entry type (see below)&lt;br /&gt;
#Fill the required fields (Title, Year, Authors)&lt;br /&gt;
#Fill some other fields (entry type specific)&lt;br /&gt;
#Fill the fields common to all entry types like &amp;quot;Available on&amp;quot;, &amp;quot;Categories&amp;quot;, &amp;quot;Keywords&amp;quot;. &lt;br /&gt;
#If you want to add an attachment, such as a picture or an article, you can attach it below the Keyword(s) text area.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button to add your bibliography entry. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77058</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77058"/>
		<updated>2010-10-25T17:29:55Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Viewing a bibliography */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Package installation===&lt;br /&gt;
* Select the &amp;quot;[http://download.moodle.org/download.php/packages/bibliography_package.zip bibliography_package.zip]&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** &#039;&#039;The package contains:&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The activity module - which is the the core of the module&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The filter - enabling the inclusion of references from your course bibliographies in your web pages&#039;&#039;&lt;br /&gt;
*** &#039;&#039;A patch to install the html editor bib icon&#039;&#039;&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===Optional HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the [http://elearning.up.pt/moodle-modules/opt_bibicon.zip opt_bibicon.zip] file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files. You may also change moodle/lib/editor/htmlarea/dialog.js to custom the popup window size.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes dialog.js ====&lt;br /&gt;
&lt;br /&gt;
Add the popup size:&lt;br /&gt;
        &lt;br /&gt;
        case &amp;quot;dlg_ins_smile&amp;quot;: x = 330; y = 320; break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;dlg_ins_bib&amp;quot;: x = 540; y = 320; break;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
==User Manual==&lt;br /&gt;
===Add Bibliography activity===&lt;br /&gt;
To add a bibliography:&lt;br /&gt;
&lt;br /&gt;
*Press &amp;quot;Turn editing on&amp;quot;&lt;br /&gt;
*Select Bibliography on &amp;quot;Add an activity&amp;quot;&lt;br /&gt;
*Fill &amp;quot;Bibliography Fullname&amp;quot;&lt;br /&gt;
*Describe you bibliography on &amp;quot;Bibliography Intro&amp;quot;&lt;br /&gt;
*Choose general settings (see below)&lt;br /&gt;
*Press &amp;quot;Save...&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
====General settings====&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;Entries shown per page&amp;quot; choose the number of items you want to display per page&lt;br /&gt;
*&amp;quot;Allow comments&amp;quot; choose if you want to allow comments about your bibliography entries&lt;br /&gt;
*&amp;quot;Allow students to insert entries&amp;quot; choose if you want to let students contribute to bibliography with their own entries&lt;br /&gt;
&lt;br /&gt;
===Viewing a bibliography===&lt;br /&gt;
&lt;br /&gt;
====Browse options====&lt;br /&gt;
You can browse bibliographies according to the following options:&lt;br /&gt;
* Browse by citekey&lt;br /&gt;
* Browse by date (year)&lt;br /&gt;
* Browse by author&lt;br /&gt;
* Browse by category (if there are any categories added)&lt;br /&gt;
&lt;br /&gt;
====Search options====&lt;br /&gt;
You can also search for a given word using the Search field.&lt;br /&gt;
&lt;br /&gt;
===Adding/editing a bibliography entry===&lt;br /&gt;
To add a glossary entry:&lt;br /&gt;
&lt;br /&gt;
#From the bibliography page, click the &amp;quot;Add a new entry&amp;quot; button.&lt;br /&gt;
#Choose your entry type (see below)&lt;br /&gt;
#Fill the required fields (Title, Year, Authors)&lt;br /&gt;
#Fill some other fields (entry type specific)&lt;br /&gt;
#Fill the fields common to all entry types like &amp;quot;Available on&amp;quot;, &amp;quot;Categories&amp;quot;, &amp;quot;Keywords&amp;quot;. &lt;br /&gt;
#If you want to add an attachment, such as a picture or an article, you can attach it below the Keyword(s) text area.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button to add your bibliography entry. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77057</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77057"/>
		<updated>2010-10-25T17:16:47Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* User Manual */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Package installation===&lt;br /&gt;
* Select the &amp;quot;[http://download.moodle.org/download.php/packages/bibliography_package.zip bibliography_package.zip]&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** &#039;&#039;The package contains:&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The activity module - which is the the core of the module&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The filter - enabling the inclusion of references from your course bibliographies in your web pages&#039;&#039;&lt;br /&gt;
*** &#039;&#039;A patch to install the html editor bib icon&#039;&#039;&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===Optional HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the [http://elearning.up.pt/moodle-modules/opt_bibicon.zip opt_bibicon.zip] file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files. You may also change moodle/lib/editor/htmlarea/dialog.js to custom the popup window size.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes dialog.js ====&lt;br /&gt;
&lt;br /&gt;
Add the popup size:&lt;br /&gt;
        &lt;br /&gt;
        case &amp;quot;dlg_ins_smile&amp;quot;: x = 330; y = 320; break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;dlg_ins_bib&amp;quot;: x = 540; y = 320; break;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
==User Manual==&lt;br /&gt;
===Add Bibliography activity===&lt;br /&gt;
To add a bibliography:&lt;br /&gt;
&lt;br /&gt;
*Press &amp;quot;Turn editing on&amp;quot;&lt;br /&gt;
*Select Bibliography on &amp;quot;Add an activity&amp;quot;&lt;br /&gt;
*Fill &amp;quot;Bibliography Fullname&amp;quot;&lt;br /&gt;
*Describe you bibliography on &amp;quot;Bibliography Intro&amp;quot;&lt;br /&gt;
*Choose general settings (see below)&lt;br /&gt;
*Press &amp;quot;Save...&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
====General settings====&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;Entries shown per page&amp;quot; choose the number of items you want to display per page&lt;br /&gt;
*&amp;quot;Allow comments&amp;quot; choose if you want to allow comments about your bibliography entries&lt;br /&gt;
*&amp;quot;Allow students to insert entries&amp;quot; choose if you want to let students contribute to bibliography with their own entries&lt;br /&gt;
&lt;br /&gt;
===Viewing a bibliography===&lt;br /&gt;
&lt;br /&gt;
====Browse options====&lt;br /&gt;
You can browse bibliographies according to the following options:&lt;br /&gt;
* Browse by citekey&lt;br /&gt;
* Browse by date (year)&lt;br /&gt;
* Browse by author&lt;br /&gt;
* Browse by category (if there are any categories added)&lt;br /&gt;
&lt;br /&gt;
====Search options====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77056</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77056"/>
		<updated>2010-10-25T17:11:45Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* User Manual */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Package installation===&lt;br /&gt;
* Select the &amp;quot;[http://download.moodle.org/download.php/packages/bibliography_package.zip bibliography_package.zip]&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** &#039;&#039;The package contains:&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The activity module - which is the the core of the module&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The filter - enabling the inclusion of references from your course bibliographies in your web pages&#039;&#039;&lt;br /&gt;
*** &#039;&#039;A patch to install the html editor bib icon&#039;&#039;&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===Optional HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the [http://elearning.up.pt/moodle-modules/opt_bibicon.zip opt_bibicon.zip] file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files. You may also change moodle/lib/editor/htmlarea/dialog.js to custom the popup window size.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes dialog.js ====&lt;br /&gt;
&lt;br /&gt;
Add the popup size:&lt;br /&gt;
        &lt;br /&gt;
        case &amp;quot;dlg_ins_smile&amp;quot;: x = 330; y = 320; break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;dlg_ins_bib&amp;quot;: x = 540; y = 320; break;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
==User Manual==&lt;br /&gt;
===Add Bibliography activity===&lt;br /&gt;
To add a bibliography:&lt;br /&gt;
&lt;br /&gt;
*Press &amp;quot;Turn editing on&amp;quot;&lt;br /&gt;
*Select Bibliography on &amp;quot;Add an activity&amp;quot;&lt;br /&gt;
*Fill &amp;quot;Bibliography Fullname&amp;quot;&lt;br /&gt;
*Describe you bibliography on &amp;quot;Bibliography Intro&amp;quot;&lt;br /&gt;
*Choose general options (see below)&lt;br /&gt;
*Press &amp;quot;Save...&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
====General options====&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;Entries shown per page&amp;quot; choose the number of items you want to display per page&lt;br /&gt;
*&amp;quot;Allow comments&amp;quot; choose if you want to allow comments about your bibliography entries&lt;br /&gt;
*&amp;quot;Allow students to insert entries&amp;quot; choose if you want to let students contribute to bibliography with their own entries&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77055</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=77055"/>
		<updated>2010-10-25T17:01:30Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Package installation===&lt;br /&gt;
* Select the &amp;quot;[http://download.moodle.org/download.php/packages/bibliography_package.zip bibliography_package.zip]&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** &#039;&#039;The package contains:&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The activity module - which is the the core of the module&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The filter - enabling the inclusion of references from your course bibliographies in your web pages&#039;&#039;&lt;br /&gt;
*** &#039;&#039;A patch to install the html editor bib icon&#039;&#039;&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===Optional HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the [http://elearning.up.pt/moodle-modules/opt_bibicon.zip opt_bibicon.zip] file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files. You may also change moodle/lib/editor/htmlarea/dialog.js to custom the popup window size.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes dialog.js ====&lt;br /&gt;
&lt;br /&gt;
Add the popup size:&lt;br /&gt;
        &lt;br /&gt;
        case &amp;quot;dlg_ins_smile&amp;quot;: x = 330; y = 320; break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;dlg_ins_bib&amp;quot;: x = 540; y = 320; break;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
==User Manual==&lt;br /&gt;
===Add Bibliography activity===&lt;br /&gt;
To add a bibliography:&lt;br /&gt;
&lt;br /&gt;
*Press &amp;quot;Turn editing on&amp;quot;&lt;br /&gt;
*Select Bibliography on &amp;quot;Add an activity&amp;quot;&lt;br /&gt;
*Fill &amp;quot;Bibliography Fullname&amp;quot;&lt;br /&gt;
*Describe you bibliography on &amp;quot;Bibliography Intro&amp;quot;&lt;br /&gt;
*Choose options (see below)&lt;br /&gt;
*Press &amp;quot;Save...&amp;quot; button. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=75984</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=75984"/>
		<updated>2010-09-20T18:34:10Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Package installation===&lt;br /&gt;
* Select the &amp;quot;[http://download.moodle.org/download.php/packages/bibliography_package.zip bibliography_package.zip]&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** &#039;&#039;The package contains:&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The activity module - which is the the core of the module&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The filter - enabling the inclusion of references from your course bibliographies in your web pages&#039;&#039;&lt;br /&gt;
*** &#039;&#039;A patch to install the html editor bib icon&#039;&#039;&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===Optional HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the [http://elearning.up.pt/moodle-modules/opt_bibicon.zip opt_bibicon.zip] file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files. You may also change moodle/lib/editor/htmlarea/dialog.js to custom the popup window size.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changes dialog.js ====&lt;br /&gt;
&lt;br /&gt;
Add the popup size:&lt;br /&gt;
        &lt;br /&gt;
        case &amp;quot;dlg_ins_smile&amp;quot;: x = 330; y = 320; break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;dlg_ins_bib&amp;quot;: x = 540; y = 320; break;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=error/moodle/auth_ssosigarra_error_user&amp;diff=75877</id>
		<title>error/moodle/auth ssosigarra error user</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=error/moodle/auth_ssosigarra_error_user&amp;diff=75877"/>
		<updated>2010-09-15T12:29:15Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The error will show you when you try to access Moodle U.PORTO platform but your username is not in Moodle U.PORTO database system. Maybe you misspelled your username or you are not enrolled in any Moodle U.PORTO course.&lt;br /&gt;
&lt;br /&gt;
Please try to login again or contact your local technical support office for more information about your enrollment in Moodle U.PORTO courses.&lt;br /&gt;
&lt;br /&gt;
(Moodle U.PORTO uses custom SSO authentication module SSO(SiGARRA) enabled)&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=error/moodle/auth_ssosigarra_error_user&amp;diff=75876</id>
		<title>error/moodle/auth ssosigarra error user</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=error/moodle/auth_ssosigarra_error_user&amp;diff=75876"/>
		<updated>2010-09-15T12:28:48Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The error will show you when you try to access Moodle U.PORTO platform but your username is not in Moodle U.PORTO database system. Maybe you misspelled your username or you are not enrolled in any moodle U.PORTO course.&lt;br /&gt;
&lt;br /&gt;
Please try to login again or contact your local technical support office for more information about your enrollment in Moodle U.PORTO courses.&lt;br /&gt;
&lt;br /&gt;
(Moodle U.PORTO uses custom SSO authentication module SSO(SiGARRA) enabled)&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=error/moodle/auth_ssosigarra_error_user&amp;diff=75875</id>
		<title>error/moodle/auth ssosigarra error user</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=error/moodle/auth_ssosigarra_error_user&amp;diff=75875"/>
		<updated>2010-09-15T12:24:30Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The error will show you when you try to access Moodle U.PORTO platform but your username is not in Moodle U.PORTO database system. Maybe you misspelled your username or you are not enrolled in any moodle@UP course.&lt;br /&gt;
&lt;br /&gt;
Please try to login again or contact your local technical support office for more information about your enrollment in Moodle U.PORTO courses.&lt;br /&gt;
&lt;br /&gt;
(Moodle U.PORTO uses custom SSO authentication module SSO(SiGARRA) enabled)&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=75454</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=75454"/>
		<updated>2010-09-02T14:22:10Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Package installation===&lt;br /&gt;
* Select the &amp;quot;[http://download.moodle.org/download.php/packages/bibliography_package.zip bibliography_package.zip]&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** &#039;&#039;The package contains:&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The activity module - which is the the core of the module&#039;&#039;&lt;br /&gt;
*** &#039;&#039;The filter - enabling the inclusion of references from your course bibliographies in your web pages&#039;&#039;&lt;br /&gt;
*** &#039;&#039;A patch to install the html editor bib icon&#039;&#039;&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===Optional HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the bibliography_pack.zip file into the /moodle folder&lt;br /&gt;
* It will create the activity on your mod folder, the filter on your filter folder and also:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=75453</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=75453"/>
		<updated>2010-09-02T12:22:34Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Package installation===&lt;br /&gt;
* Select the &amp;quot;bibliography_package.zip&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** The package contains:&lt;br /&gt;
*** The activity module - which is the the core of the module&lt;br /&gt;
*** The filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
*** A patch to install the html editor bib icon&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===Optional HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the bibliography_pack.zip file into the /moodle folder&lt;br /&gt;
* It will create the activity on your mod folder, the filter on your filter folder and also:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=75452</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=75452"/>
		<updated>2010-09-02T12:16:52Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
* Reference to bibliography entries from your resources and automatically add them as a footnote&lt;br /&gt;
* You can also add the &#039;&#039;&#039;HTML editor bib icon&#039;&#039;&#039; and easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography_package.zip&amp;quot;&lt;br /&gt;
* Unzip the .zip file into the /moodle folder of your Moodle site&lt;br /&gt;
** The package contains:&lt;br /&gt;
*** The activity module - which is the the core of the module&lt;br /&gt;
*** The filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
*** A patch to install the html editor bib icon&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography activity&lt;br /&gt;
* Activate Bibliography filter on Modules&amp;gt;Filters administration&lt;br /&gt;
(You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.)&lt;br /&gt;
* Optionally you may install the HTML editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage - by:&lt;br /&gt;
** Running the patch on mod/bibliography/bibliography.patch&lt;br /&gt;
** Installing it manually as described bellow&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the bibliography_pack.zip file into the /moodle folder&lt;br /&gt;
* It will create the activity on your mod folder, the filter on your filter folder and also:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=75227</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=75227"/>
		<updated>2010-08-30T15:06:48Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography footnote filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
You may download the entire package: [http://elearning.up.pt/moodle-modules/bibliography_pack.zip bibliography_pack.zip] and unzip it into /moodle folder of your Moodle site.&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unzip the .zip file into the /moodle/mod folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography footnote filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bib_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
* Activate filter on Modules&amp;gt;Filters administration&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the bibliography_pack.zip file into the /moodle folder&lt;br /&gt;
* It will create the activity on your mod folder, the filter on your filter folder and also:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=75225</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=75225"/>
		<updated>2010-08-30T10:12:45Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography footnote filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
You may download the entire package: [http://elearning.up.pt/moodle-modules/bibliography_pack.zip bibliography_pack.zip] and unzip it into /moodle folder of your Moodle site.&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unzip the .zip file into the /moodle/mod folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bib_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
* Add $string[&#039;footerreferences&#039;] = &#039;Footer references&#039;; to your lang (or add bibliography.php with the string)&lt;br /&gt;
* Activate filter on Modules&amp;gt;Filters administration&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the bibliography_pack.zip file into the /moodle folder&lt;br /&gt;
* It will create the activity on your mod folder, the filter on your filter folder and also:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=74641</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=74641"/>
		<updated>2010-08-10T02:43:11Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
You may download the entire package: [http://elearning.up.pt/moodle-modules/bibliography_pack.zip bibliography_pack.zip] and unzip it into /moodle folder of your Moodle site.&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unzip the .zip file into the /moodle/mod folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bib_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
* Add $string[&#039;footerreferences&#039;] = &#039;Footer references&#039;; to your lang (or add bibliography.php with the string)&lt;br /&gt;
* Activate filter on Modules&amp;gt;Filters administration&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the bibliography_pack.zip file into the /moodle folder&lt;br /&gt;
* It will create the activity on your mod folder, the filter on your filter folder and also:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=74640</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=74640"/>
		<updated>2010-08-10T02:41:31Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
You may download the entire package: [[bibliography_pack.zip|http://elearning.up.pt/moodle-modules/bibliography_pack.zip]] and unzip it into /moodle folder of your Moodle site.&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unzip the .zip file into the /moodle/mod folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bib_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
* Add $string[&#039;footerreferences&#039;] = &#039;Footer references&#039;; to your lang (or add bibliography.php with the string)&lt;br /&gt;
* Activate filter on Modules&amp;gt;Filters administration&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the bibliography_pack.zip file into the /moodle folder&lt;br /&gt;
* It will create the activity on your mod folder, the filter on your filter folder and also:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=74639</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=74639"/>
		<updated>2010-08-10T02:40:10Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
You may download the entire package: [[http://elearning.up.pt/moodle-modules/bibliography_pack.zip]] and unzip it into /moodle folder of your Moodle site.&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unzip the .zip file into the /moodle/mod folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bib_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
* Add $string[&#039;footerreferences&#039;] = &#039;Footer references&#039;; to your lang (or add bibliography.php with the string)&lt;br /&gt;
* Activate filter on Modules&amp;gt;Filters administration&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
&lt;br /&gt;
* Unpacking the bibliography_pack.zip file into the /moodle folder&lt;br /&gt;
* It will create the activity on your mod folder, the filter on your filter folder and also:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=70842</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=70842"/>
		<updated>2010-04-08T16:58:56Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.tar&amp;quot; module&lt;br /&gt;
* Untar the .tar file into the /moodle folder of your Moodle site (tar -xvf bibliography.tar)&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bib_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
* Add $string[&#039;footerreferences&#039;] = &#039;Footer references&#039;; to your lang (or add bibliography.php with the string)&lt;br /&gt;
* Activate filter on Modules&amp;gt;Filters administration&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the &amp;quot;bib_editoricon.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=70080</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=70080"/>
		<updated>2010-03-24T11:18:00Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* HTML editor bib icon */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.tar&amp;quot; module&lt;br /&gt;
* Untar the .tar file into the /moodle folder of your Moodle site (tar -xvf bibliography.tar)&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bib_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
* Add $string[&#039;footerreferences&#039;] = &#039;Footer references&#039;; to your lang (or add bibliography.php with the string)&lt;br /&gt;
* Activate filter on Modules&amp;gt;Filters administration&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the &amp;quot;bib_editoricon.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
** moodle/lang/en_utf8/bibliography.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69937</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69937"/>
		<updated>2010-03-19T18:37:27Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Bibliography filter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.tar&amp;quot; module&lt;br /&gt;
* Untar the .tar file into the /moodle folder of your Moodle site (tar -xvf bibliography.tar)&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bib_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
* Add $string[&#039;footerreferences&#039;] = &#039;Footer references&#039;; to your lang (or add bibliography.php with the string)&lt;br /&gt;
* Activate filter on Modules&amp;gt;Filters administration&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the &amp;quot;bib_editoricon.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69936</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69936"/>
		<updated>2010-03-19T18:33:37Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Bibliography filter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.tar&amp;quot; module&lt;br /&gt;
* Untar the .tar file into the /moodle folder of your Moodle site (tar -xvf bibliography.tar)&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bib_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
* Activate filter on Modules&amp;gt;Filters administration&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the &amp;quot;bib_editoricon.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69932</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69932"/>
		<updated>2010-03-19T18:14:27Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Bibliography activity */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.tar&amp;quot; module&lt;br /&gt;
* Untar the .tar file into the /moodle folder of your Moodle site (tar -xvf bibliography.tar)&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bib_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the &amp;quot;bib_editoricon.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69931</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69931"/>
		<updated>2010-03-19T17:56:12Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* HTML editor bib icon */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unpack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bib_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the &amp;quot;bib_editoricon.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69930</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69930"/>
		<updated>2010-03-19T17:55:25Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Bibliography filter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unpack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bib_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the bib_editoricon.zip&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69929</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69929"/>
		<updated>2010-03-19T17:47:59Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* HTML editor bib icon */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unpack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the bib_editoricon.zip&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines.&lt;br /&gt;
&lt;br /&gt;
You can see bellow the code lines you will have to add to those 2 files.&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69928</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69928"/>
		<updated>2010-03-19T17:44:28Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unpack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the bib_editoricon.zip&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines (following lines)&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;&#039;&#039;&#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;/// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
        case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s all...&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69927</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69927"/>
		<updated>2010-03-19T17:42:30Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unpack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the bib_editoricon.zip&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines (following lines)&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
  /// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
Insert case &amp;quot;insertbib&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
        case &amp;quot;insertsmile&amp;quot;: this._insertSmile(); break;&lt;br /&gt;
        &#039;&#039;&#039;case &amp;quot;insertbib&amp;quot;: this._insertBib(); break;&#039;&#039;&#039;&lt;br /&gt;
	case &amp;quot;insertchar&amp;quot;: this._insertChar(); break;&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69926</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69926"/>
		<updated>2010-03-19T17:40:02Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unpack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the bib_editoricon.zip&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines (following lines)&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add &#039;&#039;Moodle hack - insertbib&#039;&#039; after &#039;&#039;Moodle hack - insertSmile&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
  /// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69925</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69925"/>
		<updated>2010-03-19T17:39:00Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unpack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the bib_editoricon.zip&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines (following lines)&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
Add Moodle hack - insertbib after Moodle hack - insertSmile&lt;br /&gt;
&lt;br /&gt;
  /// Moodle hack - insertbib&lt;br /&gt;
  HTMLArea.prototype._insertBib = function() {&lt;br /&gt;
    // Make sure that editor has focus&lt;br /&gt;
    this.focusEditor();&lt;br /&gt;
    var sel = this._getSelection();&lt;br /&gt;
    var range = this._createRange(sel);&lt;br /&gt;
    var editor = this;  // for nested functions&lt;br /&gt;
    this._popupDialog(&amp;quot;dlg_ins_bib.php?id=&amp;lt;?php echo $id; ?&amp;gt;&amp;quot;, function(imgString) {&lt;br /&gt;
        if(!imgString) {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
        if (HTMLArea.is_ie) {&lt;br /&gt;
            range.pasteHTML(imgString);&lt;br /&gt;
        } else {&lt;br /&gt;
            editor.insertHTML(imgString);&lt;br /&gt;
        }&lt;br /&gt;
        return true;&lt;br /&gt;
    }, null);&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69924</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69924"/>
		<updated>2010-03-19T17:34:14Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unpack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the bib_editoricon.zip&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines (following lines)&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...&#039;&#039;&#039;insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69923</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69923"/>
		<updated>2010-03-19T17:32:18Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unpack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the bib_editoricon.zip&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines (following lines)&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.toolbar array:&lt;br /&gt;
&lt;br /&gt;
                     this.toolbar = [ ... &amp;quot;&#039;&#039;&#039;insertbib&#039;&#039;&#039;&amp;quot;,&amp;quot;insertsmile&amp;quot;, &amp;quot;insertchar&amp;quot;,... ]&lt;br /&gt;
&lt;br /&gt;
Add insertbib to this.btnList array:&lt;br /&gt;
&lt;br /&gt;
                     this.btnList = {...insertbib: [&amp;quot;Insert Bibliography&amp;quot;, &amp;quot;icon_ins_bib.gif&amp;quot;, false, function(e) {e.execCommand(&amp;quot;insertbib&amp;quot;);} ],...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69922</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69922"/>
		<updated>2010-03-19T17:18:06Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Unpack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot;&lt;br /&gt;
* Unpack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Select the bib_editoricon.zip&lt;br /&gt;
* Unpack the zip file into the /moodle folder&lt;br /&gt;
* It will create:&lt;br /&gt;
** moodle/lib/editor/htmlarea/images/icon_ins_bib.gif&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
** moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
* It will also create:&lt;br /&gt;
** moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
** moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Use diff command to view differences between adminlib_example.php and original adminlib.php, htmlarea_example.php and original htmlarea.php&lt;br /&gt;
* Save your existing copy of moodle/lib/adminlib.php and moodle/lib/editor/htmlarea/htmlarea.php and insert the diff lines (following lines)&lt;br /&gt;
&lt;br /&gt;
==== Changes adminlib.php ====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php and insert this line:&lt;br /&gt;
                     &#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
==== Changes htmlarea.php ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69920</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69920"/>
		<updated>2010-03-19T15:57:59Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Uppack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot;&lt;br /&gt;
* Uppack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files and adding some other files:&lt;br /&gt;
* Change moodle/lib/adminlib_example.php - Add bib icon in html editor&lt;br /&gt;
* Change moodle/lib/editor/htmlarea/htmlarea_example.php - Call popup when clicking bib icon&lt;br /&gt;
* Add moodle/lib/editor/htmlarea/images/icon_ins_bib.gif - Add bib icon image&lt;br /&gt;
* Add moodle/lib/editor/htmlarea/popups/dialog_bib.css&lt;br /&gt;
* Add moodle/lib/editor/htmlarea/popups/dlg_ins_bib.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php (you will find it in the /lib directory) and insert this line:&lt;br /&gt;
                     &#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69918</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69918"/>
		<updated>2010-03-19T15:40:19Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Uppack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot;&lt;br /&gt;
* Uppack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Add bib icon in html editor&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php (you will find it in the /lib directory) and insert this line:&lt;br /&gt;
                     &#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69873</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69873"/>
		<updated>2010-03-18T18:00:24Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Uppack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot;&lt;br /&gt;
* Uppack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage. &lt;br /&gt;
The installation of this feature will require changing code in some Moodle files.&lt;br /&gt;
* Add bib icon in html editor&lt;br /&gt;
====Managing Your Editor Icons Through adminlib.php====&lt;br /&gt;
To be able to add your bib icon, save your existing copy of adminlib.php (you will find it in the /lib directory) and insert this line:&lt;br /&gt;
                     &#039;insertbib&#039; =&amp;gt; &#039;em.icon.bib.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
below this line:&lt;br /&gt;
                     &#039;insertsmile&#039; =&amp;gt; &#039;em.icon.smile.gif&#039;,&lt;br /&gt;
&lt;br /&gt;
and save. The line can really be placed anywhere in that array,  but by providing a specific location it will help when addressing requests for assistance in hiding buttons.&lt;br /&gt;
&lt;br /&gt;
The array is employed by the admin GUI (Site Administration-&amp;gt; Appearance-&amp;gt;HTML editor) to provide you the Administrator with the ability to hide buttons in the HTML editor via editorhidebuttons.  Once you have installed Bibliography module and added the button,  you can use the GUI to hide the insertbib button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69872</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69872"/>
		<updated>2010-03-18T17:38:01Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your webpage&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Uppack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot;&lt;br /&gt;
* Uppack the zip file into /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
Will let you easily choose the bibliographic reference you want to add to your webpage.&lt;br /&gt;
The installation of this feature will require changing code in some files.&lt;br /&gt;
* Change &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69870</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69870"/>
		<updated>2010-03-18T17:34:07Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the &#039;&#039;&#039;bibliography filter&#039;&#039;&#039; and the &#039;&#039;&#039;html editor bib icon&#039;&#039;&#039;, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your web page&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
Will let you manage and show bibliographic entries in your course&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module&lt;br /&gt;
* Uppack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
Will let you reference to your bibliographic entries from any webpage and add them as footnotes.&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot;&lt;br /&gt;
* Uppack the zip file into the /moodle/filter folder of your Moodle site&lt;br /&gt;
You may use [bib-citekey] to reference a bibliographic entry with a certain citekey.&lt;br /&gt;
&lt;br /&gt;
===HTML editor bib icon===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69869</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69869"/>
		<updated>2010-03-18T17:03:42Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the bibliography filter and the html editor bibliography icon, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
There are 3 major steps to install Bibliography module with all its features. &lt;br /&gt;
* Install the activity - which is the the core of the module&lt;br /&gt;
* Install the filter - enabling the inclusion of references from your course bibliographies in your web pages&lt;br /&gt;
* Install the html editor bib icon - which will allow you to easily select the bibliographic reference you want to include on your web page&lt;br /&gt;
&lt;br /&gt;
===Bibliography activity===&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography.zip&amp;quot; module for your moodle installation&lt;br /&gt;
* Uppack the zip file into the /moodle folder of your Moodle site&lt;br /&gt;
* Login to the Moodle site as administrator and&lt;br /&gt;
* In site administration block click on notifications&lt;br /&gt;
* Moodle will install the Bibliography module&lt;br /&gt;
* Add a Bibliography as an activity&lt;br /&gt;
&lt;br /&gt;
===Bibliography filter===&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;bibliography_filter.zip&amp;quot; for your moodle installation&lt;br /&gt;
* Uppack the zip file into the /moodle/filter folder of your Moodle site&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69868</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69868"/>
		<updated>2010-03-18T16:40:26Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], [http://moodle.org/user/view.php?id=1111047&amp;amp;course=1 Nuno Barbosa] and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the bibliography filter and the html editor bibliography icon, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69834</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69834"/>
		<updated>2010-03-17T17:40:58Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], Nuno Barbosa and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students contribute to bibliography with their own entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the bibliography filter and the html editor bibliography icon, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69833</id>
		<title>Bibliography module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Bibliography_module&amp;diff=69833"/>
		<updated>2010-03-17T17:38:42Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: New page: (Available soon... March2010)  The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Available soon... March2010)&lt;br /&gt;
&lt;br /&gt;
The Bibliography module makes it easy to show and use bibliographic references in your Moodle course. It is contributed by [http://www.up.pt Universidade do Porto], Nuno Barbosa and [http://moodle.org/user/view.php?id=141886&amp;amp;course=1 Susana Leitão]. It was built based on the glossary module, using same code design and interface patterns.&lt;br /&gt;
&lt;br /&gt;
It allows you to:&lt;br /&gt;
* Create different bibliography activities in a course&lt;br /&gt;
* Create instances in each bibliography&lt;br /&gt;
* Manually insert new entries in a bibliography activity&lt;br /&gt;
* View bibliographic references by citekey, date, author, instance&lt;br /&gt;
* Comment bibliography entries&lt;br /&gt;
* Let students insert their own bibliography entries&lt;br /&gt;
* Import and export references in bibtex format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also install the bibliography filter and the html editor bibliography icon, which will let you reference to bibliography entries present in your course and automatically add them as a footnote reference list.&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=error/moodle/auth_ssosigarra_error_user&amp;diff=50661</id>
		<title>error/moodle/auth ssosigarra error user</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=error/moodle/auth_ssosigarra_error_user&amp;diff=50661"/>
		<updated>2009-02-10T17:37:46Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: New page: The error will show you when you try to access moodle@UP platform but your username is not in moodle@UP database system. Maybe you misspelled your username or you are not enrolled in any m...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The error will show you when you try to access moodle@UP platform but your username is not in moodle@UP database system. Maybe you misspelled your username or you are not enrolled in any moodle@UP course.&lt;br /&gt;
&lt;br /&gt;
Please try to login again or contact your local technical support office for more information about your enrollment in moodle@UP courses.&lt;br /&gt;
&lt;br /&gt;
(moodle@UP has custom SSO authentication module SSO(SiGARRA) enabled)&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Development:Repository_API&amp;diff=33961</id>
		<title>Development:Repository API</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Development:Repository_API&amp;diff=33961"/>
		<updated>2008-03-25T18:38:31Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: changed js170 to jsr170&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes the specification for a future feature, currently being worked on for Moodle 2.0.  This spec is STILL UNDER CONSTRUCTION.&lt;br /&gt;
&lt;br /&gt;
See MDL-13766 to track the status of the implementation.&lt;br /&gt;
&lt;br /&gt;
The page is open for everyone so everyone can help correct mistakes and help evolution of this document.  However, if you have questions, problems or major changes to suggest please add them to the [[Development_talk:Repository_API|page comments]], or start a discussion in the [http://moodle.org/mod/forum/view.php?id=1807 Repositories forum].  We&#039;ll endeavour to merge all such suggestions into the main spec before we start development.&lt;br /&gt;
&lt;br /&gt;
==Objectives==&lt;br /&gt;
&lt;br /&gt;
# Allow files to be added directly into Moodle (as we do now)&lt;br /&gt;
# Allow all Moodle users to easily bring content into Moodle from external repositories&lt;br /&gt;
# Allow content to be used in multiple Moodle contexts securely and simply via capabilities&lt;br /&gt;
# Consistency and simplicity for ALL file handling&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
The Repository API is a core set of interfaces that all Moodle code will use to:&lt;br /&gt;
# copy files from external servers&lt;br /&gt;
# store files within Moodle&lt;br /&gt;
# display files to Moodle users&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to remember that a repository will generally be treated as READ-ONLY.  Management of the files will normally be done through the native interface provided by the repository.  Publishing of Moodle content TO a repository is handled by the [[Development:Portfolio API|Portfolio API]].&lt;br /&gt;
&lt;br /&gt;
==Use cases==&lt;br /&gt;
&lt;br /&gt;
===Teacher adding an external file as a new resource===&lt;br /&gt;
&lt;br /&gt;
# Teacher wants to add a new resource to a course &lt;br /&gt;
# Teacher clicks the &amp;quot;Choose a resource&amp;quot; button&lt;br /&gt;
# Teacher is able to choose from a list of configured repositories (this step will be skipped if there&#039;s only one).&lt;br /&gt;
# Teacher is presented with a simple file picker to choose a file&lt;br /&gt;
# Teacher chooses a file&lt;br /&gt;
# File is COPIED into Moodle and included in the course.&lt;br /&gt;
# File is marked as owned by that user&lt;br /&gt;
# Access controls are automatically added for that file so that only those with privileges to see that course can see that file (the owner can change those permissions anytime)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Student submitting an assignment===&lt;br /&gt;
# Student needs to submit an assignment and presses the &amp;quot;Choose files&amp;quot; button&lt;br /&gt;
# Student sees a &amp;quot;file picker&amp;quot; where they can see files listed on any of several configured repositories&lt;br /&gt;
# Student chooses MySpace from the list&lt;br /&gt;
# Student is prompted to enter MySpace username/password (a checkbox could be there to &amp;quot;remember this for next time&amp;quot; but for security perhaps not)&lt;br /&gt;
# Student sees their files in MySpace and chooses one or more&lt;br /&gt;
# Files are copied from MySpace to Moodle &lt;br /&gt;
# Assignment module gives the files permissions so that only the Student and assignment graders can see the file (other students would not have permission).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Student attaching an image to a forum===&lt;br /&gt;
# Student needs to attach an image and presses the &amp;quot;Choose files&amp;quot; button in the posting screen&lt;br /&gt;
# Student sees a &amp;quot;file picker&amp;quot; where they can see files listed on any of several configured repositories&lt;br /&gt;
# Student chooses Mahara from the list&lt;br /&gt;
# Student is prompted to enter MySpace username/password (a checkbox could be there to &amp;quot;remember this for next time&amp;quot; but for security perhaps not)&lt;br /&gt;
# Student sees their files in Mahara and chooses one image&lt;br /&gt;
# Image is copied to Moodle &lt;br /&gt;
# Image file is attached to forum post by Forum module (by reference)&lt;br /&gt;
# Forum module gives permissions so that anyone who can read that forum can see that file&lt;br /&gt;
&lt;br /&gt;
===Student attaching the same image in another forum===&lt;br /&gt;
&lt;br /&gt;
# Student needs to submit an assignment and presses the &amp;quot;Choose files&amp;quot; button&lt;br /&gt;
# Student sees a &amp;quot;file picker&amp;quot; where they can see files listed on any of several configured repositories&lt;br /&gt;
# Student chooses Mahara from the list&lt;br /&gt;
# Student is prompted to enter MySpace username/password (a checkbox could be there to &amp;quot;remember this for next time&amp;quot; but for security perhaps not)&lt;br /&gt;
# Student sees their files in Mahara and chooses one image&lt;br /&gt;
# Moodle detects that the image already exists in Moodle so it it not copied again (or it&#039;s just updated)&lt;br /&gt;
# Image file is attached to forum post by Forum module (by reference)&lt;br /&gt;
# Forum module adds some permissions so that anyone who can read the current forum can also see that file&lt;br /&gt;
&lt;br /&gt;
===User managing their files===&lt;br /&gt;
# User goes to the &amp;quot;Files&amp;quot; area (similar to current Moodle, but for all users)&lt;br /&gt;
# User sees two tabs&lt;br /&gt;
# First tab shows listing of current files belonging to self, with buttons to manage them, including buttons to modify the permissions (eg &amp;quot;Allow all people in Course X to see this&amp;quot;).  You can also see what repository it came from, including the foreign path, and choose to &amp;quot;update from repository&amp;quot; and get a new copy of the file.&lt;br /&gt;
# Second tab shows listing of files belonging to others that you are able to see.&lt;br /&gt;
&lt;br /&gt;
Please add more use cases in this same format&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==General Architecture==&lt;br /&gt;
&lt;br /&gt;
All file-handling areas in Moodle (eg adding a new resource, adding attachments to a forum post, uploading assignments) will be rewritten to talk to the standard API class methods in a standard way.&lt;br /&gt;
&lt;br /&gt;
Each repository plugin (a standard Moodle plugin stored under /repository/xxx) will subclass the standard API and override methods specific to that repository.&lt;br /&gt;
&lt;br /&gt;
As is usual in Moodle, there will be admin settings to disable/enable certain repository plugins as standard, as well as user settings so that users can add their own personal repositories to the standard list (eg [http://briefcase.yahoo.com Yahoo Briefcase] or [http://docs.google.com Google Docs]) and to select their default repository.&lt;br /&gt;
&lt;br /&gt;
Once a repository has been used the file will usually be copied into Moodle there and then.  However there will also be options to:&lt;br /&gt;
* only return the URL to the file if it&#039;s desired to keep it external (but this does present security and integrity risks), or&lt;br /&gt;
* refresh the local file copy regularly and automatically&lt;br /&gt;
&lt;br /&gt;
All files in Moodle will be listed in a table (see below) allowing us to store various metadata about each file.  The file contents will not be the database (though we could easily offer that option if we want to), they will be on disk with a name related to the id rather than the &amp;quot;human&amp;quot; name (this avoids a lot of OS Unicode problems).&lt;br /&gt;
&lt;br /&gt;
The current &amp;quot;course file manager&amp;quot; will be replaced by a personal file manager, which basically is a user&#039;s view of the internal Moodle repository, showing the files that are available to you in that context (which may include files from other people, repositories etc) and a nice browse/search interface.&lt;br /&gt;
&lt;br /&gt;
Finally, normal Moodle modules will have easy functions it can use to add/remove permissions to particular files, according to module rules.   For example, the assignment plugin may, after allowing a student to select a file to be submitted, add permissions so that people who have grade permissions in that assignment can read it.&lt;br /&gt;
&lt;br /&gt;
All files will be served via a single control script in Moodle, located at $CFG-&amp;gt;fileroot.  This could be the same as $CFG-&amp;gt;wwwroot by default, but will be recommended (for security and avoiding XSS) that Moodle admins set up a second DNS name pointing to this script eg the main site could be at http://moodle.domain.edu but files would be served via http://moodlefiles.domain.edu/file.php.  (We&#039;ll have to set session cookies on both domains and keep them in sync somehow).&lt;br /&gt;
&lt;br /&gt;
The file.php will serve files using slasharguments almost as now.  We just need to replace the courseid with a fileid:  file.php/fileid/dir/dir/file.jpg  (where dir/dir/file.jpg is the virtual path in Moodle).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Repository requirements==&lt;br /&gt;
&lt;br /&gt;
From the Moodle point of view, each repository is just a hierarchy of nodes.&lt;br /&gt;
&lt;br /&gt;
The repository MUST provide:&lt;br /&gt;
# A URL to download each node (eg file).&lt;br /&gt;
# A list of the nodes (eg files and directories) under a given node (eg directory).  This allows Moodle to construct a standard browse interface (much like a standard OS file picker).  However some repository plugins may choose to completely override the repository_browse() method and implement their own interface, that&#039;s OK, as long as they end up with a URL for the file.&lt;br /&gt;
&lt;br /&gt;
The repository can OPTIONALLY:&lt;br /&gt;
# Require some authentication credentials &lt;br /&gt;
# Provide more metadata about each node (mime type, size, dates, related files, dublin core stuff, etc)&lt;br /&gt;
# Describe a search facility (so that Moodle can construct a search form)&lt;br /&gt;
# Provide copyright and usage rules (or just information about the rules)&lt;br /&gt;
&lt;br /&gt;
==Repository plugins==&lt;br /&gt;
&lt;br /&gt;
Some plugins I&#039;d like to see developed for the first version are:&lt;br /&gt;
* local - very similar to the current course-based file manager, except user-based&lt;br /&gt;
* moodle - an interface to another Moodle site, accessed over a secure mnet connection&lt;br /&gt;
* jsr170 - an interface that can talk to anything that supports jsr170 (eg [http://www.alfresco.com/ Alfresco])&lt;br /&gt;
* oki - an OKI emulator allowing us to access things with OKI interfaces,like [http://www.fedora.info/ Fedora]&lt;br /&gt;
* briefcase - an interface to [http://briefcase.yahoo.com/ Yahoo Briefcase]&lt;br /&gt;
* myspace - an interface to MySpace files (perhaps via [http://www.programmableweb.com/api/myspace this MySpace API])&lt;br /&gt;
* googledocs - an interface to [http://dpcs.google.com Google Docs]&lt;br /&gt;
* skydrive - an interface to Microsoft&#039;s [http://skydrive.live.com/ SkyDrive] files&lt;br /&gt;
* facebook - an interface to Facebook files&lt;br /&gt;
* merlot - an interface to the learning materials in [http://www.merlot.org/merlot/materials.htm Merlot.org]&lt;br /&gt;
* flickr - an interface to [http://flickr.com flickr]&lt;br /&gt;
* youtube - an interface to [http://youtube.com YouTube]&lt;br /&gt;
* mahara - an interface to a Mahara installation&lt;br /&gt;
&lt;br /&gt;
==Local Files==&lt;br /&gt;
&lt;br /&gt;
In general, all external files will be copied locally and stored in Moodle.  This section describes the storage of the files and how we define ACLs (access control lists) for them.  All existing files in the Moodle dataroot course areas will be moved into this new system during the upgrade.&lt;br /&gt;
&lt;br /&gt;
The files will not be stored as they have been in the past.  The new file system is &amp;quot;flat&amp;quot; with each file stored as an id.  The name and path are stored in tables.  To avoid running out of nodes we&#039;ll use a hash-like structure like the users directory does, ie:&lt;br /&gt;
&lt;br /&gt;
 dataroot &lt;br /&gt;
    /files&lt;br /&gt;
       /0&lt;br /&gt;
       /10000&lt;br /&gt;
       /20000&lt;br /&gt;
       /30000&lt;br /&gt;
           /3076.jpg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Tables==&lt;br /&gt;
&lt;br /&gt;
=== repository ===&lt;br /&gt;
&lt;br /&gt;
This table contains one entry for every configured external repository instance.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Field&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Info&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;id&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|autoincrementing &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|repositoryname&lt;br /&gt;
|varchar&lt;br /&gt;
|&lt;br /&gt;
|A custom name for this reopsitory (non-unique)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;repositorytype&#039;&#039;&#039; &lt;br /&gt;
|varchar&lt;br /&gt;
| &lt;br /&gt;
|The name of the plugin being used&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;userid&#039;&#039;&#039; &lt;br /&gt;
|int(10)&lt;br /&gt;
| &lt;br /&gt;
|The person who created this repository instance&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;contextid&#039;&#039;&#039; &lt;br /&gt;
|int(10)&lt;br /&gt;
| &lt;br /&gt;
|The context that this repository is available to ( = system context for site-wide ones)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|username&lt;br /&gt;
|varchar&lt;br /&gt;
| &lt;br /&gt;
|username to log in with, if required&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|password&lt;br /&gt;
|varchar&lt;br /&gt;
| &lt;br /&gt;
|password to log in with, if required&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|option1&lt;br /&gt;
|varchar&lt;br /&gt;
| &lt;br /&gt;
|Other information useful to the plugin&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|option2&lt;br /&gt;
|varchar&lt;br /&gt;
| &lt;br /&gt;
|Other information useful to the plugin&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|option3&lt;br /&gt;
|varchar&lt;br /&gt;
| &lt;br /&gt;
|Other information useful to the plugin&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|option4&lt;br /&gt;
|varchar&lt;br /&gt;
| &lt;br /&gt;
|Other information useful to the plugin&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|option5&lt;br /&gt;
|varchar&lt;br /&gt;
| &lt;br /&gt;
|Other information useful to the plugin&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|timecreated&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|The time this repository was created&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|timemodified&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|The last time the repository was modified&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== file ===&lt;br /&gt;
&lt;br /&gt;
This table contains one entry for every file.  Enough information is kept here so that the file can be fully identified and retrieved again if necessary.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Field&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Info&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;id&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|autoincrementing &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;userid&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
| &lt;br /&gt;
|The owner of the file (person who created this entry)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|filename&lt;br /&gt;
|varchar&lt;br /&gt;
|&lt;br /&gt;
|The full Unicode name of this file&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;repositoryid&#039;&#039;&#039;&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|The repository instance this is associated with&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|updates&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|Specifies the update schedule (0 = none, 1 = on demand, other = some period in seconds)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|cachetime&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|Specifies how long this file can be cached by browsers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|moodlepath&lt;br /&gt;
|text&lt;br /&gt;
|&lt;br /&gt;
|The virtual path to the file locally (so we can still have apparent subdirectories etc)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|repositorypath&lt;br /&gt;
|text&lt;br /&gt;
|&lt;br /&gt;
|The full path to the original file on the repository&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|timeimportfirst&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|The first time this file was imported into Moodle&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|timeimportlast&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|The most recent time that this file was imported into Moodle&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|timecreated&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|The time this file was created (if known), otherwise same as time imported&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|timemodified&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|The last time the file was modified&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|timeaccessed&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|The last time this file was accessed for any reason&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== file_instances ===&lt;br /&gt;
&lt;br /&gt;
This table contains one entry for every &amp;quot;place&amp;quot; a file is published to.  For example, one file might appear in an assignment but also in a forum attachment, so there would be two entries here.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Field&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Info&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;id&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|autoincrementing &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;fileid&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
| &lt;br /&gt;
|The file we are defining access for&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|instancetype&lt;br /&gt;
|varchar&lt;br /&gt;
|&lt;br /&gt;
|This defines the table in Moodle that this instance is associated with (eg &#039;forum_posts&#039;, &#039;assignment_submissions&#039; etc&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;instanceid&#039;&#039;&#039;&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|The id in the foreign table (of name instancetype) that this instance is associated with&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== file_access ===&lt;br /&gt;
&lt;br /&gt;
This table describes the ACL for each file, so that checks can easily be made on whether someone can see this file or not.  Note there can be multiple entries per file.  Users can ALWAYS see their own files, so there are no entries here for that.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Field&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Info&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;id&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|autoincrementing &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;fileid&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
| &lt;br /&gt;
|The file we are defining access for&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;contextid&#039;&#039;&#039;&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|The context where this file is being published&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;capability&#039;&#039;&#039;&lt;br /&gt;
|text &lt;br /&gt;
|&lt;br /&gt;
|The capability that is required to see this file&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Class methods==&lt;br /&gt;
&lt;br /&gt;
===Repository class===&lt;br /&gt;
&lt;br /&gt;
This class implements the interface to a particular repository, for browsing, selecting and updating files.&lt;br /&gt;
&lt;br /&gt;
====get_file($path)====&lt;br /&gt;
&lt;br /&gt;
====get_listing($parent=&#039;/&#039;, $search=&#039;&#039;&#039;&#039;&#039;&#039;&#039;&#039;)====&lt;br /&gt;
&lt;br /&gt;
====cron()====&lt;br /&gt;
&lt;br /&gt;
====etc====&lt;br /&gt;
&lt;br /&gt;
===File class===&lt;br /&gt;
&lt;br /&gt;
This class implements the display and management of files from local storage, with full access checking.  Some of the functions are for single files, while some are optimised for bulk display and searching (eg in the personal files interface).&lt;br /&gt;
&lt;br /&gt;
====display_file()====&lt;br /&gt;
&lt;br /&gt;
sort of like file.php is now, except smarter&lt;br /&gt;
&lt;br /&gt;
====set_access($fileid, $accessstuff)====&lt;br /&gt;
&lt;br /&gt;
Grant some access to people to a file&lt;br /&gt;
&lt;br /&gt;
====has_access($fileid, $userid=NULL)====&lt;br /&gt;
&lt;br /&gt;
Returns true or false depending on access to a file&lt;br /&gt;
&lt;br /&gt;
==Areas in Moodle that need re-writing==&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Sandbox&amp;diff=23119</id>
		<title>Sandbox</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Sandbox&amp;diff=23119"/>
		<updated>2007-05-08T11:15:21Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Aesthetic buggery to follow! */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;abcdef deneme 1 2&lt;br /&gt;
&lt;br /&gt;
Very nice :-)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;Moodle is Great!&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;== אחת שתיים שלו ארבע&lt;br /&gt;
 ==== Headline text ==== Headline text ==&#039;&#039;&#039;Bold text&#039;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====aaaaaa====&lt;br /&gt;
&lt;br /&gt;
==Aesthetic buggery to follow!==&lt;br /&gt;
&amp;lt;hr size=5&amp;gt;  &lt;br /&gt;
&amp;lt;hr size=10&amp;gt;&lt;br /&gt;
&amp;lt;hr size=20&amp;gt;  &lt;br /&gt;
... well, that&#039;s too bad: &amp;lt;tt&amp;gt; I was expecting to be able to make larger headers! &amp;lt;i&amp;gt;[pout!]&amp;lt;/i&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Interesting.  Don&#039;t know much about HTML but &lt;br /&gt;
#remember this is a Mediawiki.   &lt;br /&gt;
#When I want to try something off the beaten track in MoodleDocs, I [http://meta.wikimedia.org/wiki/Help:Editing#Templates start here with a search on editing tips].&lt;br /&gt;
#Since I am a clutz, I created a web page using a word processor.  Then opened my browser and revealed the page code.  Then placed it below.   So you can make larger headers several ways. chris collman&lt;br /&gt;
::see examples below&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;span style=&#039;font-size:26.0pt&#039;&amp;gt;This is 26.opt test&amp;lt;/span&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
Notice it still is a header just not the default font&lt;br /&gt;
&lt;br /&gt;
===This is a 3rd level - a little smaller===&lt;br /&gt;
&lt;br /&gt;
====This is a 3rd level header - Probably no difference====&lt;br /&gt;
&lt;br /&gt;
== Headline text ==&lt;br /&gt;
&lt;br /&gt;
Martha is a radical&lt;br /&gt;
&lt;br /&gt;
=Is a 1st level header - the larger header topic=&lt;br /&gt;
&lt;br /&gt;
just to see what would happen&lt;br /&gt;
&lt;br /&gt;
=&amp;lt;span style=&#039;font-size:40.0pt&#039;&amp;gt;This  is a 400.opt font test&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hmm...&lt;br /&gt;
&lt;br /&gt;
[[fr:Bac à sable]]&lt;br /&gt;
&lt;br /&gt;
Just testing it out!&lt;br /&gt;
&lt;br /&gt;
Seems OK!&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Sandbox&amp;diff=23118</id>
		<title>Sandbox</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Sandbox&amp;diff=23118"/>
		<updated>2007-05-08T11:14:56Z</updated>

		<summary type="html">&lt;p&gt;Sleitao: /* Aesthetic buggery to follow! */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;abcdef deneme 1 2&lt;br /&gt;
&lt;br /&gt;
Very nice :-)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;Moodle is Great!&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;== אחת שתיים שלו ארבע&lt;br /&gt;
 ==== Headline text ==== Headline text ==&#039;&#039;&#039;Bold text&#039;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====aaaaaa====&lt;br /&gt;
&lt;br /&gt;
==Aesthetic buggery to follow!==&lt;br /&gt;
&amp;lt;hr size=5&amp;gt;  &lt;br /&gt;
&amp;lt;hr size=10&amp;gt;&lt;br /&gt;
&amp;lt;hr size=20&amp;gt;  &lt;br /&gt;
... well, that&#039;s too bad: &amp;lt;tt&amp;gt; I was expecting to be able to make larger headers! &amp;lt;i&amp;gt;[pout!]&amp;lt;/i&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Interesting.  Don&#039;t know much about HTML but &lt;br /&gt;
#remember this is a Mediawiki.   &lt;br /&gt;
#When I want to try something off the beaten track in MoodleDocs, I [http://meta.wikimedia.org/wiki/Help:Editing#Templates start here with a search on editing tips].&lt;br /&gt;
#Since I am a clutz, I created a web page using a word processor.  Then opened my browser and revealed the page code.  Then placed it below.   So you can make larger headers several ways. chris collman&lt;br /&gt;
::see examples below&lt;br /&gt;
&lt;br /&gt;
[[link]]&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;span style=&#039;font-size:26.0pt&#039;&amp;gt;This is 26.opt test&amp;lt;/span&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
Notice it still is a header just not the default font&lt;br /&gt;
&lt;br /&gt;
===This is a 3rd level - a little smaller===&lt;br /&gt;
&lt;br /&gt;
====This is a 3rd level header - Probably no difference====&lt;br /&gt;
&lt;br /&gt;
== Headline text ==&lt;br /&gt;
&lt;br /&gt;
Martha is a radical&lt;br /&gt;
&lt;br /&gt;
=Is a 1st level header - the larger header topic=&lt;br /&gt;
&lt;br /&gt;
just to see what would happen&lt;br /&gt;
&lt;br /&gt;
=&amp;lt;span style=&#039;font-size:40.0pt&#039;&amp;gt;This  is a 400.opt font test&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hmm...&lt;br /&gt;
&lt;br /&gt;
[[fr:Bac à sable]]&lt;br /&gt;
&lt;br /&gt;
Just testing it out!&lt;br /&gt;
&lt;br /&gt;
Seems OK!&lt;/div&gt;</summary>
		<author><name>Sleitao</name></author>
	</entry>
</feed>