All pastes #772348 Raw Edit

Something

public xml v1 · immutable
·published 2007-11-13 19:22 UTC
rendered paste body
<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"      xmlns:c="http://wunderlin.net/compiler"      xmlns:f="http://wunderlin.net/compiler/form"      xmlns:db="http://wunderlin.net/compiler/mdb2"      xml:lang="en" lang="en"><!-- $Id: index.html 270 2007-11-12 10:53:29Z Simon Wunderlin $ --><head>	<title>News</title>	<c:style file="style.css" />	<!--[if lte IE 6]>	<link rel="stylesheet" type="text/css" href="../ie6.css" />	<![endif]-->	<script type="text/javascript">	function show_upload() {		document.getElementById('attach_name').style.display='none';		document.getElementById('attach_link').style.display='none';		document.getElementById('attach_replace').parentNode.style.display='none';		document.getElementById('attachment').style.display='inline';		document.getElementById('attach_keep').style.display='inline';	}	function show_existing() {		document.getElementById('attach_name').style.display='block';		document.getElementById('attach_link').style.display='block';		document.getElementById('attach_replace').parentNode.style.display='block';		document.getElementById('attachment').style.display='none';		document.getElementById('attach_keep').style.display='none';	}	</script>	<style type="text/css">		#attach_name {			border: 1px inset ThreeDFace;			padding: 0.1em 0.1em 0.1em 0.1em;		}	</style></head><body><h1>#$input.module# » Edit/Add News release</h1><?php include "module/news/template/nav.html"; ?><c:if condition="isset($error)">	<fieldset><legend>Error</legend>		Data could not be saved!		<ul>			<c:foreach data="$error" item="err" index="name">				<li>#$name#: #$err["error"]#</li>			</c:foreach>		</ul>	</fieldset></c:if><form method="post" action="admin.news.html">	<fieldset>	<legend>Data</legend>	<div>		<label for="date" class="required">Date</label>		<f:date name="date">#$article['date']#</f:date>	</div>	<div>		<label for="title" class="required">Title</label>		<f:text name="title" size="50">#$article['title']#</f:text>	</div>	<div>		<label for="text" class="required">Text</label>		<f:html name="text" type="minimal" 		        style="width: 500px; height: 250px;">#$article['text']#</f:html>	</div>		<div>		<label for="attachment">Attachment</label>		<c:if condition="$article['text']">			<span id="attach_name">				<a href="#$input.BASE_URI#/file.php?fid=#$article['attach_fid']#">#$article['attach']#</a>			</span>			<!--#label for="attach_replace"><f:checkbox name="attach_replace"></f:checkbox></label#-->			<f:checkbox name="attach_replace" label="Remove">1</f:checkbox>			<a id="attach_link" href="javascript:void(0)" onclick="show_upload()">Replace</a>			<f:upload name="attachment" size="45" style="display: none;"></f:upload>		<c:else/>			<f:upload name="attachment" size="45"></f:upload>			<span id="attach_keep">				<a href="javascript:void(0);" onclick="show_existing();">Keep</a>			</span>		</c:if>	</div>	</fieldset>	<hr/> 	<input type="submit" value="Save »"/>	<input type="button" value="Cancel" onclick="history.back();" />	<input type="hidden" name="action" value="updatenews" />	<input type="hidden" name="nid" value="#$article['nid']#" />	<input type="hidden" name="nkid" value="1" /></form></body></html>