SMF Development > Portals, Bridges, and Integrations
ช่วยผมที ปิดsub_boardไม่ได้
TinaCat:
งั้นรอท่านอื่นมาตอบให้นะคะ :P
น้ำพริก:
คร๊าบผม ขอบคุณครับ
HackPro:
ผมว่าโค้ดของเจ้ถูกแล้วอ่ะครับ
ลองรีมาร์คโดยใช้เครื่องหมาย //
หน้าบรรทัดแทน
ตั้งแต่บรรทัดหมายเลข 165 ถึง 184
ใช้ Edit+ เปิด จะได้ดูโค้ดได้ง่าย
Mr.Hackalot:
ช่วยแก้ให้ครับ
--- โค้ด: --- // Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...)
/*
if (!empty($board['children']))
{
// Sort the links into an array with new boards bold so it can be imploded.
$children = array();
*/
/* Each child in each board's children has:
id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */
/*
foreach ($board['children'] as $child)
{
$child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
$children[] = $child['new'] ? '<b>' . $child['link'] . '</b>' : $child['link'];
}
echo '
<tr>
<td colspan="3" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
<span class="smalltext"><b>', $txt['parent_boards'], '</b>: ', implode(', ', $children), '</span>
</td>
</tr>';
}*/
--- ปิดโค้ด ---
ยังไม่ได้ลองทีนะครับ
น้ำพริก:
เรียบร้อยครับ ตามรูปเลย ???
--- อ้างจาก: HackPro ที่ 9/01/06, 18:10:08 ---ผมว่าโค้ดของเจ้ถูกแล้วอ่ะครับ
ลองรีมาร์คโดยใช้เครื่องหมาย //
หน้าบรรทัดแทน
ตั้งแต่บรรทัดหมายเลข 165 ถึง 184
ใช้ Edit+ เปิด จะได้ดูโค้ดได้ง่าย
--- ปิดอ้างถึง ---
[ไฟล์แนบถูกลบโดยผู้ดำเนินการ]
นำร่อง
[0] ดัชนีข้อความ
[#] หน้าถัดไป
[*] หน้าที่แล้ว
ไปที่เวอร์ชันเต็ม