| phpMyEdit - Rozšírené detaily chyby | [ Späť ] | ||||
|
|
|||||
| ID: | Kategória: | Dôležitosť: | Reprodukovateľnosť: | Dátum vloženia: | Posledná zmena: |
| 219 | setup script | veľká | vždy | 2004-04-10 22:32 | 2006-01-23 01:44 |
|
|
|||||
| Autor: | brycen | Platforma: | |||
| Priradené: | nepto | OS: | |||
| Priorita: | normálna | Verzia: | |||
| Stav: | uzavretý | Verzia produktu: | 5.4 (stable) | ||
| Build produktu: | Riešenie: | vyriešený | |||
| Projection: | žiadny | Duplicitné ID: | |||
| ETA: | žiadny | ||||
|
|
|||||
| Zhrnutie: | Check "HTML header & footer", setup generates NO php code | ||||
| Popis: |
Using phpMyEdit 5.4, if I check on the setup option "HTML header & footer", phpMyEdit setup generates HTML ,but forgets to include the php code! -------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>stuff</title> <style type="text/css"> table { border: #004d9c 1px solid; border-collapse: collapse; border-spacing: 0px; width: 100%; } th { border: #004d9c 1px solid; padding: 4px; background: #add8e6; } td { border: #004d9c 1px solid; padding: 3px; } hr { border: 0px solid; padding: 0px; margin: 0px; border-top-width: 1px; height: 1px; } </style> </head> <body> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>stuff</title> <style type="text/css"> table { border: #004d9c 1px solid; border-collapse: collapse; border-spacing: 0px; width: 100%; } th { border: #004d9c 1px solid; padding: 4px; background: #add8e6; } td { border: #004d9c 1px solid; padding: 3px; } hr { border: 0px solid; padding: 0px; margin: 0px; border-top-width: 1px; height: 1px; } </style> </head> <body></body> </html> |
||||
| Kroky k vyvolaniu: | |||||
| Dalšie informácie: |
Here's one way to fix it. Use a different variable name when adding the HTML: ------------------------------------------------------- if ($HTMLissues) { $buffer2 = <<<END <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>$pageTitle</title> $css_directive </head> <body> END; $buffer = $buffer2 . $buffer; |
||||
| Pripojené súbory: | |||||
| Poznámky k chybe | ||||
|
|
||||
|
|
|||
|
|
||||
|
|
|||
|
|
||||
|
|
|||
|
|
||||
|
|
|||
|
|
||||
|
|
|||
|
|
||||
|
|
|||
|
|
||||
|
|
|||
|
|
||||
|
|
|||
|
|
||||
|
|
|||