本文整理汇总了PHP中block::bornesFooter方法的典型用法代码示例。如果您正苦于以下问题:PHP block::bornesFooter方法的具体用法?PHP block::bornesFooter怎么用?PHP block::bornesFooter使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类block
的用法示例。
在下文中一共展示了block::bornesFooter方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: substr
if ($_SESSION['profilSession'] == 1 or $_SESSION['profilSession'] == 5 or $_SESSION['idSession'] == $listTaskTimes->tim_owner[$i]) {
$block2->openRow($listTaskTimes->tim_id[$i]);
$block2->checkboxRow($listTaskTimes->tim_id[$i], 'true');
$block2->cellRow($listTaskTimes->tim_mem_name[$i]);
$block2->cellRow($listTaskTimes->tim_date[$i]);
$block2->cellRow($listTaskTimes->tim_hours[$i]);
$block2->cellRow($listTaskTimes->tim_created[$i]);
$block2->cellRow($listTaskTimes->tim_modified[$i]);
// truncate large comments to keep the display clean
$comments = $listTaskTimes->tim_comments[$i];
$lenComm = 40;
if (strLen($comments) > $lenComm) {
$comments = substr($listTaskTimes->tim_comments[$i], 0, $lenComm) . ' ...';
}
$block2->cellRow($comments);
$block2->closeRow();
}
}
$block2->closeResults();
$block2->bornesFooter("1", $blockPage->bornesNumber, "", "id={$id}");
} else {
$block2->noresults();
}
$block2->closeFormResults();
$block2->block_close();
$block2->closeForm();
$block2->openPaletteScript();
$block2->paletteScript(0, "remove", "../tasks/deletetasktime.php?task={$id}", "false,true,true", $strings["delete"]);
$block2->paletteScript(1, "edit", "../tasks/edittasktime.php?task={$id}", "false,true,false", $strings["edit"]);
$block2->closePaletteScript($comptListTaskTimes, $listTaskTimes->tim_id);
require_once "../themes/" . THEME . "/footer.php";
示例2:
$pha_id = $listTasks->tas_parent_phase[$i];
$block10->cellRow('<a href="../phases/viewphase.php?id=' . $listPhases->pha_id[$pha_id] . '">' . $listPhases->pha_name[$pha_id] . '</a>');
//--- assigned to -----
if ($listTasks->tas_assigned_to[$i] == '0') {
$block10->cellRow($strings['unassigned']);
} else {
$block10->cellRow(buildLink($listTasks->tas_mem_email_work[$i], $listTasks->tas_mem_login[$i], LINK_MAIL));
}
//---- published ------
if ($sitePublish == 'true') {
$block10->cellRow($statusPublish[$idPublish]);
}
$block10->closeRow();
}
$block10->closeResults();
$block10->bornesFooter('1', $blockPage->bornesNumber, '../tasks/listtasks.php?project=' . $id, 'id=' . $id);
} else {
$block10->noresults();
}
$block10->closeToggle();
$block10->closeFormResults();
$block10->openPaletteScript();
if ($teamMember == 'true' || $_SESSION['profilSession'] == '5') {
$block10->paletteScript(0, 'add', '../tasks/edittask.php?project=' . $projectDetail->pro_id[0], 'true,false,false', $strings['add']);
$block10->paletteScript(1, 'remove', '../tasks/deletetasks.php?project=' . $projectDetail->pro_id[0], 'false,true,true', $strings['delete']);
$block10->paletteScript(2, 'copy', '../tasks/edittask.php?project=' . $projectDetail->pro_id[0] . '&cpy=true', 'false,true,false', $strings['copy']);
// $block10->paletteScript(3,'export','../projects/exportproject.php','false,true,true',$strings['export']);
if ($sitePublish == 'true') {
$block10->paletteScript(4, 'add_projectsite', '../projects/viewproject.php?addToSiteTask=true&project=' . $projectDetail->pro_id[0] . '&action=publish', 'false,true,true', $strings['add_project_site']);
$block10->paletteScript(5, 'remove_projectsite', '../projects/viewproject.php?removeToSiteTask=true&project=' . $projectDetail->pro_id[0] . '&action=publish', 'false,true,true', $strings['remove_project_site']);
}
示例3:
$block1->cellRow(buildLink("../meetings/viewmeeting.php?id=" . $listMeetings->mee_id[$i], $listMeetings->mee_name[$i], LINK_STRIKE));
} else {
$block1->cellRow(buildLink("../meetings/viewmeeting.php?id=" . $listMeetings->mee_id[$i], $listMeetings->mee_name[$i], LINK_INSIDE));
}
$block1->cellRow('<img src="../themes/' . THEME . '/gfx_priority/' . $idPriority . '.gif" alt="' . $priority[$idPriority] . '"> ' . $priority[$idPriority], '', true);
$block1->cellRow('<img src="../themes/' . THEME . '/gfx_status/' . $idStatus . '.gif" alt="' . $status[$idStatus] . '"> ' . $status[$idStatus], '', true);
if ($listMeetings->mee_date[$i] <= $date && $idStatus != 1) {
$block1->cellRow("<b>" . $listMeetings->mee_date[$i] . "</b>");
} else {
$block1->cellRow($listMeetings->mee_date[$i]);
}
$block1->cellRow($complValue);
$block1->closeRow();
}
$block1->closeResults();
$block1->bornesFooter("1", $blockPage->bornesNumber, "", "project={$project}");
} else {
$block1->noresults();
}
$block1->closeFormResults();
$block1->openPaletteScript();
if ($teamMember == "true") {
$block1->paletteScript(0, "add", "../meetings/editmeeting.php?project={$project}", "true,false,false", $strings["add"]);
$block1->paletteScript(1, "remove", "../meetings/deletemeetings.php?project={$project}", "false,true,true", $strings["delete"]);
$block1->paletteScript(2, "copy", "../meetings/editmeeting.php?project={$project}&cpy=true", "false,true,false", $strings["copy"]);
// $block1->paletteScript(3,"export","export.php?","false,true,true",$strings["export"]);
if ($sitePublish == "true") {
$block1->paletteScript(4, "add_projectsite", "../meetings/listmeetings.php?addToSite=true&project=" . $projectDetail->pro_id[0] . "&action=publish", "false,true,true", $strings["add_project_site"]);
$block1->paletteScript(5, "remove_projectsite", "../meetings/listmeetings.php?removeToSite=true&project=" . $projectDetail->pro_id[0] . "&action=publish", "false,true,true", $strings["remove_project_site"]);
}
}
示例4: block
$idPublish = $listNotes->note_published[$i];
$block6->openRow($listNotes->note_id[$i]);
$block6->checkboxRow($listNotes->note_id[$i]);
$block6->cellRow(buildLink("../notes/viewnote.php?id=" . $listNotes->note_id[$i], $listNotes->note_subject[$i], LINK_INSIDE));
if ($comptTopic != "0") {
$block6->cellRow($topicNote[$listNotes->note_topic[$i]]);
}
$block6->cellRow($listNotes->note_date[$i]);
$block6->cellRow(buildLink($listNotes->note_mem_email_work[$i], $listNotes->note_mem_login[$i], LINK_MAIL));
if ($sitePublish == "true") {
$block6->cellRow($statusPublish[$idPublish]);
}
$block6->closeRow();
}
$block6->closeResults();
$block6->bornesFooter("6", $blockPage->bornesNumber, "", "searchfor={$searchfor}&heading={$heading}");
$block6->closeToggle();
$block3->headingForm_close();
$block6->closeFormResults();
/*$block6->openPaletteScript();
$block6->paletteScript(0,"export","../projects/exportproject.php?languageSession=" . $_SESSION['languageSession'] . "&type=project","false,true,false",$strings["export"]);
$block6->closePaletteScript($comptListNotes,$listNotes->note_id);*/
}
$block7 = new block();
$block7->form = "search";
$block7->openForm("../search/createsearch.php?action=search");
$block7->openContent();
$block7->contentTitle($strings["enter_keywords"]);
echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\">* " . $strings["search_for"] . " :</td><td><input value=\"{$searchfor}\" type=\"text\" name=searchfor style=\"width: 200px;\" size=\"30\" maxlength=\"64\">\n<select name=\"heading\">\n\t\t<option selected value=\"ALL\" {$selectedAll}>" . $strings["all_content"] . "</option>\n\t\t<option value=\"notes\" {$selectedNotes}>" . $strings["notes"] . "</option>\n\t\t<option value=\"organizations\" {$selectedOrganizations}>" . $strings["organizations"] . "</option>\n\t\t<option value=\"projects\" {$selectedProjects}>" . $strings["projects"] . "</option>\n\t\t<option value=\"tasks\" {$selectedTasks}>" . $strings["tasks"] . "</option>\n\t\t<option value=\"discussions\" {$selectedDiscussions}>" . $strings["discussions"] . "</option>\n\t\t<option value=\"members\" {$selectedMembers}>" . $strings["users"] . "</option>\n</select>\n</td></tr>\n<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td><input type=\"submit\" name=\"Save\" value=\"" . $strings["search"] . "\"></td></tr>";
$block7->closeContent();
$block7->closeForm();
示例5: array
} else {
$comptListOrganizations = 0;
}
if ($comptListOrganizations != '0') {
$block1->openResults();
$block1->labels($labels = array(0 => $strings['name'], 1 => $strings['phone'], 2 => $strings['url']), 'false');
for ($i = 0; $i < $comptListOrganizations; $i++) {
$block1->openRow($listOrganizations->org_id[$i]);
$block1->checkboxRow($listOrganizations->org_id[$i]);
$block1->cellRow(buildLink('../clients/viewclient.php?id=' . $listOrganizations->org_id[$i], $listOrganizations->org_name[$i], LINK_INSIDE));
$block1->cellRow($listOrganizations->org_phone[$i]);
$block1->cellRow(buildLink($listOrganizations->org_url[$i], $listOrganizations->org_url[$i], LINK_OUT));
$block1->closeRow();
}
$block1->closeResults();
$block1->bornesFooter("1", $blockPage->bornesNumber, "", "");
} else {
$block1->noresults();
}
$block1->headingForm_close();
$block1->closeFormResults();
$block1->openPaletteScript();
if ($_SESSION['profilSession'] == '0' || $_SESSION['profilSession'] == '1' || $_SESSION['profilSession'] == '5') {
$block1->paletteScript(0, 'add', '../clients/editclient.php?', 'true,false,false', $strings['add']);
$block1->paletteScript(1, 'remove', '../clients/deleteclients.php?', 'false,true,true', $strings['delete']);
}
$block1->paletteScript(2, 'info', '../clients/viewclient.php?', 'false,true,false', $strings['view']);
if ($_SESSION['profilSession'] == '0' || $_SESSION['profilSession'] == '1' || $_SESSION['profilSession'] == '5') {
$block1->paletteScript(3, 'edit', '../clients/editclient.php?', 'false,true,false', $strings['edit']);
}
$block1->closePaletteScript($comptListOrganizations, $listOrganizations->org_id);
示例6:
$block1->cellRow($blockPage->buildLink("../projects/viewproject.php?id=" . $listProjects->pro_id[$i], $listProjects->pro_name[$i], in));
$block1->cellRow("<img src=\"../themes/" . THEME . "/gfx_priority/" . $idPriority . ".gif\" alt=\"\"> " . $priority[$idPriority]);
$block1->cellRow($listProjects->pro_org_name[$i]);
$block1->cellRow($status[$idStatus]);
$block1->cellRow($blockPage->buildLink($listProjects->pro_mem_email_work[$i], $listProjects->pro_mem_login[$i], mail));
if ($sitePublish == "true") {
if ($listProjects->pro_published[$i] == "1") {
$block1->cellRow("<" . $blockPage->buildLink("../projects/addprojectsite.php?id=" . $listProjects->pro_id[$i], $strings["create"] . "...", in) . ">");
} else {
$block1->cellRow("<" . $blockPage->buildLink("../projects/viewprojectsite.php?id=" . $listProjects->pro_id[$i], $strings["details"], in) . ">");
}
}
$block1->closeRow();
}
$block1->closeResults();
$block1->bornesFooter("1", $blockPage->bornesNumber, "", "typeProjects={$typeProjects}");
} else {
$block1->noresults();
}
$block1->closeFormResults();
$block1->openPaletteScript();
if ($profilSession == "0" || $profilSession == "1" || $profilSession == "5") {
$block1->paletteScript(0, "add", "../projects/editproject.php?", "true,false,false", $strings["add"]);
$block1->paletteScript(1, "remove", "../projects/deleteproject.php?", "false,true,false", $strings["delete"]);
}
$block1->paletteScript(2, "info", "../projects/viewproject.php?", "false,true,false", $strings["view"]);
if ($profilSession == "0" || $profilSession == "1" || $profilSession == "5") {
$block1->paletteScript(3, "edit", "../projects/editproject.php?", "false,true,false", $strings["edit"]);
$block1->paletteScript(4, "copy", "../projects/editproject.php?docopy=true", "false,true,false", $strings["copy"]);
}
if ($enable_cvs == "true") {
示例7:
$block6->checkboxRow($listNotes->note_id[$i]);
$block6->cellRow(buildLink('../notes/viewnote.php?id=' . $listNotes->note_id[$i], $listNotes->note_subject[$i], LINK_INSIDE));
if ($comptTopic != '0') {
$block6->cellRow($topicNote[$listNotes->note_topic[$i]]);
}
$block6->cellRow($listNotes->note_date[$i]);
$block6->cellRow(buildLink($listNotes->note_mem_email_work[$i], $listNotes->note_mem_login[$i], LINK_MAIL));
if ($sitePublish == 'true') {
$block6->cellRow($statusPublish[$idPublish]);
} else {
$block6->cellRow(' ');
}
$block6->closeRow();
}
$block6->closeResults();
$block6->bornesFooter('4', $blockPage->bornesNumber, '../notes/listnotes.php?project=' . $id, 'id=' . $id);
} else {
$block6->noresults();
}
$block6->closeToggle();
$block6->closeFormResults();
$block6->openPaletteScript();
if ($teamMember == 'true' || $_SESSION['profilSession'] == '5') {
$block6->paletteScript(0, 'add', '../notes/editnote.php?project=' . $projectDetail->pro_id[0], 'true,true,true', $strings['add']);
$block6->paletteScript(1, 'remove', '../notes/deletenotes.php?project=' . $projectDetail->pro_id[0], 'false,true,true', $strings['delete']);
// $block6->paletteScript(2,'export','../projects/exportproject.php','false,true,true',$strings['export']);
if ($sitePublish == 'true') {
$block6->paletteScript(3, 'add_projectsite', '../projects/viewproject.php?addToSiteNote=true&project=' . $projectDetail->pro_id[0] . '&action=publish', 'false,true,true', $strings['add_project_site']);
$block6->paletteScript(4, 'remove_projectsite', '../projects/viewproject.php?removeToSiteNote=true&project=' . $projectDetail->pro_id[0] . '&action=publish', 'false,true,true', $strings['remove_project_site']);
}
}
示例8:
$block3->cellRow('<a href="../phases/viewphase.php?id=' . $listPhases->pha_id[$pha_id] . '">' . $listPhases->pha_name[$pha_id] . '</a>');
}
//--- assigned to -----
if ($listClosedTasks->tas_assigned_to[$i] == '0') {
$block3->cellRow($strings['unassigned']);
} else {
$block3->cellRow(buildLink($listClosedTasks->tas_mem_email_work[$i], $listClosedTasks->tas_mem_login[$i], LINK_MAIL));
}
//---- published ------
if ($sitePublish == 'true') {
$block3->cellRow($statusPublish[$idPublish]);
}
$block3->closeRow();
}
$block3->closeResults();
$block3->bornesFooter('1', $blockPage->bornesNumber, '../tasks/listtasks.php?project=' . $project, 'id=' . $project);
} else {
$block3->noresults();
}
$block3->closeToggle();
$block3->closeFormResults();
$block3->openPaletteScript();
if ($teamMember == 'true' || $_SESSION['profilSession'] == '5') {
$block3->paletteScript(0, 'add', '../tasks/edittask.php?project=' . $projectDetail->pro_id[0], 'true,false,false', $strings['add']);
$block3->paletteScript(1, 'remove', '../tasks/deletetasks.php?project=' . $projectDetail->pro_id[0], 'false,true,true', $strings['delete']);
$block3->paletteScript(2, 'copy', '../tasks/edittask.php?project=' . $projectDetail->pro_id[0] . '&cpy=true', 'false,true,false', $strings['copy']);
// $block3->paletteScript(3,'export','../projects/exportproject.php','false,true,true',$strings['export']);
if ($sitePublish == 'true') {
$block3->paletteScript(4, 'add_projectsite', '../projects/viewproject.php?addToSiteTask=true&project=' . $projectDetail->pro_id[0] . '&action=publish', 'false,true,true', $strings['add_project_site']);
$block3->paletteScript(5, 'remove_projectsite', '../projects/viewproject.php?removeToSiteTask=true&project=' . $projectDetail->pro_id[0] . '&action=publish', 'false,true,true', $strings['remove_project_site']);
}
示例9: array
$comptListTasks = DB_numrows($result);
if ($comptListTasks != "0") {
$block5->openResults();
$block5->labels($labels = array(0 => $strings["Subject"], 1 => $strings["Author"], 2 => $strings["lastUpdated"], 3 => $strings["Replies"]), "true");
for ($i = 0; $i < $comptListTasks; $i++) {
list($listForum->topic[$i], $parent, $listForum->subject[$i], $listForum->author[$i], $listForum->date[$i], $listForum->replies[$i]) = DB_fetchArray($result);
$block5->openRow();
$block5->checkboxRow($listForum->topic[$i]);
$block5->cellRow($blockPage->buildLink($_CONF['site_url'] . "/forum/viewtopic.php?forum=" . $A[fid] . "&showtopic=" . $listForum->topic[$i], $listForum->subject[$i], "in", 'Click to View Discussion'));
$block5->cellRow($listForum->author[$i]);
$block5->cellRow(strftime("%Y/%m/%d %H:%M", $listForum->date[$i]));
$block5->cellRow($listForum->replies[$i]);
$block5->closeRow();
}
$block5->closeResults();
$block5->bornesFooter("5", $blockPage->bornesNumber, "", "pid={$pid}");
} else {
$block5->noresults();
}
echo '<input type="hidden" name="pid" value="' . $pid . '">';
$block5->closeToggle();
$block5->closeFormResults();
if ($membertoken != 0) {
$block5->openPaletteScript();
$block5->paletteScript(0, "export", $_CONF['site_url'] . "/forum/createtopic.php?method=postreply&forum=" . $A[fid], "false,true,false", $strings["reply"]);
$block5->paletteScript(1, "add", $_CONF['site_url'] . "/forum/createtopic.php?method=newtopic&forum=" . $A[fid], "true,true,false", $strings["add"]);
$block5->closePaletteScript($comptListTasks, $listForum->topic);
}
}
if ($temptoken['teammember'] == '1') {
$p = new Template($_CONF['path_layout'] . 'nexproject/javascript');
示例10: buildLink
//--- status ---
$block1->cellRow('<img src="../themes/' . THEME . '/gfx_status/' . $idStatus . '.gif" alt="' . $status[$idStatus] . '"> ' . $status[$idStatus], '', true);
//--- owner ----
$block1->cellRow(buildLink($listProjects->pro_mem_email_work[$i], $listProjects->pro_mem_login[$i], LINK_MAIL), false, true);
//--- project-site ------
if ($sitePublish == 'true') {
if ($listProjects->pro_published[$i] == "1") {
$block1->cellRow('<' . buildLink('../projects/addprojectsite.php?id=' . $listProjects->pro_id[$i], $strings['create'] . '...', LINK_INSIDE) . '>', "8");
} else {
$block1->cellRow('<' . buildLink('../projects/viewprojectsite.php?id=' . $listProjects->pro_id[$i], $strings['details'], LINK_INSIDE) . '>', "8");
}
}
$block1->closeRow();
}
$block1->closeResults();
$block1->bornesFooter(1, $blockPage->bornesNumber, '', 'show=' . $show);
} else {
$block1->noresults();
}
$block1->closeFormResults();
$block1->headingForm_close();
//added
$block1->openPaletteScript();
if ($_SESSION['profilSession'] == 0 || $_SESSION['profilSession'] == 1 || $_SESSION['profilSession'] == 5) {
$block1->paletteScript(0, 'add', '../projects/editproject.php', 'true,false,false', $strings['add']);
$block1->paletteScript(1, 'remove', '../projects/deleteproject.php', 'false,true,false', $strings['delete']);
}
$block1->paletteScript(2, 'info', '../projects/viewproject.php', 'false,true,false', $strings['view']);
if ($_SESSION['profilSession'] == 0 || $_SESSION['profilSession'] == 1 || $_SESSION['profilSession'] == 5) {
$block1->paletteScript(3, 'edit', '../projects/editproject.php', 'false,true,false', $strings['edit']);
$block1->paletteScript(4, 'copy', '../projects/editproject.php?cpy=true', 'false,true,false', $strings['copy']);
示例11:
$block6->checkboxRow($listNotes->note_id[$i]);
$block6->cellRow($blockPage->buildLink("../notes/viewnote.php?id=" . $listNotes->note_id[$i], $listNotes->note_subject[$i], in));
if ($comptTopic != "0") {
$block6->cellRow($topicNote[$listNotes->note_topic[$i]]);
}
$block6->cellRow($listNotes->note_date[$i]);
$block6->cellRow($blockPage->buildLink($listNotes->note_mem_email_work[$i], $listNotes->note_mem_login[$i], mail));
if ($sitePublish == "true") {
$block6->cellRow($statusPublish[$idPublish]);
} else {
$block6->cellRow(" ");
}
$block6->closeRow();
}
$block6->closeResults();
$block6->bornesFooter("4", $blockPage->bornesNumber, "../notes/listnotes.php?project={$id}&", "id={$id}");
} else {
$block6->noresults();
}
$block6->closeToggle();
$block6->closeFormResults();
$block6->openPaletteScript();
if ($teamMember == "true" || $profilSession == "5") {
$block6->paletteScript(0, "add", "../notes/editnote.php?project=" . $projectDetail->pro_id[0] . "", "true,true,true", $strings["add"]);
$block6->paletteScript(1, "remove", "../notes/deletenotes.php?project=" . $projectDetail->pro_id[0] . "", "false,true,true", $strings["delete"]);
//$block6->paletteScript(2,"export","../projects/exportproject.php?","false,true,true",$strings["export"]);
if ($sitePublish == "true") {
$block6->paletteScript(3, "add_projectsite", "../projects/viewproject.php?addToSiteNote=true&project=" . $projectDetail->pro_id[0] . "&action=publish", "false,true,true", $strings["add_project_site"]);
$block6->paletteScript(4, "remove_projectsite", "../projects/viewproject.php?removeToSiteNote=true&project=" . $projectDetail->pro_id[0] . "&action=publish", "false,true,true", $strings["remove_project_site"]);
}
}