array( 'id' => 'bx_studio_api_origins', 'action' => BX_DOL_URL_ROOT . 'grid.php?o=sys_studio_api_origins&a=add', 'method' => 'post', ), 'params' => array ( 'db' => array( 'table' => 'sys_api_origins', 'key' => 'id', 'submit_name' => 'do_submit', ), ), 'inputs' => array( 'url' => array( 'type' => 'text', 'name' => 'url', 'caption' => _t('_sys_txt_url'), 'db' => array ( 'pass' => 'Xss', ), ), 'submit' => array( 'type' => 'input_set', 0 => array ( 'type' => 'submit', 'name' => 'do_submit', 'value' => _t('_sys_submit'), ), 1 => array ( 'type' => 'reset', 'name' => 'close', 'value' => _t('_sys_close'), 'attrs' => array('class' => 'bx-def-margin-sec-left', 'onclick' => '$(\'.bx-popup-applied:visible\').dolPopupHide();'), ), ), ), ); return $this->_performActionAdd($aForm); } } /** @} */