本文整理汇总了PHP中block::itemBreadcrumbs方法的典型用法代码示例。如果您正苦于以下问题:PHP block::itemBreadcrumbs方法的具体用法?PHP block::itemBreadcrumbs怎么用?PHP block::itemBreadcrumbs使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类block
的用法示例。
在下文中一共展示了block::itemBreadcrumbs方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: headerFunction
** TO-DO:
**
**
** =============================================================================
*/
$checkSession = "true";
include_once '../includes/library.php';
if ($profilSession != "0") {
headerFunction('../general/permissiondenied.php?' . session_name() . '=' . session_id());
exit;
}
$setTitle .= " : System Information";
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../administration/admin.php?", $strings["administration"], in));
$blockPage->itemBreadcrumbs($strings["system_information"]);
$blockPage->closeBreadcrumbs();
$block1 = new block();
$block1->heading($strings["system_information"]);
$block1->openContent();
$block1->contentTitle($strings["product_information"]);
$block1->contentRow("PhpCollab Version", $version);
$block1->contentRow("File Management", $fileManagement . " (default max file size {$maxFileSize} {$byteUnits['0']})");
if ($mkdirMethod == "FTP") {
$mkdirMethodMore = " (Path to root with mentionned account: \"{$ftpRoot}\")";
}
$block1->contentRow("Create folder method", $mkdirMethod . $mkdirMethodMore);
$block1->contentRow("Theme", THEME);
$block1->contentRow("Product Site Publish", $sitePublish);
$block1->contentRow("Notifications", $notifications);
示例2: headerFunction
** -----------------------------------------------------------------------------
** TO-DO:
**
**
** =============================================================================
*/
$checkSession = "true";
include_once '../includes/library.php';
if ($profilSession != "0" || $enableHelpSupport != "true") {
headerFunction('../general/permissiondenied.php?' . session_name() . '=' . session_id());
exit;
}
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../administration/admin.php?", $strings["administration"], in));
$blockPage->itemBreadcrumbs($strings["support_management"]);
$blockPage->closeBreadcrumbs();
if ($msg != "") {
include '../includes/messages.php';
$blockPage->messagebox($msgLabel);
}
if ($enableHelpSupport == "true") {
$tmpquery = "WHERE sr.status = '0'";
$listNewRequests = new request();
$listNewRequests->openSupportRequests($tmpquery);
$comptListNewRequests = count($listNewRequests->sr_id);
$tmpquery = "WHERE sr.status = '1'";
$listOpenRequests = new request();
$listOpenRequests->openSupportRequests($tmpquery);
$comptListOpenRequests = count($listOpenRequests->sr_id);
示例3: request
** =============================================================================
*/
$checkSession = "true";
include_once '../includes/library.php';
$tmpquery = "WHERE pro.id = '{$id}'";
$projectDetail = new request();
$projectDetail->openProjects($tmpquery);
$comptProjectDetail = count($projectDetail->pro_id);
if ($comptProjectDetail == "0") {
headerFunction("../projects/listprojects.php?msg=blank&" . session_name() . "=" . session_id());
exit;
}
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/listprojects.php?", $strings["projects"], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], in));
$blockPage->itemBreadcrumbs($strings["team_members"]);
$blockPage->closeBreadcrumbs();
$block1 = new block();
$block1->form = "saM";
$block1->openForm("../teams/listusers.php?" . session_name() . "=" . session_id() . "&id={$id}#" . $block1->form . "Anchor");
$block1->heading($strings["team_members"]);
$block1->openPaletteIcon();
if ($idSession == $projectDetail->pro_owner[0] || $profilSession == "5") {
$block1->paletteIcon(0, "add", $strings["add"]);
$block1->paletteIcon(1, "remove", $strings["delete"]);
if ($sitePublish == "true") {
$block1->paletteIcon(2, "add_projectsite", $strings["add_project_site"]);
$block1->paletteIcon(3, "remove_projectsite", $strings["remove_project_site"]);
}
示例4: connectSql
connectSql("{$tmpquery2}");
connectSql("{$tmpquery3}");
connectSql("{$tmpquery4}");
connectSql("{$tmpquery5}");
//if mantis bug tracker enabled
if ($enableMantis == "true") {
// Call mantis function to remove user
include "../mantis/user_delete.php";
}
headerFunction("../clients/viewclient.php?id={$organization}&msg=delete&" . session_name() . "=" . session_id());
exit;
}
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../clients/listclients.php?", $strings["clients"], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../clients/viewclient.php?id=" . $detailOrganization->org_id[0], $detailOrganization->org_name[0], in));
$blockPage->itemBreadcrumbs($strings["delete_users"]);
$blockPage->closeBreadcrumbs();
if ($msg != "") {
include '../includes/messages.php';
$blockPage->messagebox($msgLabel);
}
$block1 = new block();
$block1->form = "client_user_delete";
$block1->openForm("../users/deleteclientusers.php?organization={$organization}&action=delete&" . session_name() . "=" . session_id());
$block1->heading($strings["delete_users"]);
$block1->openContent();
$block1->contentTitle($strings["delete_following"]);
$id = str_replace("**", ",", $id);
$tmpquery = "WHERE mem.id IN({$id}) ORDER BY mem.name";
示例5: request
$tmpquery = "WHERE pro.id = '" . $noteDetail->note_project[0] . "'";
$projectDetail = new request();
$projectDetail->openProjects($tmpquery);
$teamMember = "false";
$tmpquery = "WHERE tea.project = '" . $noteDetail->note_project[0] . "' AND tea.member = '{$idSession}'";
$memberTest = new request();
$memberTest->openTeams($tmpquery);
$comptMemberTest = count($memberTest->tea_id);
if ($comptMemberTest == "0") {
$teamMember = "false";
} else {
$teamMember = "true";
}
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/listprojects.php?", $strings["projects"], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../notes/listnotes.php?project=" . $projectDetail->pro_id[0], $strings["notes"], in));
$blockPage->itemBreadcrumbs($noteDetail->note_subject[0]);
$blockPage->closeBreadcrumbs();
if ($msg != "") {
include '../includes/messages.php';
$blockPage->messagebox($msgLabel);
}
$block1 = new block();
$block1->form = "tdD";
$block1->openForm("../notes/viewnote.php?" . session_name() . "=" . session_id() . "#" . $block1->form . "Anchor");
$block1->heading($strings["note"] . " : " . $noteDetail->note_subject[0]);
if ($teamMember == "true" && $idSession == $noteDetail->note_owner[0]) {
$block1->openPaletteIcon();
$block1->paletteIcon(0, "remove", $strings["delete"]);
示例6: block
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
**
** -----------------------------------------------------------------------------
** FILE: license.php
**
** DESC: Screen: print GNU/GPL license
**
** HISTORY:
** 2003-10-23 - added new document info
** -----------------------------------------------------------------------------
** TO-DO:
**
** =============================================================================
*/
$checkSession = "false";
include_once '../includes/library.php';
$notLogged = "true";
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs(" ");
$blockPage->closeBreadcrumbs();
$block1 = new block();
$block1->heading($setTitle . " : License");
$block1->openContent();
$block1->contentTitle("License");
$block1->contentRow("", "<pre>" . recupFile("../docs/copying.txt") . "</pre>");
$block1->closeContent();
include '../themes/' . THEME . '/footer.php';
示例7: request
$projectDetail = new request();
$projectDetail->openProjects($tmpquery);
if ($projectDetail->pro_enable_phase[0] != "0") {
$tPhase = $taskDetail->tas_parent_phase[0];
if (!$tPhase) {
$tPhase = '0';
}
$tmpquery = "WHERE pha.project_id = '" . $taskDetail->tas_project[0] . "' AND pha.order_num = '{$tPhase}'";
$targetPhase = new request();
$targetPhase->openPhases($tmpquery);
}
}
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/listprojects.php?", $strings["projects"], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], in));
if ($projectDetail->pro_phase_set[0] != "0") {
$blockPage->itemBreadcrumbs($blockPage->buildLink("../phases/listphases.php?id=" . $projectDetail->pro_id[0], $strings["phases"], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../phases/viewphase.php?id=" . $targetPhase->pha_id[0], $targetPhase->pha_name[0], in));
}
$blockPage->itemBreadcrumbs($blockPage->buildLink("../tasks/listtasks.php?project=" . $projectDetail->pro_id[0], $strings["tasks"], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../tasks/viewtask.php?id=" . $taskDetail->tas_id[0], $taskDetail->tas_name[0], in));
if ($type == "2") {
$blockPage->itemBreadcrumbs($blockPage->buildLink("../subtasks/viewsubtask.php?task=" . $taskDetail->tas_id[0] . "&id=" . $subtaskDetail->subtas_id[0], $subtaskDetail->subtas_name[0], in));
$blockPage->itemBreadcrumbs($strings["updates_subtask"]);
}
if ($type == "1") {
$blockPage->itemBreadcrumbs($strings["updates_task"]);
}
$blockPage->closeBreadcrumbs();
示例8: urldecode
$cvsrep = urldecode($cvsrep);
$dir = urldecode($dir);
if (eregi("\\/\\.\\.", $dir) || $dir == ".." || eregi("\\.\\.\\/", $dir)) {
$dir = "";
}
$path = $conf['cvsrep'][$cvsrep] . $dir;
if (isset($file)) {
$file = urldecode($file);
// $file = escapeshellarg($file);
if (eregi("\\/\\.\\.", $file) || $file == ".." || eregi("\\.\\.\\/", $file)) {
$file = "";
}
}
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs("<a href=\"../projects/listprojects.php?{$sid}\">" . $strings["projects"] . "</a>");
$blockPage->itemBreadcrumbs("<a href=\"../projects/viewproject.php?{$sid}&id={$id}\">" . $projectDetail->pro_name[0] . "</a>");
$blockPage->itemBreadcrumbs($strings["repository"]);
$blockPage->closeBreadcrumbs();
$block1 = new block();
$block1->heading($strings["browse_cvs"] . " : " . $projectDetail->pro_name[0]);
$block1->openContent();
$block1->contentTitle("Files");
echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td>";
if ($cvs_protected) {
$cvs_access = has_access($loginSession, $id);
} else {
$cvs_access = true;
}
if ($cvs_access) {
echo "<!-- Start browsecvs -->";
示例9: headerFunction
include_once '../includes/library.php';
if ($profilSession != "0") {
headerFunction('../general/permissiondenied.php?' . session_name() . '=' . session_id());
exit;
}
if ($action == "delete") {
$id = str_replace("**", ",", $id);
$tmpquery1 = "DELETE FROM " . $tableCollab["services"] . " WHERE id IN({$id})";
connectSql($tmpquery1);
headerFunction("../services/listservices.php?msg=delete&" . session_name() . "=" . session_id());
exit;
}
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../administration/admin.php?", $strings["administration"], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../services/listservices.php?", $strings["service_management"], in));
$blockPage->itemBreadcrumbs($strings["delete_services"]);
$blockPage->closeBreadcrumbs();
if ($msg != "") {
include '../includes/messages.php';
$blockPage->messagebox($msgLabel);
}
$block1 = new block();
$block1->form = "service_delete";
$block1->openForm("../services/deleteservices.php?action=delete&" . session_name() . "=" . session_id());
$block1->heading($strings["delete_services"]);
$block1->openContent();
$block1->contentTitle($strings["delete_following"]);
$id = str_replace("**", ",", $id);
$tmpquery = "WHERE serv.id IN({$id}) ORDER BY serv.name";
示例10: count
//create phase structure if enable phase was selected as true
if ($thisPhase != "0") {
$comptThisPhase = count($phaseArraySets[$thisPhase]);
for ($i = 0; $i < $comptThisPhase; $i++) {
$tmpquery = "INSERT INTO " . $tableCollab["phases"] . "(project_id,order_num,status,name) VALUES('{$num}','{$i}','0','" . $phaseArraySets[$thisPhase][$i] . "')";
connectSql("{$tmpquery}");
}
}
headerFunction("../projects/viewproject.php?id={$num}&msg=add&" . session_name() . "=" . session_id());
}
}
$bodyCommand = "onLoad='document.epDForm.pn.focus();'";
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/listprojects.php?", $strings["projects"], in));
//case add project
if ($id == "") {
$blockPage->itemBreadcrumbs($strings["add_project"]);
}
//case update or copy project
if ($id != "") {
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], in));
if ($docopy == "true") {
$blockPage->itemBreadcrumbs($strings["copy_project"]);
} else {
$blockPage->itemBreadcrumbs($strings["edit_project"]);
}
}
$blockPage->closeBreadcrumbs();
if ($msg != "") {
示例11: headerFunction
if ($project != "") {
headerFunction("../projects/viewproject.php?id={$project}&msg=delete&" . session_name() . "=" . session_id());
exit;
} else {
headerFunction("../general/home.php?msg=delete&" . session_name() . "=" . session_id());
exit;
}
}
$tmpquery = "WHERE pro.id = '{$project}'";
$projectDetail = new request();
$projectDetail->openProjects($tmpquery);
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
if ($project != "") {
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/listprojects.php?", $strings["projects"], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], in));
$blockPage->itemBreadcrumbs($strings["delete_tasks"]);
} else {
$blockPage->itemBreadcrumbs($blockPage->buildLink("../general/home.php?", $strings["home"], in));
$blockPage->itemBreadcrumbs($strings["my_tasks"]);
}
$blockPage->closeBreadcrumbs();
if ($msg != "") {
include '../includes/messages.php';
$blockPage->messagebox($msgLabel);
}
$block1 = new block();
$block1->form = "saP";
$block1->openForm("../tasks/deletetasks.php?project={$project}&action=delete&id={$id}&" . session_name() . "=" . session_id());
$block1->heading($strings["delete_tasks"]);
示例12: IN
$id = str_replace("**", ",", $id);
$tmpquery1 = "DELETE FROM " . $tableCollab["bookmarks"] . " WHERE id IN({$id})";
connectSql("{$tmpquery1}");
headerFunction("../bookmarks/listbookmarks.php?view=my&msg=delete&" . session_name() . "=" . session_id());
exit;
}
$setTitle .= " : Delete ";
if (strpos($id, "**") !== false) {
$setTitle .= "Entries";
} else {
$setTitle .= "Entry";
}
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../bookmarks/listbookmarks.php?view=all", $strings["bookmarks"], in));
$blockPage->itemBreadcrumbs($strings["delete_bookmarks"]);
$blockPage->closeBreadcrumbs();
if ($msg != "") {
include '../includes/messages.php';
$blockPage->messagebox($msgLabel);
}
$block1 = new block();
$block1->form = "saP";
$block1->openForm("../bookmarks/deletebookmarks.php?action=delete&id={$id}&" . session_name() . "=" . session_id());
$block1->heading($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();
示例13: connectSql
connectSql($tmpquery1);
headerFunction("../services/listservices.php?msg=add&" . session_name() . "=" . session_id());
exit;
}
}
/* Titles */
if ($id == '') {
$setTitle .= " : Add Service";
} else {
$setTitle .= " : Edit Service (" . $detailService->serv_name[0] . ")";
}
$bodyCommand = "onLoad=\"document.serv_editForm.n.focus();\"";
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../administration/admin.php?", $strings["administration"], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../services/listservices.php?", $strings["service_management"], in));
if ($id == "") {
$blockPage->itemBreadcrumbs($strings["add_service"]);
}
if ($id != "") {
$blockPage->itemBreadcrumbs($blockPage->buildLink("../services/viewservice.php?id={$id}", $detailService->serv_name[0], in));
$blockPage->itemBreadcrumbs($strings["edit_service"]);
}
$blockPage->closeBreadcrumbs();
if ($msg != "") {
include '../includes/messages.php';
$blockPage->messagebox($msgLabel);
}
$block1 = new block();
if ($id == "") {
示例14: headerFunction
$f_project_id = $project;
$f_user_id = $pieces[$i];
include "../mantis/user_proj_delete.php";
}
}
if ($notifications == "true") {
$organization = "";
include "../teams/noti_removeprojectteam.php";
}
headerFunction("../projects/viewprojectsite.php?id={$project}&msg=removeClientToSite&" . session_name() . "=" . session_id());
exit;
}
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/listprojects.php?", $strings["projects"], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../projects/viewprojectsite.php?id=" . $projectDetail->pro_id[0], $strings["project_site"], in));
$blockPage->itemBreadcrumbs($strings["remove_team_client"]);
$blockPage->closeBreadcrumbs();
if ($msg != "") {
include '../includes/messages.php';
$blockPage->messagebox($msgLabel);
}
$block1 = new block();
$block1->form = "crM";
$block1->openForm("../teams/deleteclientusers.php?project={$project}&action=delete&id={$id}&" . session_name() . "=" . session_id());
$block1->heading($strings["remove_team_client"]);
$block1->openContent();
$block1->contentTitle($strings["remove_team_info"]);
$id = str_replace("**", ",", $id);
示例15: headerFunction
**
** HISTORY:
** 2003-10-23 - added new document info
** -----------------------------------------------------------------------------
** TO-DO:
** move to the render engine
**
** =============================================================================
*/
$checkSession = "true";
include_once '../includes/library.php';
if ($profilSession != "0") {
headerFunction('../general/permissiondenied.php?' . session_name() . '=' . session_id());
exit;
}
$setTitle .= " : DB Administraton";
include '../themes/' . THEME . '/header.php';
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../administration/admin.php?", $strings["administration"], in));
$blockPage->itemBreadcrumbs($strings["database"] . " " . MYDATABASE);
$blockPage->closeBreadcrumbs();
$block1 = new block();
$block1->heading($strings["database"] . " " . MYDATABASE);
$block1->openContent();
$block1->contentTitle("Backup database");
echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td>\n<form method=\"post\" action=\"../includes/phppgadmin/db_dump.php\">View dump (schema) of database<br/>\n<table>\n <tr>\n <td>\n <input type=\"radio\" name=\"what\" value=\"structure\">Structure only </td>\n <td>\n <input type=\"checkbox\" name=\"drop\" value=\"1\">Add 'drop table' </td>\n <td colspan=\"2\">\n <input type=\"submit\" value=\"Go\">\n </td>\n </tr>\n <tr>\n <td>\n <input type=\"radio\" name=\"what\" value=\"data\" checked>Structure and data </td>\n <td>\n <input type=\"checkbox\" name=\"asfile\" value=\"sendit\">send </td>\n </tr>\n</table>\n<input type=\"hidden\" name=\"server\" value=\"1\">\n<input type=\"hidden\" name=\"db\" value=\"" . MYDATABASE . "\">\n<input type=\"hidden\" name=\"table\" value=\"y_updates\">\n</form>\n" . $blockPage->buildLink("http://phppgadmin.sourceforge.net", "phpPgAdmin", powered) . "</a></td></tr>";
$block1->contentTitle("Restore database from sql file");
echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td>\n <form method=\"post\" action=\"../includes/phpmyadmin/read_dump.php\" enctype=\"multipart/form-data\">\n <input type=\"hidden\" name=\"is_js_confirmed\" value=\"0\" />\n <input type=\"hidden\" name=\"lang\" value=\"en\" />\n <input type=\"hidden\" name=\"server\" value=\"1\" />\n <input type=\"hidden\" name=\"db\" value=\"" . MYDATABASE . "\" />\n <input type=\"hidden\" name=\"pos\" value=\"0\" />\n <input type=\"hidden\" name=\"goto\" value=\"db_details.php\" />\n <input type=\"hidden\" name=\"zero_rows\" value=\"Your SQL-query has been executed successfully\" />\n <input type=\"hidden\" name=\"prev_sql_query\" value=\"\" /><br />\n Location of sql file :<br />\n <div style=\"margin-bottom: 5px\">\n <input type=\"file\" name=\"sql_file\" /><br />\n </div>\n \n <input type=\"submit\" name=\"SQL\" value=\"Go\" />\n </form>\n" . $blockPage->buildLink("http://phpwizard.net/projects/phpMyAdmin", "phpMyAdmin", powered) . "</a>\n</td></tr>\n</table>\n</td></tr>";
$block1->closeContent();
include '../themes/' . THEME . '/footer.php';