home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / FAQ / cgi-bin / discus4_00 / source / treeview.tmpl < prev    next >
Text File  |  2009-11-06  |  2KB  |  77 lines

  1. # FILE: treeview.tmpl
  2. # DESCRIPTION: Discus tree view (used in search results, admin, straight tree view, etc.)
  3. # Copyright (c) 2002, DiscusWare, LLC, all rights reserved
  4. # -------------------------------------------------------------------------------------------
  5. # Translation note: This file is drawn from language.conf and should not itself need
  6. # to be translated.
  7.  
  8. <!--BEGIN-->
  9.  
  10. <#if $general->{screen} == 1#>
  11.     <#define $pagetitle = "$L{SEARCH_ENGINE_TREE_TITLE_RESULTS}"#>
  12. <#else#>
  13.     <#define $pagetitle = "$L{TVTITLE}"#>
  14. <#endif#>
  15.  
  16. <html>
  17. <head>
  18. <title>$pagetitle</title>
  19.  
  20. <#define $part = "head"#>
  21. <#insert template "admtree"#>
  22.  
  23. <#define $onLoadJS = "loader()"#>
  24. <#insert part () "dynamic_top"#>
  25.  
  26. <#if $browser->{dhtml} == 0#><font face="$color->{face}" size="$color->{size}">
  27.  
  28. <#if $general->{screen} == 1#>
  29.     <p>
  30.     <#if $general->{your_last_search_time} > 0#>
  31.         ($L{NMYOULASTCHECKED}
  32.         <#date $general->{your_last_search_time} format "$L{DATE_USER_FRIENDLY}"#>)
  33.         </p>
  34.         <p>
  35.     <#endif#>    
  36.     <#if $general->{result_posts} > $GLOBAL_OPTIONS{tree_search_absolute_cutoff_point} && $GLOBAL_OPTIONS{tree_search_absolute_cutoff_point} > 0#>
  37.         <#define $l = "$L{SEARCH_ENGINE_TREE_MATCH_EXCEEDED}"#>
  38.         <#replace "%posts" with "$GLOBAL_OPTIONS{tree_search_absolute_cutoff_point}" in $l#>
  39.         $l
  40.     <#else#>
  41.         <#if $general->{result_posts} == 1#>
  42.             $L{SEARCH_ENGINE_TREE_MATCH_POSTS_SINGLE}
  43.         <#else#>
  44.             <#define $l = "$L{SEARCH_ENGINE_TREE_MATCH_POSTS_MULTI}"#>
  45.             <#replace "%posts" with "$general->{result_posts}" in $l#>
  46.             $l
  47.         <#endif#>
  48.         <#if $general->{result_pages} == 1#>
  49.             $L{SEARCH_ENGINE_TREE_MATCH_PAGES_SINGLE}
  50.         <#else#>
  51.             <#define $l = "$L{SEARCH_ENGINE_TREE_MATCH_PAGES_MULTI}"#>
  52.             <#replace "%pages" with "$general->{result_pages}" in $l#>
  53.             $l
  54.         <#endif#>
  55.         <#if $general->{result_topics} == 1#>
  56.             $L{SEARCH_ENGINE_TREE_MATCH_TOPICS_SINGLE}
  57.         <#else#>
  58.             <#define $l = "$L{SEARCH_ENGINE_TREE_MATCH_TOPICS_MULTI}"#>
  59.             <#replace "%topics" with "$general->{result_topics}" in $l#>
  60.             $l
  61.         <#endif#>
  62.     <#endif#>
  63.     </p>
  64.     <#if $general->{result_posts} == 0#>
  65.         <#skipto "End"#>
  66.     <#endif#>
  67. <#endif#>
  68.  
  69. <#define $part = "body"#>
  70. <#insert template "admtree"#>
  71.  
  72. <#label "End"#>
  73.  
  74. <#insert part () "dynamic_bottom"#>
  75.  
  76. <!--END-->
  77.