forked from kevinowino869/mitrobill
default widget value
This commit is contained in:
@ -1034,5 +1034,11 @@
|
||||
"Widget": "Widget",
|
||||
"Contents": "Contents",
|
||||
"Please_enter_a_search_term_": "Please enter a search term.",
|
||||
"Customers_Expired__Today": "Customers Expired, Today"
|
||||
"Customers_Expired__Today": "Customers Expired, Today",
|
||||
"Sequence": "Sequence",
|
||||
"Content": "Content",
|
||||
"Not_all_widgets_require_content__HTML_widgets_require_content__either_text_or_PHP_code__Please_be_careful_when_writing_this_content_": "Not all widgets require content. HTML widgets require content, either text or PHP code. Please be careful when writing this content.",
|
||||
"Area_Fields": "Area Fields",
|
||||
"Add_new_widget": "Add new widget",
|
||||
"Tambah": "Tambah"
|
||||
}
|
@ -190,5 +190,8 @@
|
||||
],
|
||||
"2025.2.14": [
|
||||
"CREATE TABLE IF NOT EXISTS `tbl_widgets` ( `id` int NOT NULL AUTO_INCREMENT, `orders` int NOT NULL DEFAULT '99', `position` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1. top 2. left 3. right 4. bottom',`enabled` tinyint(1) NOT NULL DEFAULT '1', `title` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, `widget` varchar(64) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '', `content` text COLLATE utf8mb4_general_ci NOT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;"
|
||||
],
|
||||
"2025.2.17" : [
|
||||
"INSERT INTO `tbl_widgets` (`id`, `orders`, `position`, `enabled`, `title`, `widget`, `content`) VALUES (1, 1, 1, 1, 'Top Widget', 'top_widget', ''),(2, 2, 1, 1, 'Default Info', 'default_info_row', ''),(3, 1, 2, 1, 'Graph Monthly Registered Customers', 'graph_monthly_registered_customers', ''),(4, 2, 2, 1, 'Graph Monthly Sales', 'graph_monthly_sales', ''),(5, 3, 2, 1, 'Voucher Stocks', 'voucher_stocks', ''),(6, 4, 2, 1, 'Customer Expired', 'customer_expired', ''),(7, 1, 3, 1, 'Cron Monitor', 'cron_monitor', ''),(8, 2, 3, 1, 'Mikrotik Cron Monitor', 'mikrotik_cron_monitor', ''),(9, 3, 3, 1, 'Info Payment Gateway', 'info_payment_gateway', ''),(10, 4, 3, 1, 'Graph Customers Insight', 'graph_customers_insight', ''),(11, 5, 3, 1, 'Activity Log', 'activity_log', '');"
|
||||
]
|
||||
}
|
11
system/widgets/info_payment_gateway.php
Normal file
11
system/widgets/info_payment_gateway.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
class info_payment_gateway
|
||||
{
|
||||
|
||||
public function getWidget($data = null)
|
||||
{
|
||||
global $ui;
|
||||
return $ui->fetch('widget/info_payment_gateway.tpl');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user