From 0aec075180993a0836d2a47f1e8044e0be693303 Mon Sep 17 00:00:00 2001 From: Dymirt Date: Tue, 10 Jan 2023 12:31:49 +0100 Subject: [PATCH 1/3] Uncomment submit button --- templates/add_task.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/add_task.php b/templates/add_task.php index d56d46f..90989cb 100644 --- a/templates/add_task.php +++ b/templates/add_task.php @@ -46,9 +46,9 @@ - + From 2c44e1c79437fa1bc9904e4e6c080ec29eb3fdc2 Mon Sep 17 00:00:00 2001 From: Dymirt Date: Tue, 10 Jan 2023 13:47:22 +0100 Subject: [PATCH 2/3] timer bug fix --- templates/view_task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/view_task.php b/templates/view_task.php index e0f8e03..4e1fdfc 100644 --- a/templates/view_task.php +++ b/templates/view_task.php @@ -45,7 +45,7 @@ until), $wptodo_view_item['0']->status); +\Inc\Pages\Admin::wptodo_countdown_timer($wptodo_view_item['0']->until, $wptodo_view_item['0']->status) if (isset($_POST['wptodo_comment_submit'])) { \Inc\Base\Model::wptodo_email($wptodo_view_item['0']->from, $wptodo_view_item['0']->for); } From 6f286a49fffcd8cac43edc431e0ad21738d24c61 Mon Sep 17 00:00:00 2001 From: Dymirt Date: Tue, 10 Jan 2023 18:02:53 +0100 Subject: [PATCH 3/3] fixing task date sorting bug --- inc/Base/Model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/Base/Model.php b/inc/Base/Model.php index 57eb4a7..b630e46 100644 --- a/inc/Base/Model.php +++ b/inc/Base/Model.php @@ -340,8 +340,8 @@ public static function wptodo_tasks(){ echo "".self::wptodo_from((int)$wptodo_manage_items[$num]->from).""; //we have to send int not strings echo "".self::wptodo_from((int)$wptodo_manage_items[$num]->for).""; - echo "".self::wptodo_date($wptodo_manage_items[$num]->date).""; - echo "".self::wptodo_date($wptodo_manage_items[$num]->until).""; + echo "".$wptodo_manage_items[$num]->date.""; + echo "".$wptodo_manage_items[$num]->until.""; echo "".self::wptodo_status($wptodo_manage_items[$num]->status).""; echo "".self::wptodo_priority($wptodo_manage_items[$num]->priority).""; echo "".self::wptodo_notice($wptodo_manage_items[$num]->notify)."";