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


PHP block::note方法代码示例

本文整理汇总了PHP中block::note方法的典型用法代码示例。如果您正苦于以下问题:PHP block::note方法的具体用法?PHP block::note怎么用?PHP block::note使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在block的用法示例。


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

示例1: IN

    $tmpquery3 = 'DELETE FROM ' . $tableCollab['members'] . " WHERE organization IN({$id})";
    connectSql($tmpquery3);
    header('Location: ../clients/listclients.php?msg=delete');
    exit;
}
//----- header --------------------------------------------
$breadcrumbs[] = buildLink('../clients/listclients.php?', $strings['clients'], LINK_INSIDE);
$breadcrumbs[] = $strings['delete_organizations'];
$pageSection = 'clients';
require_once '../themes/' . THEME . '/header.php';
//----- content --------------------------------------------
$block1 = new block();
$block1->form = 'saP';
$block1->openForm("../clients/deleteclients.php?action=delete&id={$id}");
$block1->headingForm($strings['delete_organizations']);
$block1->openContent();
$block1->contentTitle($strings['delete_following']);
$id = str_replace('**', ',', $id);
$tmpquery = "WHERE org.id IN({$id}) ORDER BY org.name";
$listOrganizations = new request();
$listOrganizations->openOrganizations($tmpquery);
$comptListOrganizations = count($listOrganizations->org_id);
for ($i = 0; $i < $comptListOrganizations; $i++) {
    $block1->contentRow('#' . $listOrganizations->org_id[$i], $listOrganizations->org_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();
$block1->note($strings['delete_organizations_note']);
require_once '../themes/' . THEME . '/footer.php';
开发者ID:TICanalyste,项目名称:netOffice--remix-,代码行数:31,代码来源:deleteclients.php

示例2: IN

            $ckeckedrss = '';
        }
    } else {
        $ckeckedrss = 'checked';
    }
    $block1->contentRow($strings["newsdesk_rss"], "<input size='32' value='1' name='rss' type='checkbox' {$ckeckedrss}>");
    // end
    $block1->contentRow($strings[""], "<input type='submit' name='submit' value='" . $strings["save"] . "'> <input type='button' name='cancel' value='" . $strings["cancel"] . "' onClick='history.back();'>");
    $block1->closeContent();
    $block1->closeForm();
} else {
    //remove
    $block1->form = "saP";
    $block1->openForm("../newsdesk/editnews.php?action=delete&id={$id}&" . session_name() . "=" . session_id());
    $block1->heading($strings["del_newsdesk"]);
    $block1->openContent();
    $block1->contentTitle($strings["delete_following"]);
    $id = str_replace("**", ",", $id);
    $tmpquery = "WHERE news.id IN({$id}) ORDER BY news.pdate";
    $listNews = new request();
    $listNews->openNewsDesk($tmpquery);
    $comptListNews = count($listNews->news_id);
    for ($i = 0; $i < $comptListNews; $i++) {
        $block1->contentRow("#" . $listNews->news_id[$i], $listNews->news_title[$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->closeForm();
    $block1->note($strings["delete_news_note"]);
}
include '../themes/' . THEME . '/footer.php';
开发者ID:ColBT,项目名称:php_tut,代码行数:31,代码来源:editnews.php

示例3: block

}
$setTitle .= " : Delete Client";
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../clients/listclients.php?", $strings["clients"], in));
$blockPage->itemBreadcrumbs($strings["delete_organizations"]);
$blockPage->closeBreadcrumbs();
if ($msg != "") {
    include '../includes/messages.php';
    $blockPage->messagebox($msgLabel);
}
$block1 = new block();
$block1->form = "saP";
$block1->openForm("../clients/deleteclients.php?action=delete&id={$id}&" . session_name() . "=" . session_id());
$block1->heading($strings["delete_organizations"]);
$block1->openContent();
$block1->contentTitle($strings["delete_following"]);
$id = str_replace("**", ",", $id);
$tmpquery = "WHERE org.id IN({$id}) ORDER BY org.name";
$listOrganizations = new request();
$listOrganizations->openOrganizations($tmpquery);
$comptListOrganizations = count($listOrganizations->org_id);
for ($i = 0; $i < $comptListOrganizations; $i++) {
    $block1->contentRow("#" . $listOrganizations->org_id[$i], $listOrganizations->org_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->closeForm();
$block1->note($strings["delete_organizations_note"]);
include '../themes/' . THEME . '/footer.php';
开发者ID:ColBT,项目名称:php_tut,代码行数:31,代码来源:deleteclients.php


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