Last change
on this file since 4577 was
3694,
checked in by Criss, 15 years ago
|
Add 'Citation' block (thanks to rub, got from 'Fun Citation').
Only available in french language now, but admin can set code for other languages.
|
File size:
293 bytes
|
Line | |
---|
1 | <?php |
---|
2 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
3 | global $user; |
---|
4 | |
---|
5 | if ((isset($datas['quote_lang'][$user['language']])) and |
---|
6 | ("" != $datas['quote_lang'][$user['language']])) { |
---|
7 | $block['CONTENT'] = $datas['quote_lang'][$user['language']]; |
---|
8 | } else { |
---|
9 | return false; |
---|
10 | } |
---|
11 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.