34 $showFullName = isset($_SESSION) && array_key_exists(
'fullmenudebug', $_SESSION) && $_SESSION[
'fullmenudebug'] == 1;
37 foreach ($menu as $Val) {
38 if (!empty($Val->HTML)) {
40 }
else if (!empty($Val->URI)) {
41 if (!empty($uploadId) &&
"tag" == $Val->URI) {
42 $tagstatus = TagStatus($uploadId);
43 if (0 == $tagstatus) {
48 $entry =
'<option value="' .
Traceback_uri() .
'?mod=' . $Val->URI .
'&' . $parm .
'"';
49 if (!empty($Val->Title)) {
50 $entry .=
' title="' . htmlentities($Val->Title, ENT_QUOTES) .
'"';
52 $entry .=
'>'. $Val->getName($showFullName).
'</option>';
54 $entry =
"<option>" . $Val->getName($showFullName) .
"</option>";
56 $optionsOut .= $entry;
59 if (plugin_find_id(
'showjobs') >= 0) {
60 $optionsOut .=
'<option value="' .
Traceback_uri() .
'?mod=showjobs&upload='.$uploadId.
'" title="' . _(
"Scan History") .
'" >'._(
"History").
'</option>';
63 return '<select class="goto-active-option"><option disabled selected>-- select action --</option>'.$optionsOut.
'</select>';
Traceback_uri()
Get the URI without query to this location.