Changes

Coding Standards

2,737 bytes added, 18:40, 21 April 2014
/* File Headers */
set autoindent
</pre>
 
= Licence =
We have decided to release all our open sourced software under the [[agpl-3.0.txt | GNU Affero General Public License]] (Version 3, 19 November 2007).
 
== Scripts of Programmes consisting of one file ==
<pre>
Copyright (C) 2014 stepping stone GmbH
Switzerland
http://www.stepping-stone.ch
support@stepping-stone.ch
Authors:
Hans Mustermann <hans.mustermann@stepping-stone.ch>
 
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, version
3 of the License.
 
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
 
You should have received a copy of the GNU Affero General Public
License along with this program.
If not, see <http://www.gnu.org/licenses/>.
</pre>
 
== Scripts of Programmes consisting of multiple files ==
<pre>
Copyright (C) 2014 stepping stone GmbH
Switzerland
http://www.stepping-stone.ch
support@stepping-stone.ch
Authors:
Hans Mustermann <hans.mustermann@stepping-stone.ch>
 
This file is part of the stoney cloud.
 
stoney cloud is free software: you can redistribute it and/or
modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, version
3 of the License.
 
stoney cloud is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
 
You should have received a copy of the GNU Affero General Public
License along with stoney cloud.
If not, see <http://www.gnu.org/licenses/>.
</pre>
 
= File Headers =
The following file header examples presume, that your scripts of programmes consist of multiple files.
== PHP ==
<?php
/*
* Copyright (C) 2013 2014 stepping stone GmbH
* Switzerland
* http://www.stepping-stone.ch
* support@stepping-stone.ch
*
* Authors:
* Hans Mustermann <hans.mustermann@stepping-stone.ch>
*
* Licensed under the EUPL, Version 1.1.
*
* You may not use this work except in compliance with This file is part of thestoney cloud. * Licence. * You may obtain a copy stoney cloud is free software: you can redistribute it and/or * modify it under the terms of the Licence at:GNU Affero General Public * License as published by the Free Software Foundation, version * 3 of the License.
*
* http://wwwstoney cloud is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.osor See the * GNU Affero General Public License for more details.eu/eupl
*
* Unless required by applicable law or agreed to inYou should have received a copy of the GNU Affero General Public * writing, software distributed under the Licence isLicense * distributed on an "AS IS" basis,along with stoney cloud. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KINDIf not, either * express or impliedsee <http://www. * See the Licence for the specific language governing * permissions and limitations under the Licencegnu.org/licenses/>.
*
* $Id$
*
*
*/
################################################################################
#
# Copyright (C) 2013 2014 stepping stone GmbH
# Switzerland
# http://www.stepping-stone.ch
# support@stepping-stone.ch
#
# Authors:
# Hans Mustermann <hans.mustermann@stepping-stone.ch>
#
# Licensed under the EUPL, Version 1.1.
#
# You may not use this work except in compliance with This file is part of the# Licencestoney cloud.# You may obtain a copy of the Licence at:
#
# stoney cloud is free software: you can redistribute it and/or# modify it under the terms of the GNU Affero General Public # License as published by the Free Software Foundation, version# 3 of the License.## stoney cloud is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU Affero General Public License for more details.## You should have received a copy of the GNU Affero General Public# License along with stoney cloud.# If not, see <http://www.osorgnu.euorg/eupllicenses/>.## $Id$
#
# Unless required by applicable law or agreed to in
# writing, software distributed under the Licence is
# distributed on an "AS IS" basis,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
# express or implied.
# See the Licence for the specific language governing
# permissions and limitations under the Licence.
#
################################################################################
#!/usr/bin/perl -w
#
# Copyright (C) 2013 2014 stepping stone GmbH
# Switzerland
# http://www.stepping-stone.ch
# support@stepping-stone.ch
#
# Authors:
# Hans Mustermann <hans.mustermann@stepping-stone.ch>
#
# Licensed under the EUPL, Version 1.1.
#
# You may not use this work except in compliance with This file is part of the# Licencestoney cloud.# You may obtain a copy of the Licence at:
#
# httpstoney cloud is free software:you can redistribute it and//wwwor# modify it under the terms of the GNU Affero General Public # License as published by the Free Software Foundation, version# 3 of the License.osor.eu/eupl
#
# Unless required by applicable law or agreed to in# writing, software distributed under the Licence stoney cloud is# distributed on an "AS IS" basisin the hope that it will be useful,# but WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, eitherWARRANTY; without even the implied warranty of# express MERCHANTABILITY or impliedFITNESS FOR A PARTICULAR PURPOSE.# See the Licence # GNU Affero General Public License for the specific language governingmore details.# permissions and limitations under # You should have received a copy of the LicenceGNU Affero General Public# License along with stoney cloud.# If not, see <http://www.gnu.org/licenses/>.
#
# $Id$
<pre>
# Copyright (C) 2013 2014 stepping stone GmbH
# Switzerland
# http://www.stepping-stone.ch
# support@stepping-stone.ch
#
# Authors:
# Hans Mustermann <hans.mustermann@stepping-stone.ch>
#
# Licensed under the EUPL, Version 1.1.
#
# You may not use this work except in compliance with This file is part of thestoney cloud.# Licence.# You may obtain a copy stoney cloud is free software: you can redistribute it and/or# modify it under the terms of the Licence at:GNU Affero General Public # License as published by the Free Software Foundation, version# 3 of the License.
#
# http://wwwstoney cloud is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.osor See the# GNU Affero General Public License for more details.eu/eupl
#
# Unless required by applicable law or agreed to in# writing, software distributed under You should have received a copy of the Licence isGNU Affero General Public# distributed on an "AS IS" basis,License along with stoney cloud.# WITHOUT WARRANTIES OR CONDITIONS OF ANY KINDIf not, either# express or impliedsee <http://www.# See the Licence for the specific language governing# permissions and limitations under the Licencegnu.org/licenses/>.
#
# $Id$
SLB, editor, reviewer
3,368
edits