r860: Renaming the branch to be the right name
[bugdar.git] / templates / global.js
1 /*=====================================================================*\
2 || ################################################################### ||
3 || # Bugdar [#]version[#]
4 || # --------------------------------------------------------------- # ||
5 || # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # ||
6 || # This file may not be reproduced in any way without permission. # ||
7 || # --------------------------------------------------------------- # ||
8 || # User License Agreement at http://www.iris-studios.com/license/ # ||
9 || ################################################################### ||
10 \*=====================================================================*/
11
12 function draw_cancel(location)
13 {
14 location = (location == "" ? "history.back(1)" : "window.location='" + location + "'");
15 document.write('<input name="cancel" type="button" value="' + lang['Cancel'] + '" onclick="' + location + '" />');
16 }
17
18 /*=====================================================================*\
19 || ###################################################################
20 || # $HeadURL$
21 || # $Id$
22 || ###################################################################
23 \*=====================================================================*/