On Wed, Feb 14, 2001 at 11:31:54AM +0000, John P . Looney mentioned:
> Emile kindly helped me out last week with an active page for serving
> blobs attached to styles. Since I upgraded to 1.4.1beta, it's broken -
Actually, I think it's related to the fact that when I go to;
http://midgard.linux.ie/asgard/attachment/style/9/view/61.html
I get:
Parse error: parse error in snippet:///Asgard/Templates/default/attachment
on line 51
?><?
global $AsgMsg;
$tpl_param=array(
"mode" => "view",
"parse" => "template",
"prefix" => "",
"template" => "",
"elements" => array(
"form" => array(
"type" => "form",
"action" => "",
"method" => "POST",
"option" => "ENCTYPE=\"multipart/form-data\""
// "option" => ""
),
"action" => array(
"type" => "hidden",
"name" => "whattodo",
"value" => ""
),
"title" => array(
"label" => $AsgMsg->Attachment_Title,
"type" => "string",
"value" => "",
"option" => "size=20"
),
"name" => array(
"label" => $AsgMsg->Attachment_Name,
"type" => "string",
"value" => ""
),
"mimetype" => array(
"label" => $AsgMsg->Attachment_MimeType,
"type" => "string",
"value" => ""
),
"blob" => array(
"label" => $AsgMsg->Attachment_File,
"type" => "string",
"mode" => "view",
"filter" => "Asgard_Template_raw_filter",
"value" => ""
),
"ok" => array(
"label" => $AsgMsg->Common_ButtonSubmit,
"type" => "submit",
"name" => "submit"
)
)
);
<?
BTW, blob 61 is the one I'm trying to serve. The code looks fine to me
though...
Kate
--
When I say 'free', I mean 'free': free from bond, of chain or command:
to go where you will, even to Mordor, Saruman, if you desire. "
-- Gandalf, paraphrasing the choice between Free and Non-free software
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]