DataPlus – Smarty No More

DataPlus, from it’s creation, has supported Smarty (PHP) templates.  Moodle HQ dropped the Smarty library from version 2.2.2, meaning that supporting it’s use falls for more heavily to me.

There seems to be little actual use of it and, in theory, some possibility of security issues etc.  From the next release of DataPlus, Smarty support will be dropped.   There will be increased exposure of data and improved escaping in the JavaScript template to compensate (these will be documented further when the release takes place).  The last version of DataPlus, with Smarty bundled, will continue to be available.

2011121602

One Response to “DataPlus – Smarty No More”

  1. Michael Says:

    Hi, I am interested in being able to import data including images into a Moodle database. does the Dataplus plugin provide this functionality? I note that the functional spec states that images and files will be downloaded in an Export, but I have tried all the export options and although I have image and file directories in the archive, the images are not within the archive.