本文整理汇总了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';
示例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';
示例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';