diff --git a/config.inc.php b/config.inc.php index 4736599851..79bbff0305 100644 --- a/config.inc.php +++ b/config.inc.php @@ -42,12 +42,12 @@ $tlCfg->UDFStripHTMLTags = true; -// allow to define additional execution types other than +// allow to define additional execution types other than // defined in testcase.class.php // array(code => lblkey) // code int value > latest standard execution code defined. // lblkey => key to be used on lang_get() call. -// +// $tlCfg->custom_execution_types = null; $tlCfg->gui = new stdClass(); @@ -71,10 +71,10 @@ $tlCfg->keywords->onDeleteCheckExecutedTCVersions = TRUE; // main key testproject PREFIX -// element array +// element array // 'addTCLinkIntoITS' true => add note to Issue Tracker to issue with -// ISSUE ID similar to the KEYWORD (see kwPrefix below) -// +// ISSUE ID similar to the KEYWORD (see kwPrefix below) +// // 'kwPrefix' to remove from keyword to create the ISSUE ID // $tlCfg->keywords->byTestProject = array(); @@ -84,7 +84,7 @@ $tlCfg->accessWithoutLogin = array(); -/** @uses database access definition (generated automatically by TL installer) */ +/** @uses database access definition (generated automatically by TL installer) */ @include_once('config_db.inc.php'); if( !defined('DB_TABLE_PREFIX') ) { define('DB_TABLE_PREFIX','' ); @@ -100,7 +100,7 @@ $tlCfg->theme_dir = 'gui/themes/default/'; /** Dir for compiled templates */ -$tlCfg->temp_dir = TL_ABS_PATH . 'gui' . DIRECTORY_SEPARATOR . +$tlCfg->temp_dir = TL_ABS_PATH . 'gui' . DIRECTORY_SEPARATOR . 'templates_c' . DIRECTORY_SEPARATOR; if (($tpltmp = getenv('TESTLINK_TEMPLATES_C'))) { $tlCfg->temp_dir = trim($tpltmp); @@ -139,7 +139,7 @@ /** * Copied from MantisBT - * + * * Prefix for all TestLink cookies * This should be an identifier which does not include spaces or periods, * and should be unique per TestLink installation, especially if @@ -159,7 +159,7 @@ $tlCfg->cookie->secure = false; $tlCfg->cookie->httponly = false; -$tlCfg->cookie->testProjectMemory = $tlCfg->cookie->prefix . +$tlCfg->cookie->testProjectMemory = $tlCfg->cookie->prefix . '_PROJ_ID_USER_ID_'; /** @@ -182,8 +182,8 @@ * 'testproject' * 'global' * - * 'testproject' - * till a role is specifically assigned to test plan, test plan role + * 'testproject' + * till a role is specifically assigned to test plan, test plan role * will be inherited from test project role. * * IMPORTANT NOTICE @@ -194,8 +194,8 @@ * * * 'global' - * till a role is specifically assigned to test plan, test plan role - * will be inherited from user's global role, and NOT from test project + * till a role is specifically assigned to test plan, test plan role + * will be inherited from user's global role, and NOT from test project * specifically assigned role. * * if test project specifically assigned role changes, will not be changed. @@ -295,7 +295,7 @@ /** error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING); */ error_reporting(E_ALL); -/** @var string Default level of logging (NONE, ERROR, INFO, DEBUG, EXTENDED) +/** @var string Default level of logging (NONE, ERROR, INFO, DEBUG, EXTENDED) * is not used by tlLogger, we need to change this in future. */ $tlCfg->log_level = 'ERROR'; @@ -303,8 +303,8 @@ /** @var boolean show smarty debug window */ $tlCfg->smarty_debug = false; -/** - * @var string Path to store logs - +/** + * @var string Path to store logs - * for security reasons (see http://itsecuritysolutions.org/2012-08-13-TestLink-1.9.3-multiple-vulnerabilities/) * put it out of reach via web or configure access denied. */ @@ -331,14 +331,14 @@ /** * - */ + */ $tlCfg->userDocOnDesktop = OFF; /** * Configure if individual logging data stores are enabled of disabled * Possibile values to identify loggers: 'db','file' - * $g_loggerCfg=null; all loggers enabled + * $g_loggerCfg=null; all loggers enabled * $g_loggerCfg['db']['enable']=true/false; * $g_loggerCfg['file']['enable']=true/false; * $g_loggerCfg['mail']['enable']=true/false; @@ -347,19 +347,19 @@ /** @var integer All events older this value [days] are removed from the db, during login */ $g_removeEventsOlderThan = 30; - + /** @var map keys: 'all' + values present on proprety of logger class $loggerTypeDomain - * values can be only these defined on logger.class.php - * @since 1.9.4 + * values can be only these defined on logger.class.php + * @since 1.9.4 * example array('all' => array('INFO','AUDIT'), * 'mail' => array('ERROR')) * * $tlCfg->loggerFilter = array('db' => array('DEBUG','AUDIT','WARNING','ERROR'), * 'file' => array('NONE')); * - */ -$tlCfg->loggerFilter = null; // default defined on logger.class.php ; + */ +$tlCfg->loggerFilter = null; // default defined on logger.class.php ; // ---------------------------------------------------------------------------- /* [SMTP] */ @@ -396,7 +396,7 @@ $g_smtp_password = ''; # password /** - * This control the connection mode to SMTP server. + * This control the connection mode to SMTP server. * Can be '', 'ssl','tls' * @global string $g_smtp_connection_mode */ @@ -407,7 +407,7 @@ * will depend on the SMTP server configuration and hence others may be used. * @global int $g_smtp_port */ -$g_smtp_port = 25; +$g_smtp_port = 25; /** @@ -471,13 +471,13 @@ // $tlCfg->OAuthServers[1]['oauth_client_id'] = 'CLIENT_ID'; // $tlCfg->OAuthServers[1]['oauth_client_secret'] = 'CLIENT_SECRET'; // Can be authorization_code (by default), client_credentials or password -// $tlCfg->OAuthServers[1]['oauth_grant_type'] = 'authorization_code'; +// $tlCfg->OAuthServers[1]['oauth_grant_type'] = 'authorization_code'; // $tlCfg->OAuthServers[1]['oauth_url'] = 'https://accounts.google.com/o/oauth2/auth'; // $tlCfg->OAuthServers[1]['token_url'] = 'https://accounts.google.com/o/oauth2/token'; // false => then the only user will be selected automatically (applied for google) -// $tlCfg->OAuthServers[1]['oauth_force_single'] = false; +// $tlCfg->OAuthServers[1]['oauth_force_single'] = false; // the domain you want to whitelist -// $tlCfg->OAuthServers[1]['oauth_domain'] = 'google.com'; +// $tlCfg->OAuthServers[1]['oauth_domain'] = 'google.com'; // $tlCfg->OAuthServers[1]['oauth_profile'] = 'https://www.googleapis.com/oauth2/v1/userinfo'; // $tlCfg->OAuthServers[1]['oauth_scope'] = 'https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile'; @@ -488,12 +488,12 @@ // $tlCfg->OAuthServers[2]['oauth_client_secret'] = 'CLIENT_SECRET'; // Can be authorization_code (by default), client_credentials or password -// $tlCfg->OAuthServers[2]['oauth_grant_type'] = 'authorization_code'; +// $tlCfg->OAuthServers[2]['oauth_grant_type'] = 'authorization_code'; // $tlCfg->OAuthServers[2]['oauth_url'] = 'https://github.com/login/oauth/authorize'; // $tlCfg->OAuthServers[2]['token_url'] = 'https://github.com/login/oauth/access_token'; // false => then the only user will be selected automatically (applied for google) -// $tlCfg->OAuthServers[2]['oauth_force_single'] = false; +// $tlCfg->OAuthServers[2]['oauth_force_single'] = false; // $tlCfg->OAuthServers[2]['oauth_profile'] = 'https://api.github.com/user'; // $tlCfg->OAuthServers[2]['oauth_scope'] = 'user:email'; @@ -515,7 +515,7 @@ //$tlCfg->OAuthServers[1]['redirect_uri'] = 'TESTLINKURL/microsoftoauth.php'; -// Azure AD +// Azure AD // Fill in CLIENT_ID,CLIENT_SECRET,YOURTESTLINKSERVER and TENANTID with your information // See this article for registering an application: https://docs.microsoft.com/en-us/azure/active-directory/develop/v1-protocols-oauth-code // Make sure, you grant admint consent for it: https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/configure-user-consent @@ -527,15 +527,15 @@ // $tlCfg->OAuthServers[1]['oauth_client_secret'] = 'CLIENT_SECRET'; // $tlCfg->OAuthServers[1]['redirect_uri'] = (empty($_SERVER['HTTPS']) ? 'http://' : 'https://') . $_SERVER['HTTP_HOST'] . '/login.php'; -// $tlCfg->OAuthServers[1]['oauth_force_single'] = true; +// $tlCfg->OAuthServers[1]['oauth_force_single'] = true; -// $tlCfg->OAuthServers[1]['oauth_grant_type'] = 'authorization_code'; +// $tlCfg->OAuthServers[1]['oauth_grant_type'] = 'authorization_code'; // $tlCfg->OAuthServers[1]['oauth_url'] = 'https://login.microsoftonline.com/TENANTID/oauth2/authorize'; // $tlCfg->OAuthServers[1]['token_url'] = 'https://login.microsoftonline.com/TENANTID/oauth2/token'; // the domain you want to whitelist (email domains) -// $tlCfg->OAuthServers[1]['oauth_domain'] = 'autsoft.hu'; +// $tlCfg->OAuthServers[1]['oauth_domain'] = 'autsoft.hu'; // $tlCfg->OAuthServers[1]['oauth_profile'] = 'https://login.microsoftonline.com/TENANTID/openid/userinfo'; -// $tlCfg->OAuthServers[1]['oauth_scope'] = 'https://graph.microsoft.com/mail.read https://graph.microsoft.com/user.read openid profile email'; +// $tlCfg->OAuthServers[1]['oauth_scope'] = 'https://graph.microsoft.com/user.read openid profile email'; /** * Single Sign On authentication @@ -543,21 +543,21 @@ * SSO_method: CLIENT_CERTIFICATE, tested with Apache Webserver * SSP_method: WEBSERVER_VAR, tested with Apache and Shibboleth Service Provider. */ -$tlCfg->authentication['SSO_enabled'] = false; +$tlCfg->authentication['SSO_enabled'] = false; $tlCfg->authentication['SSO_logout_destination'] = 'YOUR LOGOUT DESTINATION'; // Tested with Apache Webserver //$tlCfg->authentication['SSO_method'] = 'CLIENT_CERTIFICATE'; //$tlCfg->authentication['SSO_uid_field'] = 'SSL_CLIENT_S_DN_Email'; -// Tested with Apache and Shibboleth Service Provider +// Tested with Apache and Shibboleth Service Provider //$tlCfg->authentication['SSO_method'] = 'WEBSERVER_VAR'; //$tlCfg->authentication['SSO_uid_field'] = 'REMOTE_USER'; //$tlCfg->authentication['SSO_user_target_dbfield'] = 'email'; /** - * LDAP authentication credentials, Multiple LDAP Servers can be used. + * LDAP authentication credentials, Multiple LDAP Servers can be used. * User will be authenticaded against each server (one after other using array index order) * till authentication succeed or all servers have been used. */ @@ -570,15 +570,15 @@ $tlCfg->authentication['ldap'][1]['ldap_bind_passwd'] = ''; // Left empty for anonymous LDAP binding $tlCfg->authentication['ldap'][1]['ldap_tls'] = false; // true -> use tls -// Following configuration parameters are used to build +// Following configuration parameters are used to build // ldap filter and ldap attributes used by ldap_search() // // filter => "(&$t_ldap_organization($t_ldap_uid_field=$t_username))"; // attributess => array( $t_ldap_uid_field, 'dn' ); -// +// // This can be used to manage situation like explained on post on forum: // ActiveDirectory + users in AD group -// +// $tlCfg->authentication['ldap'][1]['ldap_organization'] = ''; // e.g. '(organizationname=*Traffic)' $tlCfg->authentication['ldap'][1]['ldap_uid_field'] = 'uid'; // Use 'sAMAccountName' for Active Directory @@ -589,7 +589,7 @@ // Follows Mantisbt idea. -// True if user does not exist on DB, but can be get from LDAP, +// True if user does not exist on DB, but can be get from LDAP, // the user will be created AUTOMATICALLY with default user role. // Create user with following data from LDAP // mail @@ -601,18 +601,18 @@ /** Enable/disable Users to create accounts on login page */ $tlCfg->user_self_signup = TRUE; -/** What happens when Administrator push the Reset Password Button +/** What happens when Administrator push the Reset Password Button 'send_password_by_mail' 'display_on_screen' */ $tlCfg->password_reset_send_method = 'send_password_by_mail'; -/** +/** * Validating new user login names * Taken mantisbt version 1.2.5 - www.mantisbt.org and adapted * * The regular expression to use when validating new user login names - * The default regular expression allows a-z, A-Z, 0-9, +, -, dot, @ and underscore. + * The default regular expression allows a-z, A-Z, 0-9, +, -, dot, @ and underscore. * For testing regular expressions, use http://rubular.com/. * For regular expression to englihs, use http://xenon.stanford.edu/~xusch/regexp/analyzer.html */ @@ -627,7 +627,7 @@ * $regex = "/^([\w]+)(.[\w]+)*@([\w-]+\.){1,5}([A-Za-z]){2,4}$/"; * **/ -// +// // This expression does not allow Top Level Domian (last part of domain name) longer than 4 // If you need to change this // Configure this on custom_config.inc.php @@ -638,7 +638,7 @@ // -------------------------------------------------------------------------------------- /* [API] */ -/** XML-RPC API availability - do less than promised ;) +/** XML-RPC API availability - do less than promised ;) FALSE => user are not able to generate and set his/her API key. XML-RPC server do not check this config in order to answer or not a call. */ @@ -664,7 +664,7 @@ -/** +/** * controls if pagination (via Javascript) will be enabled */ $tlCfg->gui->projectView = new stdClass(); @@ -687,7 +687,7 @@ $tlCfg->gui->buildView->itemQtyForTopButton = 10; -/** +/** * controls if operation area (buttons) starts open ('' or 'inline') or closed ('none') on: * - test suite management * - test case management @@ -869,7 +869,7 @@ $tlCfg->treemenu_show_testcase_id = TRUE; /** Reorder test cases based on TC Name or External ID in tree on - * test suite level using reorder button + * test suite level using reorder button */ // 'EXTERNAL_ID' -> Sort on Test Case External ID field displayed on tree.(Default) // 'NAME' -> Sort on Test Case Name field @@ -911,7 +911,7 @@ $tlCfg->resultMatrixReport->buildColumns['showExecutionResultLatestCreatedBuild'] = true; // Result matrix (resultsTC.php) -// Shows an extra column with the note of latest execution on +// Shows an extra column with the note of latest execution on // the lastest CREATED build $tlCfg->resultMatrixReport->buildColumns['showExecutionNoteLatestCreatedBuild'] = true; @@ -921,14 +921,14 @@ // After having got performance and usability issue, a limit on max qty of builds // allowed on data extration has been set. // Is absolutely arbitrary -// +// $tlCfg->resultMatrixReport->buildQtyLimit = 6; // ORDER BY sql clause, refers to builds table columns $tlCfg->resultMatrixReport->buildOrderByClause = " ORDER BY name ASC"; -// Show all available status details for test plans on metrics dashboard +// Show all available status details for test plans on metrics dashboard $tlCfg->metrics_dashboard = new stdClass(); $tlCfg->metrics_dashboard->show_test_plan_status = false; @@ -1018,11 +1018,11 @@ $tlCfg->exec_cfg->tcases_counters_mode_domain['with_platforms'] = array('USE_LATEST_EXEC_ON_CONTEX_FOR_COUNTERS', 'USE_LATEST_EXEC_ON_TESTPLAN_FOR_COUNTERS', - 'USE_LATEST_EXEC_ON_TESTPLAN_PLAT_FOR_COUNTERS'); + 'USE_LATEST_EXEC_ON_TESTPLAN_PLAT_FOR_COUNTERS'); $tlCfg->exec_cfg->tcases_counters_mode_domain['without_platforms'] = array('USE_LATEST_EXEC_ON_CONTEX_FOR_COUNTERS', - 'USE_LATEST_EXEC_ON_TESTPLAN_FOR_COUNTERS'); + 'USE_LATEST_EXEC_ON_TESTPLAN_FOR_COUNTERS'); @@ -1032,7 +1032,7 @@ // ENABLED -> test cases will be coloured according to execution status on build selected for execution // DISABLED -> test cases will be coloured according status on latest execution regardless of selected build -// see http://mantis.testlink.org/view.php?id=3450 for more details +// see http://mantis.testlink.org/view.php?id=3450 for more details $tlCfg->exec_cfg->testcases_colouring_by_selected_build = ENABLED; // ENABLED -> test case counters will be coloured according to test case status @@ -1041,20 +1041,20 @@ // This can help to avoid performance problems. // Controls what happens on right frame when user clicks on a testsuite on tree. -// ENABLED -> show all test cases +// ENABLED -> show all test cases // see $tlCfg->exec_cfg->show_testsuite_contents_deep -// +// // DISABLED -> nothing happens, to execute a test case you need to click on test case $tlCfg->exec_cfg->show_testsuite_contents = DISABLED; // @since 1.9.13 -// works in 'team' with $tlCfg->exec_cfg->show_testsuite_contents +// works in 'team' with $tlCfg->exec_cfg->show_testsuite_contents // children: only direct children. -// deep: all test cases present in test suite and test suites in any level below +// deep: all test cases present in test suite and test suites in any level below // selected test suite. // IMPORTANT NOTICE: // selecting deep can create performance issues. -// +// $tlCfg->exec_cfg->show_testsuite_contents_deep = 'children'; @@ -1088,8 +1088,8 @@ $tlCfg->exec_cfg->exec_mode->tester='assigned_to_me'; -// How to set defaut values for execution fields (standard & custom) -// clean => all clean +// How to set defaut values for execution fields (standard & custom) +// clean => all clean // latest => get as much as possible values from latest execution on // same context => test plan,platform, build $tlCfg->exec_cfg->exec_mode->new_exec='clean'; @@ -1120,10 +1120,10 @@ // true => on single test case execution feature, notes and result // can be provided for each step // false => pre 1.9.10 behaviour -// +// $tlCfg->exec_cfg->steps_exec = true; -// this setting will work on AND mode with: +// this setting will work on AND mode with: // $tlCfg->exec_cfg->steps_exec $tlCfg->exec_cfg->steps_exec_attachments = true; @@ -1184,15 +1184,15 @@ * * /saado/TS100/SAA-4:WSTEPS Executed ON (ISO FORMAT): 2018-02-25CET10:00 */ -$tlCfg->exec_cfg->issues->tcase_level->subject = +$tlCfg->exec_cfg->issues->tcase_level->subject = '$$issue_subject_tcname %%TCPATHNAME%% - $$issue_subject_execon %%EXECTSISO%% '; /* -$tlCfg->exec_cfg->issues->tcstep_level->subject = +$tlCfg->exec_cfg->issues->tcstep_level->subject = '$$issue_on_step %%STEPNUMBER%% - $$issue_subject_tcname %%TCNAME%% - ' . '$$issue_subject_projectname %%PROJECTNAME%% - ' . '$$issue_subject_planname %%PLANNAME%% - ' . -'$$issue_subject_buildname %%BUILDNAME%% - ' . +'$$issue_subject_buildname %%BUILDNAME%% - ' . '$$issue_subject_platfname %%PLATFNAME%%'; */ @@ -1258,21 +1258,21 @@ $tlCfg->testcase_cfg->relations->interproject_linking = FALSE; -/** +/** * Localization identifiers for test cases relation types - * Types, which are configured above, have to be configured + * Types, which are configured above, have to be configured * here too with attributes "source" and "destination". * * Last value will be selected in GUI as default. - * + * * Form has to be like this: - * + * * ... = array( * RELATIONNAME => array( * 'source' => 'SOURCE_LOCALIZATION_KEY', * 'destination' => 'DESTINATION_LOCALIZATION_KEY'), * ... - * + * * @since TestLink 1.9.12 **/ @@ -1292,10 +1292,10 @@ // @since 1.9.18 -// TRUE => After a test case version has been executed +// TRUE => After a test case version has been executed // attachment on test case spec can not be added/removed -// -// FALSE +// +// FALSE // // This means that at GUI Level, will not be possible: // add a new attachment to an Executed Test Case Version @@ -1307,23 +1307,23 @@ // delete a req version link from Executed Test Case Version $tlCfg->testcase_cfg->reqLinkingDisabledAfterExec = TRUE; -// Effects on Linked Requirements Version after +// Effects on Linked Requirements Version after // execution of a Test Case Version $tlCfg->testcase_cfg->freezeReqVersionAfterExec = TRUE; -// Effects on TCVersion N when TCVersion N+1 is created +// Effects on TCVersion N when TCVersion N+1 is created $tlCfg->testcase_cfg->freezeTCVersionOnNewTCVersion = TRUE; $tlCfg->testcase_cfg->freezeTCVRelationsOnNewTCVersion = TRUE; -// Because: -// The Relation must be frozen (cannot be deleted) when +// Because: +// The Relation must be frozen (cannot be deleted) when // a new version of the test case is created. // // It seems confusing that relation can be added, then // this new configuration will allow this operation // only on latest test case version -// +// $tlCfg->testcase_cfg->addTCVRelationsOnlyOnLatestTCVersion = TRUE; @@ -1338,18 +1338,18 @@ //$tlCfg->testcase_cfg->frozenNotExecutedTCVDelREQVLink = FALSE; -// Effects on Req Version to TCVersion LINK +// Effects on Req Version to TCVersion LINK // when a new version of a linked Test Case is created // If LINK is frozen, then this means that link can not be deleted. // $tlCfg->reqTCLinks->freezeLinkOnNewTCVersion = FALSE; // // Important Notice: // Req Version to TCVersion Link can be done ONLY TO LATEST TCV. -// +// // This means that : -// +// // on GUI on the Requirements Area on TEST CASE Specification Feature: -// this option has NO EFFECT +// this option has NO EFFECT // // on GUI on the Coverage Area on REQUIREMENT Specification Feature: // this option has EFFECT @@ -1359,21 +1359,21 @@ // $tlCfg->reqTCLinks->freezeLinkOnNewTCVersion = TRUE; -// Effects on Req Version to TCVersion LINK +// Effects on Req Version to TCVersion LINK // when a new version of a linked Req Version is created $tlCfg->reqTCLinks->freezeLinkOnNewREQVersion = TRUE; -// Effects on BOTH ends of Req Version to TCVersion LINK +// Effects on BOTH ends of Req Version to TCVersion LINK // when a new version of a linked TC Version is created $tlCfg->reqTCLinks->freezeBothEndsOnNewTCVersion = TRUE; -// Effects on BOTH ends of Req Version to TCVersion LINK +// Effects on BOTH ends of Req Version to TCVersion LINK // when a new version of a linked REQ Version is created $tlCfg->reqTCLinks->freezeBothEndsOnNewREQVersion = TRUE; -// Effects on REQ Version N when REQ Version N+1 is created +// Effects on REQ Version N when REQ Version N+1 is created $tlCfg->req_cfg->freezeREQVersionOnNewREQVersion = TRUE; @@ -1491,7 +1491,7 @@ // 'show_label' -> the value of $tlCfg->attachments->access_string will be used . $tlCfg->attachments->action_on_display_empty_title = 'show_icon'; -// Set display order of uploaded files +// Set display order of uploaded files $tlCfg->attachments->order_by = " ORDER BY date_added DESC "; @@ -1510,9 +1510,9 @@ /** * Process filename against XSS * Thanks to http://owasp.org/index.php/Unrestricted_File_Upload - * '/^[a-zA-Z0-9]{1,20}\.[a-zA-Z0-9]{1,10}$/'; + * '/^[a-zA-Z0-9]{1,20}\.[a-zA-Z0-9]{1,10}$/'; * added - and _. - * + * * NO CHECK if -> $g_attachments->allowed_filenames_regexp = ''; * */ @@ -1617,7 +1617,7 @@ // DIABLED: ONLY Requirement Specification is shown $tlCfg->req_cfg->show_child_reqs_on_reqspec_print_view = DISABLED; -// +// // Order of test cases status in this array, is used to undestand // to what status set requirement in the requirements report. // Standard algorithm, present in getReqCoverage(), is: @@ -1677,7 +1677,7 @@ // [req tproj= anchor=]req_doc_id[/req] // This syntax also works for requirement specifications. // -// FALSE: no links are automatically created. +// FALSE: no links are automatically created. // $tlCfg->internal_links->enable = TRUE; @@ -1741,7 +1741,7 @@ // If an external tool is used for requirement management, enable this setting. // You will get an additional field on requirement specifications where you // can enter the total count of requirements so that external requirements -// are also counted for metrics/statistics. +// are also counted for metrics/statistics. $tlCfg->req_cfg->external_req_management = DISABLED; @@ -1912,9 +1912,9 @@ $tlCfg->custom_fields->max_length = 255; // sizes for HTML INPUTS -// for list, multiselection list +// for list, multiselection list // - MAXIMUM number of items displayed at once -// +// // for checkbox,radio is useless // Hint: more than 120 produce weird effects on user interface // @@ -2009,10 +2009,10 @@ * Taken from Mantis to implement better login security * and solve TICKET 4342. */ -$tlCfg->auth_cookie = $tlCfg->cookie->prefix . +$tlCfg->auth_cookie = $tlCfg->cookie->prefix . "TESTLINK_USER_AUTH_COOKIE"; -/** +/** Used when creating a Test Suite using copy and you have choose $g_action_on_duplicate_name = 'generate_new' if the name exist. @@ -2021,19 +2021,19 @@ -/** +/** * Configurable templates this can help if you want to use a non standard template. * i.e. you want to develop a new one without loosing the original template. * key: original TL template name WITHOUT extension * value: whatever name you want, only constrain you have to copy your template - * ON SAME FOLDER where original template is. - * See example below + * ON SAME FOLDER where original template is. + * See example below */ $g_tpl = array('inc_exec_controls' => 'inc_exec_img_controls.tpl'); //$g_tpl = array('inc_exec_controls' => 'inc_exec_controls.tpl'); -$g_tpl['login'] = 'login/login-model-marcobiedermann.tpl'; +$g_tpl['login'] = 'login/login-model-marcobiedermann.tpl'; -// Example +// Example // $g_tpl = array('tcView' => 'custom_tcView.tpl', // 'tcSearchView' => 'myOwnTCSearchView.tpl', // 'tcEdit' => 'tcEdit_ultraCool.tpl'); @@ -2045,7 +2045,7 @@ // ---------------------------------------------------------------------------- /* [PROXY] */ -/* Used only */ +/* Used only */ /* mantissoapInterface.class.php */ /* jirasoapInterface.class.php */ /* jirarestInterface.class.php */ @@ -2090,8 +2090,8 @@ if( !isset($tlCfg->attachments->access_icon) ) { - $tlCfg->attachments->access_icon = - 'theme_dir . 'images/new_f2_16.png" style="border:none" />'; } @@ -2102,7 +2102,7 @@ /** Support for localization */ -// @TODO move the code out of config and do it only once and +// @TODO move the code out of config and do it only once and // not always in any include! // @TODO a better parsing function should be include $serverLanguage = false; @@ -2121,9 +2121,9 @@ if(false !== $serverLanguage) { if (array_key_exists($serverLanguage,$tlCfg->locales)) - { + { $tlCfg->default_language = $serverLanguage; - } + } } define ('TL_DEFAULT_LOCALE', $tlCfg->default_language);