Siphils / Typecho-Theme-Aria

Typecho Theme Aria - 书写自己的篇章
https://eriri.ink/
GNU General Public License v2.0
482 stars 90 forks source link

Aria/lib/Utils.php中getFooterWidget()缺少</a> #45

Open luoluoqixi opened 4 years ago

luoluoqixi commented 4 years ago

foreach ($data as $val) { $tmp = $val; if ((array) $tmp) { $href = array_key_exists('href', $val) ? 'href="' . $val['href'] . '"' : ""; $title = array_key_exists('title', $val) ? 'title="' . $val['title'] . '"' : ""; $target = array_key_exists('target', $val) ? 'target="' . $val['target'] . '"' : ""; $text = array_key_exists('text', $val) ? $val['text'] : ""; $html .= "<span><a $href $title $target> • $text</a></span>"; } }