source: extensions/ContactForm/template/cf_button.tpl @ 3809

Last change on this file since 3809 was 3809, checked in by Criss, 15 years ago

bug 0001147

Replace redirect page by a message on the index one

File size: 442 bytes
Line 
1{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
2<div class="cf-button">
3<input type="button" value="{'cf_hide'|@translate}" onclick="hide('cf_messages');">
4</div>
5{literal}
6<script type="text/javascript">
7function hide(id) {
8  var element = document.getElementById(id);
9  if (null != element) {
10    element.style.visibility = 'hidden';
11    element.style.display = 'none';
12  }
13}
14</script>
15{/literal}
Note: See TracBrowser for help on using the repository browser.