53 |
+} |
+} |
54 |
+ |
+ |
55 |
+DONE! |
+DONE! |
56 |
--- e-smith-manager-2.8.0/root/etc/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/bugreport.pm.ori 1969-12-31 19:00:00.000000000 -0500 |
--- e-smith-manager-2.8.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/bugreport.pm.ori 1969-12-31 19:00:00.000000000 -0500 |
57 |
+++ e-smith-manager-2.8.0/root/etc/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/bugreport.pm 2017-04-16 17:12:17.077004028 -0400 |
+++ e-smith-manager-2.8.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/bugreport.pm 2017-04-16 17:12:17.077004028 -0400 |
58 |
@@ -0,0 +1,170 @@ |
@@ -0,0 +1,170 @@ |
59 |
+#!/usr/bin/perl -w |
+#!/usr/bin/perl -w |
60 |
+package esmith::FormMagick::Panel::bugreport; |
+package esmith::FormMagick::Panel::bugreport; |
70 |
+ |
+ |
71 |
+our @EXPORT = qw(); |
+our @EXPORT = qw(); |
72 |
+ |
+ |
73 |
+our $VERSION = sprintf '%d.%03d', q$Revision: 0.1 $ =~ /: (\d+).(\d+)/; |
+our $VERSION = sprintf '%d.%03d', q$Revision: 1.2 $ =~ /: (\d+).(\d+)/; |
74 |
+ |
+ |
75 |
+our $db = esmith::ConfigDB->open or die "Couldn't open ConfigDB\n"; |
+our $db = esmith::ConfigDB->open or die "Couldn't open ConfigDB\n"; |
76 |
+ |
+ |
320 |
+ <base>Download this report</base> |
+ <base>Download this report</base> |
321 |
+ <trans>Download this report !</trans> |
+ <trans>Download this report !</trans> |
322 |
+ </entry> |
+ </entry> |
323 |
|
+ <entry> |
324 |
|
+ <base>Report a bug</base> |
325 |
|
+ <trans>Report a bug</trans> |
326 |
|
+ </entry> |
327 |
+ |
+ |
328 |
+</lexicon> |
+</lexicon> |
329 |
--- e-smith-manager-2.8.0.old/createlinks 2017-04-16 17:51:06.112000000 -0400 |
--- e-smith-manager-2.8.0.old/createlinks 2017-04-16 17:51:06.112000000 -0400 |
336 |
|
|
337 |
event_link("navigation-conf", 'bootstrap-console-save', 50); |
event_link("navigation-conf", 'bootstrap-console-save', 50); |
338 |
|
|
339 |
|
--- e-smith-manager-2.4.0/root/etc/e-smith/web/functions/bugreport.ori 1969-12-31 19:00:00.000000000 -0500 |
340 |
|
+++ e-smith-manager-2.4.0/root/etc/e-smith/web/functions/bugreport 2017-04-16 17:12:49.209966162 -0400 |
341 |
|
@@ -0,0 +1,59 @@ |
342 |
|
+#!/usr/bin/perl -wT |
343 |
|
+ |
344 |
|
+#---------------------------------------------------------------------- |
345 |
|
+# heading : Miscellaneous |
346 |
|
+# description : Report a bug |
347 |
|
+# navigation : 7000 7300 |
348 |
|
+# |
349 |
|
+# This program is free software; you can redistribute it and/or modify |
350 |
|
+# it under the terms of the GNU General Public License as published by |
351 |
|
+# the Free Software Foundation; either version 2 of the License, or |
352 |
|
+# (at your option) any later version. |
353 |
|
+# |
354 |
|
+#---------------------------------------------------------------------- |
355 |
|
+ |
356 |
|
+use strict; |
357 |
|
+use warnings; |
358 |
|
+use esmith::TestUtils; |
359 |
|
+use esmith::FormMagick::Panel::bugreport; |
360 |
|
+ |
361 |
|
+my $f = esmith::FormMagick::Panel::bugreport->new(); |
362 |
|
+$f->display() if $f; |
363 |
|
+ |
364 |
|
+=pod |
365 |
|
+ |
366 |
|
+=head1 NAME |
367 |
|
+ |
368 |
|
+bugreport -- report a bug |
369 |
|
+ |
370 |
|
+=head2 DESCRIPTION |
371 |
|
+ |
372 |
|
+This screen helps the administrator to submit helpful bug reports |
373 |
|
+ |
374 |
|
+=begin testing |
375 |
|
+ |
376 |
|
+=end testing |
377 |
|
+ |
378 |
|
+=cut |
379 |
|
+ |
380 |
|
+__DATA__ |
381 |
|
+<form |
382 |
|
+ title="FORM_TITLE" |
383 |
|
+ header="/etc/e-smith/web/common/head.tmpl" |
384 |
|
+ footer="/etc/e-smith/web/common/foot.tmpl"> |
385 |
|
+ |
386 |
|
+ <page name="First" pre-event="print_status_message()" |
387 |
|
+ post-event="create_configuration_report"> |
388 |
|
+ |
389 |
|
+ <subroutine src="display_page()"/> |
390 |
|
+ |
391 |
|
+ <subroutine src="print_button('CREATE_REPORT')" /> |
392 |
|
+ |
393 |
|
+ <subroutine src="display_donation()"/> |
394 |
|
+ </page> |
395 |
|
+ |
396 |
|
+ <page name="ConfigReportPage" > |
397 |
|
+ <subroutine src="show_config_report()" /> |
398 |
|
+ |
399 |
|
+ </page> |
400 |
|
+</form> |