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


PHP btn_delete函数代码示例

本文整理汇总了PHP中btn_delete函数的典型用法代码示例。如果您正苦于以下问题:PHP btn_delete函数的具体用法?PHP btn_delete怎么用?PHP btn_delete使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: get_ol

function get_ol($array, $status, $child = FALSE)
{
    $str = '';
    if (count($array)) {
        $str .= $child == FALSE ? '<ol class="sortable">' : '<ol>';
        foreach ($array as $item) {
            $str .= '<li id="list_' . $item['id'] . '" class="list-group-item" style="border:none;" >';
            $str .= '<div>' . $item['title'];
            $str .= '<b class="pull-right">' . btn_delete('admin/pages/delete/' . $item['id']);
            $str .= '<a href="' . base_url("index.php/admin/pages/edit/" . $item['id']) . '" class="btn btn-default btn-xs btn-primary" data-target="#telo" role="button" data-toggle="modal">
                                    <span class="glyphicon glyphicon-edit"></span> Edit</a></b></div>';
            // Do we have any children?
            if (isset($item['children']) && count($item['children'])) {
                $str .= get_ol($item['children'], $status, TRUE);
            }
            $str .= '</li>' . PHP_EOL;
        }
        $str .= '</ol>' . PHP_EOL;
    }
    return $str;
}
开发者ID:fathan,项目名称:CI-Hotel,代码行数:21,代码来源:order_ajax.php

示例2: btn_permit

        }
        ?>
						<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 
    }
    ?>
	<?php 
} else {
    ?>
	<tr class="center bold">
开发者ID:igor-vidic,项目名称:LessonLearned,代码行数:31,代码来源:main_course_index.php

示例3: foreach

        <thead>
            <tr>
                <th>Role Name</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            <?php 
foreach ($roles as $role) {
    ?>
                <tr>
                    <td><?php 
    echo $role->role_name;
    ?>
</td>
                    <td> 
                        <?php 
    echo btn_edit('dashboard/rabc/edit_role/' . $role->role_id);
    ?>
 |
                        <?php 
    echo btn_delete('dashboard/rabc/delete_role/' . $role->role_id);
    ?>
                    </td>
                </tr>
            <?php 
}
?>
        </tbody>
    </table>
</fieldset>
开发者ID:codza,项目名称:panga,代码行数:31,代码来源:_role_list.php

示例4: btn_edit

            '</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 {
    ?>
                    <td colspan="3">
                        <strong>Please Select Session to display Event</strong>
                    </td>
                <?php 
开发者ID:qumarr,项目名称:Project,代码行数:31,代码来源:event_list.php

示例5: btn_edit

                                        <?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;
    }
}
?>
                            </tbody>
开发者ID:spyda247,项目名称:white,代码行数:31,代码来源:index.php

示例6: anchor

        ?>
	<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 
}
?>

		</tbody>
开发者ID:anhoale,项目名称:codeigniter-cms,代码行数:31,代码来源:index.php

示例7: btn_edit

        echo $this->lang->line('feetype_note');
        ?>
">
                                        <?php 
        echo $feetype->note;
        ?>
                                    </td>
                                    <td data-title="<?php 
        echo $this->lang->line('action');
        ?>
">
                                        <?php 
        echo btn_edit('feetype/edit/' . $feetype->feetypeID, $this->lang->line('edit'));
        ?>
                                        <?php 
        echo btn_delete('feetype/delete/' . $feetype->feetypeID, $this->lang->line('delete'));
        ?>
                                    </td>
                                </tr>
                            <?php 
        $i++;
    }
}
?>
                        </tbody>
                    </table>
                </div>

            </div>
        </div>
    </div>
开发者ID:Rahulsharma0810,项目名称:granth-sas23,代码行数:31,代码来源:index.php

示例8: date

        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>
    </div>
</div>
开发者ID:qumarr,项目名称:Project,代码行数:31,代码来源:employee_award.php

示例9: array

        echo $featureOpt[$scheme->featured];
        ?>
</td>
                <?php 
        $activeOpt = array('0' => 'No', '1' => 'Yes');
        ?>
                <td><?php 
        echo $activeOpt[$scheme->active];
        ?>
</td>
                <td><?php 
        echo btn_edit('admin/scheme/edit/' . $scheme->id);
        ?>
</td>
                <td><?php 
        echo btn_delete('admin/scheme/delete/' . $scheme->id);
        ?>
</td>
            </tr>
        <?php 
    }
    ?>
        <?php 
} else {
    ?>
        	<tr>
            	<td colspan="7">We could not find any scheme</td>
            </tr>
        <?php 
}
?>
开发者ID:ankibalyan,项目名称:levoyagers,代码行数:31,代码来源:index.php

示例10: form_hidden

        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 
    }
    ?>
	<?php 
} else {
    ?>
	<tr class="center bold">
开发者ID:igor-vidic,项目名称:LessonLearned,代码行数:31,代码来源:lesson_index.php

示例11: btn_view

                                        <?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>


            </div> <!-- col-sm-12 -->
        </div><!-- row -->
开发者ID:Intelnetgs,项目名称:white,代码行数:31,代码来源:index.php

示例12: btn_permit

        }
        ?>
			<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 
    echo $this->lang->line('category_no_cat_exist');
    ?>
</td>
	</tr>
开发者ID:igor-vidic,项目名称:LessonLearned,代码行数:31,代码来源:main_category_index.php

示例13: strip_tags

                echo strip_tags(substr($event->event, 0, 60));
            }
            ?>
                                    </td>
                                    <td data-title="<?php 
            echo $this->lang->line('action');
            ?>
">
                                        <?php 
            echo btn_view('event/view/' . $event->eventID, $this->lang->line('view'));
            ?>
                                        <?php 
            echo btn_edit('event/edit/' . $event->eventID, $this->lang->line('edit'));
            ?>
                                        <?php 
            echo btn_delete('event/delete/' . $event->eventID, $this->lang->line('delete'));
            ?>
                                    </td>
                                </tr>
                            <?php 
            $i++;
        }
    }
    ?>
                        </tbody>
                    </table>
                </div>
                <?php 
} else {
    ?>
                <div id="hide-table">
开发者ID:Intelnetgs,项目名称:white,代码行数:31,代码来源:index.php

示例14: btn_edit

        }
        ?>
                                    </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>
                    </table>
                </div>
开发者ID:Intelnetgs,项目名称:white,代码行数:30,代码来源:index.php

示例15: btn_set_phrase

</td>
                                        <td><?php 
                echo $v_fields;
                ?>
</td>
                                        <td><?php 
                echo btn_set_phrase('admin/settings/set_phrase/' . $v_fields);
                ?>
                                        <?php 
                echo btn_set_formbody('admin/settings/set_formbody/' . $v_fields);
                ?>
</td>
                                        <td>                                        
                                            
                                            <?php 
                echo btn_delete('admin/settings/delete_language/' . $v_fields);
                ?>
                                        </td>
                                    </tr>
                                    <?php 
                $key++;
            }
        }
    }
    ?>
                    <?php 
} else {
    ?>
                    <td colspan="3">
                        <strong>There is no data to display</strong>
                    </td>
开发者ID:qumarr,项目名称:Project,代码行数:31,代码来源:language_settings.php


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