function getStateList(&$ref) { require_once JPATH_ROOT . DS . 'components' . DS . 'com_onepage' . DS . 'helpers' . DS . 'commonhtml.php'; return OPCCommonHtml::getStateList($ref); }
public static function getExtras(&$ref) { $html = OPCCommonHtml::getStateList($ref); //test ie8: //$html = ''; if (!empty(OPCloader::$extrahtml)) { $html .= OPCloader::$extrahtml; } $html .= '<div id="opc_totals_hash"> </div>'; $html2 = '<form action="#" name="hidden_form"> <div style="display: none;"> <input type="text" name="fool" value="1" required="required" class="required hasTip" title="fool::fool" /> <select class="vm-chzn-select " name="hidden"> <option value="1">test</option> </select> </div> <input type="hidden" name="opc_min_pov" id="opc_min_pov" value="" /> <div style="display: none;"> <a href="#" rel="{handler: \'iframe\', size: {x: 500, y: 400}}" class="opcmodal">a</a> <a href="#" rel="{handler: \'iframe\', size: {x: 500, y: 400}}" class="pfdmodal">a</a> </div> ' . $html . ' </form>'; return $html2; }