Implemented support for element alignment
Also specifying the reference point location (the location of the element that's put at posx and posy) for each element.
This commit is contained in:
parent
7634568df1
commit
039e8bca37
7 changed files with 115 additions and 10 deletions
15
locallib.php
15
locallib.php
|
@ -50,6 +50,21 @@ define('CUSTOMCERT_PER_PAGE', 20);
|
|||
*/
|
||||
define('CUSTOMCERT_MAX_PER_PAGE', 300);
|
||||
|
||||
/**
|
||||
* @var int the top-left of element
|
||||
*/
|
||||
define('CUSTOMCERT_REF_POINT_TOPLEFT', 0);
|
||||
|
||||
/**
|
||||
* @var int the top-center of element
|
||||
*/
|
||||
define('CUSTOMCERT_REF_POINT_TOPCENTER', 1);
|
||||
|
||||
/**
|
||||
* @var int the top-left of element
|
||||
*/
|
||||
define('CUSTOMCERT_REF_POINT_TOPRIGHT', 2);
|
||||
|
||||
/**
|
||||
* Handles setting the protection field for the customcert
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue