openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 9cdc70294bbf03269b29044fce086b95f3cb7c07
parent 5b68cb788fd2092d56f877af1c8d5848c4683b18
Author: dankert <devnull@localhost>
Date:   Tue, 15 Feb 2011 21:42:57 +0100

Einfügen von Javascript-Funktionen.

Diffstat:
themes/default/include/elements.ini.php | 4++--
themes/default/include/html/insert.inc.php | 5+++++
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/themes/default/include/elements.ini.php b/themes/default/include/elements.ini.php @@ -4,7 +4,7 @@ button = type:submit,src,class:ok,value:ok,text:button_ok -cell = width,style,class,colspan,rowspan +cell = width,style,class,colspan,rowspan,header:false,title,url char = type:* checkbox = default:false,readonly:false,name:* date = date @@ -22,7 +22,7 @@ if = equals,value,not,empty,present,contains,greaterthan,lessthan,true,fal image = config,file,url,icon,align:left,type,elementtype,fileext,tree,notice,size,title input = class:text,default:,type:text,index,name:*,prefix,value,size:40,maxlength:256,onchange:,readonly:false inputarea= name,rows:10,cols:40,value,index,onchange,prefix,class:inputarea,default: -insert = file,script,inline:false,url,name +insert = file,script,inline:false,url,name,function label = for:*,value link = title:,config,target,var,url,class:,action,subaction,id,var1,value1,var2,value2,var3,value3,var4,value4,var5,value5,accesskey,name,anchor,frame:_self list = list:*,extract:false,key:list_key,value:list_value diff --git a/themes/default/include/html/insert.inc.php b/themes/default/include/html/insert.inc.php @@ -24,3 +24,8 @@ else /* #IF-ATTR url# */ <iframe name="<?php echo $attr_name ?>" src="<?php echo $attr_url ?>"></iframe> /* #END-IF# */ + +/* #IF-ATTR function# */ +Hallo! +<script type="text/javascript" name="JavaScript"><?php echo $attr_function?>();</script> +/* #END-IF# */