pub / rememori

Simple file-based bookmarking and notes application
git clone https://src.jayvii.de/pub/rememori.git
Home | Log | Files | Exports | Refs | README | RSS

commit 511ff0a579d6d5f0076370ee5ffd60745ef60a93
parent 5f8ab18343bf0456004791f96cdac65d851baece
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Thu, 24 Oct 2024 21:55:33 +0200

feat: note previous filename for renaming procedures

Diffstat:
Mlib/edit.php | 20+++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/lib/edit.php b/lib/edit.php @@ -20,7 +20,25 @@ function edit_note( <label for="note"><?php echo $GLOBALS["i18n_note"]; ?></label> <textarea id="note" name="note"><?php echo $content; ?></textarea> <label for="category"><?php echo $GLOBALS["i18n_category"]; ?></label> - <input id="category" name="category" value="<?php echo $category"; ?>"> + <input + id="category" + name="category" + type="text" + value="<?php echo $category"; ?>" + > + <label for="filename"><?php echo $GLOBALS["i18n_filename"]; ?></label> + <input + id="filename" + name="filename" + type="text" + value="<?php echo $filename"; ?>" + > + <input + id="filename_t1" + name="filename_t1" + type="hidden" + value="<?php echo $user . "/" . $category . "/" . $filename; ?>" + > <input type="submit" value="<?php echo $GLOBALS["i18n_save"]; ?>"> </form>