diff --git a/saimod_webcraft_updates.php b/saimod_webcraft_updates.php
index 17434c8..65929b9 100644
--- a/saimod_webcraft_updates.php
+++ b/saimod_webcraft_updates.php
@@ -1,6 +1,6 @@
'', 'projects' => '', 'commits' => '', 'error' => '');
$token = \SYSTEM\CONFIG\config::get(\config_ids::WEBCRAFT_BILLING_TOKEN);
@@ -40,7 +40,9 @@ class saimod_webcraft_updates extends \SYSTEM\SAI\SaiModule {
$vars = array_merge($vars, \SYSTEM\PAGE\text::tag('time'));
return \SYSTEM\PAGE\replace::replaceFile((new \PSAI('saimod_webcraft_updates/tpl/saimod_webcraft_updates.tpl'))->SERVERPATH(),$vars);}
- public static function html_li_menu(){return '
';}
+ public static function menu(){
+ return new \SYSTEM\SAI\sai_module_menu( 10, \SYSTEM\SAI\sai_module_menu::POISITION_RIGHT, \SYSTEM\SAI\sai_module_menu::DIVIDER_RIGHT,
+ \SYSTEM\PAGE\replace::replaceFile((new \PSAI('saimod_webcraft_updates/tpl/menu.tpl'))->SERVERPATH()));}
public static function right_public(){return false;}
public static function right_right(){return \SYSTEM\SECURITY\security::check(\SYSTEM\SECURITY\RIGHTS::SYS_SAI);}
diff --git a/tpl/menu.tpl b/tpl/menu.tpl
new file mode 100644
index 0000000..3f1eba2
--- /dev/null
+++ b/tpl/menu.tpl
@@ -0,0 +1,7 @@
+
+
+
\ No newline at end of file
diff --git a/tpl/saimod_webcraft_updates_commits.tpl b/tpl/saimod_webcraft_updates_commits.tpl
new file mode 100644
index 0000000..918d5d4
--- /dev/null
+++ b/tpl/saimod_webcraft_updates_commits.tpl
@@ -0,0 +1,11 @@
+
+Commits of Project ${project}
+
+
+ | time |
+ author |
+ log |
+ commit |
+
+ ${commit}
+
\ No newline at end of file
diff --git a/tpl/saimod_webcraft_updates_project.tpl b/tpl/saimod_webcraft_updates_project.tpl
new file mode 100644
index 0000000..8650778
--- /dev/null
+++ b/tpl/saimod_webcraft_updates_project.tpl
@@ -0,0 +1,5 @@
+
+ | ${time} |
+ ${path} |
+ ${git} |
+
\ No newline at end of file
diff --git a/tpl/saimod_webcraft_updates_projects.tpl b/tpl/saimod_webcraft_updates_projects.tpl
new file mode 100644
index 0000000..2be8307
--- /dev/null
+++ b/tpl/saimod_webcraft_updates_projects.tpl
@@ -0,0 +1,10 @@
+
+Projects of Update ${update}
+
+
+ | time |
+ path |
+ git |
+
+ ${project}
+
\ No newline at end of file
diff --git a/tpl/saimod_webcraft_updates_update.tpl b/tpl/saimod_webcraft_updates_update.tpl
new file mode 100644
index 0000000..a28b789
--- /dev/null
+++ b/tpl/saimod_webcraft_updates_update.tpl
@@ -0,0 +1,6 @@
+
+ | ${time} |
+ ${commit} |
+ ${commit_last} |
+ ${complete} |
+
\ No newline at end of file