]>
src.bluestatic.org Git - bugdar.git/blob - templates/global.js
1 /*=====================================================================*\
2 || ###################################################################
3 || # Bugdar [#]version[#]
4 || # Copyright ©2002-[#]year[#] Iris Studios, Inc.
6 || # This program is free software; you can redistribute it and/or modify
7 || # it under the terms of the GNU General Public License as published by
8 || # the Free Software Foundation; version [#]gpl[#] of the License.
10 || # This program is distributed in the hope that it will be useful, but
11 || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 || # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 || # You should have received a copy of the GNU General Public License along
16 || # with this program; if not, write to the Free Software Foundation, Inc.,
17 || # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
18 || ###################################################################
19 \*=====================================================================*/
21 function draw_cancel(location
)
23 location
= (location
== "" ? "history.back(1)" : "window.location='" + location
+ "'");
24 document
.write('<input name="cancel" type="button" value="' + lang
['Cancel'] + '" onclick="' + location
+ '" />');
27 /*=====================================================================*\
28 || ###################################################################
31 || ###################################################################
32 \*=====================================================================*/