[interchange-cvs] interchange - heins modified dist/lib/UI/pages/include/page_edit
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Fri Jul 19 00:29:00 2002
User: heins
Date: 2002-07-19 04:28:21 GMT
Modified: dist/lib/UI/pages/include Tag: STABLE_4_8-branch page_edit
Log:
* Fix spurious "backup" error message caused by search without
backup database.
Revision Changes Path
No revision
No revision
2.1.2.4 +9 -0 interchange/dist/lib/UI/pages/include/Attic/page_edit
rev 2.1.2.4, prev_rev 2.1.2.3
Index: page_edit
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /anon_cvs/repository/interchange/dist/lib/UI/pages/include/Attic/=
page_edit,v
retrieving revision 2.1.2.3
retrieving revision 2.1.2.4
diff -u -r2.1.2.3 -r2.1.2.4
--- page_edit 2 May 2002 17:40:36 -0000 2.1.2.3
+++ page_edit 19 Jul 2002 04:28:20 -0000 2.1.2.4
@@ -1,4 +1,12 @@
<!-- page_edit new ----- -->
+[calc]
+ $Tag->tmp('have_backup_db');
+ if($Config->{Database}{backup}) {
+ $Scratch->{have_backup_db} =3D 1;
+ }
+ return;
+[/calc]
+[if scratch have_backup_db]
[loop search=3D"
fi=3Dbackup
co=3Dyes
@@ -36,6 +44,7 @@
</BLOCKQUOTE>
[/on-match]
[/loop]
+[/if]
=20
<form action=3D"[area ui]" method=3DPOST ENCTYPE=3D"multipart/form-data">
<input type=3Dhidden name=3Dmv_session_id value=3D"[data session id]">