[freeside-commits] freeside/httemplate/edit/process/elements process.html, 1.1, 1.2

Ivan,,, ivan at wavetail.420.am
Fri Apr 21 17:58:41 PDT 2006


Update of /home/cvs/cvsroot/freeside/httemplate/edit/process/elements
In directory wavetail:/tmp/cvs-serv26322/httemplate/edit/process/elements

Modified Files:
	process.html 
Log Message:
start of package class web UI (add/edit package classes, package class selection in package def edit)

Index: process.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/elements/process.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- process.html	8 Mar 2006 10:05:01 -0000	1.1
+++ process.html	22 Apr 2006 00:58:39 -0000	1.2
@@ -5,6 +5,7 @@
   # 'table' => 
   # #? 'primary_key' => #required when the dbdef doesn't know...???
   # #? 'fields' => []
+  # 'viewall_dir' => '', #'search' or 'browse', defaults to 'search'
 
   my(%opt) = @_;
 
@@ -40,7 +41,10 @@
     $cgi->param('error', $error);
     print $cgi->redirect(popurl(2). "$table.html?". $cgi->query_string );
   } else { 
-    print $cgi->redirect(popurl(3). "search/$table.html");
+    print $cgi->redirect( popurl(3).
+                          ( $opt{'viewall_dir'} || 'search' ).
+                          "/$table.html"
+                        );
   }
 
 %>



More information about the freeside-commits mailing list