@@ -13,6 +13,7 @@ $object_id = $this->getContext()->packet_id;
13
13
$ url = Common::relativeUrlToAbsolute ('/packet/ ' . urlencode ($ object_id ));
14
14
if ($ object )
15
15
{
16
+ $ application_layer = $ object ->getApplicationLayer ();
16
17
$ created_dt = $ object ->getCreatedDateTime ();
17
18
$ deprecated = $ object ->isDeprecated ();
18
19
$ brief = $ object ->getBrief (true );
@@ -22,6 +23,7 @@ if ($object)
22
23
$ remarks = $ object ->getRemarks (true );
23
24
$ research = $ object ->isInResearch ();
24
25
$ title = $ object ->getName ();
26
+ $ transport_layer = $ object ->getTransportLayer ();
25
27
$ url = $ object ->getURI ();
26
28
$ user = $ object ->getUser ();
27
29
@@ -62,11 +64,13 @@ require('./header.inc.phtml'); ?>
62
64
63
65
<h1><a href="<?= $ url?> "><?= filter_var ($ title , FILTER_SANITIZE_FULL_SPECIAL_CHARS )?> </a></h1>
64
66
<table class="table table-striped"><tbody>
67
+ <tr><th class="text-right">Transport Layer:</th><td><?= sprintf ('%s (%s) ' , $ transport_layer ->getLabel (), $ transport_layer ->getTag ())?> </td></tr>
68
+ <tr><th class="text-right">Application Layer:</th><td><?= sprintf ('%s (%s) ' , $ application_layer ->getLabel (), $ application_layer ->getTag ())?> </td></tr>
65
69
<tr><th class="text-right">Message Id:</th><td><code><?= $ packet_id?> </code></td></tr>
66
70
<tr><th class="text-right">Message Name:</th><td><code><?= filter_var ($ object ->getName (), FILTER_SANITIZE_FULL_SPECIAL_CHARS )?> </code></td></tr>
67
71
<tr><th class="text-right">Direction:</th><td><?= filter_var ($ object ->getDirectionLabel (), FILTER_SANITIZE_FULL_SPECIAL_CHARS )?> </td></tr>
68
72
<? if ($ deprecated || $ research || !$ published ) { ?>
69
- <tr><th class="text-right">Flags :</th><td>
73
+ <tr><th class="text-right">Options :</th><td>
70
74
<? if ($ deprecated ) require ('./Deprecated.inc.phtml ' ); ?>
71
75
<? if ($ research ) require ('./InResearch.inc.phtml ' ); ?>
72
76
<? if (!$ published ) require ('./Draft.inc.phtml ' ); ?>
0 commit comments