Index: trunk/extensions/PageSchemas/PageSchemas.classes.php |
— | — | @@ -98,11 +98,11 @@ |
99 | 99 | <?xml version="1.0" encoding="utf-8"?> |
100 | 100 | <!DOCTYPE PageSchema [ |
101 | 101 | <!ELEMENT PageSchema (Template*)> |
102 | | -<!ELEMENT PageSchema (Form*)> |
| 102 | +<!ELEMENT PageSchema (semanticforms_Form*)> |
103 | 103 | <!ATTLIST PageSchema name CDATA #REQUIRED> |
104 | 104 | <!ELEMENT Template (Field*)> |
105 | 105 | <!ATTLIST Template name CDATA #REQUIRED> |
106 | | -<!ATTLIST Form name CDATA #REQUIRED> |
| 106 | +<!ATTLIST semanticforms_Form name CDATA #REQUIRED> |
107 | 107 | <!ATTLIST Field name CDATA #REQUIRED> |
108 | 108 | ]> |
109 | 109 | |
— | — | @@ -146,7 +146,7 @@ |
147 | 147 | $name = $class_schema_xml->attributes()->name; |
148 | 148 | $text .= self::tableRowHTML('paramGroup', 'PageSchema', $name); |
149 | 149 | foreach ( $class_schema_xml->children() as $tag => $child ) { |
150 | | - if ( $tag == 'Form' ){ |
| 150 | + if ( $tag == 'semanticforms_Form' ){ |
151 | 151 | $text .= self::parseFormElem($child); |
152 | 152 | } |
153 | 153 | else if ($tag == 'Template') { |
— | — | @@ -264,7 +264,7 @@ |
265 | 265 | } |
266 | 266 | /*return an array of PSTemplate Objects */ |
267 | 267 | function getFormArray () { |
268 | | - $obj = $this->getObject('Form'); |
| 268 | + $obj = $this->getObject('semanticforms_Form'); |
269 | 269 | return $obj['sf']; |
270 | 270 | } |
271 | 271 | /*return an array of PSTemplate Objects */ |