コード例 #1
0
ファイル: MY_html_helper.php プロジェクト: pkdism/ISM-MIS
 function mis_box_open($title = '', $type = '', $class = '')
 {
     $box_type = _mis_ui_type('box', $type);
     $box = '<div class="box ' . $box_type . ' ' . $class . '">
                 <div class="box-header">
                     <h3 class="box-title">' . $title . '</h3>
                 </div>';
     $box .= '<div class="box-body">';
     return $box;
 }
コード例 #2
0
ファイル: MY_form_helper.php プロジェクト: pkdism/ISM-MIS
 function mis_form_submit($data = '', $value = '', $extra = '', $ui_type = '')
 {
     $ui_type = _mis_ui_type('btn', $ui_type);
     $defaults = array('type' => 'submit', 'name' => !is_array($data) ? $data : '', 'value' => $value, 'class' => 'btn ' . $ui_type);
     return "<input " . _parse_form_attributes($data, $defaults) . $extra . " />";
 }