diff options
Diffstat (limited to 'app/view')
-rw-r--r-- | app/view/templates/editrightbar.php | 3 | ||||
-rw-r--r-- | app/view/templates/edittabs.php | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/app/view/templates/editrightbar.php b/app/view/templates/editrightbar.php index 74ba1dd..fa249ef 100644 --- a/app/view/templates/editrightbar.php +++ b/app/view/templates/editrightbar.php @@ -7,8 +7,7 @@ <?php foreach ($artlist as $item ) { ?> - <a href="<?= $this->uart('artedit', $item) ?>"><?= $item ?></a> - <input type="text" value="[<?= $item ?>](=<?= $item ?>)"> + <a href="<?= $this->uart('artedit', $item) ?>" target="_blank"><?= $item ?></a> <?php } diff --git a/app/view/templates/edittabs.php b/app/view/templates/edittabs.php index efb1650..4980354 100644 --- a/app/view/templates/edittabs.php +++ b/app/view/templates/edittabs.php @@ -10,7 +10,11 @@ foreach ($tablist as $key => $value) { } echo '<label for="tab' . $key . '">' . $key . '</label>'; echo '<div class="content">'; - echo '<textarea name="' . $key . '" id="' . $key . '" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">' . $value . '</textarea>'; + if ($key == $opentab) { + echo '<textarea name="' . $key . '" id="' . $key . '" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" autofocus >' . $value . '</textarea>'; + } else { + echo '<textarea name="' . $key . '" id="' . $key . '" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">' . $value . '</textarea>'; + } echo '</div>'; echo '</div>'; } |