source: trunk/admin/testbutton.php @ 2

Revision 2, 1.2 KB checked in by niltonneto, 17 years ago (diff)

Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2  /**************************************************************************\
3  * eGroupWare - administration                                              *
4  * http://www.egroupware.org                                                *
5  * --------------------------------------------                             *
6  *  This program is free software; you can redistribute it and/or modify it *
7  *  under the terms of the GNU General Public License as published by the   *
8  *  Free Software Foundation; either version 2 of the License, or (at your  *
9  *  option) any later version.                                              *
10  \**************************************************************************/
11       
12        $phpgw_info["flags"] = array(
13                "currentapp" => "admin"
14        );
15       
16        include("../header.inc.php");
17
18        $button = CreateObject('phpgwapi.graphics');
19
20        $button->parseHTTPPostVars();
21        $button->createInputButton(lang('save'), 'save');
22
23        if (isset($submit)) print "is worked $submit<br>";
24
25        print "<form method=post>";
26        print $button->createInputButton("Lars is the best ;)",'submit');
27        print "<br>the same as ascii<br>";
28        print $button->createInputButton("Lars is the best ;)",'submit','ascii');
29        print "</form>";
30       
31        $phpgw->common->phpgw_footer();
32?>
Note: See TracBrowser for help on using the repository browser.