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: settings-logos.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, $theme_webprefix, $current_theme, $config_directory, $get_user_level, %theme_text); do("$ENV{'THEME_ROOT'}/authentic-lib.pl"); &webmin_user_is_admin() || &error($theme_text{'theme_error_access_not_root_user'}); &ui_print_header(undef, $theme_text{'theme_xhred_settings_right_theme_logos_title'}, undef, undef, undef, 1); my $lga = $config_directory . "/$current_theme/logo.png"; my $lgg = $config_directory . "/$current_theme/logo_welcome.png"; print '' . $theme_text{'settings_right_logos_title'} . ' <p></p>'; print &ui_form_start("settings-logos_save.cgi", "form-data"); print ' <div class="table-responsive"> <table class="table table-striped table-condensed table-subtable"> <thead><tr><th class="table-title"><b>' . $theme_text{'theme_xhred_config_configurable_options'} . '</b></th></tr></thead> <tbody> <tr> <td> <table class="sub_table_container table-hardcoded" width="100%"> <tbody> <tr class="atshover"> <td class="col_label"><b>' . $theme_text{'settings_right_logo_authenticated_users'} . '</b></td> <td class="col_value">' . ui_yesno_radio("authenticated_logo", (-r $lga ? "1" : "0"), "1", "0") . '</td> <td class="col_value"> <button class="btn btn-default chooser_button file_chooser_button_preview' . (!-r $lga && ' disabled') . '" type="button"' . (-r $lga && ' data-image-lga data-image="data:image/png;base64,' . encode_base64(read_file_contents($lga)) . '"') . '> <i class="fa fa-fw fa-eye text-muted"></i> </button> <input class="ui_upload' . (!-r $lga && ' disabled') . '" type=file name="authenticated_logo_file" accept=".png" size="40" > </td> </tr> <tr class="atshover"> <td class="col_label"><b>' . $theme_text{'settings_right_logo_unauthenticated_users'} . '</b></td> <td class="col_value" >' . ui_yesno_radio("unauthenticated_logo", (-r $lgg ? "1" : "0"), "1", "0") . '</td> <td class="col_value"> <button class="btn btn-default chooser_button file_chooser_button_preview' . (!-r $lgg && ' disabled') . '" type="button"' . (-r $lgg && ' data-image-lgg data-image="data:image/png;base64,' . encode_base64(read_file_contents($lgg)) . '"') . '> <i class="fa fa-fw fa-eye text-muted"></i> </button> <input class="ui_upload' . (!-r $lgg && ' disabled') . '" type=file name="unauthenticated_logo_file" accept=".png" size="40"> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </div> <table class="ui_form_end_buttons" width="100%"> <tr> <td> <button class="btn btn-info file-editor-saved' . ($in{'saved'} ne 1 && ' hidden') . '" type="submit" name="save" id="saved"><i class="fa fa-fw fa-check-square-o"></i> ' . $theme_text{'settings_right_saved'} . ' </button> <button class="btn btn-success file-editor-save page_footer_ajax_submit' . ($in{'saved'} eq 1 && ' hidden') . '" type="submit" name="save" id="save"><i class="fa fa-fw fa-floppy-o"></i> ' . $theme_text{'theme_xhred_global_save'} . ' </button> </td> <td align="right"> <a class="btn btn-default page_footer_ajax_submit" href="' . $theme_webprefix . '/settings-editor_read.cgi"><i class="fa fa-fw fa-file-code-o"> </i> ' . $theme_text{'settings_right_theme_extensions'} . ' </a> <a class="btn btn-default page_footer_ajax_submit" href="' . $theme_webprefix . '/settings-backgrounds.cgi"><i class="fa fa-fw fa-image"> </i> ' . $theme_text{'theme_xhred_settings_right_theme_bgs'} . ' </a> </td> </tr> </table> </form>'; &ui_print_footer("tconfig.cgi", $theme_text{'right_return_theme_options'});
Upload File
Create Folder