Changeset 633
- Timestamp:
- 05/26/05 21:02:13 (4 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 modified
-
Changes (modified) (1 diff)
-
MANIFEST (modified) (1 diff)
-
lib/OpenGuides.pm (modified) (1 diff)
-
templates/plain_index.tt (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Changes
r631 r633 11 11 applications. 12 12 Reorder navigation bar to provide more logical groupings. 13 Add "format=plain" option for all-nodes index listing and associated 14 template plain_index.tt. 13 15 14 16 0.47 15 January 2005 -
trunk/MANIFEST
r618 r633 44 44 templates/node_history.tt 45 45 templates/openguides_information_boxes.tt 46 templates/plain_index.tt 46 47 templates/preferences.tt 47 48 templates/rdf_index.tt -
trunk/lib/OpenGuides.pm
r618 r633 485 485 my ($template, %conf); 486 486 487 if ( $args{format} and $args{format} eq "rdf" ) { 487 if ( $args{format} ) 488 { 489 if ( $args{format} eq "rdf" ) 490 { 488 491 $template = "rdf_index.tt"; 489 492 $conf{content_type} = "text/plain"; 490 } else { 491 $template = "site_index.tt"; 493 } 494 elsif ( $args{format} eq "plain" ) 495 { 496 $template = "plain_index.tt"; 497 $conf{content_type} = "text/plain"; 498 } 499 } 500 else 501 { 502 $template = "site_index.tt"; 492 503 } 493 504
