From 75eb1eca9d9a14064bb0d73efc0bb067d646e994 Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Tue, 26 Dec 2023 04:52:53 +0300 Subject: [PATCH] Web Ui: add filter by printer model in PPD driver list Implement JavaScript filter for the PPD list in "Add Printer" and "Modify Printer" dialogs. Sometimes there are too many models in the list that it's hard to find the one you want. --- templates/choose-model.tmpl | 21 +++++++++++++++++++++ templates/da/choose-model.tmpl | 21 +++++++++++++++++++++ templates/de/choose-model.tmpl | 21 +++++++++++++++++++++ templates/es/choose-model.tmpl | 21 +++++++++++++++++++++ templates/fr/choose-model.tmpl | 21 +++++++++++++++++++++ templates/ja/choose-model.tmpl | 21 +++++++++++++++++++++ templates/pl/choose-model.tmpl | 21 +++++++++++++++++++++ templates/pt_BR/choose-model.tmpl | 21 +++++++++++++++++++++ templates/ru/choose-model.tmpl | 21 +++++++++++++++++++++ 9 files changed, 189 insertions(+) diff --git a/templates/choose-model.tmpl b/templates/choose-model.tmpl index 63d93e2615..5eeee1cd76 100644 --- a/templates/choose-model.tmpl +++ b/templates/choose-model.tmpl @@ -1,5 +1,22 @@

{op=modify-printer?Modify {printer_name}:Add Printer}

+ +
@@ -35,6 +52,10 @@ {PPD_MAKE} +Filter by Model: + + + Model: @@ -35,6 +52,10 @@ Del {?printer_is_shared=?ikke:{?printer_is_shared=0?ikke:}} printeren {PPD_MAKE} +Filtrer efter model: + + + Model: @@ -35,6 +52,10 @@ Drucker {?printer_is_shared=?nicht:{?printer_is_shared=0?nicht:}} im Netzwerk fr {PPD_MAKE} +Nach Modell filtern: + + + Modell: @@ -35,6 +52,10 @@ {PPD_MAKE} +Filtrar por modelo: + + + Modelo: @@ -35,6 +52,10 @@ {PPD_MAKE} +Filtrer par modèle : + + + Modèle : @@ -35,6 +52,10 @@ {PPD_MAKE} +モデルフィルター: + + + モデル: @@ -35,6 +52,10 @@ {PPD_MAKE} +Filtruj według modelu: + + + Model: @@ -35,6 +52,10 @@ {PPD_MAKE} +Filtrar por modelo: + + + Modelo: @@ -35,6 +52,10 @@ {PPD_MAKE} +Фильтр по модели: + + + Модель: