Changing suffix in name ofcareers and promotions copied -refs #6317

1.9.x
Yoselyn Castillo 12 years ago
parent db7419ca63
commit f8f492c4ba
  1. 2
      main/inc/lib/career.lib.php
  2. 4
      main/inc/lib/promotion.lib.php

@ -145,7 +145,7 @@ class Career extends Model {
case 'updated_at':
break;
case 'name':
$val .= ' '.get_lang('Copy');
$val .= ' '.get_lang('CopyLabelSuffix');
$new[$key] = $val;
break;
case 'created_at':

@ -53,7 +53,7 @@ class Promotion extends Model {
case 'updated_at':
break;
case 'name':
$val .= ' '.get_lang('Copy');
$val .= ' '.get_lang('CopyLabelSuffix');
$new[$key] = $val;
break;
case 'created_at':
@ -143,7 +143,7 @@ class Promotion extends Model {
}
}
/**
* Returns a Form validator Obj
* @todo the form should be auto generated

Loading…
Cancel
Save