commit
667b3e3a65
5 changed files with 32 additions and 7 deletions
8
bl-plugins/welcome/languages/de_AT.json
Normal file
8
bl-plugins/welcome/languages/de_AT.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"plugin-data":
|
||||||
|
{
|
||||||
|
"name": "Willkommen",
|
||||||
|
"description": "Zeigt die Willkommensmeldung im Dashboard an."
|
||||||
|
},
|
||||||
|
"welcome": "Willkommen"
|
||||||
|
}
|
8
bl-plugins/welcome/languages/de_CH.json
Normal file
8
bl-plugins/welcome/languages/de_CH.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"plugin-data":
|
||||||
|
{
|
||||||
|
"name": "Willkommen",
|
||||||
|
"description": "Zeigt die Willkommensmeldung im Dashboard an."
|
||||||
|
},
|
||||||
|
"welcome": "Willkommen"
|
||||||
|
}
|
8
bl-plugins/welcome/languages/de_DE.json
Normal file
8
bl-plugins/welcome/languages/de_DE.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"plugin-data":
|
||||||
|
{
|
||||||
|
"name": "Willkommen",
|
||||||
|
"description": "Zeigt die Willkommensmeldung im Dashboard an."
|
||||||
|
},
|
||||||
|
"welcome": "Willkommen"
|
||||||
|
}
|
|
@ -3,5 +3,6 @@
|
||||||
{
|
{
|
||||||
"name": "Welcome",
|
"name": "Welcome",
|
||||||
"description": "Shows a greeting message in the dashboard."
|
"description": "Shows a greeting message in the dashboard."
|
||||||
}
|
},
|
||||||
|
"welcome": "Welcome"
|
||||||
}
|
}
|
|
@ -20,11 +20,11 @@ class pluginWelcome extends Plugin {
|
||||||
$labelGoodEvening = $L->g('good-evening');
|
$labelGoodEvening = $L->g('good-evening');
|
||||||
$labelGoodNight = $L->g('good-night');
|
$labelGoodNight = $L->g('good-night');
|
||||||
|
|
||||||
return <<<EOF
|
echo '<div class="pluginWelcome mt-4 mb-4 pb-4 border-bottom">';
|
||||||
<div class="pluginWelcome mt-4 mb-4 pb-4 border-bottom">
|
echo '<h2 id="hello-message" class="m-0 p-0"><i class="bi bi-emoji-laughing"></i>' . $L->g('Welcome') . '</h2>';
|
||||||
<h2 id="hello-message" class="m-0 p-0"><i class="bi bi-emoji-laughing"></i>Welcome</h2>
|
echo '</div>';
|
||||||
</div>
|
|
||||||
|
|
||||||
|
return <<<EOF
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("#hello-message").fadeOut(1000, function() {
|
$("#hello-message").fadeOut(1000, function() {
|
||||||
|
|
Loading…
Reference in a new issue