本文整理汇总了PHP中btn_edit函数的典型用法代码示例。如果您正苦于以下问题:PHP btn_edit函数的具体用法?PHP btn_edit怎么用?PHP btn_edit使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了btn_edit函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: btn_permit
<?php
$checked = '';
if ($course->course_approved) {
$checked = "checked=\"checked\"";
}
?>
<td > <?php
echo '<input type="checkbox" disabled="disabled" ' . $checked . ' />';
?>
</td>
<td ><?php
echo btn_permit($language . '/admin/course/activate/' . $course->course_id);
?>
</td>
<td ><?php
echo btn_edit($language . '/admin/course/edit/' . $course->course_id);
?>
</td>
<td ><?php
echo btn_delete($language . '/admin/course/delete/' . $course->course_id);
?>
</td>
</tr>
<?php
?>
<?php
?>
<?php
}
?>
示例2: btn_permit
<?php
$checked = '';
if ($user->account_active) {
$checked = "checked=\"checked\"";
}
?>
<td><?php
echo '<input type="checkbox" disabled="disabled" ' . $checked . ' />';
?>
</td>
<td ><?php
echo btn_permit($language . '/admin/user/permission/' . $user->id);
?>
</td>
<td ><?php
echo btn_edit($language . '/admin/user/edit/' . $user->id);
?>
</td>
<td ><?php
echo btn_delete($language . '/admin/user/delete/' . $user->id);
?>
</td>
</tr>
<?php
}
?>
<tr>
<td colspan="10"><?php
if ($page_links != NULL) {
echo $page_links;
}
示例3: btn_edit
<div id="printableArea">
<div class="row">
<div class="col-sm-12 wrap-fpanel" data-spy="scroll" data-offset="0">
<div class="panel panel-default">
<!-- main content -->
<div class="panel-heading hidden-print">
<div class="row">
<div class="col-lg-12 panel-title">
<strong>Employee Salary Detail</strong>
<div class="pull-right">
<span><?php
echo btn_edit('admin/payroll/manage_salary_details/' . $emp_salary_info->employee_id . '/' . $emp_salary_info->designations_id);
?>
</span>
<span><?php
echo btn_pdf('admin/payroll/make_pdf/' . $emp_salary_info->employee_id);
?>
</span>
<button class="btn-print" type="button" data-toggle="tooltip" title="Print" onclick="printDiv('printableArea')"><?php
echo btn_print();
?>
</button>
</div>
</div>
</div>
</div>
<div class="show_print" style="width: 100%; border-bottom: 2px solid black;">
<table style="width: 100%; vertical-align: middle;">
<tr>
<?php
$genaral_info = $this->session->userdata('genaral_info');
示例4: btn_edit
echo $expense->note;
?>
</td>
<?php
}
?>
<?php
if ($usertype == "Admin") {
?>
<td data-title="<?php
echo $this->lang->line('action');
?>
">
<?php
echo btn_edit('expense/edit/' . $expense->expenseID, $this->lang->line('edit'));
?>
<?php
echo btn_delete('expense/delete/' . $expense->expenseID, $this->lang->line('delete'));
?>
</td>
<?php
}
?>
</tr>
<?php
$i++;
$total_expense += $expense->amount;
}
示例5: btn_edit
</td>
<td><?php
if ($v_a_calendar->common_to_all == 0) {
echo '<span style="font-size:10px;font-weight:bold">' . $v_a_calendar->course . '-≻' . $v_a_calendar->shift . '-≻' . $v_a_calendar->section;
'</span>';
?>
<?php
} else {
echo '<span class="label label-primary" style="font-size:10px;">All !</span>';
}
?>
</td>
<td>
<?php
echo btn_edit('admin/routine/academic_calendar/' . $v_a_calendar->a_calender_id);
?>
<?php
echo btn_delete('admin/user/delete/' . $v_a_calendar->a_calender_id);
?>
</td>
</tr>
<?php
$key++;
}
?>
<?php
} else {
?>
示例6: array
<?php
$featureOpt = array('0' => 'No', '1' => 'Yes');
?>
<td><?php
echo $featureOpt[$location->featured];
?>
</td>
<?php
$activeOpt = array('0' => 'No', '1' => 'Yes');
?>
<td><?php
echo $activeOpt[$location->active];
?>
</td>
<td><?php
echo btn_edit('admin/location/edit/' . $location->id);
?>
</td>
<td><?php
echo btn_delete('admin/location/delete/' . $location->id);
?>
</td>
</tr>
<?php
}
?>
<?php
} else {
?>
<tr>
<td colspan="7">We could not find any location</td>
示例7: foreach
<tbody>
<?php
if (count($articles)) {
foreach ($articles as $article) {
?>
<tr>
<td><?php
echo anchor('admin/article/edit/' . $article->id, $article->title);
?>
</td>
<td><?php
echo format_date($article->pubdate);
?>
</td>
<td><?php
echo btn_edit('admin/article/edit/' . $article->id);
?>
</td>
<td><?php
echo btn_delete('admin/article/delete/' . $article->id);
?>
</td>
</tr>
<?php
}
} else {
?>
<tr>
<td colspan="3">We could not find any articles.</td>
</tr>
<?php
示例8: form_hidden
$approved = '1';
}
echo form_hidden("url", $url . $course->lesson_id);
echo form_hidden("approved", $approved);
echo form_hidden("lesson_id", $course->lesson_id);
echo form_hidden("link", $course->category_id . "/" . $course->course_id);
echo "<button name=\"active\" id=\"active\" type=\"submit\" class=\"color-green dark-limegreen-link\" style=\"background-color:transparent;border:none; \">\n\t\t\t\t\t\t" . $active . "\n\t\t\t\t\t\t</button>";
echo form_close();
?>
<?php
//echo btn_permit($language.'/admin/lesson/activate/' . $course->lesson_id);
?>
</td>
<td ><?php
echo btn_edit($language . '/admin/lesson/view/' . $course->category_id . '/' . $course->course_id . '/' . $course->lesson_id);
?>
</td>
<td ><?php
echo btn_delete($language . '/admin/lesson/delete/' . $course->lesson_id);
?>
</td>
</tr>
<?php
?>
<?php
?>
<?php
}
?>
示例9: btn_edit
</td>
<td data-title="<?php
echo $this->lang->line('hostel_note');
?>
">
<?php
echo $hostel->note;
?>
</td>
<td data-title="<?php
echo $this->lang->line('action');
?>
">
<?php
echo btn_edit('hostel/edit/' . $hostel->hostelID, $this->lang->line('edit'));
?>
<?php
echo btn_delete('hostel/delete/' . $hostel->hostelID, $this->lang->line('delete'));
?>
</td>
</tr>
<?php
$i++;
}
}
?>
</tbody>
</table>
</div>
<?php
示例10: btn_view
echo $this->lang->line('user_type');
?>
">
<?php
echo $this->lang->line($user->usertype);
?>
</td>
<td data-title="<?php
echo $this->lang->line('action');
?>
">
<?php
echo btn_view('user/view/' . $user->userID, $this->lang->line('view'));
?>
<?php
echo btn_edit('user/edit/' . $user->userID, $this->lang->line('edit'));
?>
<?php
echo btn_delete('user/delete/' . $user->userID, $this->lang->line('delete'));
?>
</td>
</tr>
<?php
$i++;
}
}
?>
</tbody>
</table>
</div>
示例11: btn_permit
<?php
$checked = '';
if ($category->approved) {
$checked = "checked=\"checked\"";
}
?>
<td > <?php
echo '<input type="checkbox" disabled="disabled" ' . $checked . ' />';
?>
</td>
<td ><?php
echo btn_permit($language . '/admin/category/activate/' . $category->category_id);
?>
</td>
<td ><?php
echo btn_edit($language . '/admin/category/edit/' . $category->category_id);
?>
</td>
<td ><?php
echo btn_delete($language . '/admin/category/delete/' . $category->category_id);
?>
</td>
</tr>
<?php
}
?>
<?php
} else {
?>
<tr class="center bold">
<td colspan="9"><?php
示例12: date
</td>
<td><?php
echo $v_award_info->gift_item;
?>
</td>
<td><?php
echo $v_award_info->award_amount;
?>
</td>
<td><?php
echo date('F y', strtotime($v_award_info->award_date));
?>
</td>
<td>
<?php
echo btn_edit('admin/employee/employee_award/' . $v_award_info->employee_award_id . '/' . $v_award_info->designations_id);
?>
<?php
echo btn_delete('admin/employee/delete_employee_award/' . $v_award_info->employee_award_id);
?>
</td>
</tr>
<?php
}
?>
<?php
}
?>
</tbody>
</table>
</div>
示例13: btn_edit
echo "<button class='btn btn-danger btn-xs'>" . $this->lang->line('book_unavailable') . "</button>";
} else {
echo "<button class='btn btn-success btn-xs'>" . $this->lang->line('book_available') . "</button>";
}
?>
</td>
<?php
if ($usertype == "Admin") {
?>
<td data-title="<?php
echo $this->lang->line('action');
?>
">
<?php
echo btn_edit('book/edit/' . $book->bookID, $this->lang->line('edit'));
?>
<?php
echo btn_delete('book/delete/' . $book->bookID, $this->lang->line('delete'));
?>
</td>
<?php
}
?>
</tr>
<?php
$i++;
}
}
?>
</tbody>
示例14: btn_edit
<td>30</td>
<td><span class="label label-sm label-warning">Suspended</span>
</td>
<td><?php
echo btn_edit('users/edit');
?>
</td>
</tr>
<tr>
<td>4</td>
<td>Lahm</td>
<td>15</td>
<td><span class="label label-sm label-danger">Blocked</span>
</td>
<td><?php
echo btn_edit('users/edit');
?>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!--END CONTENT-->
<!--BEGIN FOOTER-->
<div id="footer">
<div class="copyright">
<a href="http://www.pixolo.co.in">Pixolo ADmin Panel</a>
示例15: date
</td>
<td><?php
echo $v_holiday->event_name;
?>
</td>
<td><?php
echo date('d M,Y', strtotime($v_holiday->start_date));
?>
</td>
<td><?php
echo date('d M,Y', strtotime($v_holiday->end_date));
?>
</td>
<td>
<?php
echo btn_edit('admin/settings/holiday_list/1/' . $v_holiday->holiday_id);
?>
<?php
echo btn_delete('admin/settings/delete_holiday_list/' . $v_holiday->holiday_id);
?>
</td>
</tr>
<?php
$key++;
}
?>
<?php
} else {
?>