EllisLab/CodeIgniter — pull request #1983 by macodev (2012-11-07 13:42:41+00:00)
Title: Dropped id for label, added search-replace array

Changed current id option and added a simple but more useful (imo) functionality like this:

```
// language file:
$lang[ 'myemail' ] = ' Hello, this is your email: {email} ';

// controller or view
$sr=array( '{email}' => 'marco@macodev.com' );
echo lang( 'myemail' , $sr );

// output:

Hello, this is your email: marco@macodev.com

```

Signed-off-by: Marco Cervellin