[Devel] [GIT] OpenBioMaps GIT repository, branch master updated: custom box module updated

git at vocs.unideb.hu git at vocs.unideb.hu
Sun Feb 17 13:23:43 CET 2019


    The project "OpenBioMaps GIT repository":

    The branch, master has been updated
       via  39f2bdb73a410eb2fa8131a39f0b49cfb6d112b6 (commit)
      from  bbf6dd7dcc58f4d349d280709578116417cc5ab4 (commit)


- Log -----------------------------------------------------------------
commit 39f2bdb73a410eb2fa8131a39f0b49cfb6d112b6
Author: Bán Miklós <banm at vocs.unideb.hu>
Date:   Sun Feb 17 12:03:33 2019 +0100

custom box module updated

any module (php file) can be included to create cutom boxes.
Files should be placed in includes/modules/private directory
File name e.g. "foo_box" without ".php" file extension should be passed
as the module parameter.
The foo_box.php should contains a foo_box_Class class which will be
automatically called.
There are to default functions in box_custom class:
print_box(), print_js().
Any other custom functions can be called from these functions.

-----------------------------------------------------------------------

Summary of changes:
 resources/libs/default_modules.php    |  7 +++--
 resources/libs/modules/box_custom.php | 48 +++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+), 4 deletions(-)
 create mode 100644 resources/libs/modules/box_custom.php

-- 
OpenBioMaps GIT repository


More information about the Devel mailing list