Hello all,
this attachment is an updated version of the patch, that fixes a couple of things Ι had missed.
Specificaly in conference/toc/000002.xml file there is the following line
- Code: Select all
<topic id="conference/topic/000020" title="Stats & Reports" />
the code that saves the changes was choking on '&', and thus interrupting the whole saving process, leaving a broken xml help file.
I added the function sanitize in
CustomHandler.inc.php, that checks for characters like this, and handles them appropriately.
Secondly i hadn't taken proper care of multiple section tags, so the relative template file (
helpTopicFile.tpl), was only displaying the first section tag for translation (e.g. in conference\topic\000017.xml, only the first tag was visible). I modified
CustomHandler.inc.php,
helpTopicFile.tpl and
EditableHelpFile.inc.php to fix this bug.
Finally i would like to thank Alexandros Gougousis (works at Technological Educational Institution of Crete), who first pointed out these 'inconveniences'
Best Regards
Evan Savvidis