0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
14.1-0
/
standard
/
htdocs
/
lib
/
prefs
/
[
Home
]
File: goal.php
<?php // (c) Copyright 2002-2015 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: goal.php 53803 2015-02-06 00:42:50Z jyhem $ function prefs_goal_list($partial = false) { return array( 'goal_enabled' => array( 'name' => tr('Goal, Recognition and Rewards'), 'description' => tr('A tool to set motivational goals to increase engagement on the site.'), 'type' => 'flag', 'default' => 'n', 'admin' => $partial ?: TikiLib::lib('service')->getUrl(['controller' => 'goal', 'action' => 'admin']), 'help' => 'Goals', ), 'goal_badge_tracker' => array( 'name' => tr('Reward Badge Tracker'), 'description' => tr('Tracker ID containing the list of badges to be awarded on goal completion. Each badge can be awarded only once per user.'), 'type' => 'text', 'filter' => 'int', 'default' => 0, 'hint' => tr('0 to disable'), 'profile_reference' => 'tracker', 'dependencies' => ['feature_trackers'], ), 'goal_group_blacklist' => array( 'name' => tr('Groups not eligible for goals'), 'description' => tr('List of system groups that will be eliminated from the eligible group lists.'), 'type' => 'text', 'separator' => ';', 'filter' => 'groupname', 'profile_reference' => 'group', 'default' => ['Admins', 'Anonymous'], ), ); }