diff --git a/Layout/default/Voicenumberblock/Form.php b/Layout/default/Voicenumberblock/Form.php index f663a5635..0e6e8c92c 100644 --- a/Layout/default/Voicenumberblock/Form.php +++ b/Layout/default/Voicenumberblock/Form.php @@ -29,6 +29,13 @@ +
+ +
+ +
+
+
diff --git a/Layout/default/Voicenumberblock/Index.php b/Layout/default/Voicenumberblock/Index.php index e64139303..b6f6b8c16 100644 --- a/Layout/default/Voicenumberblock/Index.php +++ b/Layout/default/Voicenumberblock/Index.php @@ -25,6 +25,11 @@
">
+
+ + +
+
@@ -109,6 +114,7 @@ + @@ -119,6 +125,7 @@ + diff --git a/application/Voicenumberblock/VoicenumberblockController.php b/application/Voicenumberblock/VoicenumberblockController.php index 33bc1b99e..2afb7f2d3 100644 --- a/application/Voicenumberblock/VoicenumberblockController.php +++ b/application/Voicenumberblock/VoicenumberblockController.php @@ -94,6 +94,7 @@ class VoicenumberblockController extends mfBaseController { } $data = []; + $data['name'] = $r->name; $data['countrycode'] = $r->countrycode; $data['areacode'] = $r->areacode; $data['first'] = $r->first; diff --git a/application/Voicenumberblock/VoicenumberblockModel.php b/application/Voicenumberblock/VoicenumberblockModel.php index b1776abd6..a0bfed784 100644 --- a/application/Voicenumberblock/VoicenumberblockModel.php +++ b/application/Voicenumberblock/VoicenumberblockModel.php @@ -1,6 +1,7 @@ escape($filter['name']); + if($name) { + $where .= " AND name like '%$name%'"; + } + } + if(array_key_exists("comment", $filter)) { $comment = $db->escape($filter['comment']); if($comment) {
IDName Country Code Area Code Anfang
id?>name?> countrycode?> areacode?> first?>