|
From: Jon O. <jon...@us...> - 2006-07-04 18:02:15
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/subSilver In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv24281/modules/mx_pafiledb/templates/subSilver Modified Files: pa_category_body.tpl pa_main_body.tpl Log Message: adding a simple style mode, in sync with mx_linkdb templtes Index: pa_main_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/subSilver/pa_main_body.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** pa_main_body.tpl 27 Jun 2006 21:38:43 -0000 1.6 --- pa_main_body.tpl 4 Jul 2006 18:02:12 -0000 1.7 *************** *** 8,37 **** </table> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th class="thCornerL" width="6%"> </th> ! <th class="thTop"> {L_CATEGORY} </th> ! <th class="thCornerR" width="10%"> {L_LAST_FILE} </th> ! <th class="thCornerR" width="8%"> {L_FILES} </th> ! </tr> ! <!-- BEGIN no_cat_parent --> <!-- IF no_cat_parent.IS_HIGHER_CAT --> ! <tr> ! <td class="cat" colspan="2" valign="middle"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}">{no_cat_parent.CAT_NAME}</a></td> ! <td class="rowpic" colspan="2" align="right"> </td> ! </tr> <!-- ELSE --> ! <tr> ! <td class="row1" valign="middle" align="center"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}"><img src="{no_cat_parent.CAT_IMAGE}" border="0" alt="{no_cat_parent.CAT_NEW_FILE}"></a></td> ! <td class="row1" valign="middle" onmouseout="this.className='row1';" onmouseover="this.className='row2';" onclick="window.location.href='{no_cat_parent.U_CAT}';"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}">{no_cat_parent.CAT_NAME}</a><br><span class="genmed">{no_cat_parent.CAT_DESC}</span><span class="gensmall">{no_cat_parent.SUB_CAT}</span></b></td> ! <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="genmed">{no_cat_parent.LAST_FILE}</span></td> ! <td class="row2" align="center" valign="middle"><span class="genmed">{no_cat_parent.FILECAT}</span></td> ! </tr> <!-- ENDIF --> ! <!-- END no_cat_parent --> ! <tr> ! <td class="cat" colspan="4"> </td> ! </tr> </table> <!-- INCLUDE pa_footer.tpl --> \ No newline at end of file --- 8,73 ---- </table> + <!-- IF CAT_PARENT_ORIGINAL --> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th class="thCornerL" width="6%"> </th> ! <th class="thTop"> {L_CATEGORY} </th> ! <th class="thCornerR" width="10%"> {L_LAST_FILE} </th> ! <th class="thCornerR" width="8%"> {L_FILES} </th> ! </tr> ! <!-- BEGIN no_cat_parent --> <!-- IF no_cat_parent.IS_HIGHER_CAT --> ! <tr> ! <td class="cat" colspan="2" valign="middle"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}">{no_cat_parent.CAT_NAME}</a></td> ! <td class="rowpic" colspan="2" align="right"> </td> ! </tr> <!-- ELSE --> ! <tr> ! <td class="row1" valign="middle" align="center"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}"><img src="{no_cat_parent.CAT_IMAGE}" border="0" alt="{no_cat_parent.CAT_NEW_FILE}"></a></td> ! <td class="row1" valign="middle" onmouseout="this.className='row1';" onmouseover="this.className='row2';" onclick="window.location.href='{no_cat_parent.U_CAT}';"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}">{no_cat_parent.CAT_NAME}</a><br><span class="genmed">{no_cat_parent.CAT_DESC}</span><span class="gensmall">{no_cat_parent.SUB_CAT}</span></b></td> ! <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="genmed">{no_cat_parent.LAST_FILE}</span></td> ! <td class="row2" align="center" valign="middle"><span class="genmed">{no_cat_parent.FILECAT}</span></td> ! </tr> <!-- ENDIF --> ! <!-- END no_cat_parent --> ! <tr> ! <td class="cat" colspan="4"> </td> ! </tr> ! </table> ! <!-- ENDIF --> ! ! <!-- IF CAT_PARENT --> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th class="thHead" colspan="2">{L_CATEGORY}</th> ! </tr> ! <tr> ! <td class="row1" colspan="2"> ! <table border="0" cellpadding="2" cellspacing="1" width="100%" > ! <!-- BEGIN catcol --> ! <tr> ! <!-- BEGIN no_cat_parent --> ! <td width="{LINK_WIDTH}%"> ! <table border="0" cellpadding="2" cellspacing="2" width="100%"> ! <tr> ! <td> ! <a href="{catcol.no_cat_parent.U_CAT}"><img src="{catcol.no_cat_parent.CAT_IMAGE}" alt="{catcol.no_cat_parent.CAT_NAME}" align="absmiddle" border="0" /></a> ! </td> ! <td width="100%" valign="middle" nowrap="nowrap"> ! <a href="{catcol.no_cat_parent.U_CAT}" class="cattitle">{catcol.no_cat_parent.CAT_NAME}</a> <span class="gensmall">({catcol.no_cat_parent.FILECAT})</span><br> ! {catcol.no_cat_parent.SUB_CAT} ! </td> ! </tr> ! </table> ! </td> ! <!-- END no_cat_parent --> ! </tr> ! <!-- END catcol --> ! </table> ! </td> ! </tr> </table> + <!-- ENDIF --> + <!-- INCLUDE pa_footer.tpl --> \ No newline at end of file Index: pa_category_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/subSilver/pa_category_body.tpl,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** pa_category_body.tpl 27 Jun 2006 21:38:43 -0000 1.8 --- pa_category_body.tpl 4 Jul 2006 18:02:12 -0000 1.9 *************** *** 8,38 **** </table> ! <!-- IF CAT_PARENT --> ! <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> ! <tr> ! <th class="thCornerL" width="6%"> </th> ! <th class="thTop">{L_CATEGORY}</th> ! <th class="thTop" width="10%">{L_LAST_FILE}</th> ! <th class="thCornerR" width="8%">{L_FILES}</th> ! </tr> ! <!-- BEGIN no_cat_parent --> <!-- IF no_cat_parent.IS_HIGHER_CAT --> ! <tr> ! <td class="cat" colspan="2" valign="middle"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}">{no_cat_parent.CAT_NAME}</a></td> ! <td class="rowpic" colspan="2" align="right"> </td> ! </tr> <!-- ELSE --> ! <tr> ! <td class="row1" align="center" valign="middle"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}"><img src="{no_cat_parent.CAT_IMAGE}" border="0" alt="{no_cat_parent.CAT_NEW_FILE}"></a></td> ! <td class="row1" valign="middle" onmouseout="this.className='row1';" onmouseover="this.className='row2';" onclick="window.location.href='{no_cat_parent.U_CAT}';"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}">{no_cat_parent.CAT_NAME}</a><br><span class="genmed">{no_cat_parent.CAT_DESC}</span><span class="gensmall"> </span><span class="gensmall">{no_cat_parent.SUB_CAT}</span></b></td> ! <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="genmed">{no_cat_parent.LAST_FILE}</span></td> ! <td class="row2" align="center" valign="middle"><span class="genmed">{no_cat_parent.FILECAT}</span></td> ! </tr> <!-- ENDIF --> ! <!-- END no_cat_parent --> ! <tr> ! <td class="cat" colspan="4"> </td> ! </tr> </table> <br /> --- 8,72 ---- </table> ! <!-- IF CAT_PARENT_ORIGINAL --> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th class="thCornerL" width="6%"> </th> ! <th class="thTop"> {L_CATEGORY} </th> ! <th class="thCornerR" width="10%"> {L_LAST_FILE} </th> ! <th class="thCornerR" width="8%"> {L_FILES} </th> ! </tr> ! <!-- BEGIN no_cat_parent --> <!-- IF no_cat_parent.IS_HIGHER_CAT --> ! <tr> ! <td class="cat" colspan="2" valign="middle"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}">{no_cat_parent.CAT_NAME}</a></td> ! <td class="rowpic" colspan="2" align="right"> </td> ! </tr> <!-- ELSE --> ! <tr> ! <td class="row1" valign="middle" align="center"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}"><img src="{no_cat_parent.CAT_IMAGE}" border="0" alt="{no_cat_parent.CAT_NEW_FILE}"></a></td> ! <td class="row1" valign="middle" onmouseout="this.className='row1';" onmouseover="this.className='row2';" onclick="window.location.href='{no_cat_parent.U_CAT}';"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}">{no_cat_parent.CAT_NAME}</a><br><span class="genmed">{no_cat_parent.CAT_DESC}</span><span class="gensmall">{no_cat_parent.SUB_CAT}</span></b></td> ! <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="genmed">{no_cat_parent.LAST_FILE}</span></td> ! <td class="row2" align="center" valign="middle"><span class="genmed">{no_cat_parent.FILECAT}</span></td> ! </tr> <!-- ENDIF --> ! <!-- END no_cat_parent --> ! <tr> ! <td class="cat" colspan="4"> </td> ! </tr> ! </table> ! <br /> ! <!-- ENDIF --> ! ! <!-- IF CAT_PARENT --> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th class="thHead" colspan="2">{L_CATEGORY}</th> ! </tr> ! <tr> ! <td class="row1" colspan="2"> ! <table border="0" cellpadding="2" cellspacing="1" width="100%" > ! <!-- BEGIN catcol --> ! <tr> ! <!-- BEGIN no_cat_parent --> ! <td width="{LINK_WIDTH}%"> ! <table border="0" cellpadding="2" cellspacing="2" width="100%"> ! <tr> ! <td> ! <a href="{catcol.no_cat_parent.U_CAT}"><img src="{catcol.no_cat_parent.CAT_IMAGE}" alt="{catcol.no_cat_parent.CAT_NAME}" align="absmiddle" border="0" /></a> ! </td> ! <td width="100%" valign="middle" nowrap="nowrap"> ! <a href="{catcol.no_cat_parent.U_CAT}" class="cattitle">{catcol.no_cat_parent.CAT_NAME}</a> <span class="gensmall">({catcol.no_cat_parent.FILECAT})</span><br> ! {catcol.no_cat_parent.SUB_CAT} ! </td> ! </tr> ! </table> ! </td> ! <!-- END no_cat_parent --> ! </tr> ! <!-- END catcol --> ! </table> ! </td> ! </tr> </table> <br /> |