ok... just so none of you have an aneurism wondering about what the hell this __ thing is... let me explain whats up and why I'm still confused.
I'm using some closed source php code, so I don't know all the constants and functions, nor can I find out. All I understand is that I found a file in ..../languages/template which contains an array:
$__ = Array(
'Add' => 'Add',
'Delete' => 'Delete',
....
....
....
)
and thats it. now back in the file I was editing there are labels that I assume are meant to change if the language changes, so having an array like that seems like a logical thing to do. However, when retrieving the values of words in the array, the $ is omitted, yet the value is still displayed:
<?=__('Add')?>
how is this possible???