Ignore:
Timestamp:
Jan 3, 2004, 9:46:55 PM (21 years ago)
Author:
z0rglub
Message:
  • possibility to display only a text field for a parent category
  • the bullet to the left of each category now represent a button to collapse or expand the category
  • for up,first,down,last, we don't show #id in url anymore
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_3/template/default/admin/cat_list.vtp

    r198 r247  
    99</div>
    1010<!--/VTP_errors-->
    11 <table style="width:100%;">
    12 <tr>
    13   <td colspan="8" style="text-align:center;padding-top:10px;padding-bottom:10px;">
     11<div style="text-align:center;padding-top:10px;padding-bottom:5px;">
    1412  <form action="" method="post">
    1513    {#cat_add} <input type="text" name="virtual_name" />
    1614    {#cat_parent}
     15    <!--VTP_associate_LOV-->
    1716    <select name="associate">
    1817      <!--VTP_associate_cat-->
     
    2019      <!--/VTP_associate_cat-->
    2120    </select>
     21    <!--/VTP_associate_LOV-->
     22    <!--VTP_associate_text-->
     23      <input type="text" name="associate" />
     24    <!--/VTP_associate_text-->
    2225   <input type="submit" value="{#submit}" name="submit" />
    2326  </form>
    24   </td>
    25 </tr>
     27</div>
     28<table style="width:100%;">
    2629<!--VTP_cat-->
    2730<tr>
    2831  <{#td} style="width:50%;text-align:left;">
    2932    <a name="{#id}"></a>
    30     {#indent}<img src="../template/{#user_template}/admin/images/puce.gif" alt="&gt;" />
     33    {#indent}
     34    <!--VTP_bullet_collapsed--><a href="{#link}"><img src="../template/{#user_template}/admin/images/collapsed.gif" style="border:none;" alt="&gt;" /></a><!--/VTP_bullet_collapsed-->
     35    <!--VTP_bullet_expanded--><a href="{#link}"><img src="../template/{#user_template}/admin/images/expanded.gif" style="border:none;" alt="&gt;" /></a><!--/VTP_bullet_expanded-->
     36    <!--VTP_bullet_wo_link--><img src="../template/{#user_template}/admin/images/collapsed.gif" style="border:none;" alt="&gt;" /><!--/VTP_bullet_wo_link-->
    3137    &nbsp;{#name} [
    3238    <!--VTP_storage-->
     
    4248         style="width:1px;white-space:nowrap;text-align:center;">
    4349    <!--VTP_up-->
    44     <a href="{#up_url}#{#id}"><img src="../template/{#user_template}/admin/images/arrow_up.gif" alt="{#cat_up}" title="{#cat_up}" style="border:none;" /></a>
     50    <a href="{#up_url}"><img src="../template/{#user_template}/admin/images/arrow_up.gif" alt="{#cat_up}" title="{#cat_up}" style="border:none;" /></a>
    4551    <!--/VTP_up-->
    4652    <!--VTP_no_up-->
    47     <a href="{#last_url}#{#id}"><img src="../template/{#user_template}/admin/images/arrow_last.gif" alt="{#cat_last}" title="{#cat_last}" style="border:none;" /></a>
     53    <a href="{#last_url}"><img src="../template/{#user_template}/admin/images/arrow_last.gif" alt="{#cat_last}" title="{#cat_last}" style="border:none;" /></a>
    4854    <!--/VTP_no_up-->
    4955  </{#td}>
     
    5157         style="width:1px;white-space:nowrap;text-align:center;">
    5258    <!--VTP_down-->
    53     <a href="{#down_url}#{#id}"><img src="../template/{#user_template}/admin/images/arrow_down.gif" alt="{#cat_down}" title="{#cat_down}" style="border:none;" /></a>
     59    <a href="{#down_url}"><img src="../template/{#user_template}/admin/images/arrow_down.gif" alt="{#cat_down}" title="{#cat_down}" style="border:none;" /></a>
    5460    <!--/VTP_down-->
    5561    <!--VTP_no_down-->
    56     <a href="{#first_url}#{#id}"><img src="../template/{#user_template}/admin/images/arrow_first.gif" alt="{#cat_first}" title="{#cat_first}" style="border:none;" /></a>
     62    <a href="{#first_url}"><img src="../template/{#user_template}/admin/images/arrow_first.gif" alt="{#cat_first}" title="{#cat_first}" style="border:none;" /></a>
    5763    <!--/VTP_no_down-->
    5864  </{#td}>
Note: See TracChangeset for help on using the changeset viewer.