-
Notifications
You must be signed in to change notification settings - Fork 0
/
Znuny-Queue-Service-Comment-7.0.1.opm
27 lines (27 loc) · 7.4 KB
/
Znuny-Queue-Service-Comment-7.0.1.opm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="utf-8" ?>
<otrs_package version="1.1">
<Name>Znuny-Queue-Service-Comment</Name>
<Version>7.0.1</Version>
<Vendor>mo-azfar</Vendor>
<URL>https://github.com/mo-azfar</URL>
<License>GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007</License>
<Description Lang="en">Display queue and service comment at agent new ticket screen.</Description>
<Framework>7.0.x</Framework>
<IntroInstall Lang="en" Title="Install Information" Type="pre">
<br>
<b>WELCOME</b>
<br>
<br>
You are about to install the package Znuny-Queue-Service-Comment.Check <a href='https://github.com/mo-azfar/Znuny-Queue-Service-Comment' target='_blank'>README</a><br>
<br>
<br>
((enjoy))<br>
<br>
</IntroInstall>
<BuildDate>2024-01-05 17:39:02</BuildDate>
<BuildHost>app.wsl.my</BuildHost>
<Filelist>
<File Location="Kernel/Config/Files/XML/ZZZShowQueueServiceComment.xml" Permission="660" Encode="Base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxvdHJzX2NvbmZpZyB2ZXJzaW9uPSIyLjAiIGluaXQ9IkNvbmZpZyI+DQogICAgPFNldHRpbmcgTmFtZT0iRnJvbnRlbmQ6Ok91dHB1dDo6RmlsdGVyRWxlbWVudFBvc3QjIyNTaG93UXVldWVTZXJ2aWNlQ29tbWVudCIgUmVxdWlyZWQ9IjAiIFZhbGlkPSIxIj4NCiAgICAgICAgPERlc2NyaXB0aW9uIFRyYW5zbGF0YWJsZT0iMSI+TW9kdWxlIHRvIHNob3cgcXVldWUgY29tbWVudCBpbiB0aWNrZXQgbWFza3MuPC9EZXNjcmlwdGlvbj4NCiAgICAgICAgPE5hdmlnYXRpb24+RnJvbnRlbmQ6O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bSBWYWx1ZVR5cGU9Ik9wdGlvbiIgVmFsdWU9IjAiIFRyYW5zbGF0YWJsZT0iMSI+RGlzYWJsZTwvSXRlbT4NCgkJCQk8L0l0ZW0+DQogICAgICAgICAgICA8L0hhc2g+DQogICAgICAgIDwvVmFsdWU+DQogICAgPC9TZXR0aW5nPg0KPC9vdHJzX2NvbmZpZz4=</File>
<File Location="Custom/Kernel/Output/HTML/FilterElementPost/ShowQueueServiceComment.pm" Permission="660" Encode="Base64">IyAtLQojIENvcHlyaWdodCAoQykgMjAyMyBtby1hemZhcixodHRwczovL2dpdGh1Yi5jb20vbW8tYXpmYXIKIyAtLQojIFRoaXMgc29mdHdhcmUgY29tZXMgd2l0aCBBQlNPTFVURUxZIE5PIFdBUlJBTlRZLiBGb3IgZGV0YWlscywgc2VlCiMgdGhlIGVuY2xvc2VkIGZpbGUgQ09QWUlORyBmb3IgbGljZW5zZSBpbmZvcm1hdGlvbiAoQUdQTCkuIElmIHlvdQojIGRpZCBub3QgcmVjZWl2ZSB0aGlzIGZpbGUsIHNlZSBodHRwOi8vd3d3LmdudS5vcmcvbGljZW5zZXMvYWdwbC50eHQuCiMgLS0KCnBhY2thZ2UgS2VybmVsOjpPdXRwdXQ6OkhUTUw6OkZpbHRlckVsZW1lbnRQb3N0OjpTaG93UXVldWVTZXJ2aWNlQ29tbWVudDsKCnVzZSBzdHJpY3Q7CnVzZSB3YXJuaW5nczsKCm91ciBAT2JqZWN0RGVwZW5kZW5jaWVzID0gKAogICAgJ0tlcm5lbDo6Q29uZmlnJywKICAgICdLZXJuZWw6Ok91dHB1dDo6SFRNTDo6TGF5b3V0JywKICAgICdLZXJuZWw6OlN5c3RlbTo6V2ViOjpSZXF1ZXN0JywKKTsKCnVzZSBLZXJuZWw6OlN5c3RlbTo6VmFyaWFibGVDaGVjayBxdyg6YWxsKTsKCnN1YiBuZXcgewogICAgbXkgKCAkVHlwZSwgJVBhcmFtICkgPSBAXzsKCiAgICBteSAkU2VsZiA9IHt9O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AgICAgICAgKTsKCiAgICAgICAgICAgIG5leHQgaWYgISRRdWV1ZUF0dHtDb21tZW50fTsKICAgICAgICAgICAgbXkgJFBvc3NpYmxlUXVldWUgPSAiJFF1ZXVlSUR8fCRRdWV1ZUF0dHtOYW1lfSI7CiAgICAgICAgICAgICRBbGxRdWV1ZXMtPnskUG9zc2libGVRdWV1ZX0gPSAgJFF1ZXVlQXR0e0NvbW1lbnR9OwogICAgICAgIH0KICAgICAgICAKICAgICAgICBteSAkUXVldWVDb21tZW50SlNPTiA9ICRKU09OT2JqZWN0LT5FbmNvZGUoIERhdGEgPT4gJEFsbFF1ZXVlcyApOwoKICAgICAgICAkTGF5b3V0T2JqZWN0LT5BZGRKU09uRG9jdW1lbnRDb21wbGV0ZSgKICAgICAgICAgICAgICAgIENvZGUgPT4gcXF+CiAgICAgICAgICAgICAgICBsZXQgcXVldWVfY29tbWVudHMgPSAkUXVldWVDb21tZW50SlNPTjsKICAgICAgICAgICAgICAgIFwkKCcjRGVzdCcpLmJpbmQoJ2NoYW5nZScsIGZ1bmN0aW9uKCkgeyAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGxldCBxdWV1ZV9jb21tZW50ID0gcXVldWVfY29tbWVudHNbXCQodGhpcykudmFsKCldIHx8ICcnOwoKICAgICAgICAgICAgICAgICAgICBcJCgibGFiZWxbZm9yPSdEZXN0J10iKS5hdHRyKCJpZCIsICJEZXN0Q29tbWVudCIpOyAKICAgICAgICAgICAgICAgICAgICBsZXQgbGFiZWxFbGVtZW50ID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoIkRlc3RDb21tZW50Iik7CiAgICAgICAgICAgICAgICAgICAgbGFiZWxFbGVtZW50LmlubmVySFRNTCA9ICJUbyBxdWV1ZTogIiArICIoIiArIHF1ZXVlX2NvbW1lbnQgKyAiKSI7ICAgCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfiwKICAgICAgICApOwogICAgICAgIAogICAgfQogICAgCiAgICBpZiAoICRQYXJhbXtTZXJ2aWNlQ29tbWVudH0gKQogICAgewogICAgICAgIG15ICRTZXJ2aWNlT2JqZWN0ID0gJEtlcm5lbDo6T00tPkdldCgnS2VybmVsOjpTeXN0ZW06OlNlcnZpY2UnKTsKCiAgICAgICAgbXkgJFNlcnZpY2VMaXN0ID0gJFNlcnZpY2VPYmplY3QtPlNlcnZpY2VMaXN0R2V0KAogICAgICAgICAgICBWYWxpZCAgPT4gMSwgICAjIChvcHRpb25hbCkgZGVmYXVsdCAxICgwfDEpCiAgICAgICAgICAgIFVzZXJJRCA9PiAxLAogICAgICAgICk7CgogICAgICAgIG15ICRBbGxTZXJ2aWNlczsKICAgICAgICBmb3JlYWNoIG15ICRTZXJ2aWNlICggQHskU2VydmljZUxpc3R9ICkKICAgICAgICB7CiAgICAgICAgICAgbmV4dCBpZiAhJFNlcnZpY2UtPntDb21tZW50fTsKICAgICAgICAgICAkQWxsU2VydmljZXMtPnskU2VydmljZS0+e1NlcnZpY2VJRH19ID0gICRTZXJ2aWNlLT57Q29tbWVudH07CiAgICAgICAgfQogICAgICAgIAogICAgICAgIG15ICRTZXJ2aWNlQ29tbWVudEpTT04gPSAkSlNPTk9iamVjdC0+RW5jb2RlKCBEYXRhID0+ICRBbGxTZXJ2aWNlcyApOwoKICAgICAgICAkTGF5b3V0T2JqZWN0LT5BZGRKU09uRG9jdW1lbnRDb21wbGV0ZSgKICAgICAgICAgICAgICAgIENvZGUgPT4gcXF+CiAgICAgICAgICAgICAgICBsZXQgc2VydmljZV9jb21tZW50cyA9ICRTZXJ2aWNlQ29tbWVudEpTT047CiAgICAgICAgICAgICAgICBcJCgnI1NlcnZpY2VJRCcpLmJpbmQoJ2NoYW5nZScsIGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgICAgIGxldCBzZXJ2aWNlX2NvbW1lbnQgPSBzZXJ2aWNlX2NvbW1lbnRzW1wkKHRoaXMpLnZhbCgpXSB8fCAnJzsKCiAgICAgICAgICAgICAgICAgICAgXCQoImxhYmVsW2Zvcj0nU2VydmljZUlEJ10iKS5hdHRyKCJpZCIsICJTZXJ2aWNlQ29tbWVudCIpOyAKICAgICAgICAgICAgICAgICAgICBsZXQgbGFiZWxFbGVtZW50ID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoIlNlcnZpY2VDb21tZW50Iik7CiAgICAgICAgICAgICAgICAgICAgbGFiZWxFbGVtZW50LmlubmVySFRNTCA9ICJTZXJ2aWNlOiAiICsgIigiICsgc2VydmljZV9jb21tZW50ICsgIikiOyAgICAgCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfiwKICAgICAgICApOwogICAgfQoJCiAgICByZXR1cm4gMTsKfQoKMTsK</File>
</Filelist>
</otrs_package>