3 if (!isset($language) || (!isset(
$lang)))
9 <!-- Content Wrapper. Contains page content -->
10 <div class=\"content-wrapper\" id=\"content-FX\">
11 <!-- Content Header (Page header) -->
12 <section class=\"content-header\">";
14 echo \YAWK\backend::getTitle(
$lang[
'USERPAGE'],
$lang[
'USERPAGE_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=userpage\" title=\"$lang[USERPAGE]\"> $lang[USERPAGE]</a></li>
22 <section class=\"content\">";
25 if (isset($_POST[
'sent'])){
27 if ($_POST[
'sent'] ===
'1') {
29 if (isset($_POST[
'helptext'])) {
32 if (isset($_POST[
'hellotext'])) {
35 if (isset($_POST[
'hellotextsub'])) {
38 if (isset($_POST[
'hello'])) {
41 if (isset($_POST[
'hellogroup'])) {
44 if (isset($_POST[
'settings'])) {
47 if (isset($_POST[
'help'])) {
50 if (isset($_POST[
'profile'])) {
53 if (isset($_POST[
'admin'])) {
56 if (isset($_POST[
'dashboard'])) {
59 if (isset($_POST[
'messageplugin'])) {
62 if (isset($_POST[
'stats'])) {
65 if (isset($_POST[
'changeUsername'])) {
68 if (isset($_POST[
'changePassword'])) {
71 if (isset($_POST[
'changeEmail'])) {
74 if (isset($_POST[
'changeFirstname'])) {
77 if (isset($_POST[
'changeLastname'])) {
80 if (isset($_POST[
'changeStreet'])) {
83 if (isset($_POST[
'changeZipcode'])) {
86 if (isset($_POST[
'changeCity'])) {
89 if (isset($_POST[
'changeCountry'])) {
92 if (isset($_POST[
'changeState'])) {
95 if (isset($_POST[
'changeUrl'])) {
98 if (isset($_POST[
'changeFacebook'])) {
101 if (isset($_POST[
'changeTwitter'])) {
104 if (isset($_POST[
'logoutmenu'])) {
107 if (isset($_POST[
'activeTab'])) {
114 if (\
YAWK\settings::getSetting(
$db,
"userpage_hellogroup") ===
'1'){
115 $hellogroupHtml =
"checked"; }
117 $hellogroupHtml =
"";
119 if (\
YAWK\settings::getSetting(
$db,
"userpage_hello") ===
'1'){
120 $helloHtml =
"checked"; }
124 if (\
YAWK\settings::getSetting(
$db,
"userpage_msgplugin") ===
'1'){
125 $msgpluginHtml =
"checked"; }
129 if (\
YAWK\settings::getSetting(
$db,
"userpage_settings") ===
'1'){
130 $settingsHtml =
"checked"; }
134 if (\
YAWK\settings::getSetting(
$db,
"userpage_help") ===
'1'){
135 $helpHtml =
"checked"; }
139 if (\
YAWK\settings::getSetting(
$db,
"userpage_profile") ===
'1'){
140 $profileHtml =
"checked"; }
144 if (\
YAWK\settings::getSetting(
$db,
"userpage_admin") ===
'1'){
145 $adminHtml =
"checked"; }
149 if (\
YAWK\settings::getSetting(
$db,
"userpage_dashboard") ===
'1'){
150 $dashboardHtml =
"checked"; }
157 $activeDashboardHtml =
"checked";
160 $activeDashboardHtml =
"";
163 $activeProfileHtml =
"checked";
166 $activeProfileHtml =
"";
169 $activeMessagesHtml =
"checked";
172 $activeMessagesHtml =
"";
175 $activeSettingsHtml =
"checked";
178 $activeSettingsHtml =
"";
181 $activeStatsHtml =
"checked";
184 $activeStatsHtml =
"";
187 $activeHelpHtml =
"checked";
190 $activeHelpHtml =
"";
193 $activeAdminHtml =
"checked";
196 $activeAdminHtml=
"";
198 if (\
YAWK\settings::getSetting(
$db,
"userpage_stats") ===
'1'){
199 $statsHtml =
"checked"; }
203 if (\
YAWK\settings::getSetting(
$db,
"userpage_changeUsername") ===
'1'){
204 $changeUsernameHtml =
"checked"; }
206 $changeUsernameHtml =
"";
208 if (\
YAWK\settings::getSetting(
$db,
"userpage_changePassword") ===
'1'){
209 $changePasswordHtml =
"checked"; }
211 $changePasswordHtml =
"";
213 if (\
YAWK\settings::getSetting(
$db,
"userpage_changeEmail") ===
'1'){
214 $changeEmailHtml =
"checked"; }
216 $changeEmailHtml =
"";
218 if (\
YAWK\settings::getSetting(
$db,
"userpage_changeFirstname") ===
'1'){
219 $changeFirstnameHtml =
"checked"; }
221 $changeFirstnameHtml =
"";
223 if (\
YAWK\settings::getSetting(
$db,
"userpage_changeLastname") ===
'1'){
224 $changeLastnameHtml =
"checked"; }
226 $changeLastnameHtml =
"";
228 if (\
YAWK\settings::getSetting(
$db,
"userpage_changeStreet") ===
'1'){
229 $changeStreetHtml =
"checked"; }
231 $changeStreetHtml =
"";
233 if (\
YAWK\settings::getSetting(
$db,
"userpage_changeZipcode") ===
'1'){
234 $changeZipcodeHtml =
"checked"; }
236 $changeZipcodeHtml =
"";
238 if (\
YAWK\settings::getSetting(
$db,
"userpage_changeCity") ===
'1'){
239 $changeCityHtml =
"checked"; }
241 $changeCityHtml =
"";
243 if (\
YAWK\settings::getSetting(
$db,
"userpage_changeCountry") ===
'1'){
244 $changeCountryHtml =
"checked"; }
246 $changeCountryHtml =
"";
248 if (\
YAWK\settings::getSetting(
$db,
"userpage_changeState") ===
'1'){
249 $changeStateHtml =
"checked"; }
251 $changeStateHtml =
"";
253 if (\
YAWK\settings::getSetting(
$db,
"userpage_changeUrl") ===
'1'){
254 $changeUrlHtml =
"checked"; }
258 if (\
YAWK\settings::getSetting(
$db,
"userpage_changeFacebook") ===
'1'){
259 $changeFacebookHtml =
"checked"; }
261 $changeFacebookHtml =
"";
263 if (\
YAWK\settings::getSetting(
$db,
"userpage_changeTwitter") ===
'1'){
264 $changeTwitterHtml =
"checked"; }
266 $changeTwitterHtml =
"";
268 if (\
YAWK\settings::getSetting(
$db,
"userpage_logoutmenu") ===
'1'){
269 $logoutmenuHtml =
"checked"; }
271 $logoutmenuHtml =
"";
275 <script
type=
"text/javascript" src=
"../system/plugins/signup/js/admin.js"></script>
277 <div
class=
"box box-default">
278 <div
class=
"box-body">
279 <form action=
"index.php?plugin=userpage" class=
"form-inline" role=
"form" name=
"settings" method=
"POST">
281 <ul
class=
"nav nav-tabs" role=
"tablist">
282 <li role=
"presentation" class=
"active"><
a href=
"#greeting" aria-controls=
"greeting" role=
"tab" data-toggle=
"tab"><
i class=
"fa fa-commenting-o"></
i> &
nbsp;<?php echo
"$lang[USERPAGE_GREETING_TEXT]"; ?></
a></li>
283 <li role=
"presentation"><
a href=
"#dash" aria-controls=
"dash" role=
"tab" data-toggle=
"tab"><
i class=
"fa fa-folder-open"></
i> &
nbsp;<?php echo
"$lang[USERPAGE_TABS]"; ?></
a></li>
284 <li role=
"presentation"><
a href=
"#menu" aria-controls=
"menu" role=
"tab" data-toggle=
"tab"><
i class=
"fa fa-bars"></
i> &
nbsp;<?php echo
"$lang[LOGOUT_MENU]"; ?></
a></li>
288 <div
class=
"tab-content">
289 <div role=
"tabpanel" class=
"tab-pane fade in active" id=
"greeting">
291 <!-- SUBMIT BUTTON -->
292 <input
type=
"submit" class=
"btn btn-success pull-right" value=
"<?php print $lang['SETTINGS_SAVE']; ?>">
293 <input
type=
"hidden" name=
"sent" value=
"1">
296 <legend><
i class=
"fa fa-commenting-o"></
i> &
nbsp;<?php echo
"$lang[USERPAGE_GREETING_TEXT]"; ?> <small><?php echo
"$lang[USERPAGE_GREETING_SUBTEXT]"; ?></small></legend>
297 <label
for=
"hellotext"><?php echo
"$lang[USERPAGE_GREETING]"; ?> </label><br>
298 <input
type=
"text" id=
"hellotext" size=
"16" name=
"hellotext" class=
"form-control" placeholder=
"Welcome" value=
"<?php echo \YAWK\settings::getSetting($db, "userpage_hellotext
");?>" title=
"Greeting">
300 <input
type=
"text" id=
"hellotextsub" size=
"32" name=
"hellotextsub" class=
"form-control" placeholder=
"good to see you again!" value=
"<?php echo \YAWK\settings::getSetting($db, "userpage_hellotextsub
");?>" title=
"Greeting Subtext">
301 <label
for=
"hellotextsub">&
nbsp;</label><br><br>
302 <input
type=
"hidden" value=
'0' name=
"hello">
303 <input
type=
"checkbox" id=
"hello" name=
"hello" class=
"form-control" value=
"1" title=
"Enable User Greeting" <?php echo $helloHtml; ?>>
304 <label
for=
"hello"><?php echo
$lang[
'USERPAGE_GREETING_ENABLE']; ?></label><br>
305 <input
type=
"hidden" value=
'0' name=
"hellogroup">
306 <input
type=
"checkbox" id=
"hellogroup" name=
"hellogroup" class=
"form-control" value=
"1" title=
"Enable User Group Greeting" <?php echo $hellogroupHtml; ?>>
307 <label
for=
"hellogroup"><?php echo
$lang[
'USERPAGE_GRP_GREETING_ENABLE']; ?></label><br><br><br>
311 <div role=
"tabpanel" class=
"tab-pane fade in" id=
"dash">
313 <!-- SUBMIT BUTTON -->
314 <input
type=
"submit" class=
"btn btn-success pull-right" value=
"<?php print $lang['SETTINGS_SAVE']; ?>">
315 <input
type=
"hidden" name=
"sent" value=
"1">
319 <ul
class=
"nav nav-tabs" role=
"tablist">
320 <li role=
"presentation" class=
"active"><
a href=
"#homeTab" aria-controls=
"homeTab" role=
"tab" data-toggle=
"tab"><
i class=
"fa fa-home"></
i> &
nbsp;<?php print
$lang[
'USERPAGE_TAB_HOME']; ?></
a></li>
321 <li role=
"presentation"><
a href=
"#profileTab" aria-controls=
"profileTab" role=
"tab" data-toggle=
"tab"><
i class=
"fa fa-user"></
i> &
nbsp;<?php print
$lang[
'USERPAGE_TAB_PROFILE']; ?></
a></li>
322 <li role=
"presentation"><
a href=
"#messagesTab" aria-controls=
"messagesTab" role=
"tab" data-toggle=
"tab"><
i class=
"fa fa-envelope"></
i> &
nbsp;<?php print
$lang[
'USERPAGE_TAB_MESSAGES']; ?></
a></li>
323 <li role=
"presentation"><
a href=
"#settingsTab" aria-controls=
"settingsTab" role=
"tab" data-toggle=
"tab"><
i class=
"fa fa-cog"></
i> &
nbsp;<?php print
$lang[
'USERPAGE_TAB_SETTINGS']; ?></
a></li>
324 <li role=
"presentation"><
a href=
"#statsTab" aria-controls=
"statsTab" role=
"tab" data-toggle=
"tab"><
i class=
"fa fa-line-chart"></
i> &
nbsp;<?php print
$lang[
'USERPAGE_TAB_STATS']; ?></
a></li>
325 <li role=
"presentation"><
a href=
"#helpTab" aria-controls=
"helpTab" role=
"tab" data-toggle=
"tab"><
i class=
"fa fa-question-circle"></
i> &
nbsp;<?php print
$lang[
'USERPAGE_TAB_HELP']; ?></
a></li>
326 <li role=
"presentation"><
a href=
"#adminTab" aria-controls=
"adminTab" role=
"tab" data-toggle=
"tab"><
i class=
"fa fa-question-wrench"></
i> &
nbsp;<?php print
$lang[
'USERPAGE_TAB_ADMIN']; ?></
a></li>
330 <div
class=
"tab-content">
332 <legend><br><
i class=
"fa fa-gears"></
i><small><
i class=
"fa fa-user"></
i></small> &
nbsp;<?php echo
"$lang[USERPAGE_SINGLE] <small>$lang[USERPAGE_TABS_SUBTEXT]</small>"; ?></legend>
336 <div role=
"tabpanel" class=
"tab-pane active" id=
"homeTab">
337 <!-- HOME (dashboard) TAB ENABLE -->
338 <input
type=
"hidden" value=
'0' name=
"dashboard">
339 <input
type=
"checkbox" id=
"dashboard" name=
"dashboard" class=
"form-control" value=
"1" title=
"Enable Dashboard Tab" <?php echo $dashboardHtml; ?>>
340 <label
for=
"dashboard"> <?php echo
"$lang[USERPAGE_TAB_DASH_ENABLE]"; ?></label><br>
341 <!-- DASHBOARD ACTIVE TAB -->
342 <label
class=
"radio radio-inline control-label">
343 <input
type=
"radio" id=
"activeTab" name=
"activeTab" class=
"form-control" value=
"Dashboard" title=
"<?php echo "$lang[SET_THIS_TAB_ACTIVE]
"; ?>" <?php echo $activeDashboardHtml; ?>>
344 <?php echo
"$lang[SET_THIS_TAB_ACTIVE]"; ?></label><br>
347 <div role=
"tabpanel" class=
"tab-pane" id=
"profileTab">
348 <!-- PROFILE ENABLE -->
349 <input
type=
"hidden" value=
'0' name=
"profile">
350 <input
type=
"checkbox" id=
"profile" name=
"profile" class=
"form-control" value=
"1" title=
"Enable Profile Tab" <?php echo $profileHtml; ?>>
351 <label
for=
"profile"> <?php echo
"$lang[USERPAGE_TAB_PROFILE_ENABLE]"; ?></label><br>
352 <!-- PROFILE ACTIVE TAB -->
353 <label
class=
"radio radio-inline control-label">
354 <input
type=
"radio" id=
"activeTab" name=
"activeTab" class=
"form-control" value=
"Profile" title=
"<?php echo "$lang[SET_THIS_TAB_ACTIVE]
"; ?>" <?php echo $activeProfileHtml; ?>>
355 <?php echo
"$lang[SET_THIS_TAB_ACTIVE]"; ?></label><br>
358 <legend><
i class=
"fa fa-user"></
i> &
nbsp;<?php echo
"$lang[USERPAGE_SETUP_PROFILE_PAGE] <small>$lang[USERPAGE_SETUP_PROFILE_PAGE_SUBTEXT]</small>"; ?></legend>
359 <!-- change username -->
360 <input
type=
"hidden" value=
'0' name=
"changeUsername">
361 <input
type=
"checkbox" id=
"changeUsername" name=
"changeUsername" class=
"form-control" value=
"1" title=
"<?php echo "$lang[USERPAGE_ALLOW_CHANGE_USERNAME]
"; ?>" <?php echo $changeUsernameHtml; ?>>
362 <label
for=
"changeUsername"><?php echo
"$lang[USERPAGE_ALLOW_CHANGE_USERNAME]"; ?></label><br>
363 <!-- change email -->
364 <input
type=
"hidden" value=
'0' name=
"changeEmail">
365 <input
type=
"checkbox" id=
"changeEmail" name=
"changeEmail" class=
"form-control" value=
"1" title=
"<?php echo "$lang[USERPAGE_ALLOW_CHANGE_EMAIL]
"; ?>" <?php echo $changeEmailHtml; ?>>
366 <label
for=
"changeEmail"><?php echo
"$lang[USERPAGE_ALLOW_CHANGE_EMAIL]"; ?></label><br>
367 <!-- change password -->
368 <input
type=
"hidden" value=
'0' name=
"changePassword">
369 <input
type=
"checkbox" id=
"changePassword" name=
"changePassword" class=
"form-control" value=
"1" title=
"<?php echo "$lang[USERPAGE_ALLOW_CHANGE_PWD]
"; ?>" <?php echo $changePasswordHtml; ?>>
370 <label
for=
"changePassword"><?php echo
"$lang[USERPAGE_ALLOW_CHANGE_PWD]"; ?></label><br><br>
371 <!-- change firstname -->
372 <input
type=
"hidden" value=
'0' name=
"changeFirstname">
373 <input
type=
"checkbox" id=
"changeFirstname" name=
"changeFirstname" class=
"form-control" value=
"1" title=
"<?php echo "$lang[USERPAGE_ALLOW_CHANGE_FIRSTNAME]
"; ?>" <?php echo $changeFirstnameHtml; ?>>
374 <label
for=
"changeFirstname"><?php echo
"$lang[USERPAGE_ALLOW_CHANGE_FIRSTNAME]"; ?></label><br>
375 <!-- change lastname -->
376 <input
type=
"hidden" value=
'0' name=
"changeLastname">
377 <input
type=
"checkbox" id=
"changeLastname" name=
"changeLastname" class=
"form-control" value=
"1" title=
"<?php echo "$lang[USERPAGE_ALLOW_CHANGE_LASTNAME]
"; ?>" <?php echo $changeLastnameHtml; ?>>
378 <label
for=
"changeLastname"><?php echo
"$lang[USERPAGE_ALLOW_CHANGE_LASTNAME]"; ?></label><br><br>
379 <!-- change street -->
380 <input
type=
"hidden" value=
'0' name=
"changeStreet">
381 <input
type=
"checkbox" id=
"changeStreet" name=
"changeStreet" class=
"form-control" value=
"1" title=
"<?php echo "$lang[USERPAGE_ALLOW_CHANGE_STREET]
"; ?>" <?php echo $changeStreetHtml; ?>>
382 <label
for=
"changeStreet"><?php echo
"$lang[USERPAGE_ALLOW_CHANGE_STREET]"; ?></label><br>
383 <!-- change zipcode -->
384 <input
type=
"hidden" value=
'0' name=
"changeZipcode">
385 <input
type=
"checkbox" id=
"changeZipcode" name=
"changeZipcode" class=
"form-control" value=
"1" title=
"<?php echo "$lang[USERPAGE_ALLOW_CHANGE_ZIPCODE]
"; ?>" <?php echo $changeZipcodeHtml; ?>>
386 <label
for=
"changeZipcode"><?php echo
"$lang[USERPAGE_ALLOW_CHANGE_ZIPCODE]"; ?></label><br>
388 <input
type=
"hidden" value=
'0' name=
"changeCity">
389 <input
type=
"checkbox" id=
"changeCity" name=
"changeCity" class=
"form-control" value=
"1" title=
"<?php echo "$lang[USERPAGE_ALLOW_CHANGE_CITY]
"; ?>" <?php echo $changeCityHtml; ?>>
390 <label
for=
"changeCity"><?php echo
"$lang[USERPAGE_ALLOW_CHANGE_CITY]"; ?></label><br>
391 <!-- change country -->
392 <input
type=
"hidden" value=
'0' name=
"changeCountry">
393 <input
type=
"checkbox" id=
"changeCountry" name=
"changeCountry" class=
"form-control" value=
"1" title=
"<?php echo "$lang[USERPAGE_ALLOW_CHANGE_COUNTRY]
"; ?>" <?php echo $changeCountryHtml; ?>>
394 <label
for=
"changeCountry"><?php echo
"$lang[USERPAGE_ALLOW_CHANGE_COUNTRY]"; ?></label><br>
395 <!-- change state -->
396 <input
type=
"hidden" value=
'0' name=
"changeState">
397 <input
type=
"checkbox" id=
"changeState" name=
"changeState" class=
"form-control" value=
"1" title=
"<?php echo "$lang[USERPAGE_ALLOW_CHANGE_STATE]
"; ?>" <?php echo $changeStateHtml; ?>>
398 <label
for=
"changeState"><?php echo
"$lang[USERPAGE_ALLOW_CHANGE_STATE]"; ?></label><br><br>
400 <input
type=
"hidden" value=
'0' name=
"changeUrl">
401 <input
type=
"checkbox" id=
"changeUrl" name=
"changeUrl" class=
"form-control" value=
"1" title=
"<?php echo "$lang[USERPAGE_ALLOW_CHANGE_URL]
"; ?>" <?php echo $changeUrlHtml; ?>>
402 <label
for=
"changeUrl"><?php echo
"$lang[USERPAGE_ALLOW_CHANGE_URL]"; ?></label><br>
403 <!-- change facebook -->
404 <input
type=
"hidden" value=
'0' name=
"changeFacebook">
405 <input
type=
"checkbox" id=
"changeFacebook" name=
"changeFacebook" class=
"form-control" value=
"1" title=
"<?php echo "$lang[USERPAGE_ALLOW_CHANGE_FACEBOOK]
"; ?>" <?php echo $changeFacebookHtml; ?>>
406 <label
for=
"changeFacebook"><?php echo
"$lang[USERPAGE_ALLOW_CHANGE_FACEBOOK]"; ?></label><br>
407 <!-- change twitter -->
408 <input
type=
"hidden" value=
'0' name=
"changeTwitter">
409 <input
type=
"checkbox" id=
"changeTwitter" name=
"changeTwitter" class=
"form-control" value=
"1" title=
"<?php echo "$lang[USERPAGE_ALLOW_CHANGE_TWITTER]
"; ?>" <?php echo $changeTwitterHtml; ?>>
410 <label
for=
"changeTwitter"><?php echo
"$lang[USERPAGE_ALLOW_CHANGE_TWITTER]"; ?></label><br><br><br>
414 <div role=
"tabpanel" class=
"tab-pane" id=
"messagesTab">
415 <!-- MESSAGE PLUGIN ENABLE -->
416 <input
type=
"hidden" value=
'0' name=
"messageplugin">
417 <input
type=
"checkbox" id=
"messageplugin" name=
"messageplugin" class=
"form-control" value=
"1" title=
"Enable Message Plugin" <?php echo $msgpluginHtml; ?>>
418 <label
for=
"messageplugin"> <?php echo
"$lang[USERPAGE_TAB_MESSAGES_ENABLE]"; ?></label><br>
419 <!-- MESSAGE ACTIVE TAB -->
420 <label
class=
"radio radio-inline control-label">
421 <input
type=
"radio" id=
"activeTab" name=
"activeTab" class=
"form-control" value=
"Messages" title=
"<?php echo "$lang[SET_THIS_TAB_ACTIVE]
"; ?>" <?php echo $activeMessagesHtml; ?>>
422 <?php echo
"$lang[SET_THIS_TAB_ACTIVE]"; ?></label><br>
423 <!-- link to plg settings -->
424 <h4><
i class=
"fa fa-wrench"></
i><small><
i class=
"fa fa-envelope-o"></
i></small> &
nbsp;
425 <
a href=
"index.php?plugin=messages"><?php echo
$lang[
'USERPAGE_MESSAGE_PLUGIN_SETTINGS']; ?></
a>
426 <small><?php echo
$lang[
'USERPAGE_MESSAGE_PLUGIN_SETTINGS_SUBTEXT']; ?></small></h4><br><br>
429 <div role=
"tabpanel" class=
"tab-pane" id=
"settingsTab">
430 <!-- SETTINGS ENABLE -->
431 <input
type=
"hidden" value=
'0' name=
"settings">
432 <input
type=
"checkbox" id=
"settings" name=
"settings" class=
"form-control" value=
"1" title=
"Enable Settings Tab" <?php echo $settingsHtml; ?>>
433 <label
for=
"settings"> <?php echo
"$lang[USERPAGE_TAB_SETTINGS_ENABLE]"; ?></label><br>
434 <!-- SETTINGS ACTIVE TAB -->
435 <label
class=
"radio radio-inline control-label">
436 <input
type=
"radio" id=
"activeTab" name=
"activeTab" class=
"form-control" value=
"Settings" title=
"<?php echo "$lang[SET_THIS_TAB_ACTIVE]
"; ?>" <?php echo $activeSettingsHtml; ?>>
437 <?php echo
"$lang[SET_THIS_TAB_ACTIVE]"; ?></label><br>
440 <div role=
"tabpanel" class=
"tab-pane" id=
"statsTab">
441 <!-- STATS ENABLE -->
442 <input
type=
"hidden" value=
'0' name=
"stats">
443 <input
type=
"checkbox" id=
"stats" name=
"stats" class=
"form-control" value=
"1" title=
"Enable Stats Tab" <?php echo $statsHtml; ?>>
444 <label
for=
"stats"> <?php echo
"$lang[USERPAGE_TAB_STATS_ENABLE]"; ?></label><br>
445 <!-- STATS ACTIVE TAB -->
446 <label
class=
"radio radio-inline control-label">
447 <input
type=
"radio" id=
"activeTab" name=
"activeTab" class=
"form-control" value=
"Stats" title=
"<?php echo "$lang[SET_THIS_TAB_ACTIVE]
"; ?>" <?php echo $activeStatsHtml; ?>>
448 <?php echo
"$lang[SET_THIS_TAB_ACTIVE]"; ?></label><br>
451 <div role=
"tabpanel" class=
"tab-pane" id=
"helpTab">
453 <input
type=
"hidden" value=
'0' name=
"help">
454 <input
type=
"checkbox" id=
"help" name=
"help" class=
"form-control" value=
"1" title=
"Enable Help Tab" <?php echo $helpHtml; ?>>
455 <label
for=
"help"> <?php echo
"$lang[USERPAGE_TAB_HELP_ENABLE]"; ?></label><br>
456 <!-- HELP ACTIVE TAB -->
457 <label
class=
"radio radio-inline control-label">
458 <input
type=
"radio" id=
"activeTab" name=
"activeTab" class=
"form-control" value=
"Help" title=
"<?php echo "$lang[SET_THIS_TAB_ACTIVE]
"; ?>" <?php echo $activeHelpHtml; ?>>
459 <?php echo
"$lang[SET_THIS_TAB_ACTIVE]"; ?></label><br>
461 <legend><
i class=
"fa fa-question-circle"></
i> &
nbsp;<?php echo
"$lang[USERPAGE_USER_HELP] <small>$lang[USERPAGE_USER_HELP_SUBTEXT]</small>"; ?></legend>
462 <!-- USER HELP TEXTAREA -->
463 <label
for=
"helptext"> <?php echo
"$lang[USERPAGE_USER_HELP] <small>$lang[USERPAGE_USER_HELP_SUBTEXT_LABEL]</small>"; ?></label><br>
464 <textarea
name=
"helptext" id=
"helptext" class=
"form-control" cols=
"70" rows=
"10" title=
"User Help Text"><?php echo \YAWK\settings::getLongSetting(
$db,
"userpage_helptext"); ?></textarea>
469 <div role=
"tabpanel" class=
"tab-pane" id=
"adminTab">
470 <!-- ADMIN TAB ENABLE -->
471 <input
type=
"hidden" value=
'0' name=
"admin">
472 <input
type=
"checkbox" id=
"admin" name=
"admin" class=
"form-control" value=
"1" title=
"Enable Admin Tab" <?php echo $adminHtml; ?>>
473 <label
for=
"admin"> <?php echo
"$lang[USERPAGE_TAB_ADMIN_ENABLE]"; ?></label><br>
474 <!-- ADMIN ACTIVE TAB -->
475 <label
class=
"radio radio-inline control-label">
476 <input
type=
"radio" id=
"activeTab" name=
"activeTab" class=
"form-control" value=
"Admin" title=
"<?php echo "$lang[SET_THIS_TAB_ACTIVE]
"; ?>" <?php echo $activeAdminHtml; ?>>
477 <?php echo
"$lang[SET_THIS_TAB_ACTIVE]"; ?></label><br>
482 <div role=
"tabpanel" class=
"tab-pane fade in" id=
"userhelp">
484 <!-- SUBMIT BUTTON -->
485 <input
type=
"submit" class=
"btn btn-success pull-right" value=
"<?php print $lang['SETTINGS_SAVE']; ?>">
486 <input
type=
"hidden" name=
"sent" value=
"1">
491 <div role=
"tabpanel" class=
"tab-pane fade in" id=
"menu">
493 <!-- SUBMIT BUTTON -->
494 <input
type=
"submit" class=
"btn btn-success pull-right" value=
"<?php print $lang['SETTINGS_SAVE']; ?>">
495 <input
type=
"hidden" name=
"sent" value=
"1">
498 <legend><
i class=
"fa fa-bars"></
i> &
nbsp;<?php echo
"$lang[USERPAGE_LOGOUTMENU] <small>$lang[USERPAGE_LOGOUTMENU_SUBTEXT]</small>"; ?></legend>
499 <input
type=
"hidden" value=
'0' name=
"logoutmenu">
500 <input
type=
"checkbox" id=
"logoutmenu" name=
"logoutmenu" class=
"form-control" value=
"1" title=
"<?php print $lang['LOGOUTMENU_ENABLE']; ?>" <?php echo $logoutmenuHtml; ?>>
501 <label
for=
"logoutmenu"><?php print
$lang[
'USERPAGE_LOGOUTMENU_ENABLE']; ?></label>
print $lang['SETTINGS_SAVE']
static inject(array $lang, string $pathToFile)
allow plugins to inject language tags to $lang array
static setSetting($db, $property, $value, $lang)
Set value for property into settings database.
static getSetting($db, $property)
Get and return value for property from settings database.
static setLongSetting($db, $property, $value)
Set (update) long setting value for property.
This class serves methods to create backup from files.
<!-- backend language -->< h3 >< i class="fa fa-language"></i > & nbsp