Permalink
Browse files

Added package name for gamification code

Updated header icon
Added app name configuration parameter
  • Loading branch information...
1 parent 809ebb7 commit 3e6d12312f936938754a085dcb122c0cf7ef3f6f @sergeychernyshev sergeychernyshev committed Oct 15, 2012
Showing with 11 additions and 19 deletions.
  1. +6 −0 Badge.php
  2. +0 −19 LICENSE
  3. +5 −0 default_config.php
  4. BIN images/header_icon.png
View
@@ -2,6 +2,9 @@
/**
* This class represents gamification badges people can uses
+ *
+ * @package StartupAPI
+ * @subpackage Gamification
*/
class Badge {
@@ -337,6 +340,9 @@ public static function triggerActivityBadge($user, $activity_id) {
/**
* Basic data structure to hold information about activity triggers
*
+ * @package StartupAPI
+ * @subpackage Gamification
+ *
* @internal Used only for data management in Badge class
*/
class badgeActivityTrigger {
View
@@ -1,19 +0,0 @@
-Copyright (c) 2010 Sergey Chernyshev
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
View
@@ -276,6 +276,11 @@ class UserConfig
**************************************************************************/
/**
+ * @var string Application name
+ */
+ public static $appName;
+
+ /**
* @var string File system path to header HTML file.
*/
public static $header;
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3e6d123

Please sign in to comment.