[freeside-commits] freeside/httemplate/view/cust_main packages.html, 1.20.2.1, 1.20.2.2
Ivan,,,
ivan at wavetail.420.am
Thu Apr 19 13:18:10 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv1085/httemplate/view/cust_main
Modified Files:
Tag: FREESIDE_1_7_BRANCH
packages.html
Log Message:
fix very strange "Undefined subroutine &FS::UI::Web::rooturl" with an explicit import. did i mention this was really really weird?
Index: packages.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages.html,v
retrieving revision 1.20.2.1
retrieving revision 1.20.2.2
diff -u -d -r1.20.2.1 -r1.20.2.2
--- packages.html 11 Apr 2007 04:29:49 -0000 1.20.2.1
+++ packages.html 19 Apr 2007 20:18:07 -0000 1.20.2.2
@@ -440,12 +440,12 @@
% ) {
% $url = "${p}edit/process/". $part_svc->svcdb. ".cgi?$pkgnum_svcpart";
% } else {
-% $url = FS::UI::Web::svc_url(
-% 'm' => $m,
-% 'action' => 'edit',
-% 'part_svc' => $part_svc,
-% 'query' => $pkgnum_svcpart,
-% );
+% $url = svc_url(
+% 'm' => $m,
+% 'action' => 'edit',
+% 'part_svc' => $part_svc,
+% 'query' => $pkgnum_svcpart,
+% );
% #$url = "${p}edit/$svcpart->{svcdb}.cgi?$pkgnum_svcpart";
% }
%
@@ -522,7 +522,7 @@
%sub pkg_link {
% my($action, $label, $cust_pkg) = @_;
% return '' unless $cust_pkg;
-% qq!<a href="${p}$action.cgi?!. $cust_pkg->pkgnum. qq!">$label</a>!;
+% qq!<a href="$p$action.cgi?!. $cust_pkg->pkgnum. qq!">$label</a>!;
%}
%
%sub pkg_popup_link {
More information about the freeside-commits
mailing list