Accueil/modules/notes/Notes.php

19 lines
646 B
PHP
Raw Permalink Normal View History

<?php
2010-09-20 11:40:27 +02:00
class notes extends Module {
protected $moduleTitle = 'Post-It';
protected $paramsList = array(
2010-09-20 11:40:27 +02:00
'visibility'
);
public function __construct($params){
parent::__construct(__CLASS__, $params);
}
public function build(){
2010-09-27 12:48:53 +02:00
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';
2010-09-20 11:40:27 +02:00
}
}