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",
|
||||
"description": "Shows a greeting message in the dashboard."
|
||||
}
|
||||
}
|
||||
},
|
||||
"welcome": "Welcome"
|
||||
}
|
||||
|
|
|
@ -20,11 +20,11 @@ class pluginWelcome extends Plugin {
|
|||
$labelGoodEvening = $L->g('good-evening');
|
||||
$labelGoodNight = $L->g('good-night');
|
||||
|
||||
return <<<EOF
|
||||
<div class="pluginWelcome mt-4 mb-4 pb-4 border-bottom">
|
||||
<h2 id="hello-message" class="m-0 p-0"><i class="bi bi-emoji-laughing"></i>Welcome</h2>
|
||||
</div>
|
||||
echo '<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>';
|
||||
echo '</div>';
|
||||
|
||||
return <<<EOF
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#hello-message").fadeOut(1000, function() {
|
||||
|
@ -45,4 +45,4 @@ $(document).ready(function() {
|
|||
EOF;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue