Simplify book detail. re #73
This commit is contained in:
parent
8de878fa94
commit
23267e37fa
3 changed files with 8 additions and 114 deletions
6
book.php
6
book.php
|
@ -169,11 +169,7 @@ class Book extends Base {
|
|||
$urlParam = $this->getUri ();
|
||||
if (!is_null (GetUrlParam (DB))) $urlParam = addURLParameter ($urlParam, DB, GetUrlParam (DB));
|
||||
$urlParam = str_replace ("&", "&", $urlParam);
|
||||
if ($permalink || getCurrentOption ('use_fancyapps') == 0) {
|
||||
return 'index.php' . $urlParam;
|
||||
} else {
|
||||
return 'bookdetail.php' . $urlParam;
|
||||
}
|
||||
return 'index.php' . $urlParam;
|
||||
}
|
||||
|
||||
public function getTitle () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue