[freeside-commits] freeside/httemplate/elements menu.html, 1.80, 1.81 popup_link_onclick.html, 1.5, 1.6

Ivan,,, ivan at wavetail.420.am
Sat Mar 20 16:22:33 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv32519/httemplate/elements

Modified Files:
	menu.html popup_link_onclick.html 
Log Message:
more RT integration / reskin / 2.1, RT#6640

Index: menu.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/menu.html,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -w -d -r1.80 -r1.81
--- menu.html	20 Mar 2010 22:11:37 -0000	1.80
+++ menu.html	20 Mar 2010 23:22:31 -0000	1.81
@@ -19,6 +19,21 @@
 
 <SCRIPT TYPE="text/javascript">
 
+% my $fs_popup = include( '/elements/popup_link_onclick.html',
+%                           'action'      => $fsurl.'docs/about.html',
+%                           'label'       => 'Freeside',
+%                           'style'       => 'color:#999999',
+%                           'actionlabel' => 'About',
+%                           'width'       => 300,
+%                           'height'      => 360,
+%                           'color'       => '#7e0079',
+%                           'scrolling'   => 'no',
+%                       );
+% $fs_popup =~ s/return false;//;
+  function about_freeside() {
+    <% $fs_popup |n %>
+  }
+
   webfxMenuImagePath      = "<%$fsurl%>images/";
   webfxMenuUseHover       = 1;
   webfxMenuShowTime       = 300;
@@ -504,7 +519,7 @@
 $help_menu{'Ticketing documentation'} = [ 'http://wiki.bestpractical.com/', 'Request Tracker Wiki' ]
   if $conf->config('ticket_system') eq 'RT_Internal';
 $help_menu{'separator'} = '';
-$help_menu{"About Freeside v$FS::VERSION"} = [ 'XXXfinishme', 'doh!' ];
+$help_menu{"About Freeside v$FS::VERSION"} = [ "javascript:about_freeside()", '' ];
 $help_menu{"About RT v$RT::VERSION"} = [ 'http://www.bestpractical.com/rt', 'Request Tracker Homepage' ]
   if $conf->config('ticket_system') eq 'RT_Internal';
 

Index: popup_link_onclick.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/popup_link_onclick.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- popup_link_onclick.html	2 Apr 2008 03:48:28 -0000	1.5
+++ popup_link_onclick.html	20 Mar 2010 23:22:31 -0000	1.6
@@ -28,7 +28,7 @@
 
 </%doc>
 % if ($action) { 
-<% $onclick %>\
+<% $onclick |n %>\
 % }
 <%init>
 



More information about the freeside-commits mailing list