| 25 | | if ($new_window != NULL) |
|---|
| 26 | | $html .= "target=\"_blank\" "; |
|---|
| 27 | | |
|---|
| | 25 | // If not NULL and just true, then previous behavior open a new window. If |
|---|
| | 26 | // A name is given, then use javascript to target that window if already open |
|---|
| | 27 | // |
|---|
| | 28 | if ($new_window != NULL) { |
|---|
| | 29 | if ($new_window === true) { |
|---|
| | 30 | $html .= "target=\"_blank\" "; |
|---|
| | 31 | } else { |
|---|
| | 32 | $html .= "target=\"$new_window\" "; |
|---|
| | 33 | //$html .= "onClick=\"return menu_popup(this, '$new_window')\" "; |
|---|
| | 34 | } |
|---|
| | 35 | } |
|---|
| 159 | | print_sub_tool( _("Recordings"), "../recordings/index.php" ,0, NULL, true ); |
|---|
| 160 | | print_sub_tool( _("Help"), "http://support.freepbx.org$help_args" ,0, NULL, true ); |
|---|
| | 168 | print_sub_tool( _("Recordings"), "../recordings/index.php" ,0, NULL, "ari" ); |
|---|
| | 169 | print_sub_tool( _("Help"), "http://support.freepbx.org$help_args", 0, NULL, "help" ); |
|---|