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/database/search/main.twig | 84 ---------------------- .../templates/database/search/results.twig | 62 ---------------- 2 files changed, 146 deletions(-) delete mode 100644 srcs/phpmyadmin/templates/database/search/main.twig delete mode 100644 srcs/phpmyadmin/templates/database/search/results.twig (limited to 'srcs/phpmyadmin/templates/database/search') diff --git a/srcs/phpmyadmin/templates/database/search/main.twig b/srcs/phpmyadmin/templates/database/search/main.twig deleted file mode 100644 index 45e5e71..0000000 --- a/srcs/phpmyadmin/templates/database/search/main.twig +++ /dev/null @@ -1,84 +0,0 @@ - -
- {{ get_hidden_inputs(db) }} -
- {% trans 'Search in database' %} -

- - -

- -
- {% trans 'Find:' %} - {# 4th parameter set to true to add line breaks #} - {# 5th parameter set to false to avoid htmlspecialchars() escaping - in the label since we have some HTML in some labels #} - {{ get_radio_fields( - 'criteriaSearchType', - choices, - criteria_search_type, - true, - false - ) }} -
- -
- {% trans 'Inside tables:' %} -

- - {% trans 'Select all' %} - / - - {% trans 'Unselect all' %} - -

- -
- -

- {# Inputbox for column name entry #} - - -

-
-
- -
-
-
- -
-
-
-
-{# These two table-image and table-link elements display the table name in browse search results #} -
- -
-{# Div for browsing results #} -
- {# This browse-results div is used to load the browse and delete results in the db search #} -
-
- {# This sqlqueryform div is used to load the delete form in the db search #} -
-{# Toggle query box link #} - diff --git a/srcs/phpmyadmin/templates/database/search/results.twig b/srcs/phpmyadmin/templates/database/search/results.twig deleted file mode 100644 index 3d7a780..0000000 --- a/srcs/phpmyadmin/templates/database/search/results.twig +++ /dev/null @@ -1,62 +0,0 @@ - - - {% for row in rows %} - - - {% if row.result_count > 0 %} - {% set url_params = { - 'db': db, - 'table': row.table, - 'goto': 'db_sql.php', - 'pos': 0, - 'is_js_confirmed': 0 - } %} - - - {% else %} - - - {% endif %} - - {% endfor %} -
- {{ 'Search results for "%s" %s:'|format( - criteria_search_string, - search_type_description - )|raw }} -
- {% set result_message %} - {% trans %} - %1$s match in %2$s - {% plural row.result_count %} - %1$s matches in %2$s - {% endtrans %} - {% endset %} - {{ result_message|format(row.result_count, row.table)|raw }} - - - {% trans 'Browse' %} - - - - {% trans 'Delete' %} - -
- -{% if criteria_tables|length > 1 %} -

- {% trans %} - Total: {{ count }} match - {% plural result_total %} - Total: {{ count }} matches - {% endtrans %} -

-{% endif %} -- cgit