X7ROOT File Manager
Current Path:
/usr/libexec/webmin/authentic-theme
usr
/
libexec
/
webmin
/
authentic-theme
/
📁
..
📄
401.cgi
(339 B)
📄
403.cgi
(339 B)
📄
404.cgi
(339 B)
📄
CHANGELOG.md
(74.28 KB)
📄
FUNDING.yml
(103 B)
📄
LICENSE
(1.04 KB)
📄
THEME.pgp
(3.04 KB)
📄
authentic-funcs.pl
(27.33 KB)
📄
authentic-init.pl
(63.33 KB)
📄
authentic-lib.pl
(100.41 KB)
📄
authentic.pl
(49.24 KB)
📄
config
(139 B)
📄
config.cgi
(6.52 KB)
📄
config_save.cgi
(2.14 KB)
📁
extensions
📁
help
📁
images
📄
index.cgi
(306 B)
📁
lang
📁
lib
📄
manifest-cloudmin.json
(0 B)
📄
manifest-virtualmin.json
(0 B)
📄
manifest-webmin.json
(996 B)
📄
manifest.template
(920 B)
📄
mconfig.cgi
(6.57 KB)
📄
mconfig_save.cgi
(1.69 KB)
📁
modules
📄
navigation-lib.pl
(54.13 KB)
📄
pam_login.cgi
(6.33 KB)
📄
password_form.cgi
(4.07 KB)
📄
postinstall-usermin.pl
(264 B)
📄
postinstall.pl
(645 B)
📄
service-worker.js
(141 B)
📄
session_login.cgi
(8.17 KB)
📄
settings-backgrounds.cgi
(3.61 KB)
📄
settings-backgrounds_save.cgi
(1.16 KB)
📄
settings-editor_favorites_read.cgi
(894 B)
📄
settings-editor_favorites_write.cgi
(571 B)
📄
settings-editor_read.cgi
(2.4 KB)
📄
settings-editor_write.cgi
(967 B)
📄
settings-favorites_save.cgi
(629 B)
📄
settings-lib.pl
(651 B)
📄
settings-logos.cgi
(4.61 KB)
📄
settings-logos_save.cgi
(1.75 KB)
📄
stats.cgi
(8.37 KB)
📄
sysinfo.cgi
(6.44 KB)
📄
tconfig-lib.pl
(33.02 KB)
📄
tconfig.cgi
(6.09 KB)
📄
theme-update.sh
(8.08 KB)
📄
theme.info
(344 B)
📄
theme.info.no
(24 B)
📄
uconfig.cgi
(6.27 KB)
📄
uconfig_save.cgi
(1.99 KB)
📁
unauthenticated
📄
uninstall-usermin.pl
(170 B)
📄
uninstall.pl
(346 B)
📄
xhr-lib.pl
(10.22 KB)
📄
xhr.cgi
(349 B)
Editing: password_form.cgi
#!/usr/bin/perl # # Authentic Theme (https://github.com/authentic-theme/authentic-theme) # Copyright Ilia Rostovtsev <ilia@virtualmin.com> # Licensed under MIT (https://github.com/authentic-theme/authentic-theme/blob/master/LICENSE) # use strict; our (%in, %gconfig, %text, $pragma_no_cache, %theme_text, %theme_config); do("$ENV{'THEME_ROOT'}/authentic-lib.pl"); $pragma_no_cache = 1; $ENV{'MINISERV_INTERNAL'} || die "Can only be called by miniserv.pl"; my $charset = &get_charset(); &PrintHeader($charset); print '<!DOCTYPE HTML>', "\n"; print '<html data-bgs="gainsboro" class="session_login">', "\n"; embed_login_head(); print '<body class="session_login">' . "\n"; print '<div class="container session_login">' . "\n"; if ($in{'expired'} == 2) { print '<div class="alert alert-info">' . "\n"; print '<i class ="fa fa-exclamation-triangle"></i> ' . $text{'password_temp'} . '' . "\n"; print '</div>' . "\n"; } else { print '<div class="alert alert-info">' . "\n"; print '<i class ="fa fa-exclamation-triangle"></i> ' . $text{'password_expired'} . '' . "\n"; print '</div>' . "\n"; } # Start of the form print "$text{'password_prefix'}\n"; print '<form method="post" target="_top" action="' . $gconfig{'webprefix'} . '/password_change.cgi" class="form-signin session_login clearfix" role="form" onsubmit="spinner()">' . "\n"; print ui_hidden("user", $in{'user'}); print ui_hidden("pam", $in{'pam'}); print ui_hidden("expired", $in{'expired'}); print '<i class="wbm-webmin"></i><h2 class="form-signin-heading"> <span>' . (&get_product_name() eq 'webmin' ? $theme_text{'theme_xhred_titles_wm'} : $theme_text{'theme_xhred_titles_um'} ) . '</span></h2>' . "\n"; # Process logo embed_logo(); # Login message my $host; if ($gconfig{'realname'}) { $host = &get_display_hostname(); } else { $host = get_env('server_name'); $host =~ s/:\d+//g; $host = &html_escape($host); } print '<p class="form-signin-paragraph">' . theme_text('theme_new_password_header') . ' <em><strong>' . $in{'user'} . '</strong></em></p>' . "\n"; print '<div class="input-group form-group">' . "\n"; print '<span class="input-group-addon"><i class="fa fa-fw fa-key"></i></span>' . "\n"; print '<input type="password" class="form-control session_login" name="old" autocomplete="off" autocorrect="off" placeholder="' . theme_text('password_old') . '">' . "\n"; print '</div>' . "\n"; print '<div class="input-group form-group">' . "\n"; print '<span class="input-group-addon"><i class="fa fa-fw fa-key-plus"></i></span>' . "\n"; print '<input type="password" class="form-control session_login" name="new1" autocomplete="off" autocorrect="off" placeholder="' . theme_text('password_new1') . '">' . "\n"; print '</div>' . "\n"; print '<div class="input-group form-group">' . "\n"; print '<span class="input-group-addon"><i class="fa fa-fw fa-key-plus"></i></span>' . "\n"; print '<input type="password" class="form-control session_login" name="new2" autocomplete="off" autocorrect="off" placeholder="' . theme_text('password_new2') . '">' . "\n"; print '</div>' . "\n"; print '<div class="form-group form-signin-group">'; print '<button class="btn btn-primary" type="submit" style="margin-top: 0 !important; width: 100%"><i class="fa fa-unlock"></i> ' . &theme_text('password_ok') . '</button>' . "\n"; print '<script>document.addEventListener("DOMContentLoaded", function(event) {var l=document.querySelector(".top-aprogress");l&&l.remove();var o=document.querySelector("input[name=\"old\"]");o&&o.focus();});function spinner(){var x=document.querySelector(".fa.fa-unlock"),s =\'<span class="cspinner_container" style="position: absolute; width: 18px; height: 14px; display: inline-block;"><span class="cspinner" style="margin-top: 0; margin-left: -23px;"><span class="cspinner-icon white small"></span></span></span>\';x.classList.add("invisible"); x.insertAdjacentHTML(\'afterend\', s);x.parentNode.classList.add("disabled");x.parentNode.disabled=true}</script>'; print '</div>'; print '</form>' . "\n"; print "$text{'password_postfix'}\n"; &footer();
Upload File
Create Folder