Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 232491b

Browse files
author
Charles Ma
committed
ENH: refs #233 Added apache2 license
Fixed GlobalController.php style Removed Phpstylecheck .svn folders Remove module/template
1 parent 66265c8 commit 232491b

File tree

478 files changed

+6836
-11670
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

478 files changed

+6836
-11670
lines changed

COPYRIGHT.txt

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
MIDAS Server
2-
3-
Copyright (c) 2011 Kitware SAS. All rights reserved.
4-
See Copyright.txt for details. More information http://www.kitware.fr
5-
6-
This software is distributed WITHOUT ANY WARRANTY; without even
7-
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8-
PURPOSE. See the above copyright notices for more information.
9-
1+
MIDAS Server
2+
Copyright (c) Kitware SAS. 20 rue de la Villette. 69328 Lyon, FRANCE
3+
All rights reserved.
4+
More information http://www.kitware.com

LICENSE.txt

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,16 @@
1-
MIDAS is an open-source software licensed under the BSD license.
1+
MIDAS Server
2+
Copyright (c) Kitware SAS. 20 rue de la Villette. 69328 Lyon, FRANCE
3+
All rights reserved.
4+
More information http://www.kitware.com
25

3-
Copyright (c) 2006-2011 Kitware SAS. All rights reserved.
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
49

5-
Redistribution and use in source and binary forms, with or without modification,
6-
are permitted provided that the following conditions are met:
10+
http://www.apache.org/licenses/LICENSE-2.0.txt
711

8-
* Redistributions of source code must retain the above copyright notice,
9-
this list of conditions and the following disclaimer.
10-
* Redistributions in binary form must reproduce the above copyright notice,
11-
this list of conditions and the following disclaimer in the documentation
12-
and/or other materials provided with the distribution.
13-
* Neither name of Kitware Inc nor the names of any contributors may be used to
14-
endorse or promote products derived from this software without specific
15-
prior written permission.
16-
17-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
18-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
19-
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20-
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY
21-
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
24-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
26-
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.

core/AppComponent.php

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
<?php
22
/*=========================================================================
3-
MIDAS Server
4-
Copyright (c) Kitware SAS. 20 rue de la Villette. All rights reserved.
5-
69328 Lyon, FRANCE.
3+
MIDAS Server
4+
Copyright (c) Kitware SAS. 20 rue de la Villette. 69328 Lyon, FRANCE
5+
All rights reserved.
6+
More information http://www.kitware.com
67
7-
See Copyright.txt for details.
8-
This software is distributed WITHOUT ANY WARRANTY; without even
9-
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10-
PURPOSE. See the above copyright notices for more information.
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0.txt
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
1119
=========================================================================*/
1220

1321
/**

core/AppController.php

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
<?php
22
/*=========================================================================
3-
MIDAS Server
4-
Copyright (c) Kitware SAS. 20 rue de la Villette. All rights reserved.
5-
69328 Lyon, FRANCE.
6-
7-
See Copyright.txt for details.
8-
This software is distributed WITHOUT ANY WARRANTY; without even
9-
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10-
PURPOSE. See the above copyright notices for more information.
3+
MIDAS Server
4+
Copyright (c) Kitware SAS. 20 rue de la Villette. 69328 Lyon, FRANCE
5+
All rights reserved.
6+
More information http://www.kitware.com
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0.txt
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
1119
=========================================================================*/
1220

1321
/**

core/AppForm.php

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
<?php
22
/*=========================================================================
3-
MIDAS Server
4-
Copyright (c) Kitware SAS. 20 rue de la Villette. All rights reserved.
5-
69328 Lyon, FRANCE.
3+
MIDAS Server
4+
Copyright (c) Kitware SAS. 20 rue de la Villette. 69328 Lyon, FRANCE
5+
All rights reserved.
6+
More information http://www.kitware.com
67
7-
See Copyright.txt for details.
8-
This software is distributed WITHOUT ANY WARRANTY; without even
9-
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10-
PURPOSE. See the above copyright notices for more information.
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0.txt
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
1119
=========================================================================*/
1220

1321
/** Common Form Class*/

core/Bootstrap.php

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
<?php
22
/*=========================================================================
3-
MIDAS Server
4-
Copyright (c) Kitware SAS. 20 rue de la Villette. All rights reserved.
5-
69328 Lyon, FRANCE.
3+
MIDAS Server
4+
Copyright (c) Kitware SAS. 20 rue de la Villette. 69328 Lyon, FRANCE
5+
All rights reserved.
6+
More information http://www.kitware.com
67
7-
See Copyright.txt for details.
8-
This software is distributed WITHOUT ANY WARRANTY; without even
9-
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10-
PURPOSE. See the above copyright notices for more information.
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0.txt
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
1119
=========================================================================*/
1220

1321
/**

core/ComponentLoader.php

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
<?php
22
/*=========================================================================
3-
MIDAS Server
4-
Copyright (c) Kitware SAS. 20 rue de la Villette. All rights reserved.
5-
69328 Lyon, FRANCE.
3+
MIDAS Server
4+
Copyright (c) Kitware SAS. 20 rue de la Villette. 69328 Lyon, FRANCE
5+
All rights reserved.
6+
More information http://www.kitware.com
67
7-
See Copyright.txt for details.
8-
This software is distributed WITHOUT ANY WARRANTY; without even
9-
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10-
PURPOSE. See the above copyright notices for more information.
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0.txt
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
1119
=========================================================================*/
1220

1321
/**

core/GlobalComponent.php

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
<?php
22
/*=========================================================================
3-
MIDAS Server
4-
Copyright (c) Kitware SAS. 20 rue de la Villette. All rights reserved.
5-
69328 Lyon, FRANCE.
3+
MIDAS Server
4+
Copyright (c) Kitware SAS. 20 rue de la Villette. 69328 Lyon, FRANCE
5+
All rights reserved.
6+
More information http://www.kitware.com
67
7-
See Copyright.txt for details.
8-
This software is distributed WITHOUT ANY WARRANTY; without even
9-
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10-
PURPOSE. See the above copyright notices for more information.
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0.txt
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
1119
=========================================================================*/
1220

1321
/**

core/GlobalController.php

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
<?php
22
/*=========================================================================
3-
MIDAS Server
4-
Copyright (c) Kitware SAS. 20 rue de la Villette. All rights reserved.
5-
69328 Lyon, FRANCE.
6-
7-
See Copyright.txt for details.
8-
This software is distributed WITHOUT ANY WARRANTY; without even
9-
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10-
PURPOSE. See the above copyright notices for more information.
3+
MIDAS Server
4+
Copyright (c) Kitware SAS. 20 rue de la Villette. 69328 Lyon, FRANCE
5+
All rights reserved.
6+
More information http://www.kitware.com
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0.txt
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
1119
=========================================================================*/
1220

1321
require_once BASE_PATH.'/library/KWUtils.php';
@@ -204,7 +212,7 @@ public function loadElements()
204212
{
205213
$nameComponent = $component . "Component";
206214
Zend_Loader::loadClass($nameComponent, BASE_PATH . '/core/controllers/components');
207-
if(!isset($this->Component))
215+
if(!isset($this->Component))
208216
{
209217
$this->Component = new stdClass();
210218
}
@@ -224,7 +232,7 @@ public function loadElements()
224232
$nameForm = $forms . "Form";
225233

226234
Zend_Loader::loadClass($nameForm, BASE_PATH . '/core/controllers/forms');
227-
if(!isset($this->Form))
235+
if(!isset($this->Form))
228236
{
229237
$this->Form = new stdClass();
230238
}

core/Notification.php

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
<?php
22
/*=========================================================================
3-
MIDAS Server
4-
Copyright (c) Kitware SAS. 20 rue de la Villette. All rights reserved.
5-
69328 Lyon, FRANCE.
6-
7-
See Copyright.txt for details.
8-
This software is distributed WITHOUT ANY WARRANTY; without even
9-
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10-
PURPOSE. See the above copyright notices for more information.
3+
MIDAS Server
4+
Copyright (c) Kitware SAS. 20 rue de la Villette. 69328 Lyon, FRANCE
5+
All rights reserved.
6+
More information http://www.kitware.com
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0.txt
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
1119
=========================================================================*/
1220

1321
/** notification manager*/

0 commit comments

Comments
 (0)