Page Index Toggle Pages: 1 [2] 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) Now on HTML5 (Read 29830 times)
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #23 - Oct 21st, 2014 at 9:04pm
Print Post  
Code
Select All
Index: Search.template
===================================================================
--- Search.template	(revision 1583)
+++ Search.template	(working copy)
@@ -3,7 +3,7 @@
 ###############################################################################
 # YaBB: Yet another Bulletin Board                                            #
 # Open-Source Community Software for Webmasters                               #
-# Version:        YaBB 2.6.1                                                  #
+# Version:        YaBB 2.6.2                                                  #
 # Packaged:       September 1, 2014                                           #
 # Distributed by: http://www.yabbforum.com                                    #
 # =========================================================================== #
@@ -16,12 +16,9 @@
 $search_img = 'search.png';

 $mysearch_template = qq~
-<table class="tabtitle pad_3px">
-    <tr>
-        <td><img src="$imagesdir/$search_img" alt="" /> $search_txt{'183'}</td>
-    </tr>
-</table>
-<table class="bordercolor pad_4px cs_thin" >
+<div style="width:90em; margin:0 auto">
+<div class="tabtitle" style="padding-left:1%; margin-top:1em; line-height:3em; vertical-align:bottom"><img src="$imagesdir/$search_img" alt="" /> $search_txt{'183'}</div>
+<table class="bordercolor pad_4px" style="border-spacing: 0 1px; border-collapse:separate">
     <colgroup>
         <col style="width:45%" />
         <col style="width:55%" />
@@ -28,7 +25,7 @@
     </colgroup>
     <tr>
         <td class="windowbg right vtop"><label for="search"><b>$search_txt{'582'}:</b></label></td>
-        <td class="windowbg2 padd_2px">
+        <td class="windowbg padd_2px">
             <input type="text" size="30" name="search" id="search" /> <label for="searchtype">$search_txt{'582'}</label>
             <select name="searchtype" id="searchtype">
                 <option value="allwords" selected="selected">$search_txt{'343'}</option>
@@ -45,15 +42,15 @@
         <td class="windowbg right vtop">
             <b>$search_txt{'583'}:</b>
         </td>
-        <td class="windowbg2">
+        <td class="windowbg">
             <div style="padding: 4px 0;">
-            <input type="text" size="30" style="width: 220px; padding-left: 3px;" name="userspectext" id="userspectext" value="" readonly="readonly" />
-            <input type="button" class="button" id="usrsel" style="border-left: 0; display: inline;" value="$searchselector_txt{'select'}" onclick="javascript:addUser();" />
-            <input type="button" class="button" id="usrrem" style="border-left: 0; display: none;" value="$searchselector_txt{'remove'}" onclick="javascript:removeUser();" />
+				<input type="text" size="30" style="width: 220px; padding-left: 3px;" name="userspectext" id="userspectext" value="" readonly="readonly" />
+				<input type="button" class="button" id="usrsel" style="border-left: 0; display: inline;" value="$searchselector_txt{'select'}" onclick="javascript:addUser();" />
+				<input type="button" class="button" id="usrrem" style="border-left: 0; display: none;" value="$searchselector_txt{'remove'}" onclick="javascript:removeUser();" />
             ~;

 $mysearch_template3 = qq~
-            <input type="hidden" name="userspec" id="userspec" value="" />
+				<input type="hidden" name="userspec" id="userspec" value="" />
             </div>
             <div style="padding: 4px 0;">
             <select name="userkind" id="userkind">
@@ -69,13 +66,13 @@
         </td>
     </tr><tr>
         <td class="windowbg right vtop"><b>$search_txt{'189'}:</b><br /><span class="small">$search_txt{'190'}</span></td>
-        <td class="windowbg2" >~;
+        <td class="windowbg" >~;

 $mysearch_template5 = qq~
         </td>
     </tr><tr>
         <td class="windowbg right"><b>$search_txt{'573'}:</b></td>
-        <td class="windowbg2">
+        <td class="windowbg">
             <input type="checkbox" name="subfield" id="subfield" value="on" checked="checked" /><label for="subfield"> $search_txt{'70'}</label> &nbsp;
             <input type="checkbox" name="msgfield" id="msgfield" value="on" checked="checked" /><label for="msgfield"> $search_txt{'72'}</label>
             {yabb search_ip}
@@ -82,7 +79,7 @@
         </td>
     </tr><tr>
         <td class="windowbg right"><label for="age"><b>$search_txt{'1'}</b></label></td>
-        <td class="windowbg2">
+        <td class="windowbg">
             <select name="age" id="age">
                 <option value="7" selected="selected">$search_txt{'2'}</option>
                 <option value="31">$search_txt{'3'}</option>
@@ -93,16 +90,16 @@
         </td>
     </tr><tr>
         <td class="windowbg right"><label for="numberreturned"><b>$search_txt{'191'}</b><br /><span class="small">$search_txt{'191b'}</span></label></td>
-        <td class="windowbg2"><input type="text" size="5" name="numberreturned" id="numberreturned" maxlength="5" value="{yabb maxsearchdisplay}" /></td>
+        <td class="windowbg"><input type="text" size="5" name="numberreturned" id="numberreturned" maxlength="5" value="{yabb maxsearchdisplay}" /></td>
     </tr><tr>
         <td class="windowbg right"><label for="oneperthread"><b>$search_txt{'191a'}</b></label></td>
-        <td class="windowbg2"><input type="checkbox" name="oneperthread" id="oneperthread" value="1"/></td>
+        <td class="windowbg"><input type="checkbox" name="oneperthread" id="oneperthread" value="1"/></td>
     </tr><tr>
         <td class="catbg center" style="padding: 8px;" colspan="2">
             <input type="submit" value="$search_txt{'182'}" class="button" />
         </td>
     </tr>
-</table></form>~;
+</table></div></form>~;

 $mysearch_template6 =
   qq~<table class="tabtitle" style="table-layout: fixed;">
@@ -117,7 +114,7 @@
 $mysearch_template7 = qq~</td>
     </tr>
 </table>
-<table class="pad_3px" style="table-layout: fixed;">
+<table class="pad_3px fixed">
     <tr class="titlebg search">
         <td>$search_txt{'109'} {yabb tname} | $search_txt{'105'} $search_txt{'525'} {yabb mname}</td>
         <td class="right">&nbsp;~;
@@ -125,7 +122,7 @@
 $mysearch_template9 = q~
         </td>
     </tr><tr>
-        <td class="windowbg2 vtop h_80px" colspan="2">
+        <td class="windowbg vtop h_80px" colspan="2">
             <div class="message" style="float: left; width: 99%; overflow: auto;">{yabb message}</div>
             <div class="right" style="float: left; width: 99%; overflow: auto;">{yabb my_ipfind}</div>
         </td>
@@ -138,7 +135,7 @@
 ~;

 $mysearch_PM = qq~
-<table class="bordercolor cs_thin" style="table-layout: fixed;">
+<table class="bordercolor cs_thin fixed">
     <colgroup>
         <col style="width:5%" />
         <col style="width:95%" />
@@ -165,7 +162,7 @@
             </table>
         </td>
     </tr><tr>
-        <td class="windowbg2 vtop h_80px" colspan="2">
+        <td class="windowbg vtop h_80px" colspan="2">
             <div class="message" style="float: left; width: 99%; overflow: auto;">{yabb message}</div>
         </td>
     </tr>
 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #22 - Oct 21st, 2014 at 9:03pm
Print Post  
More Register.template
Code
Select All
 $myregister_regreason_c = qq~$myreg_req<br />
             <span class="small">$prereg_txt{'16'}</span><input value="{yabb RegReasonSymbols}" size="~;
@@ -214,7 +204,7 @@
             <label for="verification"><b>$floodtxt{'1'}:</b><br />
             <span class="small">{yabb flood_text}</span></label>
         </td>
-        <td class="windowbg2 vtop">
+        <td class="windowbg vtop">
             {yabb showcheck}
         </td>
     </tr><tr>
@@ -221,7 +211,7 @@
         <td class="windowbg right vtop">
             <label for="verification"><b>$floodtxt{'3'}:</b></label>
         </td>
-        <td class="windowbg2 vtop">
+        <td class="windowbg vtop">
             <input type="text" name="verification" id="verification" size="30" maxlength="50" />$myreg_req
         </td>
     </tr>~;
@@ -231,7 +221,7 @@
             <label for="verification_question"><b>{yabb spam_question}</b><br />
             <span class="small">$register_txt{'verification_question_desc'} {yabb verification_question_desc}</span></label>
         </td>
-        <td class="windowbg2 vtop">
+        <td class="windowbg vtop">
             <input type="text" name="verification_question" id="verification_question" size="30" maxlength="50" />$myreg_req
             <input type="hidden" name="verification_question_id" value="{yabb spam_question_id}" />{yabb spam_question_image}
         </td>
@@ -250,7 +240,7 @@
             <td class="windowbg right vtop">
                 <b>$fruittxt{'1'} {yabb fruit}:</b>
             </td>
-            <td class="windowbg2 vtop">
+            <td class="windowbg vtop">
                 <input type="hidden" name="xcord" id="xcord" value="0" />
                 <input type="hidden" name="ycord" id="ycord" value="0" />
                 <input type="hidden" name="thefruit" id="thefruit" value="{yabb fruit}" />
@@ -258,7 +248,7 @@

 $myregister_email2 = qq~<tr>
         <td class="windowbg right vtop"><label for="email2"><b>{yabb email2}:</b></label></td>
-        <td class="windowbg2"><input type="text" maxlength="100" name="email2" id="email2" size="45" />$myreg_req</td>
+        <td class="windowbg"><input type="text" maxlength="100" name="email2" id="email2" size="45" />$myreg_req</td>
     </tr>~;

 $myregister_endform = qq~<tr>
@@ -268,16 +258,18 @@
         </td>
     </tr>
 </table>
-</form>~;
+</div>
+</form>
+~;

 $ext_template1 = qq~<tr>
     <td class="windowbg right vtop">
         <label for=""><b>{yabb fieldname}: </b>
         <br /><span class="small">{yabb fieldcomment}</span></label>
-    </td><td class="windowbg2 vtop">~;
+    </td><td class="windowbg vtop">~;

 $ext_pre_output = q~<tr>
-        <td class="windowbg2 vtop">~;
+        <td class="windowbg vtop">~;

 $ext_msgCL = q~ class="windowbg" style="border: 0; width: 40px; padding: 1px;" ~;

@@ -291,10 +283,10 @@
             <b>$field{'comment'}</b>
         </td>
     </tr><tr>
-        <td class="windowbg2 vtop">~;
+        <td class="windowbg vtop">~;

 $ext_output_b .= q~
-        <td class="windowbg2 vtop">~;
+        <td class="windowbg vtop">~;

 $ext_endrow = $myregister_endrow;

@@ -358,30 +350,17 @@

 $myregister_prereg1 = qq~
                 <div class="bordercolor" style="width: 650px; margin-bottom: 8px; margin-left: auto; margin-right: auto;">
-                    <table class="tabtitle">
-                        <tr>
-                            <td style="padding-left:1%; height:25px"><img src="$imagesdir/register.gif" alt="$prereg_txt{'1a'}" title="$prereg_txt{'1a'}" /><b>$prereg_txt{'1a'}</b></td>
-                        </tr>
-                    </table>
-                    <table class="pad_4px cs_thin">
-                        <tr>
-                            <td class="windowbg">$prereg_txt{'13'}</td>
-                        </tr>
-                    </table>
+                    <div class="tabtitle" style="padding-left:1%; line-height:3em; vertical-align:bottom">
+						<img src="$imagesdir/register.gif" alt="$prereg_txt{'1a'}" title="$prereg_txt{'1a'}" /><b>$prereg_txt{'1a'}</b>
+					</div>
+                    <div class="windowbg padd_4px">$prereg_txt{'13'}</div>
                 </div>~;

 $myregister_prereg2 = qq~
-        <table class="tabtitle" style="width:650px">
-            <tr>
-                <td style="padding-left:1%; height:25px">
-                    <img src="$imagesdir/register.gif" alt="$prereg_txt{'1a'}" title="$prereg_txt{'1a'}" /> <b>$prereg_txt{'1a'}</b>
-                </td>
-            </tr>
-        </table>
-        <table class="pad_4px cs_thin" style="width:650px">
-            <tr>
-                <td class="windowbg center" colspan="2">
-                    <br />$prereg_txt{'5'}~;
+                <div class="bordercolor" style="width: 650px; margin-bottom: 8px; margin-left: auto; margin-right: auto;">
+                    <div class="tabtitle" style="padding-left:1%; line-height:3em; vertical-align:bottom"><img src="$imagesdir/register.gif" alt="$prereg_txt{'1a'}" title="$prereg_txt{'1a'}" /> <b>$prereg_txt{'1a'}</b>
+					</div>
+                    <div class="windowbg padd_4px">$prereg_txt{'5'}~;

 $myregister_div_a =
 q~<div class="bordercolor" style="width: 650px; margin-bottom: 8px; margin-left: auto; margin-right: auto;">~;
@@ -393,7 +372,7 @@
 ## Passwordcheck ##
 $show_check = qq~<tr>
         <td class="windowbg right vtop"><label for="passwrd1"><b>$register_txt{'81'}:</b></label></td>
-        <td class="windowbg2">
+        <td class="windowbg">
             <div style="float:left;">
                 <input autocomplete="off" type="password" maxlength="30" name="passwrd1" id="passwrd1" value="{yabb tmpregpasswrd1}" size="30" onkeypress="capsLock(event,'cappasswrd1')" onkeyup="runPassword(this.value);" /> $myreg_req
            </div>
@@ -409,7 +388,7 @@
         <td class="windowbg right vtop">
             <label for="passwrd2"><b>$register_txt{'82'}:</b></label>
         </td>
-        <td class="windowbg2 vtop">
+        <td class="windowbg vtop">
             <input autocomplete="off" type="password" maxlength="30" name="passwrd2" id="passwrd2" value="{yabb tmpregpasswrd2}" size="30" onkeypress="capsLock(event,'cappasswrd2')" /> $myreg_req
             <div id="cappasswrd2">$register_txt{'capslock'}</div>
             <div id="cappasswrd2_char">$register_txt{'wrong_char'}: <span id="cappasswrd2_character">&nbsp;</span></div>
 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #21 - Oct 21st, 2014 at 9:02pm
Print Post  
Code
Select All
Index: Register.template
===================================================================
--- Register.template	(revision 1584)
+++ Register.template	(working copy)
@@ -3,7 +3,7 @@
 ###############################################################################
 # YaBB: Yet another Bulletin Board                                            #
 # Open-Source Community Software for Webmasters                               #
-# Version:        YaBB 2.6.1                                                  #
+# Version:        YaBB 2.6.2                                                  #
 # Packaged:       September 1, 2014                                           #
 # Distributed by: http://www.yabbforum.com                                    #
 # =========================================================================== #
@@ -23,27 +23,16 @@
 ##agreement before registration form
 $myregister_fullagree = qq~
 <form action="$scripturl?action=register" method="post">
-<table class="tabtitle">
-    <tr>
-      <td style="padding-left:1%"><img src="$imagesdir/xx.gif" alt="" /> $register_txt{'764a'}</td>
-    </tr>
-</table>
-<table>
-    <tr>
-        <td class="windowbg" style="padding: 8px">
-          {yabb fullagree}
-        </td>
-    </tr><tr>
-        <td class="catbg center" style="padding: 8px;">
-            <input type="submit" value="$register_txt{'585'}" name="regagree" class="button" />&nbsp;&nbsp;<input type="submit" value="$register_txt{'586'}" name="regnoagree" class="button" />
-        </td>
-    </tr>
-</table>
+    <div class="tabtitle" style="padding-left:1%; line-height:3em; vertical-align:bottom"><img src="$imagesdir/xx.gif" alt="" /> $register_txt{'764a'}</div>
+    <div class="windowbg padd_8px">{yabb fullagree}</div>
+    <div class="catbg center padd_8px">
+        <input type="submit" value="$register_txt{'585'}" name="regagree" class="button" />&nbsp;&nbsp;<input type="submit" value="$register_txt{'586'}" name="regnoagree" class="button" />
+    </div>
 </form>~;

 ## agreement in registration form
 $myregister_regagree = qq~<tr>
-        <td class="catbg" colspan="2">
+        <td class="catbg padd_4px" colspan="2">
             <img src="$imagesdir/xx.gif" alt="$register_txt{'764a'}" title="$register_txt{'764a'}" /> <b>$register_txt{'764a'}</b>
         </td>
     </tr><tr>
@@ -51,7 +40,7 @@
             <label for="regagree"><span style="float: left; padding: 5px;">{yabb fullagree}</span></label>
         </td>
     </tr><tr>
-        <td class="windowbg2 center" colspan="2">
+        <td class="windowbg2 center padd_4px" colspan="2">
             <label for="regagree"><b>$register_txt{'585'}</b></label> <input type="radio" name="regagree" id="regagree" value="yes" />$myreg_req&nbsp;&nbsp; <label for="regnoagree"><b>$register_txt{'586'}</b></label> <input type="radio" name="regagree" id="regnoagree" value="no" />
         </td>
     </tr>~;
@@ -68,14 +57,11 @@
 </table>~;

 $myregister_regfill_a = qq~
-<table class="tabtitle">
-    <tr>
-        <td style="padding-left:1%; height:30px">
-            <img src="$imagesdir/register.gif" alt="$register_txt{'97'}" title="$register_txt{'97'}" /> $register_txt{'517'}
-        </td>
-    </tr>
-</table>
-<table class="cs_thin pad_4px">
+<div style="width:90em; margin:0 auto">
+    <div class="tabtitle" style="padding-left:1%; line-height:3em; vertical-align:bottom">
+        <img src="$imagesdir/register.gif" alt="$register_txt{'97'}" title="$register_txt{'97'}" /> $register_txt{'517'}
+    </div>
+<table class="pad_4px" style="border-spacing: 0 1px; border-collapse:separate">
     <colgroup>
         <col style="width:45%" />
         <col style="width:55%" />
@@ -90,7 +76,7 @@
         <td class="windowbg right vtop">
             <label for="reglanguage"><b>$register_txt{'101'}</b></label>
         </td>
-        <td class="windowbg2 vtop">
+        <td class="windowbg vtop">
             <select name="reglanguage" id="reglanguage" onchange="document.creator.action='$scripturl?action=register'; document.creator.submit();">
             {yabb langopt}
             </select>
@@ -104,7 +90,7 @@
             <label for="regusername"><b>$register_txt{'98'}:</b><br />
             <span class="small">$register_txt{'520'}$register_txt{'241ea'}</span></label>
         </td>
-        <td class="windowbg2 vtop">
+        <td class="windowbg vtop">
             <input type="text" name="regusername" id="regusername" onchange="checkAvail('$scripturl',this.value,'user')" size="30" value="{yabb tmpregname}" maxlength="18"{yabb regstyle} />$myreg_req
             <div id="useravailability"></div>
             <input type="hidden" name="language" id="language" value="{yabb language}" />
@@ -115,7 +101,7 @@

 $myregister_avail = qq~</label>
         </td>
-        <td class="windowbg2 vtop">
+        <td class="windowbg vtop">
             <input type="text" name="regrealname" id="regrealname" onchange="checkAvail('$scripturl',this.value,'display')" size="30" value="{yabb tmprealname}" maxlength="30" />$myreg_req
             <div id="displayavailability"></div>
         </td>
@@ -123,7 +109,7 @@
         <td class="windowbg right vtop"><label for="email"><b>$register_txt{'69'}:</b>
             <br /><span class="small">$register_txt{'679'}</span></label>
         </td>
-        <td class="windowbg2 vtop">
+        <td class="windowbg vtop">
             {yabb aedomains}$myreg_req
             <div id="emailavailability"></div>
             {yabb email2}~;
@@ -135,25 +121,29 @@
 $myregister_endtable = q~
         </td>
     </tr>
-</table>~;
+</table>
+</div>~;

+$myregister_enddiv = q~    </div>
+</div>~;
+
 $myregister_bdonreg = qq~<tr>
         <td class="windowbg right vtop">
             <label for="birth_month"><b>$register_txt{'birthday'}:</b>{yabb editAgeTxt}</label>
         </td>
-        <td class="windowbg2 vtop"><input type="text" name="birth_month" id="birth_month" size="2" value="{yabb birthdate1}" maxlength="2" y',2)" /> <input type="text" name="birth_day" id="birth_day" size="2" value="{yabb birthdate0}" maxlength="2" ',2)" /> <input type="text" name="birth_year" id="birth_year" size="4" value="{yabb birthdate2}" maxlength="4" />~;
+        <td class="windowbg vtop"><input type="text" name="birth_month" id="birth_month" size="2" value="{yabb birthdate1}" maxlength="2" y',2)" /> <input type="text" name="birth_day" id="birth_day" size="2" value="{yabb birthdate0}" maxlength="2" ',2)" /> <input type="text" name="birth_year" id="birth_year" size="4" value="{yabb birthdate2}" maxlength="4" />~;

 $myregister_bdonreg_2 = qq~<tr>
         <td class="windowbg right vtop">
             <label for="birth_day"><b>$register_txt{'birthday'}:</b>{yabb editAgeTxt}</label>
         </td>
-        <td class="windowbg2 vtop"><input type="text" name="birth_day" id="birth_day" size="2" value="{yabb birthdate0}" maxlength="2" h',2)" /> <input type="text" name="birth_month" id="birth_month" size="2" value="{yabb birthdate1}" maxlength="2" ar',2)" /> <input type="text" name="birth_year" id="birth_year" size="4" value="{yabb birthdate2}" maxlength="4" />~;
+        <td class="windowbg vtop"><input type="text" name="birth_day" id="birth_day" size="2" value="{yabb birthdate0}" maxlength="2" h',2)" /> <input type="text" name="birth_month" id="birth_month" size="2" value="{yabb birthdate1}" maxlength="2" ar',2)" /> <input type="text" name="birth_year" id="birth_year" size="4" value="{yabb birthdate2}" maxlength="4" />~;

 $myregister_gender = qq~<tr>
             <td class="windowbg right vtop">
                 <label for="gender"><b>$register_txt{'gender'}: </b>{yabb editGenderTxt}</label>
             </td>
-            <td class="windowbg2 vtop">
+            <td class="windowbg vtop">
                 <select name="gender" id="gender" size="1">
                     <option value=""></option>
                     <option value="Male">$register_txt{'gender_male'}</option>
@@ -167,7 +157,7 @@
             <label for="joinmemgroup"><b>$register_txt{'765'}:</b>
             <br /><span class="small">{yabb additional_explain}</span></label>
         </td>
-        <td class="windowbg2 vtop">
+        <td class="windowbg vtop">
             <select name="joinmemgroup" id="joinmemgroup" size="{yabb selsize}" multiple="multiple">
             {yabb addmemgroup}
             </select>
@@ -179,7 +169,7 @@
             <label for="reason"><b>$prereg_txt{'regreason'}:</b><br />
             <span class="small">$prereg_txt{'reason_exp'}</span></label><br /><br />
         </td>
-        <td class="windowbg2 vtop">~;
+        <td class="windowbg vtop">~;

 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #20 - Oct 21st, 2014 at 9:00pm
Print Post  
Code
Select All
Index: Post.template
===================================================================
--- Post.template	(revision 1587)
+++ Post.template	(working copy)
@@ -17,7 +17,7 @@
 $cat_exp = $newload{'brd_exp'};
 $post_error = qq~$imagesdir/exclamation.png~;

-if (!$enable_quickreply) {$my_spacer = '; margin-bottom:1em;';}
+if (!$enable_quickreply) {$my_spacer = 'style="margin-bottom:1em;"';}
 $messageclass = 'message';
 $my_guestpost_col = 2;

@@ -26,27 +26,20 @@

 ## Post Top
 $mypost_title = qq~{yabb my_topper}
-<table class="tabtitle">
-    <tr>
-        <td style="padding-left:1%">
-            <img src="{yabb icon_img}" alt="" /> {yabb yytitle}
-        </td>
-    </tr>
-</table>
+<div class="tabtitle" style="padding-left:1%; line-height:3em; vertical-align:bottom">
+    <img src="{yabb icon_img}" alt="" /> {yabb yytitle}
+</div>
     {yabb my_topview}
 ~;

-$mypost_topview = qq~<table class="pad_3px">
-    <tr>
-        <td class="windowbg">
-            $display_txt{'646'} ({yabb topviewers}): {yabb template_viewers}
-        </td>
-    </tr>
-</table>~;
+$mypost_topview = qq~
+<div class="windowbg padd_3px">
+    $display_txt{'646'} ({yabb topviewers}): {yabb template_viewers}
+</div>~;

 ## main posting block (IMs and Posts) ##
 $mypost_postblock = qq~
-<table class="pad_3px" style="table-layout: fixed">
+<table class="pad_3px fixed">
     <colgroup>
         <col style="width: 23%" />
         <col style="width: auto" />
@@ -57,15 +50,13 @@
     {yabb verification_field}
     {yabb verification_question_field}
     <tr class="windowbg">
-        <td colspan="{yabb guestcol}">
-            <div style="height:16px;">
-                <img src="$imagesdir/$cat_exp" id="prevwin" alt="$npf_txt{'01'}" title="$npf_txt{'01'}" style="cursor: pointer;" onclick="enabPrev();" /> <b>$npf_txt{'04'}</b>
-            </div>
+        <td colspan="{yabb guestcol}" style="height:16px;">
+            <img src="$imagesdir/$cat_exp" id="prevwin" alt="$npf_txt{'01'}" title="$npf_txt{'01'}" style="cursor: pointer;" onclick="enabPrev();" /> <b>$npf_txt{'04'}</b>
         </td>
    </tr>
 </table>
    {yabb my_postsection_ajx}
-<table class="pad_3px" style="table-layout: fixed$my_spacer">
+<table class="pad_3px fixed"$my_spacer>
     <colgroup>
         <col style="width: 23%" />
         <col style="width: auto" />
@@ -74,8 +65,8 @@
         <td colspan="2">
             <div id="savetable" class="windowbg" style="float: left; text-align: left; width: 100%; padding: 0; margin: 0; overflow: hidden; display: none;">
         {yabb messageblock}
-            <div id="checktable" class="small" style="float: right; text-align: left; width: 77%; padding: 6px; margin: 0; display: none;"></div>
-        </div>
+                <div id="checktable" class="small" style="float: right; text-align: left; width: 77%; padding: 6px; margin: 0; display: none;"></div>
+            </div>
        </td>
     </tr>
         {yabb my_t_status}
@@ -177,7 +168,7 @@
     </tr>~;

 $mypost_submit = qq~<tr>
-        <td class="catbg center" colspan="2" style="padding: 8px;">~;
+        <td class="catbg center padd_8px" colspan="2">~;

 $mypost_smiley1 = qq~
         <table class="smiley_top" style="width:124px"><tr>
@@ -202,9 +193,9 @@
         <td class="windowbg2 bottom">~;

 $mypost_prevmain = q{};
-$x_mypost_prevmain = qq~
+$x_mypost_prevmain = q~
      <div class="bordercolor" style="padding: 1px; width: 100%; margin-left: auto; margin-right: auto;">
-        <table class="windowbg pad_3px" style="table-layout: fixed;">
+        <table class="windowbg pad_3px fixed">
             <tr>
                 <td class="windowbg2">
                     <div class="message" style="overflow:auto;">{yabb cmessage}</div>
@@ -211,7 +202,8 @@
                 </td>
             </tr>
         </table>
-    </div>\n~;
+    </div>
+~;

 $mypost_lastmod = qq~<tr class="windowbg">
         <td class="vtop"><b>$post_txt{'211'}:</b></td>
@@ -219,34 +211,17 @@
     </tr>~;

 $mypost_prevmain_error = qq~
-        <div class="bordercolor" style="padding: 1px; width: 50%; margin-left:0; margin-right: auto;">
-            <table class="windowbg pad_3px" style="table-layout: fixed">
-                <tr>
-                    <td class="titlebg">
-                        <img src="$post_error" alt="" /> {yabb error_occurred}
-                    </td>
-                </tr>
-            </table>
-            <table class="windowbg pad_3px" style="table-layout: fixed;">
-                <tr>
-                    <td class="windowbg2">
-                        <div class="message" style="overflow:auto; color: red"><br />
-                        {yabb preverror}
-                        <br /><br />
-                        </div>
-                    </td>
-                </tr>
-            </table>
-        </div>~;
+        <div class="bordercolor" style="padding: 1px; width:45em; margin-left:0; margin-right: auto;">
+            <div class="titlebg padd_3px"><img src="$post_error" alt="" /> {yabb error_occurred}</div>
+            <div class="windowbg2 message" style=".5em 3px 1em 3px; overflow:auto; color: red">
+                {yabb preverror}
+            </div>
+         </div>~;

 $mypost_smilies = q~
         </td>
         <td class="windowbg2">~;

-$mypost_smilies_b = q~
-        </td>
-        <td class="windowbg2">~;
-
 $mypost_smilies_c = qq~{yabb my_smilies}
         </td>
     </tr>~;
 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #19 - Oct 21st, 2014 at 8:59pm
Print Post  
Code
Select All
Index: Poll.template
===================================================================
--- Poll.template	(revision 1586)
+++ Poll.template	(working copy)
@@ -22,92 +22,80 @@
 <br />
 <form action="$scripturl?action=undovote;num={yabb pollnum}{yabb start}" method="post" style="display: inline;">
 <input type="hidden" name="multidel" value="1" />
-    <table class="tabtitle" style="width:90%">
-        <tr>
-            <td style="padding-left:10px">$img{'pollicon'} <b>$polltxt{'42'}</b></td>
-        </tr>
-    </table>
-    <table class="pad_4px cs_thin" style="width:90%">
-        <tr>
-            <td class="windowbg2" colspan="5"><br /><b>$polltxt{'16'}:</b> {yabb poll_question}<br /><br /></td>
-        </tr><tr>
-            <td class="catbg center"><b>&nbsp;</b></td>
-            <td class="catbg center"><b>$polltxt{'35'}</b></td>
-            <td class="catbg center"><b>$polltxt{'30'}</b></td>
-            <td class="catbg center"><b>$polltxt{'31'}</b></td>
-            <td class="catbg center"><b>$polltxt{'24'}</b></td>
-        </tr><tr>{yabb my_IP}
-             <td class="titlebg center" colspan="5"><input type="submit" value="$polltxt{'49'}" class="button" /></td>
-        </tr>
-    </table>
+    <div style="width:90%; margin:0 auto">
+        <div class="tabtitle" style="padding-left:1%; line-height:3em; vertical-align:bottom">$img{'pollicon'} <b>$polltxt{'42'}</b></div>
+        <div class="windowbg2" style="padding:1em 1%"><b>$polltxt{'16'}:</b> {yabb poll_question}</div>
+        <table class="pad_4px cs_thin">
+            <tr>
+                <td class="catbg center"><b>&nbsp;</b></td>
+                <td class="catbg center"><b>$polltxt{'35'}</b></td>
+                <td class="catbg center"><b>$polltxt{'30'}</b></td>
+                <td class="catbg center"><b>$polltxt{'31'}</b></td>
+                <td class="catbg center"><b>$polltxt{'24'}</b></td>
+            </tr>{yabb my_IP}
+            <tr>
+                <td class="catbg center" colspan="5"><input type="submit" value="$polltxt{'49'}" class="button" /></td>
+            </tr>
+        </table>
+    </div>
 </form>~;

-$mypoll_IP = qq~
+$mypoll_IP = qq~</tr>
             <td class="windowbg2 center"><input type="checkbox" name="{yabb id}" value="1" /></td>
             <td class="windowbg2">{yabb voters_name}</td>
             <td class="windowbg2 center">{yabb lookupIP}</td>
             <td class="windowbg2 center">{yabb vote_date}</td>
             <td class="windowbg2">{yabb voted}</td>
-        </tr><tr>~;
+        <tr>~;

 $mypoll_display = qq~
 <form name="removepoll" action="$scripturl?action=modify2;d=1" method="post" style="display: inline">
-        <input type="hidden" name="thread" value="{yabb pollnum}" />
-        <input type="hidden" name="id" value="Poll" />
+    <input type="hidden" name="thread" value="{yabb pollnum}" />
+    <input type="hidden" name="id" value="Poll" />
 </form>
 <form name="poll" method="post" action="$scripturl?action=vote;num={yabb pollnum}{yabb scp}" style="display: inline;">
-    <table>
-        <tr>
-            <td class="tabtitle">{yabb poll_coll}
-                $polltxt{'15'} {yabb boardpoll}
-            </td>
-        </tr><tr>
-            <td class="catbg vtop padd_4px">
-                <div style="float: left; width: 50%; text-align: left; line-height:18px; vertical-align:middle">
-                    {yabb poll_icon} <b>$polltxt{'16'}</b>: {yabb poll_question}
+    <div class="tabtitle" style="padding-left:1%; line-height:3em; vertical-align:bottom">{yabb poll_coll} $polltxt{'15'} {yabb boardpoll}</div>
+    <div class="catbg vtop padd_4px">
+        <div style="float: left; width: 50%; text-align: left; line-height:18px; vertical-align:middle">
+            {yabb poll_icon} <b>$polltxt{'16'}</b>: {yabb poll_question}
+        </div>
+        <div style="float: left; width: 50%; text-align: right;">
+            <span class="small">{yabb lockpoll}{yabb modifypoll}{yabb deletepoll}</span>
+        </div>
+        <div class="clear"></div>
+    </div>
+    <div id="polldiv" style="width: 100%; display: {yabb scdivdisp}; margin-bottom:.5em">
+        <div class="windowbg padd_4px" style="height:23px">{yabb poll_notlocked}</div>
+        <div class="windowbg2 center padd_4px">
+            {yabb endedtext}
+            <div class="windowbg2" id="piestyle" style="width: 100%;">
+                <br />{yabb pollhidden} {yabb poll_hasvoted}<br />
+            </div>
+            <div class="windowbg2">
+                <br />{yabb footer}
+            </div>
+            {yabb my_pollcomment}
+            <div class="windowbg2 padd_4px" style="height:22px">
+                <div class="small" style="float: left; width: 49%; text-align: left;">
+                    {yabb poll_end}{yabb displaydate}
                 </div>
-                 <div style="float: left; width: 50%; text-align: right;">
-                    <span class="small">{yabb lockpoll}{yabb modifypoll}{yabb deletepoll}</span>
+                <div class="small" style="float: left; width: 50%; text-align: right;">
+                    {yabb viewthread}{yabb deletevote}{yabb displayvoters}
                 </div>
-            </td>
-        </tr>
-    </table>
-    <div id="polldiv" style="width: 100%; display: {yabb scdivdisp};">
-    <table class="pad_4px">
-        <tr>
-            <td class="windowbg">
-                {yabb poll_notlocked}
-            </td>
-        </tr><tr>
-            <td class="windowbg2 center">
-                {yabb endedtext}
-                <div class="windowbg2" id="piestyle" style="width: 100%;">
-                    <br />{yabb pollhidden} {yabb poll_hasvoted}<br />
-                </div>
-                <div style="width: 100%;">
-                    <br />{yabb footer}
-                </div>
-                {yabb my_pollcomment}
-                <div style="float: left; width: 49%; text-align: left;">
-                    <span class="small">{yabb poll_end}{yabb displaydate}</span>
-                </div>
-                <div style="float: left; width: 50%; text-align: right;">
-                    <span class="small">{yabb viewthread}{yabb deletevote}{yabb displayvoters}</span>
-                </div>
-            </td>
-        </tr>
-    </table>
+            </div>
+        </div>
     </div>
 </form>~;

-$mypoll_ended =
-              qq~<span style="color: #FF0000;"><b>$polltxt{'53'}</b></span></td>
-                </tr><tr>
-                  <td class="windowbg2 center" colspan="2"><br />~;
+$mypoll_ended = qq~<span style="color: #FF0000;"><b>$polltxt{'53'}</b></span>~;

-$mypoll_locked =
-          qq~<span style="color: #FF0000;"><b>$polltxt{'22'}</b></span></td>
-        </tr><tr>
-            <td class="windowbg2 center" colspan="2"><br />~;
+$mypoll_locked = qq~<span style="color: #FF0000;"><b>$polltxt{'22'}</b></span>~;

-1;
\ No newline at end of file
+$mypoll_hasvoted = q~
+    <div class="clear" style="height: 18px; vertical-align: middle; width:400px; margin: 0 auto;">
+        <div style="float: left; width: 25%; text-align: right;">{yabb optionsi}&nbsp;&nbsp;&nbsp;&nbsp;</div>
+        <div style="float: left; text-align: left; width: {yabb pollbar}px; height: 10px; background-color: {yabb slicecolori}; border: 1px outset {yabb slicecolori};"></div>
+        <div class="small" style="float: left; text-align: left;">&nbsp;&nbsp;{yabb votesi} ({yabb pollpercent}%)</div>
+    </div>~;
+
+1;
 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #18 - Oct 21st, 2014 at 8:56pm
Print Post  
Code
Select All
Index: Other.template
===================================================================
--- Other.template	(revision 1591)
+++ Other.template	(working copy)
@@ -17,20 +17,14 @@

 ## IPlookup ##
 $my_ipdiv = qq~
-<table class="tabtitle">
-    <tr>
-        <td style="padding-left:1%"><img src="$micon_bg{'ip'}" alt="" /> $lookup_txt{'iplookup'} - {yabb ip}</td>
-    </tr>
-</table>
-<table class="pad_4px cs_thin">
-    <tr>
-        <td class="windowbg2">
-            <div style="font-weight: bold; margin-bottom: 10px;">$lookup_txt{'01'} {yabb ip} $lookup_txt{'02'}</div>
-            <div>{yabb lookuplink} </div>
-            <div style="width: 100%; text-align: center;"><a href="javascript:history.go(-1);">$maintxt{'193'}</a></div>
-        </td>
-    </tr>
-</table>~;
+<div style="width:50em; margin: 0 auto">
+    <div class="tabtitle" style="padding-left:1%; margin-top:1em; line-height:3em; vertical-align:bottom"><img src="$micon_bg{'ip'}" alt="" /> $lookup_txt{'iplookup'} - {yabb ip}</div>
+    <div class="windowbg2 padd_4px">
+        <span style="font-weight: bold; margin-bottom: 10px;">$lookup_txt{'01'} {yabb ip} $lookup_txt{'02'}</span>
+        <div class="windowbg2 padd_4px">{yabb lookuplink} </div>
+    </div>
+    <p class="center"><a href="javascript:history.go(-1);">$maintxt{'193'}</a></p>
+</div>~;

 ## AddModerators
 $myshowProfile = qq~<tr class="windowbg">
@@ -144,7 +138,7 @@
         </td>
     </tr><tr>
         <td class="catbg center" style="padding: 8px;" colspan="2">
-            <input type="submit" value="$img_txt{'34a'}" tabindex="2" class="button" />
+            <input type="submit" value="$img_txt{'34a'}" tabindex="2" class="button" />
         </td>
     </tr>
 </table>
@@ -162,17 +156,17 @@
 #in the event you want a banner for the smilies header #
 $my_banner = 'banner.gif';

-
 $smilie_window_a =
-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">
+qq~<!DOCTYPE html>
+<html lang="$abbr_lang">
 <head>
-<title>$smiltxt{'1'}</title>
-<meta http-equiv="Content-Type" content="text/html; charset=$yymycharset" />
-<link rel="stylesheet" href="$yyhtml_root/Templates/Forum/$usestyle.css" type="text/css" />
-<style type="text/css">
-.moresmiles {vertical-align:bottom; cursor:pointer;}
-</style>
+<!-- YaBB 2.6.2 $Revision$ -->
+    <meta charset=$yymycharset">
+    <title>$smiltxt{'1'}</title>
+    <link rel="stylesheet" href="$yyhtml_root/Templates/Forum/$usestyle.css" type="text/css" />
+    <style type="text/css">
+    .moresmiles {vertical-align:bottom; cursor:pointer;}
+    </style>
 <script type="text/javascript">
 function AddText(text) {
     if (window.opener && !window.opener.closed) {
@@ -210,12 +204,12 @@
 ~;

 $smilie_window_advanced =
-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">
+qq~<!DOCTYPE html>
+<html lang="$abbr_lang">
 <head>
-<title>$smiltxt{'1'}</title>
-<meta http-equiv="Content-Type" content="text/html; charset=$yymycharset" />
-<link rel="stylesheet" href="$yyhtml_root/Templates/Forum/$usestyle.css" type="text/css" />
+    <meta charset=$yymycharset">
+    <title>$smiltxt{'1'}</title>
+    <link rel="stylesheet" href="$yyhtml_root/Templates/Forum/$usestyle.css" type="text/css" />
 <script type="text/javascript">
 function AddText(text) {
     if (window.opener && !window.opener.closed) {
@@ -280,33 +274,21 @@
 ## Error

 $my_show_error = qq~
-<table class="system-info">
-    <tr>
-        <td>$maintxt{'error_description'}</td>
-    </tr>
-</table>
-<table class="system-info-body">
-    <tr>
-        <td>{yabb errormessage}</td>
-    </tr>
-</table>
-<br /><div style="width: 100%; text-align: center;"><a href="javascript:history.go(-1)">$maintxt{'193'}</a></div>
+<div class="system-body">
+    <div class="system-info" style="padding-left:1%; margin-top:1em; line-height:3em; vertical-align:bottom">$maintxt{'error_description'}</div>
+    <div class="system-info-body">{yabb errormessage}</div>
+</div>
+<p class="center"><a href="javascript:history.go(-1)">$maintxt{'193'}</a></p>
 ~;

 ## Guest Profile link interrupt

 $my_profile_int = qq~
-<table class="system-info" style="width:50em">
-    <tr>
-        <td>$maintxt{'members_only'}</td>
-    </tr>
-</table>
-<table class="system-info-body" style="width:50em">
-    <tr>
-        <td class="center">$maintxt{'reg_please'}</td>
-    </tr>
-</table>
-<br /><div style="width: 100%; text-align: center;"><a href="javascript:history.go(-1)">$maintxt{'193'}</a></div>
+<div class="system-body">
+    <div class="system-info" style="padding-left:1%; margin-top:1em; line-height:3em; vertical-align:bottom">$maintxt{'members_only'}</div>
+    <div class="system-info-body">$maintxt{'reg_please'}</div>
+</div>
+<p class="center"><a href="javascript:history.go(-1)">$maintxt{'193'}</a></p>
 ~;

-1;
\ No newline at end of file
+1;
 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #17 - Oct 21st, 2014 at 8:54pm
Print Post  
Code
Select All
Index: MyProfile.template
===================================================================
--- MyProfile.template	(revision 1587)
+++ MyProfile.template	(working copy)
@@ -3,7 +3,7 @@
 ###############################################################################
 # YaBB: Yet another Bulletin Board                                            #
 # Open-Source Community Software for Webmasters                               #
-# Version:        YaBB 2.6.1                                                  #
+# Version:        YaBB 2.6.2                                                  #
 # Packaged:       September 1, 2014                                           #
 # Distributed by: http://www.yabbforum.com                                    #
 # =========================================================================== #
@@ -26,33 +26,25 @@

 ## UserProfile login ##
 $myprofile_a = qq~
-<table class="tabtitle cs_thin pad_4px" style="width:500px">
-    <tr>
-        <td class="center"><b>$profile_txt{'901'}</b></td>
-    </tr>
-</table>
-<form action="{yabb prof_act}" method="post" name="confirmform">
-<table class="bordercolor cs_thin pad_4px" style="width:500px; margin-bottom:10px">
-    <tr>
-        <td class="windowbg2 center">
-            <label for="passwrd"><span class="small"><br />{yabb sid_descript}<br /><br /></span></label>
-        </td>
-    </tr><tr>
-        <td class="windowbg2 center">
-            <input type="hidden" name="redir" value="{yabb redirsid}" />
-            <div style="padding-top: 4px;">
-                <div><input type="password" name="passwrd" id="passwrd" size="15" style="width: 150px;" onkeypress="capsLock(event,'cappasswrd')" /></div>
-                <div style="color: #f00; font-weight: bold; display: none" id="cappasswrd">$profile_txt{'capslock'}</div>
-                <div style="color: #f00; font-weight: bold; display: none" id="cappasswrd_char">$profile_txt{'wrong_char'}: <span id="cappasswrd_character">&nbsp;</span></div>
-            </div>
-        </td>
-    </tr><tr>
-        <td class="catbg center" style="padding: 8px;">
-            <input type="submit" value="$profile_txt{'900'}" class="button" />
-        </td>
-    </tr>
-</table>
-</form>
+<div style="width:45em; margin:0 auto 1em">
+    <div class="tabtitle center" style="line-height:3em; vertical-align:bottom"><b>$profile_txt{'901'}</b></div>
+    <form action="{yabb prof_act}" method="post" name="confirmform">
+    <div class="windowbg2 center">
+        <label for="passwrd"><span class="small"><br />{yabb sid_descript}<br /><br /></span></label>
+    </div>
+    <div class="windowbg2 center" style="padding-bottom:4px">
+        <input type="hidden" name="redir" value="{yabb redirsid}" />
+        <div style="padding-top: 4px;">
+            <div><input type="password" name="passwrd" id="passwrd" size="15" style="width: 150px;" onkeypress="capsLock(event,'cappasswrd')" /></div>
+            <div style="color: #f00; font-weight: bold; display: none" id="cappasswrd">$profile_txt{'capslock'}</div>
+            <div style="color: #f00; font-weight: bold; display: none" id="cappasswrd_char">$profile_txt{'wrong_char'}: <span id="cappasswrd_character">&nbsp;</span></div>
+        </div>
+    </div>
+    <div class="catbg center padd_8px">
+        <input type="submit" value="$profile_txt{'900'}" class="button" />
+    </div>
+    </form>
+</div>
 <script type="text/javascript">
         document.confirmform.passwrd.focus();
 </script>~;
@@ -59,7 +51,7 @@
 ## End UserProfile login

 ## admin edit menu ##
-$myprofile_menu = qq~<table class="bordercolor cs_thin pad_4px" style="table-layout:fixed; margin-bottom: -1px">
+$myprofile_menu = qq~<table class="bordercolor cs_thin pad_4px fixed" style="margin-bottom: -1px">
     <tr>
         <td class="{yabb menucolor0} center bottom"><span class="small"><b><a href="$scripturl?action=profile;username={yabb menu_user};sid=$INFO{'sid'}">$profile_txt{79}</a></b></span></td>
         <td class="{yabb menucolor1} center bottom"><span class="small"><b><a href="$scripturl?action=profileContacts;username={yabb menu_user};sid=$INFO{'sid'}">$profile_txt{819}</a></b></span></td>
@@ -81,7 +73,7 @@
 ## end admin edit menu ##

 ## Profile edit ##
-$myprofile_edit = qq~<table class="cs_thin pad_4px">
+$myprofile_edit = qq~<table class="pad_4px" style="border-spacing: 0 1px; border-collapse:separate">
     <colgroup>
         <col style="width:320px" />
         <col style="width:auto" />
@@ -93,7 +85,8 @@
     </tr>{yabb my_passchk}
     <tr class="windowbg">
         <td><label for="name"><b>$profile_txt{68}: </b>
-            <br />{yabb my_name_not}</td>
+            <br />{yabb my_name_not}
+        </td>
         <td>
              <input type="text" maxlength="30" onchange="checkAvail('$scripturl',this.value,'display')" name="name" id="name" size="30" value="{yabb user}" /><div id="displayavailability"></div>
         </td>
@@ -139,7 +132,7 @@
 </form>~;

 ## PM and contact preferences ##
-$myprofile_contact = qq~<table class="bordercolor cs_thin pad_4px">
+$myprofile_contact = qq~<table class="pad_4px" style="border-spacing: 0 1px; border-collapse:separate">
     <colgroup>
         <col style="width:320px" />
         <col style="width:auto" />
@@ -267,7 +260,7 @@
     </tr>~;

 ## Options ##
-$myprofile_options = qq~<table class="bordercolor cs_thin pad_4px">
+$myprofile_options = qq~<table class="pad_4px" style="border-spacing: 0 1px; border-collapse:separate">
     <colgroup>
         <col style="width:320px" />
         <col style="width:auto" />
@@ -485,7 +478,7 @@
 </form>~;

 ## PM preferences ##
-$myprofile_PMpref = qq~<table class="bordercolor cs_thin pad_4px">
+$myprofile_PMpref = qq~<table class="pad_4px" style="border-spacing: 0 1px; border-collapse:separate">
     <colgroup>
         <col style="width:320px" />
         <col style="width:auto" />
@@ -534,7 +527,7 @@
     </tr>~;

 ## Admin edit ##
-$myprofile_admin_a = qq~<table class="bordercolor cs_thin pad_4px">
+$myprofile_admin_a = qq~<table class="pad_4px" style="border-spacing: 0 1px; border-collapse:separate">
     <colgroup>
         <col style="width:320px" />
         <col style="width:auto" />
@@ -597,7 +590,7 @@
 </table>
 </form>~;

-$myprofile_title = qq~<table class="bordercolor cs_thin pad_4px">
+$myprofile_title = qq~<table class="pad_4px" style="border-spacing: 0 1px; border-collapse:separate">
     <colgroup>
         <col style="width:320px" />
         <col style="width:auto" />
 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #16 - Oct 21st, 2014 at 8:52pm
Print Post  
Code
Select All
Index: MyPosts.template
===================================================================
--- MyPosts.template	(revision 1565)
+++ MyPosts.template	(working copy)
@@ -166,33 +166,26 @@
     }
 </script>
     <form action="$scripturl?action=boardnotify2" method="post" name="boardnotify">
-    <table class="tabtitle">
-        <tr>
-            <td style="padding-left:10px">
-                <img src="$imagesdir/$brd_notify_img" alt="notify_txt{'136'}" title="$notify_txt{'136'}" /> <b>$notify_txt{'136'}</b>
-                {yabb note_brd}
-            </td>
-        </tr>
-    </table>
-    <table class="pad_4px cs_thin" style="margin-bottom: 10px;">
+    <div class="tabtitle" style="padding-left:1em; line-height:3em; vertical-align:bottom">
+        <img src="$imagesdir/$brd_notify_img" alt="notify_txt{'136'}" title="$notify_txt{'136'}" /> <b>$notify_txt{'136'}</b>
+        {yabb note_brd}
+    </div>
+    <table class="pad_4px cs_thin" style="margin-bottom: .5em;">
         <colgroup>
             <col style="width:65%" />
+            <col style="width:35%" />
         </colgroup>
         {yabb my_showNotifications_b}
     </table>
     </form>
-    <br />
     <form action="$scripturl?action=notify4" method="post" name="threadnotify">
-    <table class="tabtitle">
-        <tr>
-            <td style="padding-left:10px">
-                <img src="$imagesdir/$brd_notify_img" alt="$notify_txt{'118'}" title="$notify_txt{'118'}" /> <b>$notify_txt{'118'}</b>
-            </td>
-        </tr>
-    </table>
+    <div class="tabtitle" style="padding-left:1em; line-height:3em; vertical-align:bottom">
+        <img src="$imagesdir/$brd_notify_img" alt="$notify_txt{'118'}" title="$notify_txt{'118'}" /> <b>$notify_txt{'118'}</b>
+     </div>
     <table class="pad_4px cs_thin">
         <colgroup>
             <col style="85%" />
+            <col style="15%" />
         </colgroup>
         {yabb my_showNotifications_t}
     </table>
 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #15 - Oct 21st, 2014 at 8:51pm
Print Post  
Code
Select All
Index: MyMessage.template
===================================================================
--- MyMessage.template	(revision 1598)
+++ MyMessage.template	(working copy)
@@ -3,7 +3,7 @@
 ###############################################################################
 # YaBB: Yet another Bulletin Board                                            #
 # Open-Source Community Software for Webmasters                               #
-# Version:        YaBB 2.6.1                                                  #
+# Version:        YaBB 2.6.2                                                  #
 # Packaged:       September 1, 2014                                           #
 # Distributed by: http://www.yabbforum.com                                    #
 # =========================================================================== #
@@ -24,7 +24,7 @@

 ## IM show - single post
 $myIM_show = qq~
-<table class="bordercolor cs_thin pad_1px" style="table-layout: fixed">
+<table class="bordercolor cs_thin pad_1px fixed">
     <tr>
         <td class="windowbg vtop" colspan="2">
             <div style="width: 99%; padding: 2px; margin: 2px;">
@@ -105,7 +105,7 @@
 $myIM_liveprev = qq~<tr>
         <td class="vtop">
             <div style="height:16px;">
-                <img id="prevwin" src="$defaultimagesdir/$cat_exp" alt="$npf_txt{'01'}" title="$npf_txt{'01'}" class="cursor" onclick="enabPrev();" /> <b>$npf_txt{'04'}</b>
+                <img id="prevwin" src="$imagesdir/$cat_exp" alt="$npf_txt{'01'}" title="$npf_txt{'01'}" class="cursor" onclick="enabPrev();" /> <b>$npf_txt{'04'}</b>
             </div>
         </td>
     </tr><tr>
@@ -235,28 +235,24 @@

 $my_savedraft = qq~<tr>
         <td class="windowbg">
-            <table class="bordercolor cs_thin">
-                <tr>
-                    <td>
-                        <table class="windowbg pad_4px" style="table-layout:fixed">
-                            <tr>
-                                <td class="titlebg" colspan="2"><b>$inmes_txt{'70'}: {yabb msub}</b></td>
-                            </tr><tr>
-                                <td class="catbg"><span class="small">$inmes_txt{'318'}: {yabb musernameRealName}</span></td>
-                                <td class="catbg right"><span class="small">{yabb my_save_draft} {yabb tempdate}</span></td>
-                            </tr><tr>
-                                <td class="windowbg2" colspan="2">
-                                    <div class="message" style="float:left; width:100%;">{yabb message}</div>
-                                </td>
-                            </tr>
-                        </table>
-                    </td>
-                </tr>
-            </table>
+            <div class="bordercolor padd_4px">
+                <table class="windowbg pad_4px fixed">
+                    <tr>
+                        <td class="titlebg" colspan="2"><b>$inmes_txt{'70'}: {yabb msub}</b></td>
+                    </tr><tr>
+                        <td class="catbg"><span class="small">$inmes_txt{'318'}: {yabb musernameRealName}</span></td>
+                        <td class="catbg right"><span class="small">{yabb my_save_draft} {yabb tempdate}</span></td>
+                    </tr><tr>
+                        <td class="windowbg2" colspan="2">
+                            <div class="message" style="float:left; width:100%;">{yabb message}</div>
+                        </td>
+                    </tr>
+                </table>
+            </div>
         </td>
     </tr>~;

-$myIM_liveprev_b = qq~<table class="bordercolor cs_thin pad_1px" style="table-layout: fixed">
+$myIM_liveprev_b = qq~<table class="bordercolor cs_thin pad_1px fixed">
     <tr>
         <td class="windowbg2 vtop" colspan="2">
             <div style="width: 99%; padding: 2px; margin: 2px;">
 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #14 - Oct 21st, 2014 at 8:50pm
Print Post  
Code
Select All
Index: MessageIndex.template
===================================================================
--- MessageIndex.template	(revision 1587)
+++ MessageIndex.template	(working copy)
@@ -3,7 +3,7 @@
 ###############################################################################
 # YaBB: Yet another Bulletin Board                                            #
 # Open-Source Community Software for Webmasters                               #
-# Version:        YaBB 2.6.1                                                  #
+# Version:        YaBB 2.6.2                                                  #
 # Packaged:       September 1, 2014                                           #
 # Distributed by: http://www.yabbforum.com                                    #
 # =========================================================================== #
@@ -34,6 +34,7 @@
     $threadhandelstyle2 = qq~ class="right"~;
 }
 $bdpicExt = 'png';
+$brdpicwidth = ($max_brd_img_width || 50) + 20;
 $hoveron = 'tpon.gif';
 $hoveroff = 'tpoff.gif';
 $brd_notify_img = 'notify.gif';
@@ -43,24 +44,26 @@
     if (!$ShowBDescrip && $action ne 'favorites') {
         $messageindex_template .= qq~
         <!-- Board Moderators start -->
-            <div class="navbarcontainer">
-                <table>
-                    <tr>
-                        <td class="small">{yabb moderators}</td>
-                    </tr>
-                </table>
-            </div>
-<!-- Board Moderators end -->
+            <div class="navbarcontainer small">{yabb moderators}</div>
+        <!-- Board Moderators end -->
 ~;
     }
     else {
+    if (${$uid.$currentboard}{'rules'} == 1) {
+        $messageindex_template .= qq~
+<!-- Board Rules start -->
+            <div class="tabtitle" style="margin-top: 1.5em; line-height:3em; vertical-align:bottom; padding-left:.5em">{yabb rulestitle}</div>
+            <div class="windowbg" style="padding:.5em">{yabb rulesdescription}</div>
+ <!-- Board Rules end -->
+~;
+    }
         $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:6%" />
-                    <col style="width:78%" />
+            <table class="bordercolor pad_4px cs_thin" style="margin-bottom: 15px; margin-top: 15px;">
+                <colgroup>
+                    <col style="width:${brdpicwidth}px" />
+                    <col style="width:auto" />
                     <col style="width:16%" />
-				</colgroup>
+                </colgroup>
                 <tr>
                     <td class="windowbg center">{yabb bdpicture}</td>
                     <td class="windowbg">{yabb board}
@@ -77,22 +80,6 @@
 <!-- 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') {
@@ -321,13 +308,13 @@

 #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">
+$msg_listpages = qq~
+<!DOCTYPE html>
+<html 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" />
+    <meta 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">
@@ -336,20 +323,11 @@
         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>&laquo; $messageindex_txt{'139'} {yabb pages} &raquo;</p>
-            </td>
-        </tr><tr>
-            <td class="catbg center"><a href="javascript: window.close();">$messageindex_txt{'903'}</a></td>
-        </tr>
-    </table>
+    <div class="tabtitle center" style="line-height:3em; vertical-align:bottom;">$messageindex_txt{'139'} $messageindex_txt{'18'}</div>
+    <div class="windowbg center" style="padding:4px 10px">
+        <p>&laquo; $messageindex_txt{'139'} {yabb pages} &raquo;</p>
+    </div>
+    <div class="catbg center padd_4px"><a href="javascript: window.close();">$messageindex_txt{'903'}</a></div>
 </body>
 </html>~;

@@ -364,23 +342,17 @@


 $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>
+<div class="tabtitle center" style="line-height:3em; vertical-align:bottom; width: 80%; margin:0 auto">
+    <img src="$imagesdir/$actionlock" alt="" /> <b>$maintxt{'900pw'}: $boardname</b>
+</div>
+<div class="windowbg center padd_4px" style="width: 80%; margin:0 auto">
+    <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>
+</div>
 <script type="text/javascript">
 document.brdpass.boardpw.focus();

 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #13 - Oct 21st, 2014 at 8:48pm
Print Post  
Code
Select All
Index: Memberlist.template
===================================================================
--- Memberlist.template	(revision 1586)
+++ Memberlist.template	(working copy)
@@ -3,7 +3,7 @@
 ###############################################################################
 # YaBB: Yet another Bulletin Board                                            #
 # Open-Source Community Software for Webmasters                               #
-# Version:        YaBB 2.6.1                                                  #
+# Version:        YaBB 2.6.2                                                  #
 # Packaged:       September 1, 2014                                           #
 # Distributed by: http://www.yabbforum.com                                    #
 # =========================================================================== #
@@ -118,7 +118,7 @@
 #UserSelect buildPages

 $my_usersel_tem = qq~<!DOCTYPE html>
-<html lang='en-US'>
+<html lang="$abbr_lang">
 <head>
     <title>{yabb title}</title>
     <meta charset="{yabb mycharset}">
@@ -213,7 +213,7 @@
 ~;

 $my_usersel = qq~
-    <table class="bordercolor pad_3px cs_thin" style="table-layout: fixed; width:464px;">
+    <table class="bordercolor pad_3px cs_thin fixed" style="width:464px;">
         {yabb TableHeader}
         <tr>
             <td class="catbg">
@@ -246,13 +246,13 @@
         </tr>
     </table>
     <form method="post" action="" name="selectuser">
-    <table class="bordercolor pad_3px cs_thin" style="width:464px; height: 275px; table-layout: fixed">
+    <table class="bordercolor pad_3px cs_thin fixed" style="width:464px; height: 275px;">
         <tr>
             <td class="catbg center">{yabb not_groups_b}
             </td>
         </tr>{yabb TableHeader_lt}~;

-$my_tableHeader_lt = qq~<tr>
+$my_tableHeader_lt = q~<tr>
             <td class="titlebg">{yabb LetterLinks}</td>
         </tr>~;

@@ -259,7 +259,7 @@
 $my_quickSearch = qq~
     <script type="text/javascript">document.getElementById("select_body").className = "select_body_qsearch";</script>
     <div class="bordercolor" style="width:300px">
-    <table class="pad_3px cs_thin" style="width:300px">
+    <table class="pad_3px cs_thin">
         <tr>
             <td class="titlebg"><label for="letter">$usersel_txt{'qsearch'}</label></td>
         </tr><tr>
 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #12 - Oct 21st, 2014 at 8:47pm
Print Post  
More LogInOut.template
Code
Select All
-$myreminder_vericheck = qq~<tr>
-        <td class="windowbg vtop">
-            <div style="float:left; width:30%"><label for="verification_question"><b>{yabb spam_question}</b>
+$myreminder_vericheck = qq~
+    <div class="windowbg padd_3px">
+        <div style="float:left; width:30%"><label for="verification_question"><b>{yabb spam_question}</b>
             <br /><span class="small">$loginout_txt{'verification_question_desc'} {yabb verification_question_desc}</span></label>
             <input type="hidden" name="verification_question_id" value="{yabb spam_question_id}" />
-            <input type="hidden" name="spam_question" value="{yabb spam_question}" /></div>
-            <div style="float:left; width:70%"><input type="text" name="verification_question" id="verification_question" size="30" maxlength="50" />{yabb spam_question_image}</div>
-            <div class="clear"></div>
-        </td>
-    </tr>~;
+            <input type="hidden" name="spam_question" value="{yabb spam_question}" />
+        </div>
+        <div style="float:left; width:70%"><input type="text" name="verification_question" id="verification_question" size="30" maxlength="50" />{yabb spam_question_image}</div>
+        <div class="clear"></div>
+    </div>~;

-$myreminder_endform = qq~<tr>
-        <td class="catbg center" style="padding: 8px;">
-            <input type="submit" value="$loginout_txt{'339'}" class="button" />
-        </td>
-    </tr>
-</table>
-</form>~;
+$myreminder_endform = qq~
+    <div class="catbg center padd_8px">
+       <input type="submit" value="$loginout_txt{'339'}" class="button" />
+    </div>
+</div>
+</form>
+~;

-$myreminder2 = qq~<br /><br />
-<table class="tabtitle cs_thin pad_4px" style="width: 600px;">
-    <tr>
-        <td>{yabb mbname} $loginout_txt{'36'} $loginout_txt{'194'}</td>
-    </tr>
-</table>
-<table class="bordercolor pad_3px cs_thin" style="width: 600px;">
-    <tr>
-        <td class="windowbg center">
-            <b>$loginout_txt{'192'} {yabb forum_user}</b>
-        </td>
-    </tr>
-</table>
-<br />
+$myreminder2 = qq~<div style="width: 600px; margin:0 auto; padding:2em 0 1em">
+    <div class="tabtitle" style="padding-left:1%; margin-top:1em; line-height:3em; vertical-align:bottom">{yabb mbname} $loginout_txt{'36'} $loginout_txt{'194'}</div>
+    <div class="windowbg center padd_3px"><b>$loginout_txt{'192'} {yabb forum_user}</b></div>
+</div>
 <p class="center"><a href="$scripturl">$maintxt{'go_to_board'}</a></p><br />~;

 1;
 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #11 - Oct 21st, 2014 at 8:46pm
Print Post  
Code
Select All
Index: Loginout.template
===================================================================
--- Loginout.template	(revision 1560)
+++ Loginout.template	(working copy)
@@ -13,149 +13,117 @@
 ###############################################################################
 # $Revision$

-$myborder =
-q~<div class="bordercolor" style="width: 100%; margin-bottom: 8px; margin-left: auto; margin-right: auto;">~;
-$myborder_with_title =
-q~<div class="bordercolor" style="width: 700px; margin-bottom: 8px; margin-left: auto; margin-right: auto;">~;
-$myborder_bottom = q~</div>~;
+$myborder = q~<div class="bordercolor" style="width: 100%; margin-bottom: 8px; margin-left: auto; margin-right: auto;">~;
+$myborder_with_title = q~<div class="bordercolor" style="width: 700px; margin-bottom: 8px; margin-left: auto; margin-right: auto;">~;
+$myborder_bottom = q~    </div>
+</div>~;

+$mysharedbot = q~</td></tr></table></div>~;
+
 $mysharedloga = qq~
 $myborder_with_title
-<table class="pad_4px cs_thin" style="margin-top:10px">
-    <tr>
-        <td class="tabtitle" style="height:25px; padding-left:1%"><b>{yabb sharedLogin_title}</b></td></tr>~;
+    <div class="tabtitle padd_4px" style="padding-left:1%; margin-top:1em; line-height:3em; vertical-align:bottom"><b>{yabb sharedLogin_title}</b></div>~;

-$mysharedlogb = qq~<tr>
-        <td class="windowbg" colspan="2">{yabb sharedLogin_text}</td>
-    </tr>~;
+$mysharedlogb = q~
+    <div class="windowbg">{yabb sharedLogin_text}</div>~;

-$mysharedlogc = q~<tr>
-        <td class="windowbg2 center padd_10px">~;
+$mysharedlogc = q~
+    <div class="windowbg2 center padd_10px">~;

-
 $mysharedlog_top = qq~
 $myborder
-<table class="tabtitle tabtitle-text" style="margin-top:10px">
-	<colgroup>
-        <col style="width:1%" />
-        <col style="width:99%" />
-	</colgroup>
-    <tr>
-        <td>&nbsp;</td>
-        <td>$loginout_txt{'34'}</td>
-    </tr>
-</table>
+    <div class="tabtitle tabtitle-text" style="margin-top:1em; line-height:3em; vertical-align:bottom">$loginout_txt{'34'}</div>
 <table class="bordercolor pad_4px cs_thin">
-	<colgroup>
+    <colgroup>
         <col style="width:6%" />
         <col style="width:94%" />
-	</colgroup>
+    </colgroup>
     <tr>
         <td class="windowbg center"><img src="$imagesdir/login.png" alt="" /></td>
         <td class="windowbg2 center">~;

-    $mylogintxt = $loginout_txt{'35'};
-    if ( $screenlogin ) { $mylogintxt = $loginout_txt{'35b'}; }
+$mylogintxt = $loginout_txt{'35'};
+if ( $screenlogin ) { $mylogintxt = $loginout_txt{'35b'}; }
 $mysharedlog_bodya = qq~
-                <div style="width: 600px;">
-                    <span style="float: left; text-align: left; margin-right:15px;">
-                        <label for="username">$mylogintxt</label>:<br />
-                        <input type="text" name="username" id="username" size="30" maxlength="100" style="width: 285px;" tabindex="1"{yabb regstyle} />
-                    </span>
-                    <span style="float: left; text-align: left; margin-right:15px;">
-                        <label for="passwrd">$loginout_txt{'36'}</label>:<br />
-                        <input type="password" name="passwrd" id="passwrd" size="15" maxlength="30" style="width: 110px;" tabindex="2" onkeypress="capsLock(event,'shared_login')" />
-                    </span>
-                    <span style="float: left; text-align: center;" class="small">
-                        &nbsp;<br />
-                        <input type="submit" value="$loginout_txt{'34'}" tabindex="4" accesskey="l" style="width: 100px;" class="button" />
-                    </span>
-                </div>
-                <div class="clear"></div>
-                <div style="width: 550px; line-height:16px">
-                    <span style="float: left; text-align: left;">
-                        <input type="checkbox" name="cookielength" id="cookielength"{yabb cookielength_sel} value="1" tabindex="3" />
-                    </span>
-                    <span style="float: left; text-align: left">
-                        <label for="cookielength">$loginout_txt{'keeps'}</label>
-                    </span>
-                    <span style="float: right; text-align: right; margin: 0 25px;">
-                        <a href="$scripturl?action=register"{yabb hide_reglink}>$maintxt{'97'}</a>
-                    </span>
-                    <span style="float: right; text-align: right; margin: 0 20px;">
-                        <a href="$scripturl?action=reminder"{yabb hide_passlink}>$loginout_txt{'315'}</a>
-                    </span>
-                    <br /><br />
-                </div>
-                <div style="width: 600px; text-align: left; color: red; font-weight: bold; display: none" id="shared_login">$loginout_txt{'capslock'}</div>
-                <div style="width: 600px; text-align: left; color: red; font-weight: bold; display: none" id="shared_login_char">$loginout_txt{'wrong_char'}: <span id="shared_login_character">&nbsp;</span></div>
-            </form>
-        </td>
-    </tr>
-</table>
-$myborder_bottom
+            <div style="width: 600px;">
+                <span style="float: left; text-align: left; margin-right:15px;">
+                    <label for="username">$mylogintxt</label>:<br />
+                    <input type="text" name="username" id="username" size="30" maxlength="100" style="width: 285px;" tabindex="1"{yabb regstyle} />
+                </span>
+                <span style="float: left; text-align: left; margin-right:15px;">
+                    <label for="passwrd">$loginout_txt{'36'}</label>:<br />
+                    <input type="password" name="passwrd" id="passwrd" size="15" maxlength="30" style="width: 110px;" tabindex="2" onkeypress="capsLock(event,'shared_login')" />
+                </span>
+                <span style="float: left; text-align: center;" class="small">
+                    &nbsp;<br />
+                    <input type="submit" value="$loginout_txt{'34'}" tabindex="4" accesskey="l" style="width: 100px;" class="button" />
+                </span>
+            </div>
+            <div class="clear"></div>
+            <div style="width: 550px; line-height:16px">
+                <span style="float: left; text-align: left;">
+                    <input type="checkbox" name="cookielength" id="cookielength"{yabb cookielength_sel} value="1" tabindex="3" />
+                </span>
+                <span style="float: left; text-align: left">
+                    <label for="cookielength">$loginout_txt{'keeps'}</label>
+                </span>
+                <span style="float: right; text-align: right; margin: 0 25px;">
+                    <a href="$scripturl?action=register"{yabb hide_reglink}>$maintxt{'97'}</a>
+                </span>
+                <span style="float: right; text-align: right; margin: 0 20px;">
+                    <a href="$scripturl?action=reminder"{yabb hide_passlink}>$loginout_txt{'315'}</a>
+                </span>
+                <br /><br />
+            </div>
+            <div style="width: 600px; text-align: left; color: red; font-weight: bold; display: none" id="shared_login">$loginout_txt{'capslock'}</div>
+            <div style="width: 600px; text-align: left; color: red; font-weight: bold; display: none" id="shared_login_char">$loginout_txt{'wrong_char'}: <span id="shared_login_character">&nbsp;</span></div>
+        </form>
 ~;

-$myremindera = qq~<table class="tabtitle cs_thin pad_4px" style="width: 600px;">
-    <tr>
-        <td>{yabb mbname} $loginout_txt{'36'} $loginout_txt{'194'}</td>
-    </tr>
-</table>
-<table class="bordercolor pad_3px cs_thin" style="width: 600px;">
-    <tr>
-        <td class="windowbg">
-            <label for="user"><b>$mylogintxt:</b></label>
-            <input type="text" name="user" id="user" maxlength="100" {yabb regstyle} size="50" />
-        </td>
-    </tr>~;
+$myremindera = qq~<div style="width: 600px; margin:0 auto;">
+    <div class="tabtitle" style="padding-left:1%; margin-top:1em; line-height:3em; vertical-align:bottom">{yabb mbname} $loginout_txt{'36'} $loginout_txt{'194'}</div>
+ <!--   <table class="bordercolor pad_3px cs_thin">
+        <tr>-->
+    <div class="windowbg padd_3px">
+        <label for="user"><b>$mylogintxt:</b></label>
+        <input type="text" name="user" id="user" maxlength="100" {yabb regstyle} size="50" />
+    </div>~;

-$myreminder_regcheck = qq~<tr>
-        <td class="windowbg">
-            <label for="verification"><b>$floodtxt{'1'}: </b>
-            {yabb showcheck}
-            <br /><span class="small">{yabb flood_text}</span></label>
-        </td>
-    </tr><tr>
-        <td class="windowbg">
-            <div style="float:left; width:30%"><label for="verification"><b>$floodtxt{'3'}: </b></label></div>
-            <div style="float:left; width:70%"><input type="text" name="verification" id="verification" size="20" maxlength="30" />{yabb spam_question_image}</div>
-            <div class="clear"></div>
-        </td>
-    </tr>~;
+$myreminder_regcheck = qq~
+    <div class="windowbg padd_3px">
+        <label for="verification"><b>$floodtxt{'1'}: </b>
+        {yabb showcheck}
+        <br /><span class="small">{yabb flood_text}</span></label>
+    </div>
+    <div class="windowbg padd_3px">
+        <div style="float:left; width:30%"><label for="verification"><b>$floodtxt{'3'}: </b></label></div>
+        <div style="float:left; width:70%"><input type="text" name="verification" id="verification" size="20" maxlength="30" />{yabb spam_question_image}</div>
+        <div class="clear"></div>
+    </div>~;

 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #10 - Oct 21st, 2014 at 8:43pm
Print Post  
Code
Select All
Index: HelpCentre.template
===================================================================
--- HelpCentre.template	(revision 1560)
+++ HelpCentre.template	(working copy)
@@ -3,7 +3,7 @@
 ###############################################################################
 # YaBB: Yet another Bulletin Board                                            #
 # Open-Source Community Software for Webmasters                               #
-# Version:        YaBB 2.6.1                                                  #
+# Version:        YaBB 2.6.2                                                  #
 # Packaged:       September 1, 2014                                           #
 # Distributed by: http://www.yabbforum.com                                    #
 # =========================================================================== #
@@ -46,7 +46,7 @@
             </tr>
         </table>
     </div>
-    <div style="float: right; width: 74%; margin-bottom: 10px;">
+    <div style="float: right; width: 74%; margin-bottom: 1em;">
 {yabb body}
     </div>
 <div class="clear"></div>~;
@@ -64,7 +64,7 @@

 ### Prints this for the Header of the main section (title etc) #
 $BodyHeader = qq~
-    <table class="bordercolor pad_4px cs_thin" style="table-layout: fixed">
+    <table class="bordercolor pad_4px cs_thin fixed">
         <tr>
             <td class="titlebg">
                 <span class="anchor" id="{yabb section_anchor}"></span><b>{yabb section_name}</b>
 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Now on HTML5
Reply #9 - Oct 21st, 2014 at 8:43pm
Print Post  
Code
Select All
Index: Downloads.template
===================================================================
--- Downloads.template	(revision 1560)
+++ Downloads.template	(working copy)
@@ -3,7 +3,7 @@
 ###############################################################################
 # YaBB: Yet another Bulletin Board                                            #
 # Open-Source Community Software for Webmasters                               #
-# Version:        YaBB 2.6.1                                                  #
+# Version:        YaBB 2.6.2                                                  #
 # Packaged:       September 1, 2014                                           #
 # Distributed by: http://www.yabbforum.com                                    #
 # =========================================================================== #
@@ -14,12 +14,12 @@
 # $Revision$


-$downloads_top = 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">
+$downloads_top = qq~<!DOCTYPE html>
+<html lang="$abbr_lang">
 <head>
-<title>{yabb fatxt39}</title>
-<meta http-equiv="Content-Type" content="text/html; charset=$yymycharset" />
-<link rel="stylesheet" href="$yyhtml_root/Templates/Forum/$usestyle.css" type="text/css" />
+    <meta charset="$yymycharset">
+    <title>{yabb fatxt39}</title>
+    <link rel="stylesheet" href="$yyhtml_root/Templates/Forum/$usestyle.css" type="text/css" />
 <script type="text/javascript">
     function download_file(amfn) {
         window.open('$scripturl?action=downloadfile;file=' + encodeURIComponent(amfn),'_blank');
@@ -95,11 +95,11 @@
           {yabb att_admin_b}
         <td class="catbg" colspan="7">
             <table>
-				<colgroup>
+                <colgroup>
                     <col style="width:33%" />
                     <col style="width:34%" />
                     <col style="width:33%" />
-				</colgroup>
+                </colgroup>
                 <tr>
                     <td class="small">
            {yabb att_admin_c}
@@ -112,15 +112,10 @@
     </tr>~;

 $downloads_att_out_a = qq~
-<table class="tabtitle" style="width:98%">
+<div style="width:98%; margin:0 auto">
+    <div class="tabtitle" style="padding-left:1%; line-height:3em; vertical-align:bottom"><img src="$imagesdir/xx.gif" alt="" />&nbsp;<b>{yabb fatxt39}</b></div>
+    <table class="pad_4px">
     <tr>
-        <td style="padding-left:1em">
-            <img src="$imagesdir/xx.gif" alt="" />&nbsp;<b>{yabb fatxt39}</b>
-        </td>
-    </tr>
-</table>
-<table class="pad_4px" style="width:98%">
-    <tr>
         <td class="windowbg center" colspan="{yabb colspan}">
             <br />
             {yabb fatxt75}:<br />
@@ -139,7 +134,8 @@
 $downloads_tbl_end = qq~</td>
     </tr>
     {yabb viewattachments}
-</table>~;
+</table>
+</div>~;

 $my_att_sort_a = qq~<td onclick="location.href='$scripturl?action=viewdownloads;thread={yabb thread};sort=~;
 $my_att_sort_b = qq~</td>
 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 
Send TopicPrint