<td style='border:0px;'></td> EOD; } else { $theTitle = <<< EOD <td style='border:0px; padding: 0px 0px 20px 0px;'><label for='articleTitle'>Titel</label></td> <td style='border:0px;'><input type='text' name='articleTitle' value='{$title}' size=50; class='articleForm'/></td> EOD; } // adding delete-functionality for admin/current user $deleteLink = <<< EOD <a href='?m=tuna&p=deletep&postId={$postId}&articleId={$articleId}'style='margin: 0 20px 0 0;' class='comment'>Ta bort post/ämne</a> EOD; $deleteLink = ($iFilter->UserIsAdmin()) ? $deleteLink : ''; //--------------------------------------------------------------------------------------------- // // the content of the page // $htmlHead = <<< EOD <link rel='stylesheet' type='text/css' href='{$javaPath}jgrowl/jquery.jgrowl.css' /> <script type='text/javascript' src='{$javaPath}jgrowl/jquery.jgrowl.js'></script> <script type='text/javascript' src='{$javaPath}jquery-autosave/jquery.form.js'></script> <script type='text/javascript' src='{$javaPath}jquery-autosave/jquery.autosave.js'></script> EOD;