| @@ -99,15 +99,8 @@ | ||
| 99 | 99 | // continue; |
| 100 | 100 | // } |
| 101 | 101 | list( $href, $btnLabel ) = $item; |
| 102 | 102 | |
| 103 | - // display just label | |
| 104 | - // if (false === $href) { | |
| 105 | - // $item = $btnLabel; | |
| 106 | - // $return[$k] = $item; | |
| 107 | - // continue; | |
| 108 | - // } | |
| 109 | - | |
| 110 | 103 | if( is_array($href) ){ |
| 111 | 104 | $finalHref = str_replace( '--ID--', $href[1], $href[0] ); |
| 112 | 105 | } |
| 113 | 106 | else { |
| @@ -371,14 +364,8 @@ | ||
| 371 | 364 | |
| 372 | 365 | public function makeInputText( $name, $label = NULL, $value = NULL ) |
| 373 | 366 | { |
| 374 | 367 | $return = new HC3_Ui_Element_Input_Text( $this, $name, $label, $value ); |
| 375 | - return $return; | |
| 376 | - } | |
| 377 | - | |
| 378 | - public function makeInputNumber( $name, $label = NULL, $value = NULL ) | |
| 379 | - { | |
| 380 | - $return = new HC3_Ui_Element_Input_Number( $this, $name, $label, $value ); | |
| 381 | 368 | return $return; |
| 382 | 369 | } |
| 383 | 370 | |
| 384 | 371 | public function makeInputPassword( $name, $label = NULL ) |