| 1 |
<?php
|
| 2 |
|
| 3 |
// $Header: /cvsroot/tikiwiki/tiki/tiki-mailin.php,v 1.6.2.1 2005/01/01 00:11:25 damosoft Exp $
|
| 4 |
|
| 5 |
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
|
| 6 |
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
|
| 7 |
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
|
| 8 |
|
| 9 |
// Initialization
|
| 10 |
require_once ('tiki-setup.php');
|
| 11 |
|
| 12 |
//check if feature is on
|
| 13 |
if($feature_mailin != 'y') {
|
| 14 |
$smarty->assign('msg', tra("This feature is disabled").": feature_mailin");
|
| 15 |
$smarty->display("error.tpl");
|
| 16 |
die;
|
| 17 |
}
|
| 18 |
|
| 19 |
include_once ('tiki-mailin-code.php');
|
| 20 |
|
| 21 |
$smarty->assign('content', $content);
|
| 22 |
$smarty->assign('mid', 'tiki-mailin.tpl');
|
| 23 |
$smarty->display("tiki.tpl");
|
| 24 |
?>
|