{
if (!param) // user must have pressed Cancel
return false;
else
return true;
}, null);
}
/*]]>*/
</script>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/campsiteattachment.js"></script>
<script type="text/javascript" src="assets/images.js"></script>
</head>
<body>
<?php if ($manager->isValidBase() == false) { drawErrorBase($manager); }
elseif(count($list) > 0) { ?>
<table>
<tr>
<?php drawFiles($list, $manager); ?>
</tr>
</table>
<?php
$firstAttachment = array_shift($list);
if (!empty($firstAttachment)) {
$downloadURL = $firstAttachment['attachment']->getAttachmentUrl() . '?g_download=1';
$languageId = $firstAttachment['attachment']->getLanguageId();
if (empty($languageId)) {
$languageId = (int) $_REQUEST['language_selected'];
}