Re: FUDforum and valid HTML |
Thu, 11 January 2007 21:14 |
|
The patch was added thanks. I've also added the dummy option to the mailing list control panel.
|
|
Re: FUDforum and valid HTML |
Wed, 10 January 2007 16:14 |
|
I agree that it doesn't add functionality, but I think it makes a better impression to users of the FUDforum if it produces more or less valid HTML.
As far for 3) you have tried to fix the same issue on another page with commit 11708. But I think this doesn't look very good, because you now always have a empty option. I also think admmlist.php and admnntp.php should behave the same.
Oh, and I found a mistake in my patch, I have a attached a patch that fixes this.
|
|
Re: FUDforum and valid HTML |
Thu, 04 January 2007 19:33 |
|
1 & 3) I don't see those as issues, adding extra code to pass HTML compliancy test does not make it any more functional.
The query error is now fixed.
|
|
Re: FUDforum and valid HTML |
Thu, 04 January 2007 12:59 |
|
1) But why not displaying the error messages HTML compliant?
2) Yes. But when you click on a [+], this item gets on the top. Click on one more [+] and the first opened item is at the bottom.
3) It is not HTML compliant and I think an error message would be nice so that the user knows why he can't select a forum.
4) You have just fixed it. But I have found an additionally query error on admnntp.php: simply click on "Add Newsgroup Rule".
|
|
Re: FUDforum and valid HTML |
Wed, 03 January 2007 18:38 |
|
Ok, I spotted the query error on a the two forms, it seems database agnostic. The fix is now in the CVS.
As far as other issues:
1) Intentional
2) The list is in the order forum found the files on disk.
3) I don't think it is an issue
4) In what browser, seems ok in Safari.
|
|
Re: FUDforum and valid HTML |
Tue, 02 January 2007 17:40 |
|
I can reproduce the query error by going to the Avatar Manager, putting the path to an image in the "Avatar Upload" field and clicking on "Add Avatar".
And I found another query error on MIME Management System. To reproduce it simply click on "Add MIME" (don't fill out any field).
And what's about the other things I have mentioned. Can you reproduce them or are they intended behaviour?
|
|
Re: FUDforum and valid HTML |
Mon, 01 January 2007 13:16 |
|
Thanks, I've tweaked the patch to handle additional issues but overall it was quite helpful.
As far as the query error I can't seem to replicate it. There is a check in the code for instances where $name is empty.
|
|
Re: FUDforum and valid HTML |
Fri, 29 December 2006 11:18 |
|
I have attached a patch with suggestions for making the Admin Control Panel more w3c compliant.
Sorry that it took so long, but is was not as easy as I thought. I have found some problems in the Admin Control Panel that I can't fix because of limited knowledge...
I have nearly changed all files in adm folder, I couldn't check admspell.php because the option is not available in my installation.
My changes:
- I have tried to do some kind of hack to make the phpinfo page looking better. In order to achieve this I have removed the style information from phpinfo and put some of it in adm.css. This is not optimal solution I think, it also makes all images in Admin Control Panel to be right aligned. Maybe you have a better idea?
- I added alt descriptions to images because validator wants to have them.
- Where new white pages are displayed in some situations I added code so that the output is valid html, which makes the code look more complex. I also added page title and doctype to the Control Panel.
- Validator wanted that <table></table> is within <form></form>. The according changes led to a noticable layout change in admuser.php, which I couldn't fix.
Some things that attracted my attention, but I couldn't fix:
- On some pages errors are display simply be executing echo 'error message'. This makes the whole page being invalid html. I couldn't find out how to make better output of error messages.
- tmpllist.php produces a strange sorting sometimes. When I expand a template it is put at the beginning of the list, so far it is OK. However, when I expand more templates suddenly all expanded templates are put to the end of the list. Why this?
- In admnntp.php there is a empty <select></select> in case there are no forums that can be used for the mailing list. I would suggest to give out a error message here instead.
- There is a MySQL query error in case I want to add a avatar without a description:
(C:\xampp\htdocs\FUDforum\include\theme\default\db.inc:72
C:\xampp\htdocs\forum\adm\admavatar.php:129
) 1048: Column 'descr' cannot be null
Query: INSERT INTO fud26_avatar (img, descr, gallery) VALUES ('water.jpg', NULL, 'default')
_POST: array ( 'S' => 'a95ffac3efb349f502d4d79ec39979c5', 'SQ' => '7dee05e7f1bf24209729cc6907545c8d', 'gallery_path' => '', 'tmp_f_val' => '1', 'avt_descr' => '', 'avt_gal_m' => '', 'avt_img' => 'water.jpg', 'btn_submit' => 'Add Avatar', 'edit' => '', )
Server Version: 5.0.21-community-nt
[Referring Page] http://localhost/forum/adm/admavatar.php
-
Attachment: acp.zip
(Size: 22.06KB, Downloaded 1054 times)
|
|
|
|
|
Re: FUDforum and valid HTML |
Mon, 11 September 2006 15:54 |
|
No matter if I try my development forum or this one, I get the error about fieldset.
To make shure we are talking about the same page, I attached a screenshot.
-
Attachment: ERROR.jpg
(Size: 25.26KB, Downloaded 1151 times)
|
|
Re: FUDforum and valid HTML |
Mon, 11 September 2006 15:06 |
|
I've tried the complete page of this forum as well as a freshly installed FUDforum on our development server.
|
|
Re: FUDforum and valid HTML |
Mon, 11 September 2006 10:10 |
|
Ilia wrote on Mon, 11 September 2006 15:48 |
JanRei wrote on Fri, 08 September 2006 12:15 | I just tested the page with a HTML validator that returns the message that the <fieldset> tag can't be used at this place.
Quote: | ERROR Line 17 column 67: document type does not allow element "FIELDSET" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME" start-tag.
...pan=3><span class="GenText"><fieldset><legend>ERROR: Insufficient Privileges<
|
|
What validator are you using? I've tried using the w3c one and it had no complaints about the FIELDSET tag.
|
I am also using the validator from w3c. It's strange that you don't get a error message. Did you test the whole HTML page or only the fieldset tag?
|
|
Re: FUDforum and valid HTML |
Mon, 11 September 2006 09:48 |
|
JanRei wrote on Fri, 08 September 2006 12:15 | I just tested the page with a HTML validator that returns the message that the <fieldset> tag can't be used at this place.
Quote: | ERROR Line 17 column 67: document type does not allow element "FIELDSET" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME" start-tag.
...pan=3><span class="GenText"><fieldset><legend>ERROR: Insufficient Privileges<
|
|
What validator are you using? I've tried using the w3c one and it had no complaints about the FIELDSET tag.
|
|
Re: FUDforum and valid HTML |
Mon, 11 September 2006 09:46 |
|
JanRei wrote on Sun, 10 September 2006 12:22 | I have seen that there are multiple HTML problems within the Admin Control Panel. I can make patch so it nearly meets the standard. But as this implies a quite large number of changes I think you want to address this in the next version (2.7.7)?
|
I suppose, let me know when you have said patch available.
|
|
Re: FUDforum and valid HTML |
Sun, 10 September 2006 12:22 |
|
I have seen that there are multiple HTML problems within the Admin Control Panel. I can make patch so it nearly meets the standard. But as this implies a quite large number of changes I think you want to address this in the next version (2.7.7)?
|
|
Re: FUDforum and valid HTML |
Fri, 08 September 2006 12:15 |
|
I just tested the page with a HTML validator that returns the message that the <fieldset> tag can't be used at this place.
Quote: | ERROR Line 17 column 67: document type does not allow element "FIELDSET" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME" start-tag.
...pan=3><span class="GenText"><fieldset><legend>ERROR: Insufficient Privileges<
|
|
|
Re: FUDforum and valid HTML |
Fri, 08 September 2006 11:53 |
|
Can you give me an example of the ERROR page problem you are referring it, it'd be a great reference point for me to start looking at the problem.
|
|
Re: FUDforum and valid HTML |
Fri, 08 September 2006 11:52 |
|
Ilia wrote on Fri, 08 September 2006 17:19 | <span> has to be replace by font? Since when, the font tag it deprecated as far as I know.
|
Sorry, this a compatibility problem between the German translation and the template where it is used. The template assumes that the translation opened a <span> tag and closes it. But in this case the German translation opens a <font> tag.
The same goes to some errors I found on the "ERROR: ..." pages.
I will convert the <font> tags in the translation for FUDforum 2.7.6.
The only left problem that is really a problem of the template is on the "ERROR: " pages: document type does not allow element "FIELDSET" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME" start-tag
|
|
Re: FUDforum and valid HTML |
Fri, 08 September 2006 11:19 |
|
<span> has to be replace by font? Since when, the font tag it deprecated as far as I know.
The selmsg bug was fixed in CVS.
The & in help were converted to & in all translations.
Thanks.
|
|
Re: FUDforum and valid HTML |
Thu, 07 September 2006 14:42 |
|
Further validator results:
- login page:
a </span> has to be replaced by </font>
- Today's messages, Unanswered messages (for anon users):
<th align=middle> has to use "LEFT", "CENTER", "RIGHT", "JUSTIFY" or "CHAR" for the attribute align
- Help files:"&" should be encoded to &
- error messages (e.g. ERROR: ...): many problems (I didn't figure out the details)
|
|
Re: FUDforum and valid HTML |
Wed, 06 September 2006 11:04 |
|
The extra td problem is fixed, as far as alt tags, I'd need to look into it. As far as custom attributes those are needed for JavaScript we use and there are no plans to remove it.
|
|
FUDforum and valid HTML |
Tue, 05 September 2006 18:01 |
|
Short time ago I tested the html code produced by FUDforum whether it is valid html. I found out that this not always the case. Are you planning to change it?
For example the index page uses unknown attributes p and c, doesn't uses an alt attribute for the xml image, and has got one </td> (atfter <td class="CatDesc"></td>) too much.
|
|