[geeklog-cvs] geeklog-1.3/public_html/layout/XSilver/admin/block listside.thtml,NONE,1.1 listblocks.thtml,1.2,1.3 listitem.thtml,1.3,1.4

blaine at geeklog.net blaine at geeklog.net
Sun Nov 16 16:30:37 EST 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html/layout/XSilver/admin/block
In directory geeklog_prod:/tmp/cvs-serv26080/public_html/layout/XSilver/admin/block

Modified Files:
	listblocks.thtml listitem.thtml 
Added Files:
	listside.thtml 
Log Message:
Added enhanced Block Administration based on Concept from stratosfear. Able to move blocks Left/Right and UP/DN and enable/disable block all from the block listing.

--- NEW FILE: listside.thtml ---
                                <tr class="blocktitle" align="center">
                                    <td colspan="2" align="center">{side}</td>
                                    <td align="left">{lang_blocktitle}</td>
                                    <td>{lang_access}</td>
                                    <td>{lang_blocktype}</td>
                                    <td>{lang_blocktopic}</td>
                                    <td>{lang_enabled}</td>
                                </tr>

Index: listblocks.thtml
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/layout/XSilver/admin/block/listblocks.thtml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** listblocks.thtml	4 Feb 2003 20:45:13 -0000	1.2
--- listblocks.thtml	16 Nov 2003 21:30:35 -0000	1.3
***************
*** 1,25 ****
!                             <table border="0" cellspacing="0" cellpadding=2 width="100%">
!                                 <tr>
!                                     <td rowspan="2"><img src="{layout_url}/images/icons/block.gif" alt=""></td>
!                                     <td>[ <a href="{site_admin_url}/block.php?mode=edit">{lang_newblock}</a> | <a href="{site_admin_url}">{lang_adminhome}</a> ]</td>
!                                 </tr>
!                                 <tr>
!                                     <td>{lang_instructions}</td>
!                                 </tr>
!                             </table>
!                             <table cellpadding="0" cellspacing="3" border="0" width="100%">
!                                 <tr>
!                                     <th align="left">{lang_blocktitle}</th>
!                                     <th>{lang_access}</th>
!                                     <th>{lang_blocktype}</th>
!                                     <th>{lang_side}</th>
!                                     <th>{lang_blockorder}</th>
!                                     <th>{lang_blocktopic}</th>
!                                     <th>{lang_enabled}</th>
!                                 </tr>
!                                 {blocklist_item}
!                                 <tr>
!                                     <td colspan="6">{previouspage_link} {nextpage_link}</td>
!                                 </tr>
!                             </table>
! 
--- 1,18 ----
! <table border="0" cellspacing="0" cellpadding=2 width="100%">
!     <tr>
!         <td rowspan="2"><img src="{site_url}/images/icons/block.gif" alt=""></td>
!         <td>[ <a href="{site_admin_url}/block.php?mode=edit">{lang_newblock}</a> | <a href="{site_admin_url}">{lang_adminhome}</a> ]</td>
!     </tr>
!     <tr>
!         <td>{lang_instructions}</td>
!     </tr>
! </table>
! <p />
! <table  width="100%" border="0" cellspacing="1" cellpadding="3">
!     {blocklist_item}
! </table><br>
! <table width="100%" border="0" cellspacing="0" cellpadding="3">
!     <tr>
!         <td align="center">{previouspage_link} {nextpage_link}</td>
!     </tr>
! </table>
\ No newline at end of file

Index: listitem.thtml
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/layout/XSilver/admin/block/listitem.thtml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** listitem.thtml	4 Feb 2003 20:45:13 -0000	1.3
--- listitem.thtml	16 Nov 2003 21:30:35 -0000	1.4
***************
*** 1,11 ****
!                                 <tr align="center">
!                                     <td align="left">
!                                         <a href="{site_admin_url}/block.php?mode=edit&bid={block_id}">{block_title}</a>
!                                     </td>
!                                     <td align="center">{block_access}</td>
!                                     <td>{block_type}</td>
!                                     <td>{block_side}</td>
!                                     <td>{block_order}</td>
!                                     <td>{block_topic}</td>
!                                     <td>{block_enabled}</td>
!                                 </tr>
--- 1,20 ----
! <td class="globalCellText" align="center">{block_order}</td>
! <td width="45" class="globalCellText" align="left">
!     <img src="{layout_url}/images/admin/{blockcontrol_image}" WIDTH="45" HEIGHT="20" border="0" usemap="#arrow{block_id}">
!         <map name="arrow{block_id}">
!             <area coords="0,0,12,20"  TITLE = "{upTitleMsg}" href="{site_admin_url}/block.php?mode=move&bid={block_id}&where=up">
!             <area coords="13,0,29,20" TITLE = "{moveTitleMsg}"  href="{site_admin_url}/block.php?mode=move&bid={block_id}&where={switchside}">
!             <area coords="30,0,43,20" TITLE = "{dnTitleMsg}"  href="{site_admin_url}/block.php?mode=move&bid={block_id}&where=dn">
!         </map>
!     </td>
! <td class="globalCellText" align="left">
!     <a href="{site_admin_url}/block.php?mode=edit&bid={block_id}">{block_title}</a>
! </td>
! <td class="globalCellText" align="center">{block_access}</td>
! <td class="globalCellText" align="center">{block_type}</td>
! <td class="globalCellText" align="center">{block_topic}</td>
! <td class="globalCellText" align="center">
! <form action="{site_admin_url}/block.php" method="post">
!   <input type="checkbox" name="blkenable" onclick="submit()" value="{block_id}" {enabled}><input type="hidden" name="blkChange" value="{block_id}">
!  </td></form>
! </tr>





More information about the geeklog-cvs mailing list