egroupware_official/admin/testbutton.php

34 lines
1.3 KiB
PHP
Raw Normal View History

<?php
/**************************************************************************\
2004-01-25 23:08:51 +01:00
* eGroupWare - administration *
* http://www.egroupware.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');
2001-02-14 20:20:22 +01:00
2001-02-14 21:55:10 +01:00
$button->parseHTTPPostVars();
2001-02-14 20:20:22 +01:00
$button->createInputButton(lang('save'), 'save');
2001-02-14 21:55:10 +01:00
if (isset($submit)) print "is worked $submit<br>";
2001-02-14 20:20:22 +01:00
2001-02-14 21:55:10 +01:00
print "<form method=post>";
2001-02-14 20:20:22 +01:00
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();
?>