• R/O
  • SSH
  • HTTPS

tenarai: 提交


Commit MetaInfo

修訂39 (tree)
時間2008-02-04 22:40:15
作者junkikuchi

Log Message

updated.

Change Summary

差異

--- trunk/webapp/Widget/Content/HTML.rb (revision 38)
+++ trunk/webapp/Widget/Content/HTML.rb (revision 39)
@@ -19,40 +19,10 @@
1919 end
2020 end
2121
22- def render_body(xml)
23- xml.xml('1.0', 'utf-8')
24- xml.doctype(
25- 'html',
26- '-//W3C//DTD XHTML 1.0 Strict//EN',
27- 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'
22+ def render_html_header(xml, builder)
23+ xml.tag('title').text(
24+ preference.title.text.format.value % resource.content.title
2825 )
29- xml.tag(
30- 'html',
31- 'xmlns' => 'http://www.w3.org/1999/xhtml',
32- 'xml:lang' => 'ja',
33- 'lang' => 'ja'
34- ) do |html|
35- html.tag('head') do |head|
36- head.tag('title').text(
37- preference.title.text.format.value % model.content.title
38- )
39- render_head(head)
40- head.tag(
41- 'link',
42- 'rel' => 'stylesheet',
43- 'type' => 'text/css',
44- 'href' => url(
45- :method => 'css',
46- :content => service.content,
47- :view => service.view,
48- :query => service.request.query
49- )
50- )
51- end
52- html.tag('body', 'id' => html_id) do |body|
53- super(body)
54- end
55- end
5626 end
5727 end
5828 end
Show on old repository browser