| ############################################################################### |
| ############################################################################### |
| # MessageIndex.template # |
| # default.MessageIndex.template # |
| ############################################################################### |
| ############################################################################### |
| # YaBB: Yet another Bulletin Board # |
| # YaBB: Yet another Bulletin Board # |
| # Open-Source Community Software for Webmasters # |
| # Open-Source Community Software for Webmasters # |
| # Version: YaBB 2.5.2 # |
| # Version: YaBB 2.6.12 # |
| # Packaged: October 21, 2012 # |
| # Packaged: January 5, 2016 # |
| # Distributed by: http://www.yabbforum.com # |
| # Distributed by: http://www.yabbforum.com # |
| # =========================================================================== # |
| # =========================================================================== # |
| # Copyright (c) 2000-2009 YaBB (www.yabbforum.com) - All Rights Reserved. # |
| # Copyright (c) 2000-2016 YaBB (www.yabbforum.com) - All Rights Reserved. # |
| # Software by: The YaBB Development Team # |
| # Software by: The YaBB Development Team # |
| # with assistance from the YaBB community. # |
| # with assistance from the YaBB community. # |
| # Sponsored by: Xnull Internet Media, Inc. - http://www.ximinc.com # |
| |
| # Your source for web hosting, web design, and domains. # |
| |
| ############################################################################### |
| ############################################################################### |
| # $Revision: 1.16 $ |
| $messageindextemver = 'YaBB 2.6.12 $Revision: 1651 $'; |
| |
| |
| LoadLanguage("BoardIndex"); |
| LoadLanguage('BoardIndex'); |
| |
| |
| $topichandellist = qq~{yabb new post button} {yabb new poll button} {yabb notify button} {yabb markall button}~; |
| # When thread tools is turned off, these two lists will be combined to display the buttons in the order shown |
| |
| # When thread tools is on $outside_threadtools will show buttons normally, while the handle list will show in the thread tools' dropdown |
| |
| # $outsidde_ttsep will act as a separator between the buttons outside thread tools. |
| |
| |
| if (!$ShowBDescrip && $action ne "favorites") { |
| $outside_threadtools = qq~{yabb new post button}{yabb new poll button}~; |
| $messageindex_template .= qq~ |
| $outside_ttsep = q~~; |
| |
| $my_ttsep = $menusep; |
| |
| |
| <!-- Board Moderators start --> |
| |
| |
| |
| <div class="navbarcontainer"> |
| |
| <table width="100%" border="0"> |
| |
| <tr> |
| |
| <td align="left"> |
| |
| <div class="small">{yabb moderators}</div> |
| |
| </td> |
| |
| </tr> |
| |
| </table> |
| |
| </div> |
| |
| |
| |
| <!-- Board Moderators end --> |
| |
| |
| |
| |
| |
| ~; |
| $topichandellist = qq~{yabb notify button}{yabb markall button}~; |
| |
| if($useThreadtools == 1) { |
| |
| $threadhandelstyle = qq~ class="post_tools center" style="width:10em"~; |
| |
| $threadhandelstyle2 = qq~ class="post_tools center" style="width:10em"~; |
| } |
| } |
| else { |
| else { |
| $messageindex_template .= qq~ |
| $threadhandelstyle = qq~ class="right"~; |
| |
| $threadhandelstyle2 = qq~ class="right"~; |
| |
| } |
| <!-- Board Description start --> |
| $bdpicExt = 'png'; |
| |
| $brdpicwidth = ($max_brd_img_width || 50) + 20; |
| <table cellpadding="4" cellspacing="1" border="0" width="100%" class="bordercolor"> |
| $hoveron = 'tpon.gif'; |
| <tr> |
| $hoveroff = 'tpoff.gif'; |
| <td class="windowbg" width="6%" align="center" valign="middle"> |
| $brd_notify_img = 'notify.gif'; |
| {yabb bdpicture} |
| $actionlock = 'actionslock.png'; |
| </td> |
| |
| <td class="windowbg" width="78%" align="left" valign="middle"> |
| if (!$messagelist) { |
| {yabb board}<br /> |
| if (!$ShowBDescrip && $action ne 'favorites') { |
| {yabb description} |
| $messageindex_template .= qq~ |
| <div class="small" style="font-style:italic;">{yabb moderators}</div> |
| <!-- Board Moderators start --> |
| </td> |
| <div class="navbarcontainer"> |
| <td class="windowbg" valign="middle" align="center" width="16%"> |
| <table> |
| <span class="small"> |
| <tr> |
| $boardindex_txt{'330'}: {yabb threadcount}<br /> |
| <td class="small">{yabb moderators}</td> |
| $boardindex_txt{'21'}: {yabb messagecount} |
| </tr> |
| </span> |
| </table> |
| </td> |
| </div> |
| </tr> |
| <!-- Board Moderators end --> |
| </table> |
| ~; |
| <br /> |
| } |
| |
| else { |
| |
| $messageindex_template .= qq~<!-- Board Description start --><!-- Default Board Graphics courtesy of http://www.shapes4free.com/ --> |
| |
| <table class="bordercolor pad_4px cs_thin" style="margin-bottom: 15px;"> |
| |
| <colgroup> |
| |
| <col style="width:${brdpicwidth}px" /> |
| |
| <col style="width:auto" /> |
| |
| <col style="width:16%" /> |
| |
| </colgroup> |
| |
| <tr> |
| |
| <td class="windowbg center">{yabb bdpicture}</td> |
| |
| <td class="windowbg">{yabb board} |
| |
| <br />{yabb description} |
| |
| <div class="small" style="font-style:italic;">{yabb moderators}</div> |
| |
| </td> |
| |
| <td class="windowbg center small"> |
| |
| <span class="bold">$boardindex_txt{'330'}:</span> {yabb threadcount} |
| |
| <br /> |
| |
| <span class="bold">$boardindex_txt{'21'}:</span> {yabb messagecount} |
| |
| </td> |
| |
| </tr> |
| |
| </table> |
| <!-- Board Description end --> |
| <!-- Board Description end --> |
| |
| {yabb new_load}~; |
| |
| } |
| |
| if (${$uid.$currentboard}{'rules'} == 1) { |
| |
| $messageindex_template .= qq~ |
| |
| <!-- Board Rules start --> |
| |
| <table class="tabtitle pad_3px"> |
| |
| <tr> |
| |
| <td>{yabb rulestitle}</td> |
| |
| </tr> |
| |
| </table> |
| |
| <table class="pad_3px" style="margin-bottom: 15px;"> |
| |
| <tr> |
| |
| <td class="windowbg">{yabb rulesdescription}</td> |
| |
| </tr> |
| |
| </table> |
| |
| <!-- Board Rules end --> |
| ~; |
| ~; |
| |
| } |
| } |
| } |
| |
| |
| if ($action ne "favorites") { |
| if ($action ne 'favorites') { |
| $messageindex_template .= qq~ |
| $messageindex_template .= qq~ |
| |
| |
| |
| |
| <!-- Button Bar start --> |
| <!-- Button Bar start --> |
| |
| {yabb modupdate} |
| <table cellpadding="4" cellspacing="1" border="0" width="100%" class="bordercolor"> |
| <table class="tabtitle"> |
| |
| <tr> |
| <tr> |
| ~; |
| <td class="catbg"> |
| if ($messagelist) { |
| <div style="float: left; width: 25%;"> |
| $messageindex_template .= qq~ |
| {yabb pageindex top} |
| <td style="padding-left: 7px;">{yabb pageindex top}</td> |
| </div> |
| <td class="post_tools_a right" style="padding:4px 10px 4px 4px"> |
| <div class="small" style="float: left; width: 74%; text-align: right;"> |
| <div style="float:right">{yabb outsidethreadtools}</div> |
| {yabb topichandellist} |
| </td> |
| </div> |
| <td$threadhandelstyle> |
| </td> |
| {yabb topichandellist} |
| </tr> |
| </td> |
| </table> |
| <td style="width:1%"> </td> |
| |
| ~; |
| <!-- Button Bar end --> |
| } |
| |
| else { |
| |
| $messageindex_template .= qq~ |
| ~; |
| <td style="padding:4px 4px 4px 7px;">{yabb pageindex top}</td> |
| |
| <td class="post_tools_a right" style="padding:4px 10px 4px 4px"> |
| |
| <div style="float:right">{yabb outsidethreadtools}</div> |
| |
| </td> |
| |
| <td$threadhandelstyle>{yabb topichandellist}</td> |
| |
| <td style="width:1%"> </td> |
| |
| ~; |
| |
| } |
| |
| |
| |
| $messageindex_template .= qq~ |
| |
| </tr> |
| |
| </table> |
| |
| <!-- Button Bar end -->~; |
| } |
| } |
| $messageindex_template .= qq~ |
| $messageindex_template .= qq~ |
| {yabb modupdate} |
| <table class="bordercolor pad_3px cs_thin"> |
| <table cellpadding="3" cellspacing="1" border="0" width="100%" class="bordercolor"> |
| <tr class="titlebg message-sort"> |
| <tr> |
| <td class="center" style="width:8%" colspan="2">{yabb topicpreview}</td> |
| <td class="titlebg" width="8%" colspan="2" align="center"> |
| <td style="width:42%"><span style="white-space: nowrap;">{yabb sortsubject} / {yabb sortstarter}</span></td> |
| |
| <td class="center" style="width:10%"><span style="white-space: nowrap;">{yabb sortanswer}</span></td> |
| </td> |
| <td class="center" style="width:10%">$messageindex_txt{'301'}</td> |
| <td class="titlebg" width="32%" align="left"> |
| <td class="center" style="width:24%"><span style="white-space: nowrap;">{yabb sortlastpostim}</span></td> |
| $messageindex_txt{'70'} |
| {yabb admin column} |
| </td> |
| </tr> |
| <td class="titlebg" width="14%" align="center"> |
| {yabb stickyblock} |
| $messageindex_txt{'109'} |
| {yabb threadblock} |
| </td> |
| {yabb adminfooter} |
| <td class="titlebg" width="8%" align="center"> |
| </table> |
| $messageindex_txt{'110'} |
| ~; |
| </td> |
| |
| <td class="titlebg" width="8%" align="center"> |
| if ($action ne 'favorites') { |
| $messageindex_txt{'301'} |
| $messageindex_template .= qq~<!-- Button Bar start --> |
| </td> |
| <table class="tabtitle-bottom"> |
| <td class="titlebg" width="22%" align="center"> |
| <tr> |
| $messageindex_txt{'22'} |
| <td style="padding:4px 4px 4px 7px;"> |
| </td> |
| {yabb pageindex bottom} |
| {yabb admin column} |
| </td> |
| </tr> |
| <td class="post_tools_a right" style="padding:4px 10px 4px 4px"> |
| {yabb stickyblock} |
| <div style="width: 100%; text-align: right">{yabb outsidethreadtools}</div> |
| {yabb threadblock} |
| </td> |
| {yabb adminfooter} |
| <td$threadhandelstyle2> |
| </table> |
| {yabb topichandellist2} |
| {yabb modupdateend} |
| </td> |
| ~; |
| <td style="width:1%"> </td> |
| |
| </tr> |
| if ($action ne "favorites") { |
| </table> |
| $messageindex_template .= qq~ |
| {yabb modupdateend} |
| |
| |
| <!-- Button Bar start --> |
| |
| |
| |
| <table cellpadding="4" cellspacing="1" border="0" width="100%" class="bordercolor"> |
| |
| <tr> |
| |
| <td class="catbg"> |
| |
| <div style="float: left; width: 25%;"> |
| |
| {yabb pageindex bottom} |
| |
| </div> |
| |
| <div class="small" style="float: left; width: 74%; text-align: right;"> |
| |
| {yabb topichandellist} |
| |
| </div> |
| |
| </td> |
| |
| </tr> |
| |
| </table> |
| |
| |
| |
| <!-- Button Bar end --> |
| <!-- Button Bar end --> |
| |
| ~; |
| |
| |
| |
| $messageindex_template .= $messagelist ? q{} : qq~ |
| <!-- Icon and access info start --> |
| <!-- Icon and access info start --> |
| |
| <table class="pad_8px board-perms"> |
| <table width="100%" cellspacing="0" cellpadding="8"> |
| <colgroup> |
| <tr> |
| <col style="width:28%" /> |
| <td width="28%" valign="top"> |
| <col style="width:38%" /> |
| <span class="small">{yabb icons}</span> |
| <col style="width:33%" /> |
| </td> |
| </colgroup> |
| <td width="38%" valign="top"> |
| <tr> |
| <span class="small">{yabb admin icons}</span> |
| <td class="vtop"> |
| </td> |
| <span class="small">{yabb icons}</span> |
| <td width="33%" valign="top"> |
| </td> |
| <span class="small">{yabb access}</span> |
| <td class="vtop"> |
| </td> |
| <span class="small">{yabb admin icons}</span> |
| </tr> |
| </td> |
| </table> |
| <td class="vtop"> |
| |
| <span class="small">{yabb access}</span> |
| |
| </td> |
| |
| </tr> |
| |
| </table> |
| <!-- Icon and access info end --> |
| <!-- Icon and access info end --> |
| ~; |
| ~; |
| } |
| } |
| |
| |
| if ($action eq "favorites") { |
| if ($action eq "favorites") { |
| $messageindex_template .= qq~ |
| $messageindex_template .= qq~<!-- Icon and access info start --> |
| <!-- Icon and access info start --> |
| <table class="pad_8px"> |
| |
| <colgroup> |
| <table width="100%" cellspacing="0" cellpadding="8"> |
| <col style="width:35%" /> |
| <tr> |
| <col style="width:65%" /> |
| <td width="35%" valign="top"> |
| </colgroup> |
| <span class="small">{yabb icons}</span> |
| <tr> |
| </td> |
| <td class="vtop"> |
| <td valign="top"> |
| <span class="small">{yabb icons}</span> |
| <span class="small">{yabb admin icons}</span> |
| </td> |
| </td> |
| <td class="vtop"> |
| </tr> |
| <span class="small">{yabb admin icons}</span> |
| </table> |
| </td> |
| |
| </tr> |
| |
| </table> |
| <!-- Icon and access info end --> |
| <!-- Icon and access info end --> |
| ~; |
| ~; |
| } |
| } |
| |
| |
| # Board description # |
| # Board description # |
| |
| |
| $boarddescription = qq~ |
| $boarddescription = qq~ |
| <span class="small">{yabb boarddescription}</span> |
| <span class="small">{yabb boarddescription}</span> |
| ~; |
| ~; |
| |
| |
| |
| |
| # Column Header definition for multi admin # |
| # Column Header definition for multi admin # |
| |
| |
| $adminheader = qq~ |
| $adminheader = qq~<td class="center" style="white-space: nowrap">{yabb admin}</td>~; |
| <td class="titlebg" width="20%" align="center" nowrap="nowrap">{yabb admin}</td> |
| |
| ~; |
| |
| |
| |
| # Column definition for multi admin # |
| # Column definition for multi admin # |
| |
| |
| $admincolumn = qq~ |
| $admincolumn = qq~<td class="center" style="white-space: nowrap">{yabb admin}</td>~; |
| <td class="windowbg" width="20%" align="center" nowrap="nowrap">{yabb admin}</td> |
| |
| ~; |
| |
| |
| |
| # Sticky or global announcements header # |
| # Sticky or global announcements header # |
| |
| |
| $stickyheader = qq~ |
| $stickyheader = qq~<tr> |
| <tr> |
| <td colspan="{yabb colspan}" class="catbg"> $messageindex_stickygrp{'1'}</td> |
| <td colspan="{yabb colspan}" class="catbg"> $messageindex_stickygrp{'1'}</td> |
| </tr>~; |
| </tr> |
| |
| ~; |
| |
| |
| |
| # Non sticky or global announcements header# |
| # Non sticky or global announcements header# |
| |
| |
| $nonstickyheader = qq~ |
| $nonstickyheader = qq~<tr> |
| <tr> |
| <td colspan="{yabb colspan}" class="catbg"> $messageindex_stickygrp{'2'}</td> |
| <td colspan="{yabb colspan}" class="catbg"> $messageindex_stickygrp{'2'}</td> |
| </tr>~; |
| </tr> |
| |
| ~; |
| |
| |
| |
| # Thread bar # |
| # Thread bar # |
| |
| |
| $threadbar = qq~ |
| $threadbar = qq~<tr class="{yabb altthdcolor}"> |
| <tr> |
| <td class="center">{yabb threadpic}</td> |
| <td class="windowbg2" valign="middle" align="center" width="4%">{yabb threadpic}</td> |
| <td class="center">{yabb icon}</td> |
| <td class="windowbg2" valign="middle" align="center" width="4%">{yabb icon}</td> |
| <td> |
| <td class="windowbg" valign="middle" align="left" width="32%"> |
| <div style="float: left; width: 95%;"> |
| <div style="float: left; width: 95%;">{yabb favorite} {yabb new} {yabb poll}<b>{yabb subjectlink}</b>{yabb pages}<br /><span class="small">{yabb permalink}</span></div> |
| {yabb favorite} |
| <div style="float: left; width: 5%; text-align: center;">{yabb attachmenticon}</div> |
| {yabb new} |
| </td> |
| {yabb poll} |
| <td class="windowbg2" valign="middle" align="center" width="14%"><span class="small">{yabb starter}</span></td> |
| {yabb subjectlink} |
| <td class="windowbg" valign="middle" align="center" width="8%">{yabb replies}</td> |
| <br /><span class="small">$messageindex_txt{'527'} {yabb starttime} $messageindex_txt{'526'} {yabb starter}{yabb pages}<br />{yabb permalink}</span> |
| <td class="windowbg" valign="middle" align="center" width="8%">{yabb views}</td> |
| </div> |
| <td class="windowbg2" valign="middle" align="left" width="22%"> |
| <div style="float: left; width: 5%; text-align: center;">{yabb attachmenticon}</div> |
| <span class="small"> |
| </td> |
| {yabb lastpostlink}<br /> |
| <td class="center">{yabb replies}</td> |
| <b>$messageindex_txt{'525'}:</b> {yabb lastposter}</span></td> |
| <td class="center">{yabb views}</td> |
| {yabb admin column} |
| <td> |
| </tr> |
| <span class="small"> |
| ~; |
| {yabb lastpostlink}<br /> |
| |
| <b>$messageindex_txt{'525'}:</b> {yabb lastposter}</span></td> |
| $threadbarMoved = qq~ |
| {yabb admin column} |
| <tr> |
| </tr>~; |
| <td class="windowbg2" valign="middle" align="center" width="4%">{yabb threadpic}</td> |
| |
| <td class="windowbg2" valign="middle" align="center" width="4%">{yabb icon}</td> |
| $threadbarMoved = qq~<tr class="{yabb altthdcolor}"> |
| <td class="windowbg" colspan="5" valign="middle" align="left" width="62%"> |
| <td class="center">{yabb threadpic}</td> |
| <div style="float: left; width: 99%;">{yabb subjectlink}</div> |
| <td class="center">{yabb icon}</td> |
| </td> |
| <td colspan="4"> |
| {yabb admin column} |
| <div style="float: left; width: 99%;">{yabb subjectlink}</div> |
| </tr> |
| </td> |
| ~; |
| {yabb admin column} |
| |
| </tr>~; |
| |
| |
| # Admin dependent subfooter # |
| # Admin dependent subfooter # |
| |
| |
| $subfooterbar = qq~ |
| $subfooterbar = qq~<tr> |
| <tr> |
| <td class="titlebg right" colspan="6"> |
| <td class="titlebg" valign="middle" align="right" colspan="7"> |
| <span class="small">{yabb admin selector} <label for="checkall">$messageindex_txt{'737'}</label></span> |
| <span class="small">{yabb admin selector} <label for="checkall">$messageindex_txt{'737'}</label></span> |
| </td> |
| </td> |
| <td class="titlebg center" style="white-space: nowrap"> |
| <td class="titlebg" valign="middle" align="center" nowrap="nowrap"> |
| {yabb admin checkboxes} |
| {yabb admin checkboxes} |
| </td> |
| </td> |
| </tr>~; |
| </tr> |
| |
| |
| $brd_tmptempbar = qq~<tr> |
| |
| <td class="windowbg2 center" colspan="{yabb colspan}"><br />$messageindex_txt{'841'}<br /><br /></td> |
| |
| </tr>~; |
| |
| |
| |
| $msg_attach_win = qq~<a href="javascript:void(window.open('$scripturl?action=viewdownloads;thread={yabb mnum}','_blank','width=818,height=650,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,top=150,left=150'))">~; |
| |
| |
| |
| # Board Notification # |
| |
| |
| |
| $brd_notify = qq~ |
| |
| <form action="$scripturl?action=boardnotify3;board={yabb currentboard}" method="post"> |
| |
| <table class="tabtitle" style="width:600px"> |
| |
| <colgroup> |
| |
| <col style="width:70%" /> |
| |
| <col style="width:30%" /> |
| |
| </colgroup> |
| |
| <tr> |
| |
| <td style="padding-left:10px"> |
| |
| <img src="$imagesdir/$brd_notify_img" alt="$notify_txt{'136'} - {yabb boardname}" title="$notify_txt{'136'} - {yabb boardname}" /> <b>$notify_txt{'136'} - {yabb boardname}</b> |
| |
| </td> |
| |
| </tr> |
| |
| </table> |
| |
| <table class="pad_4px cs_thin" style="width:600px"> |
| |
| <colgroup> |
| |
| <col style="width:70%" /> |
| |
| <col style="width:30%" /> |
| |
| </colgroup> |
| |
| <tr> |
| |
| <td class="windowbg" style="padding:1em 4px">{yabb my_delopt}</td> |
| |
| <td class="windowbg"> |
| |
| <select name="{yabb currentboard}"> |
| |
| <option value="1"{yabb selected1}>$notify_txt{'132'}</option> |
| |
| <option value="2"{yabb selected2}>$notify_txt{'133'}</option> |
| |
| {yabb deloption} |
| |
| </select> |
| |
| </td> |
| |
| </tr><tr> |
| |
| <td class="catbg center" colspan="2"> |
| |
| <input type="submit" value="$notify_txt{'124'}" class="button" /> |
| |
| </td> |
| |
| </tr> |
| |
| </table> |
| |
| </form>~; |
| |
| |
| |
| #list pages popup |
| |
| |
| |
| $msg_listpages = |
| |
| qq~<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="$abbr_lang" lang="$abbr_lang"> |
| |
| <head> |
| |
| <meta http-equiv="Content-Type" content="text/html; charset=$yymycharset" /> |
| |
| <title>$messageindex_txt{'139'} $messageindex_txt{'18'}</title> |
| |
| <link rel="stylesheet" href="$yyhtml_root/Templates/Forum/$usestyle.css" type="text/css" /> |
| |
| </head> |
| |
| <body style="min-width: 350px;"> |
| |
| <script type="text/javascript"> |
| |
| function opp_page(tid,pid) { |
| |
| opener.location= "$scripturl?{yabb jcode}" + tid + "/" + pid; |
| |
| self.close(); |
| |
| } |
| |
| </script> |
| |
| <table class="tabtitle"> |
| |
| <tr> |
| |
| <td class="center">$messageindex_txt{'139'} $messageindex_txt{'18'}</td> |
| |
| </tr> |
| |
| </table> |
| |
| <table class="pad_4px cs_thin"> |
| |
| <tr> |
| |
| <td class="windowbg center" style="padding:4px 10px"> |
| |
| <p>« $messageindex_txt{'139'} {yabb pages} »</p> |
| |
| </td> |
| |
| </tr><tr> |
| |
| <td class="catbg center"><a href="javascript: window.close();">$messageindex_txt{'903'}</a></td> |
| |
| </tr> |
| |
| </table> |
| |
| </body> |
| |
| </html>~; |
| |
| |
| |
| #pagedrop (in javascript) |
| |
| |
| |
| $visel_0 = q~<table class="pad_0"><tr>~; |
| |
| $visel_1a = q~<td class="titlebg pages">~; |
| |
| $visel_1b = q~</td>~; |
| |
| $visel_2a = q~<td class="droppages pages">~; |
| |
| $visel_3a = q~<td class="small" style="height: 14px; padding-left: 4px;">~; |
| |
| $visel_4 = q~</tr></table>~; |
| |
| |
| |
| |
| |
| $boardpassw = qq~ |
| |
| <table class="tabtitle pad_3px" style="width: 80%;"> |
| |
| <tr> |
| |
| <td><img src="$imagesdir/$actionlock" alt="" /> <b>$maintxt{'900pw'}: $boardname</b></td> |
| |
| </tr> |
| |
| </table> |
| |
| <table class="bordercolor pad_4px" style="width: 80%;"> |
| |
| <tr> |
| |
| <td class="windowbg center"> |
| |
| <form action="$scripturl?action=checkboardpw" method="post" name="brdpass" onsubmit="return CheckPassField();"> |
| |
| <input type="hidden" name="pswviewnum" value="$viewnum" /> |
| |
| <input type="hidden" name="pswcurboard" value="$currentboard" /> |
| |
| <input type="password" name="boardpw" value="" size="25" /> |
| |
| <input type="submit" value="$maintxt{'900s'}" class="button" /> |
| |
| </form> |
| |
| </td> |
| |
| </tr> |
| |
| </table> |
| |
| <script type="text/javascript"> |
| |
| document.brdpass.boardpw.focus(); |
| |
| |
| |
| function CheckPassField() { |
| |
| if (document.brdpass.boardpw.value == '') { |
| |
| alert("$maintxt{'900pe'}"); |
| |
| document.brdpass.boardpw.focus(); |
| |
| return false; |
| |
| } |
| |
| return true; |
| |
| } |
| |
| </script> |
| |
| <div class="center" style="margin-top: 1em;"><a href="javascript:history.go(-1)">$maintxt{'900b'}</a></div> |
| ~; |
| ~; |
| |
| |
| |
| $boardpassw_g = qq~ |
| |
| <table class="tabtitle pad_3px" style="width: 80%;"> |
| |
| <tr> |
| |
| <td><img src="$imagesdir/$actionlock" alt="" /> <b>$maintxt{'900pw'}: $boardname</b></td> |
| |
| </tr> |
| |
| </table> |
| |
| <table class="bordercolor pad_4px" style="width: 80%;"> |
| |
| <tr> |
| |
| <td class="windowbg center"> |
| |
| <p>$maintxt{'900pg'}</p> |
| |
| </td> |
| |
| </tr> |
| |
| </table> |
| |
| <div class="center" style="margin-top: 1em;"><a href="javascript:history.go(-1)">$maintxt{'900b'}</a></div>~; |
| 1; |
| 1; |