interchange - jon modified dist/lib/UI/vars/UI_STD_FILE_NAV

[email protected]
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
User:      jon
Date:      2009-04-08 17:25:21 GMT
Modified:  dist/lib/UI/vars UI_STD_FILE_NAV
Log:
Avoid possible problem with read-only variable table by using @@MV_PAGE@@ instead of @_MV_PAGE_@.

This is the only place in Interchange we use @_MV_PAGE_@, which isn't
necessary because MV_PAGE is always global.

More details at this blog comment I wrote:

http://blog.endpoint.com/2009/04/subverting-subversion-for-fun-and.html?showComment=1239148380000#c3445687618157063638

Revision  Changes    Path
2.6                  interchange/dist/lib/UI/vars/UI_STD_FILE_NAV


rev 2.6, prev_rev 2.5
Index: UI_STD_FILE_NAV
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/vars/UI_STD_FILE_NAV,v
retrieving revision 2.5
retrieving revision 2.6
diff -u -u -r2.5 -r2.6
--- UI_STD_FILE_NAV	14 Jan 2003 02:25:53 -0000	2.5
+++ UI_STD_FILE_NAV	8 Apr 2009 17:25:21 -0000	2.6
@@ -21,7 +21,7 @@
 				</SMALL>
 			</td>
 			<td>
-			<FORM ACTION="[area @_MV_PAGE_@]" METHOD=GET>
+			<FORM ACTION="[area @@MV_PAGE@@]" METHOD=GET>
 			<INPUT TYPE=hidden NAME=mv_action VALUE=back>
 			<INPUT TYPE=hidden NAME=action VALUE=find>
 			[msg]Find files in and under current directory:[/msg]<BR>
@@ -53,9 +53,9 @@
 					}
 					$Scratch->{details_coming} = $status;
 			`]
-			[page href="@_MV_PAGE_@" form="details=0"][msg]Hide file details[/msg]</A>
+			[page href="@@MV_PAGE@@" form="details=0"][msg]Hide file details[/msg]</A>
 			[else]
-			[page href="@_MV_PAGE_@" form="details=1"][msg]Show file details[/msg]</A>
+			[page href="@@MV_PAGE@@" form="details=1"][msg]Show file details[/msg]</A>
 			[/else]
 			[/if]
 			</small>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.