Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Report Writer Template Scripts - Stray "/"?
12-06-2018, 10:47 PM, (This post was last modified: 12-06-2018, 11:17 PM by VortecCPI.)
#1
Report Writer Template Scripts - Stray "/"?
In all the template scripts we have:

PHP Code:
<input type="hidden" name="FormID" value="<?php echo $_SESSION['FormID']; ?>" /> 

Please not the closing "/" at the end.

Should this be:

PHP Code:
<input type="hidden" name="FormID" value="<?php echo $_SESSION['FormID']; ?>"
https://www.linkedin.com/in/eclipsepaulbecker
Reply
12-08-2018, 01:46 PM,
#2
RE: Report Writer Template Scripts - Stray "/"?
Yeah, there is some mixed use of XHTML format over non-XHTML usage here and there.

I'll fix that one tomorrow.
Reply
12-09-2018, 02:50 AM,
#3
RE: Report Writer Template Scripts - Stray "/"?
Paul,

Is this causing an artifact or some other issue?

Searching the entire reportwriter area, I could only find one input with a closing />

If I search for: input*/> finds a few other entries, but due to a <br/> tag at the end of the line, but not at the input.
Reply
12-09-2018, 03:02 AM,
#4
RE: Report Writer Template Scripts - Stray "/"?
The report writer was written in a different style from the rest of webERP. The problem is that the guy who wrote it left the project and nobody has taken up maintaining it.
Reply
12-09-2018, 03:34 AM,
#5
RE: Report Writer Template Scripts - Stray "/"?
I have in my 'backlog' list to rewrite that area, but figured it to be a lower priority? (I could be wrong, though)
Reply
12-09-2018, 04:04 AM,
#6
RE: Report Writer Template Scripts - Stray "/"?
It's a big job which is why everybody has kept away from it!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)