Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
prowebat committed Jul 12, 2016
2 parents 6249c76 + ef57fde commit b74815a
Show file tree
Hide file tree
Showing 74 changed files with 3,785 additions and 4,135 deletions.
14 changes: 7 additions & 7 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Exabis E-Portfolio ChangeLog
Exabis ePortfolio ChangeLog
2015-09-06 4.2
admin configuration option for userquota and max upload filesize
resume with competencies, skills and badges
Expand Down Expand Up @@ -50,7 +50,7 @@ updated-script for data-transfer from previous versions included (thanks to eThi

2011-07-13 4.0
* updated to Moodle 2.x-compatibility
* introduction of connection to exabis competencies
* introduction of connection to Exabis Competence Grid
* added a few configure block options

2009-03-19 3.2.1
Expand All @@ -66,9 +66,9 @@ changes from 3.2.0 to 3.2.1:

2009-01-01 3.2.0
* Error changes for views
* Allow export in epx/scorm of whole E-Portfolio or a single view only
* Allow export in epx/scorm of whole ePortfolio or a single view only
* List of shared views instead of shared view-items
* Switching between old E-Portfolio (without views) and new E-Portfolio layout
* Switching between old ePortfolio (without views) and new ePortfolio layout

2008-11-20 3.1.0
* Added views function
Expand All @@ -77,7 +77,7 @@ changes from 3.2.0 to 3.2.1:
* Views can be external or internal shared

2008-09-21
* E-Portfolio block is now in moodle cvs
* ePortfolio block is now in moodle cvs

2008-09-01 Version 3.0.0
* Complete Code-Review
Expand All @@ -86,7 +86,7 @@ changes from 3.2.0 to 3.2.1:
* added de_du

Version 2.2
* Exabis E-Portfolio now requires PHP 5 - if you don't have it don't use the .epx-Export
* Exabis ePortfolio now requires PHP 5 - if you don't have it don't use the .epx-Export
* Added Export of .epx-Files

2008-07-31 Version 2.1.3
Expand Down Expand Up @@ -153,7 +153,7 @@ Version 2.2
* Removed bug when exporting external portfolios (comment-column was not created when you didn't update the plugin)
* When sharing a portfolio entry your own name is now shown.
* Problem with not finding the mimeinfo()-function (white page when editing a file portfolio entry)
* Added capability system. Comment: The Exabis E-Portfolio-rights have to be set globally (Assign global roles).
* Added capability system. Comment: The Exabis ePortfolio-rights have to be set globally (Assign global roles).
Comment: the capability shareextern needs shareintern. You can only share extern if both shareintern and shareextern are set.
allowposts is used to prevents posts on other (shared) bookmarks. You can always post on your own bookmark.
* Changed directory structure: put all the code inside eportfolio/. You can delete the direcotries bookmark/ and portfolio_export/ that were needed in previous installations. Please delete them *after* installing the new version.
Expand Down
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Hence, use this block at your own risk.

* exabis ePortfolio Block - History *

In August 2011 exabis ePortfolio was associated with exabis competencies Block. This enables ePortfolio-users to categorize their artefacts with educational standards. These standards are linked to Moodle via the exabis-competencies Block (download at: http://www.moodlekurse.org/course/view.php?id=65) with an associated XML-file. The XML-file can be generated with any tool, gtn gmbh has made available a tool as a Typo3-extension which can be downloaded at: http://gtn-solutions.com/fileadmin/gtn/downloads/T3X_exabis_competences-1_0_1.t3x
In August 2011 exabis ePortfolio was associated with Exabis Competence Grid Block. This enables ePortfolio-users to categorize their artefacts with educational standards. These standards are linked to Moodle via the exabis-competencies Block (download at: http://www.moodlekurse.org/course/view.php?id=65) with an associated XML-file. The XML-file can be generated with any tool, gtn gmbh has made available a tool as a Typo3-extension which can be downloaded at: http://gtn-solutions.com/fileadmin/gtn/downloads/T3X_exabis_competences-1_0_1.t3x
In April 2011, gtn gmbh (http://gtn-solutions.com) updated exabis ePortfolio to be compatible with Moodle 2.0-versions. This was done with kind support of Gerente de Sistemas y Tecnologías, UNIVERSIDAD TECNOLÓGICA DE CHILE – INACAP.
In version 3.2.4 views were introduced.
Originally exabis ePortfolio was developed in the year 2007 with kind support of the Federal Ministry of Education in Austria. It was then certified as the first Moodle-Block that was reviewed by the Moodle-core team (Peter Skoda).
Expand Down
2 changes: 1 addition & 1 deletion admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
exit;
}

block_exaport_print_header("bookmarks");
block_exaport_print_header("myportfolio");

echo '<br />';
echo $OUTPUT->confirm(block_exaport_get_string("delete_all_shareall"),
Expand Down
52 changes: 33 additions & 19 deletions block_exaport.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,56 +17,70 @@
//
// This copyright notice MUST APPEAR in all copies of the script!

defined('MOODLE_INTERNAL') || die();

require __DIR__.'/inc.php';

class block_exaport extends block_list {

function init() {
$this->title = get_string('blocktitle', 'block_exaport');
$this->version = 2013102205;
}

function instance_allow_multiple() {
return false;
}

function instance_allow_config() {
return false;
}

function has_config() {
return true;
}

function get_content() {
global $CFG, $COURSE, $USER;
global $CFG, $COURSE, $OUTPUT;

$context = context_system::instance();
if (!has_capability('block/exaport:use', $context)) {
$this->content = '';

return $this->content;
}
if ($this->content !== NULL) {

if ($this->content !== null) {
return $this->content;
}

if (empty($this->instance)) {
$this->content = '';

return $this->content;
}

$this->content = new stdClass;
$this->content->items = array();
$this->content->icons = array();
$this->content->footer = '';

$this->content->items[]='<a title="' . get_string('mybookmarkstitle', 'block_exaport') . '" href="' . $CFG->wwwroot . '/blocks/exaport/view_items.php?courseid=' . $COURSE->id . '">' . get_string('mybookmarks', 'block_exaport') . '</a>';
$this->content->icons[]='<img src="' . $CFG->wwwroot . '/blocks/exaport/pix/my_portfolio.png" height="16" width="23" alt="'.get_string("mybookmarks", "block_exaport").'" />';

$this->content->items[]='<a title="' . get_string('sharedbookmarks', 'block_exaport') . '" href="' . $CFG->wwwroot . '/blocks/exaport/shared_views.php?courseid=' . $COURSE->id . '">' . get_string('sharedbookmarks', 'block_exaport') . '</a>';
$this->content->icons[]='<img src="' . $CFG->wwwroot . '/blocks/exaport/pix/shared_portfolios.png" height="16" width="23" alt="'.get_string("sharedbookmarks", "block_exaport").'" />';

$this->content->items[]='<a title="' . get_string('export', 'block_exaport') . '" href="' . $CFG->wwwroot . '/blocks/exaport/export_scorm.php?courseid=' . $COURSE->id . '">' . get_string('export', 'block_exaport') . '</a>';
$this->content->icons[]='<img src="' . $CFG->wwwroot . '/blocks/exaport/pix/export_scorm.png" height="16" width="23" alt="'.get_string("export", "block_exaport").'" />';

$icon = '<img src="'.$OUTPUT->pix_url('resume', 'block_exaport').'" class="icon" alt="" />';
$this->content->items[] = '<a title="'.block_exaport_get_string('resume_my').'" href="'.$CFG->wwwroot.'/blocks/exaport/resume.php?courseid='.$COURSE->id.'">'.$icon.block_exaport_get_string('resume_my').'</a>';

$icon = '<img src="'.$OUTPUT->pix_url('my_portfolio', 'block_exaport').'" class="icon" alt="" />';
$this->content->items[] = '<a title="'.block_exaport_get_string('myportfoliotitle').'" href="'.$CFG->wwwroot.'/blocks/exaport/view_items.php?courseid='.$COURSE->id.'">'.$icon.block_exaport_get_string('myportfolio').'</a>';

$icon = '<img src="'.$OUTPUT->pix_url('myviews', 'block_exaport').'" class="icon" alt="" />';
$this->content->items[] = '<a title="'.block_exaport_get_string('views').'" href="'.$CFG->wwwroot.'/blocks/exaport/views_list.php?courseid='.$COURSE->id.'">'.$icon.block_exaport_get_string('views').'</a>';

$icon = '<img src="'.$OUTPUT->pix_url('shared_views', 'block_exaport').'" class="icon" alt="" />';
$this->content->items[] = '<a title="'.block_exaport_get_string('shared_views').'" href="'.$CFG->wwwroot.'/blocks/exaport/shared_views.php?courseid='.$COURSE->id.'">'.$icon.block_exaport_get_string('shared_views').'</a>';

$icon = '<img src="'.$OUTPUT->pix_url('shared_categories', 'block_exaport').'" class="icon" alt="" />';
$this->content->items[] = '<a title="'.block_exaport_get_string('shared_categories').'" href="'.$CFG->wwwroot.'/blocks/exaport/shared_categories.php?courseid='.$COURSE->id.'">'.$icon.block_exaport_get_string('shared_categories').'</a>';

$icon = '<img src="'.$OUTPUT->pix_url('importexport', 'block_exaport').'" class="icon" alt="" />';
$this->content->items[] = '<a title="'.block_exaport_get_string('importexport').'" href="'.$CFG->wwwroot.'/blocks/exaport/importexport.php?courseid='.$COURSE->id.'">'.$icon.block_exaport_get_string('importexport').'</a>';

return $this->content;
}
Expand Down
1 change: 0 additions & 1 deletion blocks.json.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
// This copyright notice MUST APPEAR in all copies of the script!

require_once __DIR__.'/inc.php';
require_once __DIR__.'/lib/sharelib.php';
// for ajax - stop errors/notices reporting
error_reporting (0);

Expand Down
Loading

0 comments on commit b74815a

Please sign in to comment.