mhonarc-commits
[Top] [All Lists]

CVS: mharc/bin web-archive,1.28,1.29

2002-07-22 22:52:09
Update of /cvsroot/mhonarc/mharc/bin
In directory subversions:/tmp/cvs-serv18271/bin

Modified Files:
	web-archive 
Log Message:
* bin/web-archive:
  . BUG FIX: Restored older semantics for $LIST-NAME$: It equals the
    list name as represented by the directory name for the list
    archives.  This change back only has an effect for complimentary
    CVS commit archives since the $LIST-NAME$ is used as the search
    index name.

    A new resource variable, $LIST-TITLE$, is used to represent the
    displayable list name.  For CVS commit archives, this variable
    will have the "[CVS] " prefix.

    In sum, everywhere the list name is used in links or form input
    elements, use $LIST-NAME$.  Anywhere else, $LIST-TITLE$ can
    be used.


Index: web-archive
===================================================================
RCS file: /cvsroot/mhonarc/mharc/bin/web-archive,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** web-archive	23 Jul 2002 04:00:21 -0000	1.28
--- web-archive	23 Jul 2002 05:51:46 -0000	1.29
***************
*** 303,307 ****
  	'-title', "$title (date)",
  	'-ttitle', "$title (thread)",
! 	'-definevar', "LIST-NAME='$short_title'",
  	'-definevar', "SEARCH-CGI=$SEARCH_CGI",
  	'-definevar', "PNAV-CGI=$MNAV_CGI",
--- 303,308 ----
  	'-title', "$title (date)",
  	'-ttitle', "$title (thread)",
! 	'-definevar', "LIST-TITLE='$short_title'",
! 	'-definevar', "LIST-NAME='$list'",
  	'-definevar', "SEARCH-CGI=$SEARCH_CGI",
  	'-definevar', "PNAV-CGI=$MNAV_CGI",
***************
*** 442,446 ****
        '-nosearch'  => $disable_search,
        'SEARCH-CGI' => $SEARCH_CGI,
!       'LIST-NAME'  => $short_title,
        'LIST-DESC'  => $title,
      );
--- 443,448 ----
        '-nosearch'  => $disable_search,
        'SEARCH-CGI' => $SEARCH_CGI,
!       'LIST-TITLE' => $short_title,
!       'LIST-NAME'  => $list,
        'LIST-DESC'  => $title,
      );

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV