19 lines
646 B
PHP
19 lines
646 B
PHP
<?php
|
|
class notes extends Module {
|
|
protected $moduleTitle = 'Post-It';
|
|
|
|
protected $paramsList = array(
|
|
'visibility'
|
|
);
|
|
|
|
public function __construct($params){
|
|
parent::__construct(__CLASS__, $params);
|
|
}
|
|
|
|
public function build(){
|
|
echo '<script type="text/javascript" src="'.$this->pathToModule.'js/'.$this->moduleName.'.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="'.$this->pathToModule.'css/'.$this->moduleName.'.css">
|
|
<a id="addButton" class="green-button" href="'.$this->pathToModule.'includes/add_note.html">Add a note</a>';
|
|
include $this->pathToModule.'includes/notes_extract.php';
|
|
}
|
|
} |