Update HTML links to the new methods
This commit is contained in:
parent
4473037ae8
commit
2d83cd6e78
4 changed files with 19 additions and 4 deletions
4
data.php
4
data.php
|
@ -47,6 +47,10 @@ class Data extends Base {
|
|||
return self::getLink ($this->book, $this->extension, $this->getMimeType (), $rel, $this->getFilename (), $this->id, $title);
|
||||
}
|
||||
|
||||
public function getHtmlLink () {
|
||||
return "download/" . $this->id . "/" . urlencode ($this->getFilename ());
|
||||
}
|
||||
|
||||
public static function getLink ($book, $type, $mime, $rel, $filename, $idData, $title = NULL)
|
||||
{
|
||||
global $config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue