@@ -13,6 +13,7 @@ $object_id = $this->getContext()->packet_id;
1313$ url = Common::relativeUrlToAbsolute ('/packet/ ' . urlencode ($ object_id ));
1414if ($ object )
1515{
16+ $ application_layer = $ object ->getApplicationLayer ();
1617 $ created_dt = $ object ->getCreatedDateTime ();
1718 $ deprecated = $ object ->isDeprecated ();
1819 $ brief = $ object ->getBrief (true );
@@ -22,6 +23,7 @@ if ($object)
2223 $ remarks = $ object ->getRemarks (true );
2324 $ research = $ object ->isInResearch ();
2425 $ title = $ object ->getName ();
26+ $ transport_layer = $ object ->getTransportLayer ();
2527 $ url = $ object ->getURI ();
2628 $ user = $ object ->getUser ();
2729
@@ -62,11 +64,13 @@ require('./header.inc.phtml'); ?>
6264
6365 <h1><a href="<?= $ url?> "><?= filter_var ($ title , FILTER_SANITIZE_FULL_SPECIAL_CHARS )?> </a></h1>
6466 <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>
6569 <tr><th class="text-right">Message Id:</th><td><code><?= $ packet_id?> </code></td></tr>
6670 <tr><th class="text-right">Message Name:</th><td><code><?= filter_var ($ object ->getName (), FILTER_SANITIZE_FULL_SPECIAL_CHARS )?> </code></td></tr>
6771 <tr><th class="text-right">Direction:</th><td><?= filter_var ($ object ->getDirectionLabel (), FILTER_SANITIZE_FULL_SPECIAL_CHARS )?> </td></tr>
6872<? if ($ deprecated || $ research || !$ published ) { ?>
69- <tr><th class="text-right">Flags :</th><td>
73+ <tr><th class="text-right">Options :</th><td>
7074 <? if ($ deprecated ) require ('./Deprecated.inc.phtml ' ); ?>
7175 <? if ($ research ) require ('./InResearch.inc.phtml ' ); ?>
7276 <? if (!$ published ) require ('./Draft.inc.phtml ' ); ?>
0 commit comments