Changeset 832

Show
Ignore:
Timestamp:
06/14/07 10:53:05 (2 years ago)
Author:
sgillies
Message:

Use xhtml for display forms

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Bibliomane/trunk/bibliomane/browser/corp.pt

    r822 r832  
    1 <html> 
     1<html 
     2  xmlns="http://www.w3.org/1999/xhtml" 
     3  xmlns:tal="http://xml.zope.org/namespaces/tal" 
     4  xmlns:metal="http://xml.zope.org/namespaces/metal" 
     5  xmlns:i18n="http://xml.zope.org/namespaces/i18n" 
     6  i18n:domain="" 
     7  > 
    28  <head> 
    39    <link  
  • Bibliomane/trunk/bibliomane/browser/expression.pt

    r830 r832  
    1 <html> 
     1<html 
     2  xmlns="http://www.w3.org/1999/xhtml" 
     3  xmlns:tal="http://xml.zope.org/namespaces/tal" 
     4  xmlns:metal="http://xml.zope.org/namespaces/metal" 
     5  xmlns:i18n="http://xml.zope.org/namespaces/i18n" 
     6  i18n:domain="" 
     7  > 
    28  <head> 
    39    <link  
  • Bibliomane/trunk/bibliomane/browser/item.pt

    r830 r832  
    1 <html> 
     1<html 
     2  xmlns="http://www.w3.org/1999/xhtml" 
     3  xmlns:tal="http://xml.zope.org/namespaces/tal" 
     4  xmlns:metal="http://xml.zope.org/namespaces/metal" 
     5  xmlns:i18n="http://xml.zope.org/namespaces/i18n" 
     6  i18n:domain="" 
     7  > 
    28  <head> 
    39    <link  
  • Bibliomane/trunk/bibliomane/browser/manifestation.pt

    r830 r832  
    1 <html> 
     1<html 
     2  xmlns="http://www.w3.org/1999/xhtml" 
     3  xmlns:tal="http://xml.zope.org/namespaces/tal" 
     4  xmlns:metal="http://xml.zope.org/namespaces/metal" 
     5  xmlns:i18n="http://xml.zope.org/namespaces/i18n" 
     6  i18n:domain="" 
     7  > 
    28  <head> 
    39    <link  
  • Bibliomane/trunk/bibliomane/browser/person.pt

    r829 r832  
    1 <html> 
     1<html 
     2  xmlns="http://www.w3.org/1999/xhtml" 
     3  xmlns:tal="http://xml.zope.org/namespaces/tal" 
     4  xmlns:metal="http://xml.zope.org/namespaces/metal" 
     5  xmlns:i18n="http://xml.zope.org/namespaces/i18n" 
     6  i18n:domain="" 
     7  > 
    28  <head> 
    39    <link  
     
    1925    <!-- FRBR Attributes --> 
    2026   
    21     <div class="widget" tal:repeat="widget view/frbr_widgets"> 
     27    <div class="widget" 
     28      tal:repeat="widget view/frbr_widgets" 
     29      > 
    2230      <label><span tal:content="widget/label">LABEL</span>:</label> 
    2331      <br/> 
  • Bibliomane/trunk/bibliomane/browser/principals.py

    r829 r832  
    33from zope.app.pagetemplate import ViewPageTemplateFile 
    44from zope.app.form.browser import DateWidget 
    5 from zope.formlib.form import AddForm, DisplayForm, EditForm, Fields 
     5from zope.formlib.form import AddForm, EditForm, Fields 
    66 
    77from bibliomane.interfaces import IPerson, ICorporateBody 
     
    99from bibliomane.principals import Person, CorporateBody 
    1010from bibliomane.relationship import find_sources 
     11from bibliomane.browser.form import DisplayForm 
    1112 
    1213# Person 
  • Bibliomane/trunk/bibliomane/browser/work.pt

    r830 r832  
    1 <html> 
     1<html 
     2  xmlns="http://www.w3.org/1999/xhtml" 
     3  xmlns:tal="http://xml.zope.org/namespaces/tal" 
     4  xmlns:metal="http://xml.zope.org/namespaces/metal" 
     5  xmlns:i18n="http://xml.zope.org/namespaces/i18n" 
     6  i18n:domain="" 
     7  > 
    28  <head> 
    39    <link  
  • Bibliomane/trunk/bibliomane/browser/works.py

    r831 r832  
    33from zope.app.pagetemplate import ViewPageTemplateFile 
    44from zope.app.form.browser import DateWidget 
    5 from zope.formlib.form import AddForm, DisplayForm, EditForm, Fields 
     5from zope.formlib.form import AddForm, EditForm, Fields 
    66 
    77from bibliomane.interfaces import IWork, IExpression, IManifestation, IItem 
    88from bibliomane.works import Work, Expression, Manifestation, Item 
    9  
     9from bibliomane.browser.form import DisplayForm 
    1010 
    1111# Work 
  • Bibliomane/trunk/bibliomane/interfaces.py

    r821 r832  
    224224 
    225225    link = URI( 
    226         title=u"URI", 
     226        title=u"Link", 
    227227        description=u"A link to more authoritative information", 
    228228        required=False, 
  • Bibliomane/trunk/bibliomane/principals.py

    r821 r832  
    3131    name = u"" 
    3232    name_language = u"" 
    33     link = u"" 
     33    link = None 
    3434 
    3535    def __init__(self, name=u""): 
  • Bibliomane/trunk/bibliomane/works.py

    r821 r832  
    4040    title_language = u"" 
    4141    form = u"" 
    42     date = u"" 
     42    date = "" 
    4343    subject_tags = [] 
    4444    responsibility_marker = ICreatedBy