0
我有一個動態的服務器端創建下面的代碼:Twitter的引導工具提示
foreach($pages as $key => $value)
{
$link = path_get($value['tid'], $value['nid']) ;
$pages[$key]['title'] = "<a href='".$link."' target='blank'>".$value['title'].($value['nid']==1?' (Accueil)':'')."</a>" ;
$pages[$key]['date_post'] = sql_to_datetime($value['date_post']) ;
$edit = "<a href='".url()."admin/page/edit/a/nid/".$value['nid']."' data-toggle='tooltip' title data-original-title='Default tooltip' >".IMG_EDIT."</a> " ;
$delete = "<a href='".url()."admin/page/index/a/action/delete/nid/".$value['nid']."' data-toggle='tooltip' title data-original-title='Default tooltip' class='delete-element'>".IMG_DELETE."</a> " ;
$pages[$key]['actions'] = $edit.(user_has_access_menu("page.delete")?$delete:'') ;
}
我想顯示每個編輯工具提示和刪除按鈕,但它不顯示anything.please幫助
感謝
功能.....哪裏?我能夠看到你的變量。 – Jai
請更新您的完整代碼,然後只有我們可以幫助您 –