From b15a095c0e5f980b63c1b229b0671227bfc64316 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Tue, 9 Nov 2021 20:42:20 +0000 Subject: Use short echo tags --- src/templates/confirm_deletion.php | 4 ++-- src/templates/edit.php | 2 +- src/templates/form_fields.php | 12 ++++++------ src/templates/index.php | 10 +++++++--- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/src/templates/confirm_deletion.php b/src/templates/confirm_deletion.php index 12c5cd1..2938c4b 100644 --- a/src/templates/confirm_deletion.php +++ b/src/templates/confirm_deletion.php @@ -13,8 +13,8 @@

Confirm Deletion

Back
- - url | $bookmark->title | $bookmark->tag"); ?> + + url | $bookmark->title | $bookmark->tag"); ?>

Copyright © 2021 David T. Sadler.

diff --git a/src/templates/edit.php b/src/templates/edit.php index 100cd0e..5318c2c 100644 --- a/src/templates/edit.php +++ b/src/templates/edit.php @@ -13,7 +13,7 @@

Edit

Back
- +
diff --git a/src/templates/form_fields.php b/src/templates/form_fields.php index 0bfe076..224dbf4 100644 --- a/src/templates/form_fields.php +++ b/src/templates/form_fields.php @@ -1,12 +1,12 @@ - + has('url')) { ?> -

get('url'))); ?>

+

get('url'))); ?>

- + has('title')) { ?> -

get('title'))); ?>

+

get('title'))); ?>

- + has('tag')) { ?> -

get('tag'))); ?>

+

get('tag'))); ?>

diff --git a/src/templates/index.php b/src/templates/index.php index f078bbd..ff67458 100644 --- a/src/templates/index.php +++ b/src/templates/index.php @@ -11,20 +11,24 @@

Bookmarks

-

+

Add Bookmark

Tags

Bookmarks

    -
  1. addedAt))->format('Y-m-d'); ?> - title != '' ? htmlentities($bookmark->title) : htmlentities($bookmark->url); ?> | tag) { ?>tag); ?> | Edit | Delete
  2. +
  3. + + addedAt))->format('Y-m-d'); ?> - title != '' ? htmlentities($bookmark->title) : htmlentities($bookmark->url); ?> | tag) { ?>tag); ?> | Edit | Delete + +

Copyright © 2021 David T. Sadler.

-- cgit v1.2.3-13-gbd6f