Post Reply 
 
Thread Rating:
  • 0 Votes - 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.)
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
12-08-2018, 01:46 PM
Post: #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.
Find all posts by this user
Quote this message in a reply
12-09-2018, 02:50 AM
Post: #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.
Find all posts by this user
Quote this message in a reply
12-09-2018, 03:02 AM
Post: #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.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-09-2018, 03:34 AM
Post: #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)
Find all posts by this user
Quote this message in a reply
12-09-2018, 04:04 AM
Post: #6
RE: Report Writer Template Scripts - Stray "/"?
It's a big job which is why everybody has kept away from it!
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)