Ignore:
Timestamp:
Feb 24, 2011, 4:45:43 PM (13 years ago)
Author:
patdenice
Message:

Plugins can add their own modules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/modules/Citation/main.inc.php

    r3694 r9369  
    11<?php
    22if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
     3
    34global $user;
    45
    56if ((isset($datas['quote_lang'][$user['language']])) and
    6     ("" != $datas['quote_lang'][$user['language']])) {
     7  ("" != $datas['quote_lang'][$user['language']]))
     8{
    79  $block['CONTENT'] = $datas['quote_lang'][$user['language']];
    8 } else {
    9   return false;
     10  $block['TEMPLATE'] = 'stuffs_citation.tpl';
    1011}
    1112?>
Note: See TracChangeset for help on using the changeset viewer.