From 2b80f5e6f1ebff8d99eecb6e9c0fc9dfa5666368 Mon Sep 17 00:00:00 2001 From: Ahmad Husein <48185559+ahmadhusein17@users.noreply.github.com> Date: Sun, 16 Feb 2025 18:41:35 +0700 Subject: [PATCH] Update widgets.tpl --- ui/ui/admin/settings/widgets.tpl | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/ui/ui/admin/settings/widgets.tpl b/ui/ui/admin/settings/widgets.tpl index b605e80a..83d2a7ef 100644 --- a/ui/ui/admin/settings/widgets.tpl +++ b/ui/ui/admin/settings/widgets.tpl @@ -1,32 +1,32 @@ {include file="sections/header.tpl"} - {function showWidget pos=0}
-
Area {$pos}
+
{Lang::T("Area Fields")} {$pos}
{foreach $widgets as $w} {if $w['position'] == $pos}
{$w['title']}
{ucwords(str_replace('.php', '', str_replace('_', ' ', $w['widget'])))}
- +
@@ -38,16 +38,15 @@ {/function} -
{showWidget widgets=$widgets pos=1} @@ -61,13 +60,10 @@ {showWidget widgets=$widgets pos=3}
-
{showWidget widgets=$widgets pos=4}
- - -{include file="sections/footer.tpl"} \ No newline at end of file +{include file="sections/footer.tpl"}
- orders + {Lang::T("Sequence")}
- +
- edit + {Lang::T("Edit")} + onclick="return ask(this, 'Delete this widget?')" class="btn btn-sm btn-danger"> + +