YaWK  24.1
Yet another WebKit
messages.php
Go to the documentation of this file.
1 <?php
2 // check if language is set
3 if (!isset($language) || (!isset($lang)))
4 { // inject (add) language tags to core $lang array
5  $lang = \YAWK\language::inject(@$lang, "../system/plugins/messages/language/");
6 }
7 // TEMPLATE WRAPPER - HEADER & breadcrumbs
8 echo "
9  <!-- Content Wrapper. Contains page content -->
10  <div class=\"content-wrapper\" id=\"content-FX\">
11  <!-- Content Header (Page header) -->
12  <section class=\"content-header\">";
13 /* draw Title on top */
14 echo \YAWK\backend::getTitle($lang['MSG_PLUGIN'], $lang['MSG_SUBTEXT']);
15 echo"<ol class=\"breadcrumb\">
16  <li><a href=\"index.php\" title=\"$lang[DASHBOARD]\"><i class=\"fa fa-dashboard\"></i> $lang[DASHBOARD]</a></li>
17  <li><a href=\"index.php?page=plugins\" title=\"$lang[PLUGINS]\"> $lang[PLUGINS]</a></li>
18  <li class=\"active\"><a href=\"index.php?plugin=messages\" title=\"$lang[MESSAGING]\"> $lang[MESSAGING]</a></li>
19  </ol>
20  </section>
21  <!-- Main content -->
22  <section class=\"content\">";
23 /* page content start here */
24 ?>
25 
26 Messaging Plugin Settings here...
print $lang['FILEMAN_UPLOAD']
static inject(array $lang, string $pathToFile)
allow plugins to inject language tags to $lang array
Definition: language.php:439