~ubuntu-branches/ubuntu/trusty/ldap-account-manager/trusty-proposed

« back to all changes in this revision

Viewing changes to templates/massDoUpload.php

  • Committer: Package Import Robot
  • Author(s): Roland Gruber
  • Date: 2013-07-21 11:15:58 UTC
  • mfrom: (1.2.21)
  • Revision ID: package-import@ubuntu.com-20130721111558-ex49xgcpo71fh0xg
Tags: 4.2.1-2
* Apache 2.4 support
* Fix "transition towards Apache 2.4" 
  support conf-enabled (Closes: #669824)
* Fix "[ldap-account-manager] Can't install ldap-account-manager"
  support conf-enabled (Closes: #711778)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
2
/*
3
 
$Id: massDoUpload.php 4717 2013-01-19 13:18:52Z gruberroland $
 
3
$Id: massDoUpload.php 4888 2013-05-01 12:36:17Z gruberroland $
4
4
 
5
5
  This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
6
 
  Copyright (C) 2004 - 2012  Roland Gruber
 
6
  Copyright (C) 2004 - 2013  Roland Gruber
7
7
 
8
8
  This program is free software; you can redistribute it and/or modify
9
9
  it under the terms of the GNU General Public License as published by
68
68
        logNewMessage(LOG_ERR, 'User tried to access hidden upload: ' . $scope);
69
69
        die();
70
70
}
 
71
if (!checkIfNewEntriesAreAllowed($scope)) {
 
72
        logNewMessage(LOG_ERR, 'User tried to access forbidden upload: ' . $scope);
 
73
        die();
 
74
}
71
75
 
72
76
echo '<div class="' . $scope . '-bright smallPaddingContent">';
73
77