当前位置: 首页>>代码示例>>PHP>>正文


PHP UI::textarea方法代码示例

本文整理汇总了PHP中UI::textarea方法的典型用法代码示例。如果您正苦于以下问题:PHP UI::textarea方法的具体用法?PHP UI::textarea怎么用?PHP UI::textarea使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在UI的用法示例。


在下文中一共展示了UI::textarea方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: UI

$ui = new UI();
$row = $ui->row()->open();
$column1 = $ui->col()->width(2)->open();
$column1->close();
$column2 = $ui->col()->width(8)->open();
$box = $ui->box()->title('File Details')->solid()->uiType('primary')->open();
$form = $ui->form()->action('file_tracking/send_new_file/insert_file_details')->open();
$inputRow1 = $ui->row()->open();
$ui->input()->placeholder('Enter file number')->type('text')->label('File Number')->name('file_no')->width(6)->show();
$ui->input()->placeholder('Enter file subject')->type('text')->label('File Subject')->name('file_sub')->required()->width(6)->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->select()->label('Department Type')->name('type')->id('type')->required()->options(array($ui->option()->value('""')->text('Select')->selected(), $ui->option()->value('academic')->text('Academic'), $ui->option()->value('nonacademic')->text('Non Academic')))->width(6)->show();
$ui->select()->label('Select Department')->name('department_name')->id('department_name')->required()->options(array($ui->option()->value('""')->text('Select')))->width(6)->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->select()->label('Designation')->name('designation')->id('designation')->required()->options(array($ui->option()->value('""')->text('Select')))->width(6)->show();
$ui->select()->label('Employee Name')->name('emp_name')->id('emp_name')->required()->options(array($ui->option()->value('""')->text('Select')->selected()))->width(6)->show();
$inputRow3->close();
$ui->textarea()->label('Remarks')->name('remarks')->placeholder('Remarks')->show();
?>
<center>
<?php 
$ui->button()->value('Send File')->submit(true)->uiType('primary')->show();
$form->close();
$box->close();
$column2->close();
$row->close();
?>
</center>
开发者ID:pkdism,项目名称:ISM-MIS,代码行数:30,代码来源:send_new_file.php

示例2:

?>
</span></p><?php 
$c2->close();
$c3 = $ui->col()->width(4)->open();
//				$ui->textarea()->label('Action Taken')->name("action_taken")->value($remarks)->disabled()->show();
?>
<p><strong> Action Taken </strong><br/>
			  <sapn><?php 
echo $remarks;
?>
</span></p><?php 
$c3->close();
$inputRow3->close();
$inputRow4 = $ui->row()->open();
$c1 = $ui->col()->width(6)->open();
$ui->textarea()->label('Fresh Action')->name("fresh_action")->placeholder('Fresh Action')->required()->show();
$c1->close();
$c2 = $ui->col()->width(4)->open();
$ui->select()->label('Status')->name('status')->required()->options(array($ui->option()->value("Under Processing")->text('Under Processing'), $ui->option()->value("Rejected")->text('Rejected'), $ui->option()->value("Closed")->text('Closed')))->show();
$c2->close();
$inputRow4->close();
?>
<center>
<?php 
$ui->button()->value('Submit')->submit(true)->id('complaint')->uiType('primary')->show();
$form->close();
$box->close();
$column2->close();
$row->close();
?>
</center>
开发者ID:pkdism,项目名称:ISM-MIS,代码行数:31,代码来源:complaint_details_editable.php

示例3:

$ui->select()->name('empnature')->disabled()->label('Nature of Employment<span style= "color:red;"> *</span>')->options(array($ui->option()->value('permanent')->text('Permanent')->selected($emp->employment_nature == 'permanent'), $ui->option()->value('temporary')->text('Temporary')->selected($emp->employment_nature == 'temporary'), $ui->option()->value('probation')->text('Probation')->selected($emp->employment_nature == 'probation'), $ui->option()->value('contract')->text('Contract')->selected($emp->employment_nature == 'contract'), $ui->option()->value('others')->text('Others')->selected($emp->employment_nature == 'others')))->show();
$dt = DateTime::createFromFormat("Y-m-d", $emp->retirement_date);
$ui->datePicker()->label('Date of Retirement<span style= "color:red;"> *</span>')->id('retire')->disabled()->name('retire')->value($dt->format('d-m-Y'))->required()->dateFormat('dd-mm-yyyy')->addonRight($ui->icon("calendar"))->show();
$emp_box->close();
$pay_box = $ui->box()->uiType('primary')->solid()->title('Payment Details')->open();
$ui->select()->name('payscale')->id('payscale')->label('Pay Band<span style= "color:red;"> *</span>')->options($pay_options)->required()->disabled()->show();
$ui->select()->name("gradepay")->id("gradepay")->label('Grade Pay<span style= "color:red;"> *</span>')->addonLeft($ui->icon('rupee'))->addonRight('.00')->disabled()->options($grade_options)->disabled()->required()->show();
$ui->input()->name("basicpay")->id("basicpay")->label('Basic Pay<span style= "color:red;"> *</span>')->value($emp_pay_details->basic_pay)->disabled()->addonLeft($ui->icon('rupee'))->addonRight('.00')->required()->show();
$pay_box->close();
$col->close();
$col = $ui->col()->width(8)->open();
$addr_box = $ui->box()->uiType('primary')->solid()->title('Address Details')->open();
$row1 = $ui->row()->open();
$col1 = $ui->col()->width(6)->t_width(6)->open();
echo '<h3 class="page-header">Present Address</h3>';
$ui->textarea()->name('line11')->required()->label('Address Line 1<span style= "color:red;"> *</span>')->value($present_address->line1)->show();
$ui->input()->name('line21')->label('Address Line 2')->value($present_address->line2)->show();
$ui->input()->name('city1')->label('City<span style= "color:red;"> *</span>')->value($present_address->city)->required()->show();
$ui->select()->name('state1')->label('State<span style= "color:red;"> *</span>')->required()->options($present_state_options)->show();
$ui->input()->name('pincode1')->label('Pin Code<span style= "color:red;"> *</span>')->type('tel')->value($present_address->pincode)->required()->show();
$ui->input()->name('country1')->label('Country<span style= "color:red;"> *</span>')->value($present_address->country)->required()->show();
$ui->input()->name('contact11')->label('Contact No<span style= "color:red;"> *</span>')->type('tel')->value($present_address->contact_no)->required()->show();
$col1->close();
$col2 = $ui->col()->width(6)->t_width(6)->open();
echo '<h3 class="page-header">Permanent Address</h3>';
$ui->textarea()->name('line12')->disabled()->label('Address Line 1<span style= "color:red;"> *</span>')->value($permanent_address->line1)->show();
$ui->input()->name('line22')->disabled()->value($permanent_address->line2)->label('Address Line 2')->show();
$ui->input()->name('city2')->label('City<span style= "color:red;"> *</span>')->disabled()->value($permanent_address->city)->show();
$ui->select()->name('state2')->label('State<span style= "color:red;"> *</span>')->disabled()->options($permanent_state_options)->show();
$ui->input()->name('pincode2')->label('Pin Code<span style= "color:red;"> *</span>')->type('tel')->disabled()->value($permanent_address->pincode)->show();
$ui->input()->name('country2')->label('Country<span style= "color:red;"> *</span>')->disabled()->value($permanent_address->country)->show();
开发者ID:pkdism,项目名称:ISM-MIS,代码行数:31,代码来源:own_basic_details.php

示例4: array

        </tfoot>
<?php 
$myDataTable->close();
$box1->close();
$col->close();
$dataTablesRow->close();
?>
<h2 class="page-header">Form Elements</h2><?php 
$formRow = $ui->row()->open();
$col = $ui->col()->width(8)->open();
$box = $ui->box()->title("General Elements")->open();
$ui->callout()->uiType("info")->desc("See wiki for a detailed explanation of creating each type of element.")->show();
$ui->input()->type("text")->label("Text")->placeholder("Text")->show();
$ui->input()->type("text")->label("A textbox with help")->placeholder("Text")->help("Some help text goes here")->show();
$ui->input()->type("text")->label("Text Disabled")->placeholder("Text Disabled")->disabled()->show();
$ui->textarea()->label("Textarea")->placeholder("Textarea")->show();
$ui->input()->type("text")->label("Input with success")->placeholder("Enter text")->uiType("success")->show();
$ui->input()->type("text")->label("Input with warning")->placeholder("Enter text")->uiType("warning")->show();
$ui->input()->type("text")->label("Input with error")->placeholder("Enter text")->uiType("error")->show();
$ui->checkbox()->label("Checkbox")->show();
$ui->checkbox()->label("Disabled Checkbox")->disabled()->show();
$ui->radio()->label("Radio button")->name("sampleRadio")->checked()->show();
$ui->radio()->label("Another Radio Button")->name("sampleRadio")->show();
$ui->select()->label('Select Box')->name('select_box')->options(array($ui->option()->value('0')->text('Select')->disabled(), $ui->option()->value('1')->text('One'), $ui->option()->value('2')->text('Two'), $ui->option()->value('3')->text('Three'), $ui->option()->value('4')->text('Four')->selected(), $ui->option()->value('5')->text('Five')))->show();
$sampleOptions = array($ui->option()->value('0')->text('Select')->disabled(), $ui->option()->value('1')->text('One'), $ui->option()->value('2')->text('Two'), $ui->option()->value('3')->text('Three'), $ui->option()->value('4')->text('Four')->selected(), $ui->option()->value('5')->text('Five'));
$ui->select()->label('Multiple Select Box')->name('multiple_select_box')->multiple()->options($sampleOptions)->show();
$ui->imagePicker()->label("An image picker")->show();
$ui->datePicker()->label("A date picker")->show();
$ui->timePicker()->label("A time picker")->show();
$ui->slider()->id('slider2')->min('0')->label('A slider')->max('100')->step('1')->grid()->value("15")->show();
$ui->slider()->id('slider1')->label('A ranged slider')->min('0')->max('50000')->step('100')->rangeType()->dataFrom('9000')->dataTo('20000')->prefix('$')->show();
开发者ID:pkdism,项目名称:ISM-MIS,代码行数:31,代码来源:example.php

示例5: strtotime

$ui->input()->type('text')->label('Days')->name('days')->value($details->days)->width(3)->disabled()->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->input()->type('text')->label('Starting Date')->value(date('d M Y ', strtotime($details->timestamp) + 19800))->width(6)->disabled()->show();
$inputRow3->close();
$ETS_box->close();
$Client_box = $ui->box()->title('Client Details(Fill in Block Letters)')->solid()->uiType('primary')->open();
$inputRow1 = $ui->row()->open();
$ui->input()->type('text')->label('Firm Name')->name('firm_name')->value($details->firm_name)->width(12)->disabled()->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->input()->type('text')->label('Contact Person Name')->name('contact_person_name')->value($details->person_name)->width(6)->disabled()->show();
$ui->input()->type('text')->label('Designation')->name('client_designation')->value($details->designation)->width(6)->disabled()->show();
$inputRow2->close();
$inputRow2_1 = $ui->row()->open();
$ui->textarea()->label('Address')->name('client_address')->value($details->address)->width(12)->disabled()->show();
$inputRow2_1->close();
$inputRow3 = $ui->row()->open();
$ui->input()->type('text')->label('City')->name('client_city')->value($details->city)->width(6)->disabled()->show();
$ui->input()->type('text')->label('PIN')->name('client_pin')->value($details->pincode)->width(6)->disabled()->show();
$inputRow3->close();
$inputRow4 = $ui->row()->open();
$ui->input()->type('text')->label('Phone No')->name('client_phone_no')->value($details->contact_no)->width(6)->disabled()->show();
$ui->input()->type('text')->label('EXTN')->name('client_extn')->value($details->extn)->width(6)->disabled()->show();
$inputRow4->close();
$inputRow5 = $ui->row()->open();
$ui->input()->type('text')->label('Fax')->name('client_fax')->value($details->fax)->width(6)->disabled()->show();
$ui->input()->type('text')->label('E-mail')->name('client_email')->value($details->email)->width(6)->disabled()->show();
$inputRow5->close();
$Client_box->close();
/*****************************************************************************/
开发者ID:vivek0739,项目名称:consultancy,代码行数:31,代码来源:consultancy_proposal_approve.php

示例6:

<br/><center>
          <?php 
$ui->button()->icon($ui->icon('check'))->name('action_taken')->id('action_taken')->value('Approve')->uiType('success')->show();
?>
          </center>
          <center>
          <?php 
$ui->button()->icon($ui->icon('check'))->name('action_taken')->id('action_taken6')->value($button_msg)->uiType('success')->show();
?>
          </center><br/><?php 
$col1->close();
$col1 = $ui->col()->id('approve_col')->width(12)->open();
?>
<center>
          <?php 
$ui->textarea()->label('Remark')->id('remark_text1')->name('remark_text1')->placeholder('Not more than 200 character')->value('')->show();
$ui->button()->icon($ui->icon('check'))->type('submit')->name('action_taken')->id('action_taken3')->value('Are You Sure To Approve')->uiType('success')->show();
?>
          </center><?php 
$col1->close();
$col1 = $ui->col()->id('forward_col')->width(12)->open();
?>
<center>
          <?php 
$ui->button()->icon($ui->icon('check'))->type('submit')->name('action_taken')->id('action_taken3')->value('Are You Sure To Forward')->uiType('success')->show();
?>
          </center><?php 
$col1->close();
$col1 = $ui->col()->width(12)->open();
$col1->close();
$innerrow1->close();
开发者ID:vivek0739,项目名称:consultancy,代码行数:31,代码来源:view_consultancy_detail.php

示例7: Number

$box = $ui->box()->title('Circular Details')->solid()->uiType('primary')->open();
$form = $ui->form()->action('information/post_circular/index/' . $auth_id)->extras('enctype="multipart/form-data"')->open();
$star_circular = $ui->row()->open();
//echo" Fields marked with <span style= 'color:red;'>*</span> are mandatory.";
$star_circular->close();
$inputRow1 = $ui->row()->open();
if ($id->circular_id == NULL) {
    $ui->input()->label('Circular ID<span style= "color:red;"> *</span>')->type('text')->name('circular_ids')->required()->value('1')->disabled()->width(6)->show();
} else {
    $ui->input()->type('text')->label('Circular ID<span style= "color:red;"> *</span>')->name('circular_ids')->required()->width(6)->value($id->circular_id + 1)->disabled()->show();
}
$ui->input()->type('text')->label('Circular Number<span style= "color:red;"> *</span>')->name('circular_no')->required()->width(6)->placeholder('Enter Circular Number  (Ex: CSE_CIRC_10185)')->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->select()->label('Viewed By<span style= "color:red;"> *</span>')->name('circular_cat')->options(array($ui->option()->value('emp')->text('Employee')->selected(), $ui->option()->value('stu')->text('Student'), $ui->option()->value('all')->text('All')))->width(6)->show();
$ui->textarea()->label('Circular Subject<span style= "color:red;"> *</span>')->placeholder('Enter the circular Subject in not more than 200 characters')->name('circular_sub')->required()->width(8)->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->input()->label('Circular File<span style= "color:red;"> *</span>')->type('file')->name('circular_path')->required()->width(6)->show();
$ui->datePicker()->name('valid_upto')->label('Last Date<span style= "color:red;"> *</span> (Atleast today)')->value(date("yy-mm-dd"))->dateFormat('yy-mm-dd')->width(6)->show();
$inputRow3->close();
echo "(Allowed Types: pdf, doc, docx, jpg, jpeg, png and Max Size: 1.0 MB)";
$value = 1;
if ($id->circular_id != NULL) {
    $value = $id->circular_id + 1;
}
$ui->input()->type('hidden')->name('circular_id')->required()->value($value)->show();
?>
<center>
<?php 
$ui->button()->value('Post Circular')->uiType('primary')->submit()->name('mysubmit')->show();
开发者ID:pkdism,项目名称:ISM-MIS,代码行数:31,代码来源:post_circular.php

示例8:

if ($type == 1 || $type == 2) {
    $row = $ui->row()->open();
    $row1 = $ui->row()->open();
    $innerColumn4 = $ui->col()->width(6)->open();
    $ui->input()->label('Issue No.')->name('issue_no')->required()->show();
    $innerColumn4->close();
    $innerCol2 = $ui->col()->width(6)->open();
    $ui->input()->label('Volume No.')->name('vol_no')->required()->show();
    $innerCol2->close();
    $row1->close();
    $row3 = $ui->row()->open();
    $innerColumn5 = $ui->col()->width(6)->open();
    $ui->input()->label('Page Range')->name('page_no')->required()->show();
    $innerColumn5->close();
    $innerColumn6 = $ui->col()->width(6)->open();
    $ui->textarea()->label('Any other informations')->name("other_info")->placeholder("Any other details")->required()->show();
    $innerColumn6->close();
    $row3->close();
    $Col = $ui->col()->width(4)->open();
    $Col->close();
    $Col1 = $ui->col()->width(4)->open();
    $row5 = $ui->row()->open();
    $ui->input()->id('num_of_authors')->label('No. of Authors')->name('no_of_authors')->required()->placeholder('No. of Authors')->extras(' onkeyup="get_authors(this.value)" ')->show();
    $row5->close();
    $Col1->close();
    $row->close();
    $row2 = $ui->col()->id('num_author')->width(12)->open();
    $row2->close();
}
if ($type == 3 || $type == 4) {
    $row = $ui->row()->open();
开发者ID:pkdism,项目名称:ISM-MIS,代码行数:31,代码来源:publication_type.php

示例9: ucwords

$dt = DateTime::createFromFormat("Y-m-d", $pending_emp->retirement_date);
$emp_dt = DateTime::createFromFormat("Y-m-d", $emp->retirement_date);
$ui->datePicker()->label('Date of Retirement<span style= "color:red;"> *</span>')->id('retire')->name('retire')->help($pending_emp->retirement_date == $emp->retirement_date ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $emp_dt->format('d-m-Y'))->uiType($pending_emp->retirement_date == $emp->retirement_date ? '' : $type)->value($dt->format('d-m-Y'))->required()->dateFormat('dd-mm-yyyy')->addonRight($ui->icon("calendar"))->show();
$emp_box->close();
$pay_box = $ui->box()->uiType('primary')->solid()->title('Salary Details')->open();
$ui->select()->name('payscale')->id('payscale')->label('Pay Band<span style= "color:red;"> *</span>')->help($pending_emp_pay_details->pay_band == $emp_pay_details->pay_band ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $emp_payband)->uiType($pending_emp_pay_details->pay_band == $emp_pay_details->pay_band ? '' : $type)->options($pay_options)->required()->show();
$ui->select()->name("gradepay")->id("gradepay")->label('Grade Pay<span style= "color:red;"> *</span>')->addonLeft($ui->icon('rupee'))->addonRight('.00')->help($pending_emp_pay_details->grade_pay == $emp_pay_details->grade_pay ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $emp_gradepay)->uiType($pending_emp_pay_details->grade_pay == $emp_pay_details->grade_pay ? '' : $type)->options($grade_options)->required()->show();
$ui->input()->name("basicpay")->id("basicpay")->label('Basic Pay<span style= "color:red;"> *</span>')->help($pending_emp_pay_details->basic_pay == $emp_pay_details->basic_pay ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $emp_pay_details->basic_pay)->uiType($pending_emp_pay_details->basic_pay == $emp_pay_details->basic_pay ? '' : $type)->value($pending_emp_pay_details->basic_pay)->addonLeft($ui->icon('rupee'))->addonRight('.00')->required()->show();
$pay_box->close();
$col->close();
$col = $ui->col()->width(8)->open();
$addr_box = $ui->box()->uiType('primary')->solid()->title('Address Details')->open();
$row1 = $ui->row()->open();
$col1 = $ui->col()->width(6)->t_width(6)->open();
echo '<h3 class="page-header">Present Address</h3>';
$ui->textarea()->name('line11')->required()->help($pending_present_address->line1 == $present_address->line1 ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $present_address->line1)->uiType($pending_present_address->line1 == $present_address->line1 ? '' : $type)->label('Address Line 1<span style= "color:red;"> *</span>')->value($pending_present_address->line1)->show();
$ui->input()->name('line21')->label('Address Line 2')->help($pending_present_address->line2 == $present_address->line2 ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $present_address->line2)->uiType($pending_present_address->line2 == $present_address->line2 ? '' : $type)->value($pending_present_address->line2)->show();
$ui->input()->name('city1')->label('City<span style= "color:red;"> *</span>')->help($pending_present_address->city == $present_address->city ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $present_address->city)->uiType($pending_present_address->city == $present_address->city ? '' : $type)->value($pending_present_address->city)->required()->show();
$ui->select()->name('state1')->label('State<span style= "color:red;"> *</span>')->help($pending_present_address->state == $present_address->state ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . ucwords($present_address->state))->uiType($pending_present_address->state == $present_address->state ? '' : $type)->options($present_state_options)->required()->show();
$ui->input()->name('pincode1')->label('Pin Code<span style= "color:red;"> *</span>')->type('tel')->help($pending_present_address->pincode == $present_address->pincode ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $present_address->pincode)->uiType($pending_present_address->pincode == $present_address->pincode ? '' : $type)->value($pending_present_address->pincode)->required()->show();
$ui->input()->name('country1')->label('Country<span style= "color:red;"> *</span>')->help($pending_present_address->country == $present_address->country ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $present_address->country)->uiType($pending_present_address->country == $present_address->country ? '' : $type)->value($pending_present_address->country)->required()->show();
$ui->input()->name('contact11')->label('Contact No<span style= "color:red;"> *</span>')->type('tel')->help($pending_present_address->contact_no == $present_address->contact_no ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $present_address->contact_no)->uiType($pending_present_address->contact_no == $present_address->contact_no ? '' : $type)->value($pending_present_address->contact_no)->required()->show();
$col1->close();
$col2 = $ui->col()->width(6)->t_width(6)->open();
echo '<h3 class="page-header">Permanent Address</h3>';
$ui->textarea()->name('line12')->required()->label('Address Line 1<span style= "color:red;"> *</span>')->help($pending_permanent_address->line1 == $permanent_address->line1 ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $permanent_address->line1)->uiType($pending_permanent_address->line1 == $permanent_address->line1 ? '' : $type)->value($pending_permanent_address->line1)->show();
$ui->input()->name('line22')->help($pending_permanent_address->line2 == $permanent_address->line2 ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $permanent_address->line2)->uiType($pending_permanent_address->line2 == $permanent_address->line2 ? '' : $type)->value($pending_permanent_address->line2)->label('Address Line 2')->show();
$ui->input()->name('city2')->label('City<span style= "color:red;"> *</span>')->required()->help($pending_permanent_address->city == $permanent_address->city ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $permanent_address->city)->uiType($pending_permanent_address->city == $permanent_address->city ? '' : $type)->value($pending_permanent_address->city)->show();
$ui->select()->name('state2')->label('State<span style= "color:red;"> *</span>')->required()->help($pending_permanent_address->state == $permanent_address->state ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . ucwords($permanent_address->state))->uiType($pending_permanent_address->state == $permanent_address->state ? '' : $type)->options($permanent_state_options)->show();
$ui->input()->name('pincode2')->label('Pin Code<span style= "color:red;"> *</span>')->type('tel')->required()->help($pending_permanent_address->pincode == $permanent_address->pincode ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $permanent_address->pincode)->uiType($pending_permanent_address->pincode == $permanent_address->pincode ? '' : $type)->value($pending_permanent_address->pincode)->show();
$ui->input()->name('country2')->label('Country<span style= "color:red;"> *</span>')->required()->help($pending_permanent_address->country == $permanent_address->country ? '' : 'Above detail is ' . $status . '.<br>Previously accepted : ' . $permanent_address->country)->uiType($pending_permanent_address->country == $permanent_address->country ? '' : $type)->value($pending_permanent_address->country)->show();
开发者ID:pkdism,项目名称:ISM-MIS,代码行数:31,代码来源:basic_details.php

示例10:

if ($file_no) {
    $ui->input()->placeholder('Enter file number')->type('text')->label('File Number')->name('file_no')->value($file_no)->disabled()->width(6)->show();
} else {
    $ui->input()->placeholder('File No. not yet generated')->type('text')->label('File Number')->name('file_no')->width(6)->show();
}
$ui->input()->placeholder('Enter file subject')->type('text')->label('File Subject')->name('file_sub')->value($file_sub)->disabled()->width(6)->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->select()->label('Department Type')->name('type')->id('type')->required()->options(array($ui->option()->value('""')->text('Select')->selected(), $ui->option()->value('academic')->text('Academic'), $ui->option()->value('nonacademic')->text('Non Academic')))->width(6)->show();
$ui->select()->label('Select Department')->name('department_name')->id('department_name')->required()->options(array($ui->option()->value('""')->text('Select')->selected()))->width(6)->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->select()->label('Designation')->name('designation')->id('designation')->required()->options(array($ui->option()->value('""')->text('Select')->selected()))->width(6)->show();
$ui->select()->label('Employee Name')->name('emp_name')->id('emp_name')->options(array($ui->option()->value('""')->text('Select')->selected()))->width(6)->show();
$inputRow3->close();
$ui->textarea()->label('Remarks')->name('remarks')->placeholder('Remarks')->show();
?>
<center>
<?php 
$ui->button()->value('Send File')->uiType('primary')->submit(true)->show();
$form->close();
?>
</center>
<h2 align="center">OR</h2>
<?php 
$form2 = $ui->form()->action('file_tracking/send_new_file/insert_move_details/' . $file_id . '/' . $sent_by_emp_id)->open();
$ui->input()->type('hidden')->name('file_no')->value($file_no)->show();
$ui->textarea()->label('Enter Remarks and Send Back')->name('remarks')->placeholder('Remarks')->show();
?>
<center>
<?php 
开发者ID:pkdism,项目名称:ISM-MIS,代码行数:31,代码来源:send_running_file.php

示例11:

// $descp2 = "<h4 class='page-head' align='center'>$descp</align></h4>";
// echo $descp2;
// echo "<br>";
$row = $ui->row()->open();
$column1 = $ui->col()->width(2)->open();
$column1->close();
$column2 = $ui->col()->width(8)->open();
$box = $ui->box()->title('Leave Details')->solid()->uiType('primary')->open();
$form = $ui->form()->action("/leave/leave_application")->open();
//action of the form
$inputRow1 = $ui->row()->open();
$auth_id = $this->session->userdata('auth');
$ui->select()->label('Leave Type: ')->name('leave_type')->options(array($ui->option()->value('$')->text('Select'), $ui->option()->value('Casual Leave')->text('Casual Leave'), $ui->option()->value('Restricted Leave')->text('Restricted Leave')))->width(10)->show();
$inputRow1->close();
$inputRowBy1 = $ui->row()->id('purpose_reason')->open();
$ui->textarea()->placeholder('Purpose Of Leave')->type('text')->value("")->label('Purpose Of Leave')->name('leave_purpose')->width(12)->show();
$inputRowBy1->close();
$inputRow2 = $ui->row()->open();
$ui->datePicker()->label('Starting Date')->name('leave_start_date')->id('starting_period')->dateFormat('dd-mm-yyyy')->width(6)->value("")->show();
$ui->datePicker()->label('Ending Date')->name('leave_end_date')->id('ending_period')->value("")->width(6)->show();
$inputRow2->close();
$inputRowBy22 = $ui->row()->id('half_full_leave')->open();
$ui->select()->label('Leave Half Or Full ')->name('leave_casual_period')->options(array($ui->option()->value('$')->text('Select'), $ui->option()->value('Half Leave')->text('Half Leave'), $ui->option()->value('Full Leave')->text('Full Leave')))->width(5)->show();
$inputRowBy22->close();
$inputRowBy32 = $ui->row()->id('before_after_noon')->open();
$ui->select()->label('Leave Before Noon Or After Noon')->name('leave_j_noon')->options(array($ui->option()->value('$')->text('Select'), $ui->option()->value('Before Noon')->text('Before Noon'), $ui->option()->value('After Noon')->text('After Noon')))->width(5)->show();
$inputRowBy32->close();
// vacation form
$inputRow3 = $ui->row()->open();
$ui->select()->label('Request For Permission To Leave Station')->name('avail_leave_station')->options(array($ui->option()->value('$')->text('Select'), $ui->option()->value('Yes')->text('Yes'), $ui->option()->value('No')->text('No')))->width(10)->show();
$inputRow3->close();
开发者ID:pkdism,项目名称:ISM-MIS,代码行数:31,代码来源:leave_application_view.php

示例12: Details

    $value = $id->consultancy_no + 1;
}
$ui->input()->type('hidden')->name('cons')->value($value)->required()->show();
$value = $payment_no + 1;
$ui->input()->type('hidden')->name('payment_no')->value($value)->required()->show();
$ui->input()->type('hidden')->name('modification_value')->value($client->modification_value)->required()->show();
$inputRow3->close();
$ETS_box->close();
$Client_box = $ui->box()->title('Client Details(Fill in Block Letters)')->solid()->uiType('primary')->open();
$inputRow1 = $ui->row()->open();
$ui->input()->type('text')->label('Firm Name<span style= "color:red;"> *</span>')->name('firm_name')->value($client->firm_name)->required()->width(6)->show();
$ui->input()->type('text')->label('Contact Person Name<span style= "color:red;"> *</span>')->name('contact_person_name')->value($client->person_name)->required()->width(6)->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->input()->type('text')->label('Designation<span style= "color:red;"> *</span>')->name('client_designation')->value($client->designation)->required()->width(6)->show();
$ui->textarea()->label('Address<span style= "color:red;"> *</span>')->name('client_address')->id('address')->value($client->address)->required()->width(6)->show();
$inputRow2->close();
$inputRow3 = $ui->row()->open();
$ui->input()->type('text')->label('City<span style= "color:red;"> *</span>')->name('client_city')->id('city')->value($client->city)->required()->width(6)->show();
$ui->input()->type('text')->label('PIN<span style= "color:red;"> *</span>')->name('client_pin')->id('pincode')->value($client->pincode)->required()->width(6)->show();
$inputRow3->close();
$inputRow4 = $ui->row()->open();
$ui->input()->type('text')->label('Phone No<span style= "color:red;"> *</span>')->name('client_phone_no')->id('client_phone_no')->value($client->contact_no)->required()->width(6)->show();
$ui->input()->type('text')->label('EXTN<span style= "color:red;"> *</span>')->name('client_extn')->id('client_extn')->value($client->extn)->required()->width(6)->show();
$inputRow4->close();
$inputRow5 = $ui->row()->open();
$ui->input()->type('text')->label('Fax<span style= "color:red;"> *</span>')->name('client_fax')->id('client_fax')->value($client->fax)->required()->width(6)->show();
$ui->input()->type('text')->label('E-mail<span style= "color:red;"> *</span>')->name('client_email')->id('client_email')->value($client->email)->required()->width(6)->show();
$inputRow5->close();
$Client_box->close();
$TCAPD_box = $ui->box()->title('Total Charges And Payment Details')->solid()->uiType('primary')->open();
开发者ID:vivek0739,项目名称:consultancy,代码行数:31,代码来源:consultancy_proposal_form_edit.php

示例13: UI

<?php

$ui = new UI();
$col = $ui->col()->width(2)->open();
$col->close();
$col1 = $ui->col()->width(8)->open();
$form = $ui->form()->action('publication/publication/decline_action')->open();
$ui->input()->type('hidden')->value($rec_id)->name('rec_id')->show();
$box = $ui->box()->uiType('primary')->solid()->title('Decline Publications')->open();
$table = $ui->table()->hover()->bordered()->open();
?>
<tr><?php 
$ui->textarea()->label('Reason for declining')->name("reason")->placeholder("Any other details")->required()->show();
?>
</tr><tr><?php 
$ui->button()->name('Submit')->value('Submit')->submit(true)->uiType('primary')->show();
?>
</tr><?php 
$table->close();
$box->close();
$form->close();
$col1->close();
开发者ID:pkdism,项目名称:ISM-MIS,代码行数:22,代码来源:decline.php

示例14: UI

<?php

$ui = new UI();
//echo form_open('complaint/register_complaint/insert');
$row = $ui->row()->open();
$column1 = $ui->col()->width(2)->open();
$column1->close();
$column2 = $ui->col()->width(8)->open();
$box = $ui->box()->title('On Line Complaint Form')->solid()->uiType('primary')->open();
$form = $ui->form()->action('complaint/register_complaint/insert')->open();
$inputRow1 = $ui->row()->open();
$ui->select()->label('Type of Complaint')->name('type')->required()->options(array($ui->option()->value('""')->text('Select'), $ui->option()->value("Civil")->text('Civil'), $ui->option()->value("Electrical")->text('Electrical'), $ui->option()->value("Internet")->text('Internet'), $ui->option()->value("Mess")->text('Mess'), $ui->option()->value("Sanitary")->text('Sanitary')))->width(6)->show();
$ui->select()->label('Location')->name('location')->id('location')->required()->options(array($ui->option()->value('""')->text('Select'), $ui->option()->value("Department")->text('Department'), $ui->option()->value("Office")->text('Office'), $ui->option()->value("Residence")->text('Residence'), $ui->option()->value("Amber Hostel")->text('Amber Hostel'), $ui->option()->value("Diamond Hostel")->text('Diamond Hostel'), $ui->option()->value("Emerald Hostel")->text('Emerald Hostel'), $ui->option()->value("International Hostel")->text('International Hostel'), $ui->option()->value("Jasper Hostel")->text('Jasper Hostel'), $ui->option()->value("JRF Hostel")->text('JRF Hostel'), $ui->option()->value("Opal Hostel")->text('Opal Hostel'), $ui->option()->value("Ruby")->text('Ruby'), $ui->option()->value("Ruby Annex")->text('Ruby Annex'), $ui->option()->value("Shanti Bhawan")->text('Shanti Bhawan'), $ui->option()->value("Sapphire Hostel")->text('Sapphire Hostel'), $ui->option()->value("Topaz Hostel")->text('Topaz Hostel'), $ui->option()->value("Others")->text('Others')))->width(6)->show();
$inputRow1->close();
$inputRow2 = $ui->row()->open();
$ui->textarea()->placeholder('Location Details')->label('Location Details')->name('locationDetails')->id('locationDetails')->required()->width(6)->show();
$ui->textarea()->label('Problem Details')->name("problemDetails")->placeholder("Problem Details")->required()->width(6)->show();
$inputRow2->close();
$ui->input()->type('text')->placeholder('Time of Availability')->label('Time of Availability')->name('time')->required()->show();
?>
<center>
<?php 
$ui->button()->value('Submit')->submit(true)->id('complaint')->uiType('primary')->show();
//echo form_close();
$form->close();
$box->close();
$column2->close();
$row->close();
?>
</center>
开发者ID:pkdism,项目名称:ISM-MIS,代码行数:30,代码来源:register_complaint.php

示例15:

?>
          </center><br/><?php 
$col2->close();
$innerRow1->close();
$innerRow2 = $ui->row()->open();
$col1 = $ui->col()->width(6)->open();
?>
<center><br/>
          
          </center><br/><?php 
$col1->close();
$col2 = $ui->col()->width(6)->open();
?>
<center><br/>
          <?php 
$ui->textarea()->type('text')->placeholder('remark not more than 200 character')->name('remark_reject')->id('remark_reject')->classes('reject_remark')->width(12)->show();
?>
          </center><br/><?php 
$col2->close();
$innerRow2->close();
$innerRow3 = $ui->row()->open();
$col1 = $ui->col()->width(6)->open();
?>
<center><br/>
          <?php 
$ui->button()->icon($ui->icon('check'))->name('action_taken')->id('action_taken3')->value('Are You Sure To Forward')->uiType('success')->classes('approve_submit')->submit()->show();
?>
          </center><br/><?php 
$col1->close();
$col2 = $ui->col()->width(6)->open();
?>
开发者ID:vivek0739,项目名称:consultancy,代码行数:31,代码来源:consultant_disbursement_sheetview_hod.php


注:本文中的UI::textarea方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。