Changeset 198
- Timestamp:
- Oct 12, 2003, 4:30:46 PM (21 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/cat_list.php
r108 r198 265 265 $vtp->setVar( $sub, 'cat.indent', $indent ); 266 266 $vtp->setVar( $sub, 'cat.name', $row['name'] ); 267 $vtp->setVar( $sub, 'cat.id', $row['id'] ); 267 268 if ( $row['dir'] != '' ) 268 269 { … … 299 300 { 300 301 $vtp->addSession( $sub, 'up' ); 302 $vtp->setVar( $sub, 'up.id', $row['id'] ); 301 303 $url = add_session_id( './admin.php?page=cat_list&up='.$row['id'] ); 302 304 $vtp->setVar( $sub, 'up.up_url', $url ); … … 306 308 { 307 309 $vtp->addSession( $sub, 'no_up' ); 310 $vtp->setVar( $sub, 'no_up.id', $row['id'] ); 308 311 $url = add_session_id( './admin.php?page=cat_list&last='.$row['id']); 309 312 $vtp->setVar( $sub, 'no_up.last_url', $url ); … … 313 316 { 314 317 $vtp->addSession( $sub, 'down' ); 318 $vtp->setVar( $sub, 'down.id', $row['id'] ); 315 319 $url = add_session_id( './admin.php?page=cat_list&down='.$row['id']); 316 320 $vtp->setVar( $sub, 'down.down_url', $url ); … … 320 324 { 321 325 $vtp->addSession( $sub, 'no_down' ); 326 $vtp->setVar( $sub, 'no_down.id', $row['id'] ); 322 327 $url = add_session_id('./admin.php?page=cat_list&first='.$row['id']); 323 328 $vtp->setVar( $sub, 'no_down.first_url', $url ); -
trunk/template/default/admin/cat_list.vtp
r68 r198 27 27 <tr> 28 28 <{#td} style="width:50%;text-align:left;"> 29 <a name="{#id}"></a> 29 30 {#indent}<img src="../template/{#user_template}/admin/images/puce.gif" alt=">" /> 30 31 {#name} [ … … 41 42 style="width:1px;white-space:nowrap;text-align:center;"> 42 43 <!--VTP_up--> 43 <a href="{#up_url} "><img src="../template/{#user_template}/admin/images/arrow_up.gif" alt="{#cat_up}" title="{#cat_up}" style="border:none;" /></a>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> 44 45 <!--/VTP_up--> 45 46 <!--VTP_no_up--> 46 <a href="{#last_url} "><img src="../template/{#user_template}/admin/images/arrow_last.gif" alt="{#cat_last}" title="{#cat_last}" style="border:none;" /></a>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> 47 48 <!--/VTP_no_up--> 48 49 </{#td}> … … 50 51 style="width:1px;white-space:nowrap;text-align:center;"> 51 52 <!--VTP_down--> 52 <a href="{#down_url} "><img src="../template/{#user_template}/admin/images/arrow_down.gif" alt="{#cat_down}" title="{#cat_down}" style="border:none;" /></a>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> 53 54 <!--/VTP_down--> 54 55 <!--VTP_no_down--> 55 <a href="{#first_url} "><img src="../template/{#user_template}/admin/images/arrow_first.gif" alt="{#cat_first}" title="{#cat_first}" style="border:none;" /></a>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> 56 57 <!--/VTP_no_down--> 57 58 </{#td}>
Note: See TracChangeset
for help on using the changeset viewer.