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
|
@ -161,9 +161,9 @@
|
|||
<?php
|
||||
foreach ($config['cops_prefered_format'] as $format)
|
||||
{
|
||||
if (array_key_exists($format, $entry->book->format)) {
|
||||
if ($data = $entry->book->getDataFormat ($format)) {
|
||||
?>
|
||||
<div class="button buttonEffect"><a href="<?php echo "download/" . $entry->book->format [$format][0] . "/" . urlencode ($entry->book->format [$format][1]) ?>"><?php echo $format ?></a></div>
|
||||
<div class="button buttonEffect"><a href="<?php echo $data->getHtmlLink () ?>"><?php echo $format ?></a></div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue