improved codetemplate wizards; new html tag wizards
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / wizards / PHPFileWizardPage.java
index eb48f26..c84715c 100644 (file)
@@ -127,7 +127,7 @@ public class PHPFileWizardPage extends WizardPage {
         containerText.setText(container.getFullPath().toString());
       }
     }
-    fileText.setText("index.php");
+    fileText.setText("*.php");
   }
 
   /**
@@ -165,10 +165,10 @@ public class PHPFileWizardPage extends WizardPage {
       return;
     }
 
-    if (!PHPFileUtil.isPHPFileName(fileName)) {
-      updateStatus(PHPWizardMessages.getString("WizardPage.mustBePHP"));
-      return;
-    }
+//    if (!PHPFileUtil.isPHPFileName(fileName)) {
+//      updateStatus(PHPWizardMessages.getString("WizardPage.mustBePHP"));
+//      return;
+//    }
     updateStatus(null);
   }