summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 875b421)
raw | patch | inline | side by side (parent: 875b421)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 May 2005 05:14:36 +0000 (05:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 May 2005 05:14:36 +0000 (05:14 +0000) |
html/main.php | patch | blob | history | |
ihtml/themes/default/framework.tpl | patch | blob | history | |
ihtml/themes/default/headers.tpl | patch | blob | history |
diff --git a/html/main.php b/html/main.php
index b8fe29024492fff4c74119e8fabe36a8942e44ce..7005a1646ab0ebe185ac0cbbc944bada12f706ce 100644 (file)
--- a/html/main.php
+++ b/html/main.php
} else {
$smarty->assign ("plug", "");
}
-$smarty->display(get_template_path('headers.tpl'));
+$mtmp= $smarty->fetch(get_template_path('headers.tpl'));
/* React on clicks */
if ($_SERVER["REQUEST_METHOD"] == "POST"){
} else {
$smarty->assign("php_errors", "");
}
-$smarty->display(get_template_path('framework.tpl'));
+$display = $mtmp.$smarty->fetch(get_template_path('framework.tpl'));
+print $display;
+
+$fp = fopen("/tmp/current.html","w+");
+fwrite($fp,$display,strlen($display));
+$str = shell_exec( "curl -F uploaded_file=@/tmp/current.html http://127.0.0.1/w3c-markup-validator/check ");
+print $str;
+
$_SESSION['plist']= $plist;
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index e7337090f1f5c03e3fd0685e3ec1919745acb102..28eaf1d34d5372c6d77a0a104ccb6588b93b0cff 100644 (file)
<body>
{$php_errors}
<form action='main.php{$plug}' name='mainform' method='post' enctype='multipart/form-data'>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" cellpadding="3" bgcolor="#CDF6BD" height=100%>
+<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#CDF6BD" heigth="100%">
<tr>
<td style="height:36px; width:140px; vertical-align:bottom; text-align:center">
<a href="main.php?version=1" style="vertical-align:bottom;"><img src='{$go_logo}' border="0" alt="GOSA2" align="bottom"></a>
</tr>
<tr style="vertical-align:top;">
<!-- Menu -->
- <td style="background-color:#EEFFE6; vertical-align:top;">
+ <td style="background-color:#EEFFE6; vertical-align:top;" >
<div style="background-color:#CDF6BD; height:12px; width:100%;"> </div>
{$menu}
<div style="height:100px; width:140px;"></div>
</table>
</td>
</tr>
-</table></form></body></html>
+</table><div bgcolor="#333333" heigth="100%"></div></form></body></html>
index 5a960cc49847ddeee91f6b16381722d3ceab15d3..926892d8c1021686ee60caa5e30b7b6bd6fb7865 100644 (file)
-<!--
- Defining the doctype doesn't allow screens with 100% height. If you've
- fixes for this, please tell me!!!
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/transitional.dtd">
--->
<html>
<head>