Files
Facilitor/APPL/Shared/Bijlagen.asp
Jos Groot Lipman 5dd2ffe7bb PNBR#36941 Foto bij res_deel en res_artikel ook prodsearch en eigen folder
svn path=/Website/trunk/; revision=30552
2016-09-05 12:28:12 +00:00

73 lines
2.3 KiB
Plaintext

<%@language = "javascript"%>
<% /*
$Revision$
$Id$
File: shared/Bijlagen.asp
Description: Toon de knoppen voor de diverse bijlagen dialogen
Parameters:
Context: Vanuit menu
Note: Hulpbestand om 'rechtstreeks' bijlagen te uploaden
*/ %>
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="./flexfiles.inc" -->
<%
FCLTHeader.Requires({plugins: ["jQuery"],
js: ["jQuery-ui.js"],
css: []});
%>
<html>
<head>
<% FCLTHeader.Generate(); %>
<script>
function bl (url)
{
FcltMgr.openModalDetail(url);
}
</script>
</head>
<body class="modal" id="mod_bijlagen">
<form name="u2">
<% BLOCK_START("bijlagen",L("lcl_appendixes"));
var xfunc = user.func_enabled("*");
function bijlagen(autfunction, label, module)
{
if (xfunc.canWrite(autfunction))
{
var url = "../shared/BijlagenForm.asp?module=" + module;
var proturl = protectQS.create(url);
CreateButton(label, "bl('" + safe.jsstring(proturl) + "')");
}
}
// TODO: Authorisatie functies anders, lcl's??
bijlagen("WEB_PRSSYS", "Reservering foto's", "RESPH");
bijlagen("WEB_PRSSYS", "Reservering artikel foto's", "RESPHA");
bijlagen("WEB_PRSSYS", "Reservering voorziening foto's", "RESPHD");
bijlagen("WEB_PRSSYS", "Facilitor Graphics DWF bestanden", "FGII");
bijlagen("WEB_PRSSYS", "Facilitor Graphics Vluchtplannen", "FGIIV");
bijlagen("WEB_PRSSYS", "Facilitor Graphics Symbolen", "FGIIS");
bijlagen("WEB_PRSSYS", "Facilitor Graphics Project DWF", "FGIIP");
bijlagen("WEB_PRSSYS", "Bestelartikel plaatjes", "BESPH");
bijlagen("WEB_PRSSYS", "Objecten plaatjes", "INSPH");
bijlagen("WEB_PRSSYS", "Melding plaatjes", "MLDS");
bijlagen("WEB_PRSSYS", "Marktplaats foto's", "MRK");
bijlagen("WEB_PRSSYS", "Menu plaatjes", "MENU");
bijlagen("WEB_PRSSYS", "Opdrachtverstrekking bijlagen", "BDRADR");
BLOCK_END();
IFACE.FORM_END();
%>
</form>
</body>
</html>