1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 17:54:29 +01:00

"lock" should be "unlock" and "unlock" should be "lock"

This commit is contained in:
Savetheinternet 2011-06-27 20:01:39 +10:00
parent 33e125a06c
commit b5f2390d10

View File

@ -468,9 +468,9 @@
// Lock // Lock
if($this->mod['type'] >= $config['mod']['lock']) if($this->mod['type'] >= $config['mod']['lock'])
if($this->locked) if($this->locked)
$built .= ' <a title="Lock thread" href="?/' . $board['uri'] . '/unlock/' . $this->id . '">' . $config['mod']['link_unlock'] . '</a>'; $built .= ' <a title="Unlock thread" href="?/' . $board['uri'] . '/unlock/' . $this->id . '">' . $config['mod']['link_unlock'] . '</a>';
else else
$built .= ' <a title="Unlock thread" href="?/' . $board['uri'] . '/lock/' . $this->id . '">' . $config['mod']['link_lock'] . '</a>'; $built .= ' <a title="Lock thread" href="?/' . $board['uri'] . '/lock/' . $this->id . '">' . $config['mod']['link_lock'] . '</a>';
$built .= '</span>'; $built .= '</span>';
} }