0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
tikiwiki
/
1.9.7-31
/
htdocs
/
[
Home
]
File: tiki-featured_link.php
<?php // $Header: /cvsroot/tikiwiki/tiki/tiki-featured_link.php,v 1.11.2.1 2005/01/01 00:11:24 damosoft Exp $ // Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. require_once ('tiki-setup.php'); include_once ('lib/featured_links/flinkslib.php'); if ($feature_featuredLinks != 'y') { $smarty->assign('msg', tra("This feature is disabled").": feature_featuredLinks"); $smarty->display("error.tpl"); die; } $flinkslib->add_featured_link_hit($_REQUEST["url"]); // Get the page from the request var or default it to HomePage if (!isset($_REQUEST["url"])) { $smarty->assign('msg', tra("No page indicated")); $smarty->display("error.tpl"); die; } $section = 'featured_links'; include_once ('tiki-section_options.php'); $smarty->assign_by_ref('url', $_REQUEST["url"]); $smarty->assign('mid', 'tiki-featured_link.tpl'); $smarty->display("tiki.tpl"); ?>