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


PHP Utility::submitButton方法代码示例

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


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

示例1:

        echo '<td>';
        Utility::inputText($v['id'] . '[]', $v['id'] . '[]', $v['split_up_name'] . ' Marks', 'mark_input');
        echo '</td>';
    }
    echo '<td>';
    Utility::inputText('total_marks[]', 'total_marks[]', 'Total Marks', 'mark_input');
    echo '</td>';
    echo '</tr>';
}
?>
</table>

<div style="padding:5px">
<?php 
Utility::inputHidden('exam_subject_id', 'exam_subject_id', $id);
Utility::submitButton('save_marks', 'save_marks', 'Save Marks');
?>
</div>
</form>


<div class="error" id="error"></div>

</div>

</div>

</div>
</div>

<?php 
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:marking_list_view.php

示例2:

Utility::label('date', 'Date', 'Required');
?>
</td>
<td><?php 
Utility::datePicker('date', 'date');
?>
</td>
</tr>
</table>

<div id="employee_mark" class="employee_mark">
</div>

<div style="width:100px;margin:0px auto;text-align:center">
<?php 
Utility::submitButton('submit', 'submit', 'Submit');
?>
</div>

<div style="width:80%;margin:50px auto;text-align:center;"><div class="error" id="error"></div>
</div>

</div>

</form>

</div>

</div>

</div>
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:employee_attendance.php

示例3: foreach

<table id="timetable_slots">
<?php 
if ($set == true) {
    $count = 0;
    foreach ($slots as $key => $value) {
        $count++;
        echo '<tr><td>Slot ' . $count . ' :</td><td>';
        Utility::inputTextEditable($value, 'slot_name[]', 'slot_name[]', 'Slot Name');
        echo '</td></tr>';
    }
}
?>
</table>
<div style="margin:0px auto;width:150px;padding:10px;">
<?php 
Utility::submitButton('submit', 'submit', 'Save Settings');
?>
</div>
</form>

<div class="error" id="error" style="margin-top:25px"></div>
</div>


</div>

</div>
</div>

<?php 
include 'footer.php';
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:timetable_settings_view.php

示例4:

</td>
<td class="form_input">
<?php 
Utility::inputTextEditable($parent->getMobile(), "parent_mobile", "parent_mobile", "Mobile");
?>
</td>
</tr>


</table>
<!--End of Parent Contact Details -->


<div class="submit_button">
<?php 
Utility::submitButton("confirm_student", "confirm_student", "Confirm");
?>
</div>

<div class="error" id="error"></div>

</form>

</div>

</div>

</div>
</div>

<?php 
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:confirmaddstudent.php

示例5:

</tr>
<tr>
<td class="student_details">
New Password
</td>
<td class="student_details">
<?php 
Utility::inputPassword('new', 'new', 'New Password');
?>
</td>
</tr>
</tr>
</table>

<?php 
Utility::submitButton('change_pass', 'change_pass', 'Change Password');
?>

</form>


<div class="error" id="error"></div>
</div>



</div>

</div>
</div>
开发者ID:srinivasans,项目名称:educloud,代码行数:30,代码来源:change_pass.php

示例6: foreach

foreach ($result as $key => $value) {
    echo '<form class="section_student_relations_form" id="' . $value['id'] . '"name="section_student_relations[]" method="POST" action="http://localhost/cloud/miscellaneous/sectionstudentvalidate">';
    ?>
<tr id="<?php 
    echo $value['id'];
    ?>
" class="student_list">
<td><?php 
    echo $value['roll_no'];
    ?>
</td>
<td><?php 
    echo $value['name'];
    ?>
</td>
<td><?php 
    Utility::inputHidden('section', 'section', $sec);
    Utility::inputHidden('student_id', 'student_id', $value['id']);
    if (Utility::getStudentSec($value['id']) == false) {
        Utility::submitButton($value['id'], 'add', 'Add', 'add_btn');
    }
    ?>
</td>
</tr>

<?php 
    echo '</form>';
}
?>

</div>
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:stu_sec_list_view.php

示例7:

</tr>
<tr>
<td><?php 
Utility::label('fn_an', 'Sessions', 'required');
?>
</td>
<td><?php 
Utility::dropDownList('fn_an', 'fn_an', 'fn_an');
?>
</td>
</tr>

</table>
<div style="padding:5px">
<?php 
Utility::submitButton('create_exam', 'create_exam', 'Create Examination');
?>
</td>
</div>
</form>


<div class="error" id="error"></div>

</div>

</div>

</div>
</div>
开发者ID:srinivasans,项目名称:educloud,代码行数:30,代码来源:examination_create.php

示例8:

Utility::label("email", "E-mail");
?>
</td>
<td class="form_input">
<?php 
Utility::inputEmail("email", "email", "E-mail");
?>
</td>
</tr>

</table>
<!--End of Contact Details -->

<div class="submit_button">
<?php 
Utility::submitButton("add_student", "add_student", "Enroll");
?>
</div>

<div class="error" id="error"></div>

</form>

</div>

</div>

</div>
</div>

<?php 
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:addstudent.php

示例9:

Utility::label("date", "Date", "required");
?>
</td>
<td class="form_input">
<?php 
Utility::datePicker("date", "date");
?>
</td>
</tr>
</table>

<div id="attendance_view" class="attendance_view"></div>


<div class="mark_attendence"><?php 
Utility::submitButton('mark', 'mark', 'Mark Attendence');
?>
</div>
<div class="error" id="error" style="margin-top:10px;"></div>
</form>

</div>

</div>
</div>

<?php 
include 'footer.php';
?>
</body>
开发者ID:srinivasans,项目名称:educloud,代码行数:30,代码来源:attendance_mark.php

示例10:

?>
</td>
<td>
<?php 
Utility::dropDownList('exam_id', 'exam_id', 'exams');
?>
</td>
</tr>
</table>

<div class="exam_timetable" id="exam_timetable">
</div>

<div style="padding:5px">
<?php 
Utility::submitButton('save_timetable', 'save_timetable', 'Save Timetable');
?>
</td>
</div>
</form>


<div class="error" id="error"></div>

</div>

</div>

</div>
</div>
开发者ID:srinivasans,项目名称:educloud,代码行数:30,代码来源:examination_timetable.php

示例11:

</tr>
<tr style="background:#ABCDEF">
<td>
<?php 
Utility::label('subject', 'Select Subject');
?>
</td>
<td id="subject_list">

</td>
</tr>
</table>

<div id="submit_btn" style="display:none;padding:5px">
<?php 
Utility::submitButton('allot_marks', 'allot_marks', 'Allot Marks');
?>
</td>
</div>
</form>
</div>

</div>

</div>
</div>

<?php 
include 'footer.php';
?>
</body>
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:examination_marking.php

示例12:

<td class="form_input" >
<?php 
Utility::inputText('split_name[]', 'split_name[]', 'Split Name');
?>
</td>
</tr>
</table>
<div class="add_another_btn" value="2" id="add_another_btn">
<?php 
Utility::addAnother("add_another", "+ Add Another");
?>
</div>

<div style="padding:5px">
<?php 
Utility::submitButton('save_splitup', 'save_splitup', 'Save Splitup');
?>
</td>
</div>
</form>


<div class="error" id="error"></div>


</div>

</div>

</div>
</div>
开发者ID:srinivasans,项目名称:educloud,代码行数:31,代码来源:mark_split_view.php

示例13:

<?php 
Utility::label("section", "Section Code", "required");
?>
</td>
<td class="form_input">
<?php 
Utility::dropDownList("section", "section", "section");
?>
</td>
</table>

<div id="time_table_view"></div>

<div class="timetable_submit">
<?php 
Utility::submitButton('save', 'save', 'Save');
?>
</div>
</form>

<div class="error" id="error"></div>
</div>

</div>
</div>

<?php 
include 'footer.php';
?>
</body>
开发者ID:srinivasans,项目名称:educloud,代码行数:30,代码来源:timetable_template.php

示例14:

<div class="event_description">
<?php 
Utility::inputText('event_description', 'event_description', 'Event Description');
?>
</div>

<div class="event_type">
<?php 
Utility::dropDownList('event_type', 'event_type', 'event_type');
?>
</div>

<div class="submit" style="margin:0px auto;width:14%;">
<?php 
Utility::submitButton('submit', 'submit', 'Create Event');
?>
</div>

</div>
</form>

<div class="error" style="margin-top:5%" id="error"></div>


</div>
</div>
</div>

<?php 
include 'footer.php';
开发者ID:srinivasans,项目名称:educloud,代码行数:30,代码来源:add_event.php

示例15:

<form id="subject_teacher_relations_form" name="subject_teacher_relations" method="POST" action="http://localhost/cloud/subjectclass/validaterelation">
<table class="subject_teacher_relations_form">
<tr>
<td class="label">
<?php 
Utility::label("section", "Section Code", "required");
?>
</td>
<td class="form_input">
<?php 
Utility::dropDownList("section", "section", "section");
?>
</td>
</table>
<div id="teacher_relations"></div>
<div style="margin:10px auto;width:2%;text-align:center;">
<?php 
Utility::submitButton('submit', 'submit', 'Allot');
?>
</div>



<div class="error" style="margin-top:55px;" id="error"/>

</form>
</div>

</div>
</div>
开发者ID:srinivasans,项目名称:educloud,代码行数:30,代码来源:subject_teacher_relations.php


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