From 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 27 Jul 2020 10:05:23 +0200 Subject: Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my familly --- .../phpmyadmin/templates/preferences/autoload.twig | 15 --- .../templates/preferences/forms/main.twig | 8 -- .../templates/preferences/manage/error.twig | 20 ---- .../templates/preferences/manage/main.twig | 112 --------------------- .../preferences/two_factor/configure.twig | 11 -- .../templates/preferences/two_factor/confirm.twig | 12 --- .../templates/preferences/two_factor/main.twig | 60 ----------- 7 files changed, 238 deletions(-) delete mode 100644 srcs/phpmyadmin/templates/preferences/autoload.twig delete mode 100644 srcs/phpmyadmin/templates/preferences/forms/main.twig delete mode 100644 srcs/phpmyadmin/templates/preferences/manage/error.twig delete mode 100644 srcs/phpmyadmin/templates/preferences/manage/main.twig delete mode 100644 srcs/phpmyadmin/templates/preferences/two_factor/configure.twig delete mode 100644 srcs/phpmyadmin/templates/preferences/two_factor/confirm.twig delete mode 100644 srcs/phpmyadmin/templates/preferences/two_factor/main.twig (limited to 'srcs/phpmyadmin/templates/preferences') diff --git a/srcs/phpmyadmin/templates/preferences/autoload.twig b/srcs/phpmyadmin/templates/preferences/autoload.twig deleted file mode 100644 index 4c61045..0000000 --- a/srcs/phpmyadmin/templates/preferences/autoload.twig +++ /dev/null @@ -1,15 +0,0 @@ - diff --git a/srcs/phpmyadmin/templates/preferences/forms/main.twig b/srcs/phpmyadmin/templates/preferences/forms/main.twig deleted file mode 100644 index 563b385..0000000 --- a/srcs/phpmyadmin/templates/preferences/forms/main.twig +++ /dev/null @@ -1,8 +0,0 @@ -{{ error|raw }} -{% if has_errors %} -
- {% trans 'Cannot save settings, submitted form contains errors!' %} - {{ errors|raw }} -
-{% endif %} -{{ form|raw }} diff --git a/srcs/phpmyadmin/templates/preferences/manage/error.twig b/srcs/phpmyadmin/templates/preferences/manage/error.twig deleted file mode 100644 index d6b3522..0000000 --- a/srcs/phpmyadmin/templates/preferences/manage/error.twig +++ /dev/null @@ -1,20 +0,0 @@ -{{ 'Configuration contains incorrect data for some fields.'|trans|error }} -
- {{ form_errors|raw }} -
-
- {{ get_hidden_inputs() }} - - - {% if import_merge is not empty %} - - {% endif %} - {% if return_url %} - - {% endif %} -

- {% trans 'Do you want to import remaining settings?' %} -

- - -
diff --git a/srcs/phpmyadmin/templates/preferences/manage/main.twig b/srcs/phpmyadmin/templates/preferences/manage/main.twig deleted file mode 100644 index 0e51327..0000000 --- a/srcs/phpmyadmin/templates/preferences/manage/main.twig +++ /dev/null @@ -1,112 +0,0 @@ -{{ error|raw }} - -
-
-
-

{% trans 'Import' %}

-
- {{ generate_hidden_max_file_size(max_upload_size) }} - {{ get_hidden_inputs() }} - - - -
- - -
- - -
-
- {% trans 'Settings will be imported from your browser\'s local storage.' %} -
-
- {% trans 'Saved on: @DATE@' %} -
-
- {{ 'You have no saved settings!'|trans|notice }} -
-
-
- {{ 'This feature is not supported by your web browser'|trans|notice }} -
-
- - -

- -
-
- {% if exists_setup_and_not_exists_config %} - {# show only if setup script is available, allows to disable this message #} - {# by simply removing setup directory #} - {# Also do not show in config exists (and setup would refuse to work) #} -
-

{% trans 'More settings' %}

-
- {{ 'You can set more settings by modifying config.inc.php, eg. by using %sSetup script%s.'|trans|format('','')|raw }} - {{ show_docu('setup', 'setup-script') }} -
-
- {% endif %} -
-
-
-

{% trans 'Export' %}

-
- {{ 'Configuration has been saved.'|trans|raw_success }} -
-
- {{ get_hidden_inputs() }} -
- -
- -
- - -
-
- - {% trans 'Settings will be saved in your browser\'s local storage.' %} -
- - {% trans 'Existing settings will be overwritten!' %} - -
-
-
- {{ 'This feature is not supported by your web browser'|trans|notice }} -
-
-
- -
-
-
-

{% trans 'Reset' %}

-
- {{ get_hidden_inputs() }} - {% trans 'You can reset all your settings and restore them to default values.' %} -

- -
-
-
-
-
diff --git a/srcs/phpmyadmin/templates/preferences/two_factor/configure.twig b/srcs/phpmyadmin/templates/preferences/two_factor/configure.twig deleted file mode 100644 index 574f112..0000000 --- a/srcs/phpmyadmin/templates/preferences/two_factor/configure.twig +++ /dev/null @@ -1,11 +0,0 @@ -
-

{% trans "Configure two-factor authentication" %}

-
-
-{{ get_hidden_inputs() }} - -{{ form|raw }} - -
-
-
diff --git a/srcs/phpmyadmin/templates/preferences/two_factor/confirm.twig b/srcs/phpmyadmin/templates/preferences/two_factor/confirm.twig deleted file mode 100644 index f1ef175..0000000 --- a/srcs/phpmyadmin/templates/preferences/two_factor/confirm.twig +++ /dev/null @@ -1,12 +0,0 @@ -
-

{% trans "Confirm disabling two-factor authentication" %}

-
-
-{{ "By disabling two factor authentication you will be again able to login using password only."|trans|notice }} -{{ get_hidden_inputs() }} -{{ form|raw }} - - -
-
-
diff --git a/srcs/phpmyadmin/templates/preferences/two_factor/main.twig b/srcs/phpmyadmin/templates/preferences/two_factor/main.twig deleted file mode 100644 index f95c047..0000000 --- a/srcs/phpmyadmin/templates/preferences/two_factor/main.twig +++ /dev/null @@ -1,60 +0,0 @@ -
-

- {% trans "Two-factor authentication status" %} - {{ show_docu('two_factor') }} -

-
- {% if enabled %} - {% if num_backends == 0 %} -

{% trans "Two-factor authentication is not available, please install optional dependencies to enable authentication backends." %}

-

{% trans "Following composer packages are missing:" %}

-
    - {% for item in missing %} -
  • {{ item.dep }} ({{ item.class }})
  • - {% endfor %} -
- {% else %} - {% if backend_id %} -

{% trans "Two-factor authentication is available and configured for this account." %}

- {% else %} -

{% trans "Two-factor authentication is available, but not configured for this account." %}

- {% endif %} - {% endif %} - {% else %} -

{% trans "Two-factor authentication is not available, enable phpMyAdmin configuration storage to use it." %}

- {% endif %} -
-
- -{% if backend_id %} -
-

{{ backend_name }}

-
-

{% trans "You have enabled two factor authentication." %}

-

{{ backend_description }}

-
- {{ get_hidden_inputs() }} - -
-
-
-{% elseif num_backends > 0 %} -
-

{% trans "Configure two-factor authentication" %}

-
-
- {{ get_hidden_inputs() }} - {% for backend in backends %} - - {% endfor %} - -
-
-
-{% endif %} -- cgit