|
Page 1 of 2
|
tonyf12
Joined: March 2007
Posts: 204
Location:
|
 Icy Phoenix Style To XHTML 1.1
I am trying to make the Icy Phoenix style XHTML 1.1 Strict compatible, currently on this site is is 1.0 Transitional and not XHTML-valid for the downloadable version. If people would like to help, post the before and after in this thread. Right now I am just adding CSS styles inline but when I am done, i will add them to the stylesheet.
1. Filename acronym_body.tpl
Status: 1.1 but not semantic(inline styles)
Before: - <div class="forumline nav-div">
- <p class="nav-header">
- <a href="{U_PORTAL}">{L_HOME}</a>{NAV_SEP}<a href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a href="#" class="nav-current">{L_ACRONYMS}</a>
- </p>
- <div class="nav-links">
- <div class="nav-links-left">{CURRENT_TIME}</div>
-
- </div>
- </div>
-
- {IMG_THL}{IMG_THC}<span class="forumlink">{L_ACRONYMS}</span>{IMG_THR}<table class="forumlinenb" width="100%" cellspacing="0" cellpadding="0">
- <tr>
- <th class="thCornerL">{L_ACRONYM}</th>
- <th class="thTop">{L_DESCRIPTION}</th>
- </tr>
- <!-- BEGIN acronym_row -->
- <tr>
- <td class="{acronym_row.ROW_CLASS}" align="center" valign="middle"><span class="gen">{acronym_row.ACRONYM}</span></td>
- <td class="{acronym_row.ROW_CLASS}" align="center" valign="middle"><span class="gen">{acronym_row.DESCRIPTION}</span></td>
- </tr>
- <!-- END acronym_row -->
- <tr>
- <td class="catBottom" align="center" colspan="2"></td>
- </tr>
- </table>{IMG_TFL}{IMG_TFC}{IMG_TFR}
After - <div class="forumline nav-div">
- <p class="nav-header">
- <a href="{U_PORTAL}">{L_HOME}</a>{NAV_SEP}<a href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a href="#" class="nav-current">{L_ACRONYMS}</a>
- </p>
- <div class="nav-links">
- <div class="nav-links-left">{CURRENT_TIME}</div>
-
- </div>
- </div>
-
- {IMG_THL}{IMG_THC}<span class="forumlink">{L_ACRONYMS}</span>{IMG_THR}<table class="forumlinenb" width="100%" cellspacing="0" cellpadding="0">
- <tr>
- <th class="thCornerL">{L_ACRONYM}</th>
- <th class="thTop">{L_DESCRIPTION}</th>
- </tr>
- <!-- BEGIN acronym_row -->
- <tr>
- <td class="{acronym_row.ROW_CLASS}" style="vertical-align:middle; text-align:center;"><span class="gen">{acronym_row.ACRONYM}</span></td>
- <td class="{acronym_row.ROW_CLASS}" style="vertical-align:middle; text-align:center;"><span class="gen">{acronym_row.DESCRIPTION}</span></td>
- </tr>
- <!-- END acronym_row -->
- <tr>
- <td class="catBottom" style="text-align:center; width:2pc;"></td>
- </tr>
- </table>{IMG_TFL}{IMG_TFC}{IMG_TFR}
|
#1 Fri 04 May, 2007 19:30 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
tonyf12
Joined: March 2007
Posts: 204
Location:
|
 Re: Icy Phoenix Style To XHTML 1.1
2. Filename add_attachment_body.tpl
Status: 1.1 but not semantic(inline styles)
Befotre - <tr>
- <th colspan="2">{L_ADD_ATTACH_TITLE}</th>
- </tr>
- <tr>
- <td class="row1" colspan="2"><span class="gensmall">{L_ADD_ATTACH_EXPLAIN}<br />{RULES}</span></td>
- </tr>
- <tr>
- <td class="row1"><span class="gen"><b>{L_FILE_NAME}</b></span></td>
- <td class="row2"><span class="genmed"><input type="file" name="fileupload" size="40" maxlength="{FILESIZE}" style="width:98%" value="" class="post" /></span></td>
- </tr>
- <tr>
- <td class="row1" valign="top"><span class="gen"><b>{L_FILE_COMMENT}</b></span></td>
- <td class="row2"><span class="genmed"><textarea name="filecomment" rows="3" cols="50" wrap="virtual" style="width:98%" size="40" class="post">{FILE_COMMENT}</textarea></span><br />
- <input type="submit" name="add_attachment" value="{L_ADD_ATTACHMENT}" class="liteoption" />
- </td>
- </tr>
After - <tr>
- <th colspan="2">{L_ADD_ATTACH_TITLE}</th>
- </tr>
- <tr>
- <td class="row1" style="width:2pc;"><span class="gensmall">{L_ADD_ATTACH_EXPLAIN}<br />{RULES}</span></td>
- </tr>
- <tr>
- <td class="row1"><span class="gen" style="font-weight:bold;"></span></td>
- <td class="row2"><span class="genmed"><input type="file" name="fileupload" size="40" maxlength="{FILESIZE}" style="width:98%" value="" class="post" /></span></td>
- </tr>
- <tr>
- <td class="row1" valign="top"><span class="gen"><b>{L_FILE_COMMENT}</b></span></td>
- <td class="row2"><span class="genmed"><textarea name="filecomment" cols="50" rows="3" style="width:98%; overflow:scroll;" class="post">{FILE_COMMENT}</textarea></span><br />
- <input type="submit" name="add_attachment" value="{L_ADD_ATTACHMENT}" class="liteoption" />
- </td>
- </tr>
|
#2 Fri 04 May, 2007 19:55 |
|
ThE KuKa 
Joined: August 2006
Posts: 489
Location:  Sabadell
|
 Re: Icy Phoenix Style To XHTML 1.1
Thanks tonyf12,
In your post...
Before and After ?
Before -> Replace With ?
Greets
|
#3 Sat 05 May, 2007 00:02 |
|
tonyf12
Joined: March 2007
Posts: 204
Location:
|
 Re: Icy Phoenix Style To XHTML 1.1
It is the entire file as most are only 15-30 lines long.
|
#4 Sat 05 May, 2007 14:29 |
|
ThE KuKa 
Joined: August 2006
Posts: 489
Location:  Sabadell
|
 Re: Icy Phoenix Style To XHTML 1.1
Ahh sorry, thanks again!
|
#5 Sat 05 May, 2007 18:35 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Icy Phoenix Style To XHTML 1.1
Thanks Tony,
I think the best way to create a fully XHTML 1.1 compatible template, is creating it from scratch, because the old templates have so many tables in.
What do you think about creating a new template from scratch?
This will allow us to create a fully compatible template and to rewrite the CSS in a more simple way.
If you agree we can start a working group which you may lead if you want.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#6 Sun 06 May, 2007 17:39 |
|
tonyf12
Joined: March 2007
Posts: 204
Location:
|
 Re: Icy Phoenix Style To XHTML 1.1
Ok then but I haven't created a template from scratch before.
|
#7 Mon 07 May, 2007 14:33 |
|
brandsrus 
Joined: August 2006
Posts: 297
Location:  Leeuwarden, The Netherlands
|
 Re: Icy Phoenix Style To XHTML 1.1
Where can I find the guideliness for XHTML 1.1 but maybe i can help you with conversion of icy templates to XHTML 1.1 but i haven't created a template from scratch before.
EDIT: I will help to have ca_aphrodite in XHTML 1.1 and for the next versions but I must read the information about XHTML 1.1 so I don't now how it works.
____________ Official translator of Icy Phoenix to Dutch
|
#8 Mon 07 May, 2007 18:01 |
|
TheSteffen 
Joined: August 2006
Posts: 1625
Location:  Magdeburg
|
 Re: Icy Phoenix Style To XHTML 1.1
What do you think about creating a new template from scratch?
This will allow us to create a fully compatible template and to rewrite the CSS in a more simple way.
If you agree we can start a working group which you may lead if you want.
That would be great and really helpfull.
Thanks tonyf12, if you will give it a try.
|
#9 Mon 07 May, 2007 23:39 |
|
tonyf12
Joined: March 2007
Posts: 204
Location:
|
 Re: Icy Phoenix Style To XHTML 1.1
Where can I find the guideliness for XHTML 1.1
Here is the full specs: http://www.w3.org/TR/xhtml11/ . Mostly I just upload it to the validator, page by page
If you know XHTML 1.0 Strict here are the differences:
On every element, the lang attribute has been removed in favor of the xml:lang attribute (as defined in [XHTMLMOD]).
On the a and map elements, the name attribute has been removed in favor of the id attribute (as defined in [XHTMLMOD]).
The "ruby" collection of elements has been added (as defined in [RUBY]).
|
#10 Tue 08 May, 2007 18:31 |
|
brandsrus 
Joined: August 2006
Posts: 297
Location:  Leeuwarden, The Netherlands
|
 Re: Icy Phoenix Style To XHTML 1.1
Where can I find the guideliness for XHTML 1.1
Here is the full specs: http://www.w3.org/TR/xhtml11/ . Mostly I just upload it to the validator, page by page
If you know XHTML 1.0 Strict here are the differences:
On every element, the lang attribute has been removed in favor of the xml:lang attribute (as defined in [XHTMLMOD]).
On the a and map elements, the name attribute has been removed in favor of the id attribute (as defined in [XHTMLMOD]).
The "ruby" collection of elements has been added (as defined in [RUBY]).
Ok, but how check you the pages if they are for the 100% XHTML 1.1? Can you give the steps?
Thanks in advance for your help!
____________ Official translator of Icy Phoenix to Dutch
|
#11 Tue 08 May, 2007 22:17 |
|
tonyf12
Joined: March 2007
Posts: 204
Location:
|
 Re: Icy Phoenix Style To XHTML 1.1
Ok, but how check you the pages if they are for the 100% XHTML 1.1? Can you give the steps?
Thanks in advance for your help!
If you go to http://validator.w3.org and upload to the validator or point it to a URL (if file is online) it will test it according to the DOCTYPE, if you don't have a DOCTYPE it isn't valid anbyway.
|
#12 Wed 09 May, 2007 18:19 |
|
brandsrus 
Joined: August 2006
Posts: 297
Location:  Leeuwarden, The Netherlands
|
 Re: Icy Phoenix Style To XHTML 1.1
Ok, but how check you the pages if they are for the 100% XHTML 1.1? Can you give the steps?
Thanks in advance for your help!
If you go to http://validator.w3.org and upload to the validator or point it to a URL (if file is online) it will test it according to the DOCTYPE, if you don't have a DOCTYPE it isn't valid anbyway.
When I would like to validate the files, must i insert in all files the doctype or?
____________ Official translator of Icy Phoenix to Dutch
|
#13 Wed 09 May, 2007 18:22 |
|
tonyf12
Joined: March 2007
Posts: 204
Location:
|
 Re: Icy Phoenix Style To XHTML 1.1
When I would like to validate the files, must i insert in all files the doctype or?
Yes the doctype goes in the html attribute and for xhtml1.1 is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
Since I am starting a new theme for making an XHTML 1.1 template, has anyone any ideas what it should look like, a jpg mockup would be handy.
|
#14 Wed 09 May, 2007 18:25 |
|
brandsrus 
Joined: August 2006
Posts: 297
Location:  Leeuwarden, The Netherlands
|
 Re: Icy Phoenix Style To XHTML 1.1
When I would like to validate the files, must i insert in all files the doctype or?
Yes the doctype goes in the html attribute and for xhtml1.1 is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
Thanks for your time to explain something about this scripttype.
If I understand begins the file with - <html>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
- <head>
- <title></title>
- <body>
- Contents
- </body>
- </html>
Thanks otherwise for your answers be so far!
____________ Official translator of Icy Phoenix to Dutch
|
#15 Wed 09 May, 2007 18:29 |
|
|
Page 1 of 2
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|