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


PHP block::headingForm_close方法代码示例

本文整理汇总了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';
开发者ID:jgatica,项目名称:Netoffice,代码行数:31,代码来源:deletebookmarks.php

示例2: buildLink

        // $block1->cellRow($status[$idStatus]);
        $block1->cellRow('<img src="../themes/' . THEME . '/gfx_status/' . $idStatus . '.gif" alt="' . $status[$idStatus] . '">&nbsp;' . $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("&lt;" . buildLink("../projects/addprojectsite.php?id=" . $listProjects->pro_id[$i], $strings["create"] . "...", LINK_INSIDE) . "&gt;");
            } else {
                $block1->cellRow("&lt;" . buildLink("../projects/viewprojectsite.php?id=" . $listProjects->pro_id[$i], $strings["details"], LINK_INSIDE) . "&gt;");
            }
        }
        $block1->closeRow();
    }
    $block1->closeResults();
    $block1->bornesFooter("1", $blockPage->bornesNumber, "", "searchfor={$searchfor}&amp;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}&amp;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();
开发者ID:TICanalyste,项目名称:netOffice--remix-,代码行数:31,代码来源:resultssearch.php


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