source: extensions/PWG_Stuffs/modules/Citation/main.inc.php @ 3694

Last change on this file since 3694 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
2if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
3global $user;
4
5if ((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.