egroupware/admin/testbutton.php
2001-02-14 19:20:22 +00:00

33 lines
1.2 KiB
PHP
Executable File

<?php
/**************************************************************************\
* phpGroupWare - administration *
* http://www.phpgroupware.org *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
$phpgw_info["flags"] = array(
"currentapp" => "admin"
);
include("../header.inc.php");
$button = CreateObject('phpgwapi.graphics');
$button->createInputButton(lang('save'), 'save');
if (isset($submit)) print "it workied<br>";
print "<form>";
print $button->createInputButton("Lars is the best ;)",'submit');
print "<br>the same as ascii<br>";
print $button->createInputButton("Lars is the best ;)",'submit','ascii');
print "</form>";
$phpgw->common->phpgw_footer();
?>