0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
3.2.0-5
/
standard
/
htdocs
/
[
Home
]
File: tiki-wap.php
<?php // $Header$ // Copyright (c) 2002-2007, 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'); if ($prefs['feature_mobile'] != 'y') { $smarty->assign('msg', tra("This feature is disabled").": feature_mobile"); $smarty->display("error.tpl"); die; } require ("lib/hawhaw/hawhaw.inc"); $TikiPage = new HAW_deck("Tiki", HAW_ALIGN_CENTER); $text1 = new HAW_text("Attention!", HAW_TEXTFORMAT_BOLD); $text1->set_br(2); $TikiPage->add_text($text1); $text2 = new HAW_text("Usage of tiki-wap.php is deprecated! The HAWHAW-enabled Tiki is available at:"); $text2->set_br(2); $TikiPage->add_text($text2); $newLink = new HAW_link("tiki-mobile.php", "tiki-mobile.php"); $newLink->set_br(2); $TikiPage->add_link($newLink); $text3 = new HAW_text( "Reason: This URL is not restricted to WAP only. It can be used by PDA's, voice browser and other mobile devices too."); $TikiPage->add_text($text3); $TikiPage->create_page(); ?>