本文整理汇总了PHP中block::headingForm_close方法的典型用法代码示例。如果您正苦于以下问题:PHP block::headingForm_close方法的具体用法?PHP block::headingForm_close怎么用?PHP block::headingForm_close使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类block
的用法示例。
在下文中一共展示了block::headingForm_close方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: IN
$id = str_replace('**', ',', $id);
$tmpquery1 = 'DELETE FROM ' . $tableCollab['bookmarks'] . ' WHERE id IN(' . $id . ')';
connectSql($tmpquery1);
header('Location: ../bookmarks/listbookmarks.php?view=my&msg=delete');
exit;
}
//--- header ---
$breadcrumbs[] = buildLink('../bookmarks/listbookmarks.php?view=all', $strings['bookmarks'], LINK_INSIDE);
$breadcrumbs[] = $strings['delete_bookmarks'];
$pageSection = 'bookmarks';
require_once '../themes/' . THEME . '/header.php';
//--- content ------
$block1 = new block();
$block1->form = 'saP';
$block1->openForm('../bookmarks/deletebookmarks.php?action=delete&id=' . $id);
$block1->headingForm($strings['delete_bookmarks']);
$block1->openContent();
$block1->contentTitle($strings['delete_following']);
$id = str_replace('**', ',', $id);
$tmpquery = 'WHERE boo.id IN(' . $id . ') ORDER BY boo.name';
$listBookmarks = new request();
$listBookmarks->openBookmarks($tmpquery);
$comptListBookmarks = count($listBookmarks->boo_id);
for ($i = 0; $i < $comptListBookmarks; $i++) {
$block1->contentRow('#' . $listBookmarks->boo_id[$i], $listBookmarks->boo_name[$i]);
}
$block1->contentRow('', '<input type="submit" name="delete" value="' . $strings['delete'] . '"> <input type="button" name="cancel" value="' . $strings['cancel'] . '" onClick="history.back();">');
$block1->closeContent();
$block1->headingForm_close();
$block1->closeForm();
require_once '../themes/' . THEME . '/footer.php';
示例2: buildLink
// $block1->cellRow($status[$idStatus]);
$block1->cellRow('<img src="../themes/' . THEME . '/gfx_status/' . $idStatus . '.gif" alt="' . $status[$idStatus] . '"> ' . $status[$idStatus], '', true);
$block1->cellRow(buildLink($listProjects->pro_mem_email_work[$i], $listProjects->pro_mem_login[$i], LINK_MAIL));
if ($sitePublish == "true") {
if ($listProjects->pro_published[$i] == "1") {
$block1->cellRow("<" . buildLink("../projects/addprojectsite.php?id=" . $listProjects->pro_id[$i], $strings["create"] . "...", LINK_INSIDE) . ">");
} else {
$block1->cellRow("<" . buildLink("../projects/viewprojectsite.php?id=" . $listProjects->pro_id[$i], $strings["details"], LINK_INSIDE) . ">");
}
}
$block1->closeRow();
}
$block1->closeResults();
$block1->bornesFooter("1", $blockPage->bornesNumber, "", "searchfor={$searchfor}&heading={$heading}");
$block1->closeToggle();
$block3->headingForm_close();
$block1->closeFormResults();
$block1->openPaletteScript();
$block1->paletteScript(0, "export", "../projects/exportproject.php?languageSession=" . $_SESSION['languageSession'] . "&type=project", "false,true,false", $strings["export"]);
$block1->closePaletteScript($comptListProjects, $listProjects->pro_id);
}
if ($comptListTasks != "0") {
$block2->form = "TaskForm";
$block2->openForm("../search/resultssearch.php?searchfor={$searchfor}&heading={$heading}#" . $block2->form . "Anchor");
$block2->headingForm($strings["search_results"] . " : " . $strings["tasks"] . " ({$block2->recordsTotal})");
/*$block2->openPaletteIcon();
$block2->paletteIcon(0,"export",$strings["export"]);
$block2->closePaletteIcon();*/
$block2->openResults();