Skip to content

Copyright headers

webbird edited this page Feb 3, 2013 · 7 revisions

Files inherited from Website Baker and LEPTON 1.x

This is the correct file header for core files that were inherited from Website Baker 2.8.1 and LEPTON 1.x. Please note that the @category and @package tags may differ. A list of values for these tags will be published later.

/**
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 3 of the License, or (at
 *   your option) any later version.
 *
 *   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
 *   General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program; if not, see <http://www.gnu.org/licenses/>.
 *
 *   @author          Website Baker Project, LEPTON Project, Black Cat Development
 *   @copyright       2004-2010, Website Baker Project
 *   @copyright       2011-2012, LEPTON Project
 *   @copyright       2013, Black Cat Development
 *   @link            http://blackcat-cms.org
 *   @license         http://www.gnu.org/licenses/gpl.html
 *   @category        CAT_Core
 *   @package         CAT_Core
 *
 */

Files created for Black Cat CMS

/**
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 3 of the License, or (at
 *   your option) any later version.
 *
 *   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
 *   General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program; if not, see <http://www.gnu.org/licenses/>.
 *
 *   @author          Black Cat Development
 *   @copyright       2013, Black Cat Development
 *   @link            http://blackcat-cms.org
 *   @license         http://www.gnu.org/licenses/gpl.html
 *   @category        CAT_Core
 *   @package         CAT_Core
 *
 */

Valid @category terms

CAT_Core

Files located in subfolders:

./account
./framework
./backend
./include
./install
./languages
./media (only if part of the bundle)

CAT_Modules

Files located in ./modules subfolder if they are part of the bundle.

CAT_3rd_Party

Preferred for modules created for Black Cat CMS, but not mandatory.

Valid @package terms

WB_Compatibility

  • files located in ./include subfolder
  • ./framework/wb2compat.php

Other

Any other files get their package from the folder they're located in, so it's 'Account' for ./account subfolder and 'menu_link' for menu_link module and so on.

Clone this wiki locally
You can’t perform that action at this time.