<p><?php echo t('File uploaded !') ?></p>
<div id="upload_finished_download_page">
- <p><?php echo t('Download page') ?></p>
+ <p>
+ <?php echo t('Download page') ?>
+ <a id="upload_link_email" href=""><img id="upload_image_email"/></a>
+ </p>
<p><a id="upload_link" href=""></a></p>
</div>
document.getElementById('upload_link').href = download_link_href;
}
+ // Email link
+ var filename = document.getElementById('file_select').files[0].name;
+ var b = "Download%20%22" + filename + "%22 :%0D" + download_link_href + "%0D";
+ document.getElementById('upload_link_email').href = "mailto:?body=" + b + "&subject=" + filename;
+
// Delete link
var delete_link = url + 'f.php?h=' + reference + '&d=' + delete_code;
var delete_link_href = url + 'f.php?h=' + reference + '&d=' + delete_code;
<link href="<?php echo $web_root . 'media/' . $style . '/style.css.php'; ?>" rel="stylesheet" type="text/css" />
</head>
<body>
-<script language="Javascript" src="lib/functions_v5.js"></script>
+<script language="Javascript" src="lib/functions_v6.js"></script>
<div id="content">
<h1><a href="<?php echo $web_root; ?>"><?php echo t('Jirafeau, your web file repository'); ?></a></h1>
font-weight: bold;
}
+#upload_image_email {
+ padding-left: 20px;
+ margin-left: 10px;
+ background: url(email.png) no-repeat;
+}
+
/* ==========================================================================
5 = Terms of service
========================================================================== */
font-weight: bold;
color: red;
}
+
+#upload_image_email {
+ padding-left: 20px;
+ margin-left: 10px;
+ background: url(email.png) no-repeat;
+}
+
font-weight: bold;
color: red;
}
+
+#upload_image_email {
+ padding-left: 20px;
+ margin-left: 10px;
+ background: url(email.png) no-repeat;
+}
font-weight: bold;
color: red;
}
+
+#upload_image_email {
+ padding-left: 20px;
+ margin-left: 10px;
+ background: url(email.png) no-repeat;
+}