diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-26 15:41:48 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-26 15:41:48 +0200 |
commit | 53e6d5fde32a917718a0658fb95f366dc7dfc248 (patch) | |
tree | 6510be3ee713a444a477aef8faf60a62fb47b165 /app/class/Opt.php | |
parent | 0efeef6b6693d62675ec8a45e73c71f69e0a0362 (diff) | |
download | wcms-53e6d5fde32a917718a0658fb95f366dc7dfc248.tar.gz wcms-53e6d5fde32a917718a0658fb95f366dc7dfc248.zip |
user bookmarks use new object
+ shortcuts visible in backtopbar
Diffstat (limited to 'app/class/Opt.php')
-rw-r--r-- | app/class/Opt.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/class/Opt.php b/app/class/Opt.php index df3cb50..24c7f90 100644 --- a/app/class/Opt.php +++ b/app/class/Opt.php @@ -165,7 +165,7 @@ class Opt extends Item $authorstring = ""; foreach ($authorlist as $author) { $href = $this->getfilteradress(['authorfilter' => [$author]]); - $authorstring .= '<a class="author author_' . $author . '" href="?' . $href . '" >' . $author . '</a>\n'; + $authorstring .= "<a class=\"author author_$author\" href=\"?$href\" >$author</a>\n"; } return $authorstring; } @@ -173,7 +173,7 @@ class Opt extends Item public function securelink(int $level, string $secure) { $href = $this->getfilteradress(['secure' => $level]); - return '<a class="secure ' . $secure . '" href="?' . $href . '">' . $secure . '</a>\n'; + return "<a class=\"secure $secure\" href=\"?$href\">$secure</a>\n"; } public function linktolink(array $linktolist) @@ -181,7 +181,7 @@ class Opt extends Item $linktostring = ""; foreach ($linktolist as $linkto) { $href = $this->getfilteradress(['linkto' => $linkto]); - $linktostring .= '<a class="linkto" href="?' . $href . '" >' . $linkto . '</a>\n'; + $linktostring .= "<a class=\"linkto\" href=\"?$href\" >$linkto</a>\n"; } return $linktostring; } |