Bug 116110

Summary: If PHP-heading is desactivated the needed PHP open tag "<?php" isn't written in PHP source code output.
Product: [Applications] umbrello Reporter: Haeber <thomas>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: okellogg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: add <?php if no header file was selected

Description Haeber 2005-11-11 04:59:38 UTC
Version:           1.4.92 (using KDE 3.4.92 (beta2, >= 20051010) Level "a" , SUSE 10.0 UNSUPPORTED)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.13-15-default

There should be the possibility to create valid PHP source code with an php starter tag "<?php" without an explecit set heading-file. The end tag "?>" is also created without heading. --> remove this opening tag from heading and create it from hardcoded umbrello source.
If you don't agree read on:

Furthermore there should be the possabilty to change the open-tag to the allowed tags '<% %>', '<? ?>' and '<script language="php"> </script>'.

Best regards
Thomas
Comment 1 Alexander Opitz 2009-02-01 16:58:24 UTC
Created attachment 30829 [details]
add <?php if no header file was selected

This adds the <?php start to the file if no header file exists.
For the rest, it seems there is no UI Element for such things.
Comment 2 Oliver Kellogg 2012-02-12 00:54:39 UTC

*** This bug has been marked as a duplicate of bug 155382 ***