http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95157

Revision: 95157
Author:   ankitgarg833
Date:     2011-08-21 17:19:45 +0000 (Sun, 21 Aug 2011)
Log Message:
-----------
changing few XML tags.

Modified Paths:
--------------
    trunk/extensions/PageSchemas/specials/PS_EditSchema.php

Modified: trunk/extensions/PageSchemas/specials/PS_EditSchema.php
===================================================================
--- trunk/extensions/PageSchemas/specials/PS_EditSchema.php     2011-08-21 
17:18:55 UTC (rev 95156)
+++ trunk/extensions/PageSchemas/specials/PS_EditSchema.php     2011-08-21 
17:19:45 UTC (rev 95157)
@@ -340,7 +340,7 @@
                                $text_4 .= '<form id="editPageSchemaForm" 
action="" method="post">' . "\n";
                                $text_4 .= '<p>'.$schema_name_label.' <input 
type="text" name="s_name" value="'.$pageName.'" /> </p> ';
                                foreach ( $pageXml->children() as $template_xml 
) {
-                                       if ( ($template_xml->getName() != 
'Template') && ($template_xml->getName() != 'Form') ){
+                                       if ( ($template_xml->getName() != 
'Template') && ($template_xml->getName() != 'semanticforms_Form') ){
                                                $ps_add_xml .= 
(string)$template_xml->asXML();
                                        }
                                }                       


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to