anpera.net https://anpera.homeip.net/phpbb3/ |
|
wo wird das gemacht? https://anpera.homeip.net/phpbb3/viewtopic.php?f=25&t=1261 |
Seite 1 von 1 |
Autor: | Devilzimti [ Mi 13 Apr, 2005 17:42 ] |
Betreff des Beitrags: | wo wird das gemacht? |
würde gerne wissen wo der <script> teil gemacht wird Zitat: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//DE">
<html> <head> <title>anpera.net & Weasel</title> <link href='templates/yarbrough.css' rel='stylesheet' type='text/css'> <script language="JavaScript" type="text/javascript"> <!-- document.onkeypress=keyevent; function keyevent(e){ var c; var target; var altKey; var ctrlKey; if (window.event != null) { c=String.fromCharCode(window.event.keyCode).toUpperCase(); altKey=window.event.altKey; ctrlKey=window.event.ctrlKey; }else{ c=String.fromCharCode(e.charCode).toUpperCase(); altKey=e.altKey; ctrlKey=e.ctrlKey; } if (window.event != null) target=window.event.srcElement; else target=e.originalTarget; if (target.nodeName.toUpperCase()=='INPUT' || target.nodeName.toUpperCase()=='TEXTAREA' || altKey || ctrlKey){ }else{ if (c == 'B') { window.location='about.php?c=1-183425';; return false; } if (c == 'F') { window.open('petition.php?op=faq&c=1-183425','petitionphpopfaqc1183425','scrollbars=yes,resizable=yes,width=550,height=300'); return false; } if (c == 'C') { window.location='create.php?c=1-183425';; return false; } if (c == 'L') { window.location='list.php?c=1-183425';; return false; } if (c == 'T') { window.location='news.php?c=1-183425';; return false; } if (c == 'S') { window.location='about.php?op=setup&c=1-183425';; return false; } if (c == 'P') { window.location='create.php?op=forgot&c=1-183425';; return false; } if (c == 'D') { window.location='http://forum.logd-welt.de/index.php';; return false; } if (c == 'O') { window.location='logdnet.php?op=list&c=1-183425';; return false; } if (c == 'R') { window.location='http://www.dragonprime.net';; return false; } } } //--> </script> |
Autor: | Kevz [ Mi 13 Apr, 2005 18:19 ] |
Betreff des Beitrags: | |
*hust* das is nen template das is dir ja klar oder? $this->bbcode_second_pass_code('', '<script language="JavaScript" type="text/javascript"> <!-- document.onkeypress=keyevent; function keyevent(e){ var c; var target; var altKey; var ctrlKey; if (window.event != null) { c=String.fromCharCode(window.event.keyCode).toUpperCase(); altKey=window.event.altKey; ctrlKey=window.event.ctrlKey; }else{ c=String.fromCharCode(e.charCode).toUpperCase(); altKey=e.altKey; ctrlKey=e.ctrlKey; } if (window.event != null) target=window.event.srcElement; else target=e.originalTarget; if (target.nodeName.toUpperCase()=='INPUT' || target.nodeName.toUpperCase()=='TEXTAREA' || altKey || ctrlKey){ }else{ if (c == 'B') { window.location='about.php?c=1-183425';; return false; } if (c == 'F') { window.open('petition.php?op=faq&c=1-183425','petitionphpopfaqc1183425','scrollbars=yes,resizable=yes,width=550,height=300'); return false; } if (c == 'C') { window.location='create.php?c=1-183425';; return false; } if (c == 'L') { window.location='list.php?c=1-183425';; return false; } if (c == 'T') { window.location='news.php?c=1-183425';; return false; } if (c == 'S') { window.location='about.php?op=setup&c=1-183425';; return false; } if (c == 'P') { window.location='create.php?op=forgot&c=1-183425';; return false; } if (c == 'D') { window.location='http://forum.logd-welt.de/index.php';; return false; } if (c == 'O') { window.location='logdnet.php?op=list&c=1-183425';; return false; } if (c == 'R') { window.location='http://www.dragonprime.net';; return false; } } } //--> </script>') |
Autor: | das_anp [ Mi 13 Apr, 2005 19:16 ] |
Betreff des Beitrags: | |
Das wird in der common.php generiert. function page_footer() und die Shortkeys dazu in function addnav() |
Seite 1 von 1 | Alle Zeiten sind UTC + 1 Stunde |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |