dsb_client.module
Line 54: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'description' => t('Translate resource description '.
Line 74: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'description' => t('Publish local resource description '.
Line 104: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'description' => t('Without this option the user can not '.
Line 108: Use an indent of 2 spaces, with no tabs
//Field permissions
Line 110: Use an indent of 2 spaces, with no tabs
//General
Line 111: Use an indent of 2 spaces, with no tabs
'dsb content field general language' => array(
Line 112: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the general language field'),
Line 114: Use an indent of 2 spaces, with no tabs
),
Line 115: Use an indent of 2 spaces, with no tabs
'dsb content field general preview_image' => array(
Line 116: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the general preview image field'),
Line 118: Use an indent of 2 spaces, with no tabs
),
Line 119: Use an indent of 2 spaces, with no tabs
'dsb content field general life_cycle version' => array(
Line 120: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the general life cycle version field'),
Line 122: Use an indent of 2 spaces, with no tabs
),
Line 123: Use an indent of 2 spaces, with no tabs
'dsb content field general technical location' => array(
Line 124: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the general technical location field'),
Line 126: Use an indent of 2 spaces, with no tabs
),
Line 127: Use an indent of 2 spaces, with no tabs
'dsb content field general otherPlattformRequirements' => array(
Line 128: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the general other plattform requirements field'),
Line 130: Use an indent of 2 spaces, with no tabs
),
Line 131: Use an indent of 2 spaces, with no tabs
'dsb content field general description' => array(
Line 132: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the general description field'),
Line 134: Use an indent of 2 spaces, with no tabs
),
Line 136: Use an indent of 2 spaces, with no tabs
//Life cycle
Line 137: Use an indent of 2 spaces, with no tabs
'dsb content field life_cycle contribute' => array(
Line 138: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the lifecycle contribute field'),
Line 140: Use an indent of 2 spaces, with no tabs
),
Line 142: Use an indent of 2 spaces, with no tabs
//keywords
Line 143: Use an indent of 2 spaces, with no tabs
'dsb content field keywords keyword' => array(
Line 144: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the keywords keyword field'),
Line 146: Use an indent of 2 spaces, with no tabs
),
Line 147: Use an indent of 2 spaces, with no tabs
'dsb content field keywords coverage' => array(
Line 148: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the keywords coverage field'),
Line 150: Use an indent of 2 spaces, with no tabs
),
Line 152: Use an indent of 2 spaces, with no tabs
//Education
Line 153: Use an indent of 2 spaces, with no tabs
'dsb content field education learningResourceType' => array(
Line 154: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the education learningResourceType field'),
Line 156: Use an indent of 2 spaces, with no tabs
),
Line 157: Use an indent of 2 spaces, with no tabs
'dsb content field education intendedEndUserRole' => array(
Line 158: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the education intendedEndUserRole field'),
Line 160: Use an indent of 2 spaces, with no tabs
),
Line 161: Use an indent of 2 spaces, with no tabs
'dsb content field education typicalAgeRange' => array(
Line 162: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the education typicalAgeRange field'),
Line 164: Use an indent of 2 spaces, with no tabs
),
Line 165: Use an indent of 2 spaces, with no tabs
'dsb content field education typicalLearningTime' => array(
Line 166: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the education typicalLearningTime field'),
Line 168: Use an indent of 2 spaces, with no tabs
),
Line 169: Use an indent of 2 spaces, with no tabs
'dsb content field education difficulty' => array(
Line 170: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the education difficulty field'),
Line 172: Use an indent of 2 spaces, with no tabs
),
Line 173: Use an indent of 2 spaces, with no tabs
'dsb content field education aggregationLevel' => array(
Line 174: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the education aggregationLevel field'),
Line 176: Use an indent of 2 spaces, with no tabs
),
Line 177: Use an indent of 2 spaces, with no tabs
'dsb content field education description' => array(
Line 178: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the education description field'),
Line 180: Use an indent of 2 spaces, with no tabs
),
Line 182: Use an indent of 2 spaces, with no tabs
//Classification
Line 183: Use an indent of 2 spaces, with no tabs
'dsb content field classification context' => array(
Line 184: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the classification context field'),
Line 186: Use an indent of 2 spaces, with no tabs
),
Line 187: Use an indent of 2 spaces, with no tabs
'dsb content field classification curriculums' => array(
Line 188: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the classification curriculums field'),
Line 190: Use an indent of 2 spaces, with no tabs
),
Line 192: Use an indent of 2 spaces, with no tabs
//Rights
Line 193: Use an indent of 2 spaces, with no tabs
'dsb content field rights cost' => array(
Line 194: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the rights cost field'),
Line 196: Use an indent of 2 spaces, with no tabs
),
Line 197: Use an indent of 2 spaces, with no tabs
'dsb content field rights copyrightAndOtherRestrictions' => array(
Line 198: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the rights copyrightAndOtherRestrictions field'),
Line 200: Use an indent of 2 spaces, with no tabs
),
Line 201: Use an indent of 2 spaces, with no tabs
'dsb content field rights description' => array(
Line 202: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the rights description field'),
Line 204: Use an indent of 2 spaces, with no tabs
),
Line 206: Use an indent of 2 spaces, with no tabs
//Rights
Line 207: Use an indent of 2 spaces, with no tabs
'dsb content field relations relation' => array(
Line 208: Use an indent of 2 spaces, with no tabs
'title' => t('Can add/edit the relations relation field'),
Line 210: Use an indent of 2 spaces, with no tabs
),
Line 220: Control statements should have one space between the control keyword and opening parenthesis
if(isset($build['field_user_vcard'])) {
Line 221: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
$build['field_user_vcard'][0]['#markup'] = dsb_client_contributer_preview($build['field_user_vcard'][0]['#markup'], true);
Line 252: Control statements should have one space between the control keyword and opening parenthesis
foreach(dsb_client_load_content_partner() AS $content_partner) {
Line 275: Use an indent of 2 spaces, with no tabs
static $cache = array();
Line 276: Use an indent of 2 spaces, with no tabs
$name = strtolower($name);
Line 277: Use an indent of 2 spaces, with no tabs
$name = preg_replace("/\W+/", "_", $name);
Line 279: Use an indent of 2 spaces, with no tabs
if(empty($cache[$name])) {
Line 279: Control statements should have one space between the control keyword and opening parenthesis
if(empty($cache[$name])) {
Line 280: Control statements should have one space between the control keyword and opening parenthesis
if(dsb_client_can_publish_central()) {
Line 281: Control statements should have one space between the control keyword and opening parenthesis
switch(strtolower($name)) {
Line 290: Control statements should have one space between the control keyword and opening parenthesis
if(empty($cache[$name])) {
Line 291: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
$cache[$name] = variable_get("dsb_client_field_require_type_".strtolower($name),
Line 294: Use an indent of 2 spaces, with no tabs
}
Line 295: Use an indent of 2 spaces, with no tabs
return ($cache[$name] == $type);
Line 512: Use an indent of 2 spaces, with no tabs
$items['admin/archibald'] = array(
Line 513: Use an indent of 2 spaces, with no tabs
'title' => 'Descriptions',
Line 519: Use an indent of 2 spaces, with no tabs
);
Line 521: Use an indent of 2 spaces, with no tabs
$items['admin/archibald/proposal'] = array(
Line 545: Use an indent of 2 spaces, with no tabs
$items['admin/archibald/to_publish'] = array(
Line 546: Use an indent of 2 spaces, with no tabs
'title' => 'to publish',
Line 547: Use an indent of 2 spaces, with no tabs
'page callback' => 'dsb_client_admin_content_overview',
Line 548: Use an indent of 2 spaces, with no tabs
'page arguments' => array('to_publish_local'),
Line 549: Use an indent of 2 spaces, with no tabs
'access callback' => 'dsb_client_check_publish_access',
Line 550: Use an indent of 2 spaces, with no tabs
'type' => MENU_LOCAL_TASK,
Line 551: Use an indent of 2 spaces, with no tabs
'weight' => -10,
Line 552: Use an indent of 2 spaces, with no tabs
'file' => 'includes/dsb_client.pages.inc',
Line 553: Use an indent of 2 spaces, with no tabs
);
Line 555: Use an indent of 2 spaces, with no tabs
$items['admin/archibald/published'] = array(
Line 556: Use an indent of 2 spaces, with no tabs
'title' => 'Published',
Line 557: Use an indent of 2 spaces, with no tabs
'page callback' => 'dsb_client_admin_content_overview',
Line 558: Use an indent of 2 spaces, with no tabs
'page arguments' => array('published_local'),
Line 559: Use an indent of 2 spaces, with no tabs
'access callback' => 'dsb_client_check_publish_access',
Line 560: Use an indent of 2 spaces, with no tabs
'type' => MENU_LOCAL_TASK,
Line 561: Use an indent of 2 spaces, with no tabs
'weight' => -8,
Line 562: Use an indent of 2 spaces, with no tabs
'file' => 'includes/dsb_client.pages.inc',
Line 563: Use an indent of 2 spaces, with no tabs
);
Line 564: else statements should begin on a new line
} else if (variable_get(
Line 564: Use "elseif" in place of "else if"
} else if (variable_get(
Line 625: else statements should begin on a new line
} else {
Line 627: Use an indent of 2 spaces, with no tabs
$items['admin/archibald/to_publish'] = array(
Line 628: Use an indent of 2 spaces, with no tabs
'title' => 'to publish',
Line 629: Use an indent of 2 spaces, with no tabs
'page callback' => 'dsb_client_admin_content_overview',
Line 630: Use an indent of 2 spaces, with no tabs
'page arguments' => array('to_publish'),
Line 631: Use an indent of 2 spaces, with no tabs
'access callback' => 'dsb_client_check_publish_access',
Line 632: Use an indent of 2 spaces, with no tabs
'type' => MENU_LOCAL_TASK,
Line 633: Use an indent of 2 spaces, with no tabs
'weight' => -10,
Line 634: Use an indent of 2 spaces, with no tabs
'file' => 'includes/dsb_client.pages.inc',
Line 635: Use an indent of 2 spaces, with no tabs
);
Line 637: Use an indent of 2 spaces, with no tabs
$items['admin/archibald/published'] = array(
Line 638: Use an indent of 2 spaces, with no tabs
'title' => 'Published',
Line 639: Use an indent of 2 spaces, with no tabs
'page callback' => 'dsb_client_admin_content_overview',
Line 640: Use an indent of 2 spaces, with no tabs
'page arguments' => array('published'),
Line 641: Use an indent of 2 spaces, with no tabs
'access callback' => 'dsb_client_check_publish_access',
Line 642: Use an indent of 2 spaces, with no tabs
'type' => MENU_LOCAL_TASK,
Line 643: Use an indent of 2 spaces, with no tabs
'weight' => -8,
Line 644: Use an indent of 2 spaces, with no tabs
'file' => 'includes/dsb_client.pages.inc',
Line 645: Use an indent of 2 spaces, with no tabs
);
Line 665: Use an indent of 2 spaces, with no tabs
$items['admin/config/services/archibald/fields'] = array(
Line 870: Use an indent of 2 spaces, with no tabs
'file' => 'dsb_client_comments/dsb_client_comments.admin.inc'
Line 1218: else statements should begin on a new line
} else {
Line 1372: Control statements should have one space between the control keyword and opening parenthesis
case('pgsql'):
Line 1432: else statements should begin on a new line
} else {
Line 1500: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
$logo = null;
Line 1659: else statements should begin on a new line
} elseif ($value <= 50) {
Line 1661: else statements should begin on a new line
} elseif ($value <= 250) {
Line 1663: else statements should begin on a new line
} else {
Line 1666: else statements should begin on a new line
} else {
Line 1745: else statements should begin on a new line
} else {
Line 1783: Use an indent of 2 spaces, with no tabs
return (user_access('edit dsb content') ||
Line 1792: Use an indent of 2 spaces, with no tabs
return (user_access('publish dsb content local') ||
Line 1808: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
return true;
Line 1857: else statements should begin on a new line
} else {
Line 2023: else statements should begin on a new line
} else {
Line 2033: else statements should begin on a new line
} else {
Line 2088: else statements should begin on a new line
} else {
Line 2196: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
function dsb_client_get_solr_bias_value($key, $get_educa_default=false) {
Line 2241: else statements should begin on a new line
} else {
Line 2243: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
t('You account has no vcard, '.
Line 2308: else statements should begin on a new line
} else {
Line 2336: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'UPDATE {dsbc_lom_stats} '.
Line 2337: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'SET editing_uid=:uid, editing_last_seen=:time '.
Line 2370: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'UPDATE {dsbc_lom_stats} '.
Line 2371: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'SET editing_uid=:uid, editing_last_seen=0 '.
Line 2430: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'cp.content_partner_id = ls.content_partner_id AND '.
Line 2439: Control statements should have one space between the control keyword and opening parenthesis
while($data = $res->fetchAssoc()) {
Line 2461: Arrays should be formatted with a space separating each element and assignment operator
'name' =>'',
Line 2503: Control statements should have one space between the control keyword and opening parenthesis
foreach(dsb_client_load_content_partner() AS $content_partner) {
Line 2606: else statements should begin on a new line
} else if (isset($status->publication_log->lom_status) &&
Line 2606: Use "elseif" in place of "else if"
} else if (isset($status->publication_log->lom_status) &&
Line 2625: else statements should begin on a new line
} else {
Line 2642: else statements should begin on a new line
} else {
SHOWSITES/ALL/MODULES/ARCHIBALD_2/TEMPLATES/DSB_CLIENT_CONTENT_OVERVIEW.TPL.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/TEMPLATES/DSB_CLIENT_CONTENT_OVERVIEW_ROW.TPL.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/TEMPLATES/DSB_CLIENT_CONTENT_VIEW.TPL.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/TEMPLATES/DSB_CLIENT_CONTENT_VIEW_CURRICULUM_EDUCA.TPL.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/TEMPLATES/DSB_CLIENT_CONTENT_VIEW_CURRICULUM_PER.TPL.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/TEMPLATES/DSB_CLIENT_CONTENT_VIEW_CURRICULUM_PER_DETAILS.TPL.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/TEMPLATES/DSB_CLIENT_SEARCH_BLOCK_FORM.TPL.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/JS/CLIENT_OVERVIEW_FACETS.JS
SHOWSITES/ALL/MODULES/ARCHIBALD_2/JS/CURRICULUM_EDUCA.JS
SHOWSITES/ALL/MODULES/ARCHIBALD_2/JS/CURRICULUM_PER.JS
SHOWSITES/ALL/MODULES/ARCHIBALD_2/JS/DSB_ADMIN_CONTENT_OVERVIEW.JS
SHOWSITES/ALL/MODULES/ARCHIBALD_2/JS/DSB_CLIENT.JS
SHOWSITES/ALL/MODULES/ARCHIBALD_2/JS/DSB_CLIENT_CLASSIFICATION.JS
SHOWSITES/ALL/MODULES/ARCHIBALD_2/JS/PROHIBIT_DOUBLE_EDIT.JS
SHOWSITES/ALL/MODULES/ARCHIBALD_2/JS/USER_HOOK.JS
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/VCARD/GENERATOR.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/VCARD/PARSER.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/LANGUAGES/DE.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/LANGUAGES/EN.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/LANGUAGES/FR.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/LANGUAGES/IT.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/FILE_UPLOADER/UPLOADER.ABSTRACT.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/FILE_UPLOADER/UPLOADER.EDUCA.CLASS.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/FILE_UPLOADER/UPLOADER.FTP.CLASS.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/CURRICULUM/OLD/CURRICULUM_PER_1_0.CLASS.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/CURRICULUM/CURRICULUM.ABSTRACT.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/CURRICULUM/CURRICULUM_EDUCA.CLASS.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/CURRICULUM/CURRICULUM_PER.CLASS.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/COVERAGE_SYNC/CHARSETS/ISO5426.INC
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/COVERAGE_SYNC/CHARSETS/UTF-8.INC
HIDESITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/COVERAGE_SYNC/RAMEAU.INC
rameau.inc
Line -1: @file block missing (Drupal Docs)
Line 128: Use "elseif" in place of "else if"
else if (preg_match("/^a(.+)$/", $v, $matches)) {
Line 131: Use "elseif" in place of "else if"
else if (preg_match("/^x(.+)$/", $v, $matches)) {
Line 134: Use "elseif" in place of "else if"
else if (preg_match("/^g(.+)$/", $v, $matches)) {
Line 147: Use "elseif" in place of "else if"
else if (preg_match("/^.(.+)$/", $v, $matches)) {
Line 162: Use "elseif" in place of "else if"
else if (preg_match("/\.\.+/", $v, $matches)) {
Line 165: Use "elseif" in place of "else if"
else if (preg_match("/^a(.+)$/", $v, $matches)) {
Line 168: Use "elseif" in place of "else if"
else if (preg_match("/^g(.+)$/", $v, $matches)) {
Line 171: Use "elseif" in place of "else if"
else if (preg_match("/^x(.+)$/", $v, $matches)) {
Line 202: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
return false;
Line 205: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
return true;
HIDESITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/COVERAGE_SYNC/SWD.INC
swd.inc
Line -1: @file block missing (Drupal Docs)
Line 16: Functions should be called with no spaces between the function name and opening parentheses
"845" => array(), #OBERBEGRIFF ZU INDIVIDUALBEZEICHNUNGEN (SCHLAGWORTVERKNUEPFUNGEN)
Line 26: missing space after comma
$source = preg_replace("/\xc9(.)/","\xc8\\1", $source); //Charset bug couse Trema and Umlaute are the same (U0308) so couse same char, replace c9 to c8
Line 27: missing space after comma
$source = preg_replace("/(\x88|\x89)/","", $source); //Killing not sorting chars
Line 38: Control statements should have one space between the control keyword and opening parenthesis
foreach($lines AS $line_index=>$line) {
Line 38: Arrays should be formatted with a space separating each element and assignment operator
foreach($lines AS $line_index=>$line) {
Line 44: Control statements should have one space between the control keyword and opening parenthesis
if(empty($line)) {
Line 49: Control statements should have one space between the control keyword and opening parenthesis
if(preg_match("/([0-9]{3})[0-9a-zA-Z]\|?(.*)$/is", $line, $matches)) {
Line 54: Control statements should have one space between the control keyword and opening parenthesis
if(isset($this->used_codes[$code])) {
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/ABSTRACTCOVERAGETYPE.CLASS.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/DBSTRUCT.CLASS.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/DIR.CLASS.PHP
SHOWSITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/DSB_API.CLASS.PHP
HIDESITES/ALL/MODULES/ARCHIBALD_2/INCLUDES/DSB_CLIENT.ADMIN.INC
dsb_client.admin.inc
Line 47: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
$valid = false;
Line 50: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
$valid = true;
Line 85: Use an indent of 2 spaces, with no tabs
$fields = array(
Line 86: Use an indent of 2 spaces, with no tabs
"general-description" => RES_FIELD_REQUIRED,
Line 87: Use an indent of 2 spaces, with no tabs
"general-language" => RES_FIELD_RECOMMEND,
Line 88: Use an indent of 2 spaces, with no tabs
"life_cycle-version" => RES_FIELD_OPTIONAL,
Line 89: Use an indent of 2 spaces, with no tabs
"technical-location" => RES_FIELD_OPTIONAL,
Line 90: Use an indent of 2 spaces, with no tabs
"general-otherPlattformRequirements" => RES_FIELD_RECOMMEND,
Line 91: Use an indent of 2 spaces, with no tabs
"education-learningResourceType" => RES_FIELD_REQUIRED,
Line 92: Use an indent of 2 spaces, with no tabs
"education-intendedEndUserRole" => RES_FIELD_RECOMMEND,
Line 93: Use an indent of 2 spaces, with no tabs
"education-typicalAgeRange" => RES_FIELD_RECOMMEND,
Line 94: Use an indent of 2 spaces, with no tabs
"education-typicalLearningTime" => RES_FIELD_OPTIONAL,
Line 95: Use an indent of 2 spaces, with no tabs
"education-difficulty" => RES_FIELD_OPTIONAL,
Line 96: Use an indent of 2 spaces, with no tabs
"education-aggregationLevel" => RES_FIELD_OPTIONAL,
Line 97: Use an indent of 2 spaces, with no tabs
"education-description" => RES_FIELD_RECOMMEND,
Line 98: Use an indent of 2 spaces, with no tabs
"rights-cost" => RES_FIELD_OPTIONAL,
Line 99: Use an indent of 2 spaces, with no tabs
"rights-copyrightAndOtherRestrictions" => RES_FIELD_OPTIONAL,
Line 100: Use an indent of 2 spaces, with no tabs
"rights-description" => RES_FIELD_OPTIONAL,
Line 101: Use an indent of 2 spaces, with no tabs
"relations-relation" => RES_FIELD_OPTIONAL,
Line 102: Use an indent of 2 spaces, with no tabs
"life_cycle-contribute" => RES_FIELD_OPTIONAL,
Line 103: Use an indent of 2 spaces, with no tabs
"keywords-keyword" => RES_FIELD_RECOMMEND,
Line 104: Use an indent of 2 spaces, with no tabs
"keywords-coverage" => RES_FIELD_OPTIONAL,
Line 105: Use an indent of 2 spaces, with no tabs
"classification-context" => RES_FIELD_REQUIRED,
Line 106: Use an indent of 2 spaces, with no tabs
"classification-curriculums" => RES_FIELD_RECOMMEND,
Line 107: Use an indent of 2 spaces, with no tabs
);
Line 118: Use an indent of 2 spaces, with no tabs
foreach($fields AS $field => $default) {
Line 118: Control statements should have one space between the control keyword and opening parenthesis
foreach($fields AS $field => $default) {
Line 120: Use an indent of 2 spaces, with no tabs
$name = strtolower($field);
Line 121: Use an indent of 2 spaces, with no tabs
$name = preg_replace("/\W+/", "_", $name);
Line 123: Use an indent of 2 spaces, with no tabs
$form['options'][$name] = array(
Line 124: Use an indent of 2 spaces, with no tabs
'#title' => t('Field: @field', array("@field" => $field)),
Line 125: Use an indent of 2 spaces, with no tabs
'#description' =>
Line 126: Use an indent of 2 spaces, with no tabs
t('Please choose which requirement type this field shoud have'),
Line 127: Use an indent of 2 spaces, with no tabs
'#type' => 'radios',
Line 128: Use an indent of 2 spaces, with no tabs
'#options' => array(
Line 129: Use an indent of 2 spaces, with no tabs
RES_FIELD_OPTIONAL => t('optional'),
Line 130: Use an indent of 2 spaces, with no tabs
RES_FIELD_RECOMMEND => t('recommend'),
Line 131: Use an indent of 2 spaces, with no tabs
RES_FIELD_REQUIRED => t('required'),
Line 132: Use an indent of 2 spaces, with no tabs
),
Line 134: Use an indent of 2 spaces, with no tabs
'#default_value' => variable_get(
Line 139: Use an indent of 2 spaces, with no tabs
);
Line 141: Control statements should have one space between the control keyword and opening parenthesis
if($can_central_publish && (
Line 146: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
$form['options'][$name]['#disabled'] = true;
Line 148: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
$form['options'][$name]['#title'] .= " (".t("This field is always required, because central publishing is available").")";
Line 150: Use an indent of 2 spaces, with no tabs
}
Line 152: Use an indent of 2 spaces, with no tabs
$form['submit'] = array(
Line 157: Use an indent of 2 spaces, with no tabs
return $form;
Line 214: Use an indent of 2 spaces, with no tabs
foreach($form_state['values'] AS $field => $value) {
Line 214: Control statements should have one space between the control keyword and opening parenthesis
foreach($form_state['values'] AS $field => $value) {
Line 215: Use an indent of 2 spaces, with no tabs
if($field == 'submit' ||
Line 215: Control statements should have one space between the control keyword and opening parenthesis
if($field == 'submit' ||
Line 216: Use an indent of 2 spaces, with no tabs
$field == 'form_build_id' ||
Line 217: Use an indent of 2 spaces, with no tabs
$field == 'form_token' ||
Line 218: Use an indent of 2 spaces, with no tabs
$field == 'form_id' ||
Line 219: Use an indent of 2 spaces, with no tabs
$field == 'op') {
Line 220: Use an indent of 2 spaces, with no tabs
continue;
Line 221: Use an indent of 2 spaces, with no tabs
}
Line 222: Use an indent of 2 spaces, with no tabs
variable_set("dsb_client_field_require_type_".strtolower($field), $value);
Line 222: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
variable_set("dsb_client_field_require_type_".strtolower($field), $value);
Line 223: Use an indent of 2 spaces, with no tabs
}
Line 224: Use an indent of 2 spaces, with no tabs
drupal_set_message(t("Field configuration saved successfully"), 'ok');
Line 240: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'!module' => ' t('If this options is disabled, '.
Line 323: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('Seach in collections means that related childs '.
Line 324: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'of a result will not shown as single item in search result, '.
Line 333: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('Give bias to certain properties '.
Line 334: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'when ordering the search results. '.
Line 335: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'Any value except Ignore will increase the score of the given type '.
Line 368: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('This options looks up for collection child '.
Line 423: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
true
Line 456: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('Adding a new resource first the language '.
Line 457: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'of the description has to be choosen. '.
Line 467: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#title' => t('The Resource add/editor form displays only warnings, '.
Line 469: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('Allows to save the resource '.
Line 470: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'even when mandetory fields are missing. '.
Line 471: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'Will only show warnings. '.
Line 482: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('Set this option off if you want to show '.
Line 492: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#title' => t('Display a warning when resource add/edit form '.
Line 494: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('This option will only work in modern versions '.
Line 510: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#title' => t('Display only resources in '.
Line 512: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('Show resource independet of current choosen '.
Line 513: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'interface language. '.
Line 514: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'With activates solr search it could happend that you will see '.
Line 568: Arrays should be formatted with a space separating each element and assignment operator
'@usage_count' =>$data['usage_count']
Line 571: else statements should begin on a new line
} else if (count($content_partner)<2) {
Line 571: Use "elseif" in place of "else if"
} else if (count($content_partner)<2) {
Line 641: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('Space separated list of file extensions '.
Line 652: Use an indent of 2 spaces, with no tabs
$form['dsb']['dsb_client_publish_type'] = array(
Line 654: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('Please choose which publish options you need').' '.
Line 655: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
t('This option is only activ if you have at least one content partner '.
Line 656: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'account with working api key.').' '.
Line 660: Use an indent of 2 spaces, with no tabs
'#options' => array(
Line 661: Use an indent of 2 spaces, with no tabs
DSB_CLIENT_PUBLISH_SEPERATE => t(
Line 664: Use an indent of 2 spaces, with no tabs
DSB_CLIENT_PUBLISH_TOGETHER => t(
Line 667: Use an indent of 2 spaces, with no tabs
),
Line 672: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
'#disabled' => (dsb_client_can_publish_central()!=true)
Line 705: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
$email_token_help = t('Available variables are: '.
Line 706: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'[site:name], [site:url], [user:name], [user:mail], '.
Line 707: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'[lom:id], [lom:url], [lom:title], [overview:proposal-url], '.
Line 716: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('Edit the notification e-mail message sent to users '.
Line 717: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'with editor role. '.
Line 718: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'When a new resource has been created by an user '.
Line 757: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('Edit the notification e-mail message sent to users '.
Line 758: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'with publisher role. '.
Line 759: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'When the status of a resource has been '.
Line 790: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('Define here which user role '.
Line 799: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('Edit the notification e-mail message sent to '.
Line 800: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'the responsible editor. '.
Line 801: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'When the status of a resource has been changed by '.
Line 844: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
'#description' => t('Edit the notification e-mail message sent to '.
Line 951: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
$form_state['values']['dsb_mail_new_unavailable_subject'] = null;
Line 955: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
$form_state['values']['dsb_mail_new_unavailable_body'] = null;
Line 960: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
$form_state['values']['dsb_mail_status2final_subject'] = null;
Line 964: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
$form_state['values']['dsb_mail_status2final_body'] = null;
Line 969: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
$form_state['values']['dsb_mail_status2draft_subject'] = null;
Line 973: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
$form_state['values']['dsb_mail_status2draft_body'] = null;
Line 978: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
$form_state['values']['dsb_mail_set_responsible_subject'] = null;
Line 982: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
$form_state['values']['dsb_mail_set_responsible_body'] = null;
Line 1085: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
$col[] = "