commit 71a56cf1542b206a1793920a5f3ab996eec291a8
parent 192c920231a4d234848268f688f00a288e7ebe49
Author: dankert <devnull@localhost>
Date: Thu, 27 Jan 2011 22:26:59 +0100
Frame-Namen in Template-Elementen konfigurierbar.
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/themes/default/include/elements.ini.php b/themes/default/include/elements.ini.php
@@ -22,9 +22,9 @@ 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
+insert = file,script,inline:false,url,name
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
+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
logo = name:*
newline =
diff --git a/themes/default/include/html/insert.inc.php b/themes/default/include/html/insert.inc.php
@@ -22,5 +22,5 @@ else
/* #END-IF# */
/* #IF-ATTR url# */
-<iframe src="<?php echo $attr_url ?>"></iframe>
+<iframe name="<?php echo $attr_name ?>" src="<?php echo $attr_url ?>"></iframe>
/* #END-IF# */
diff --git a/themes/default/include/html/link.inc.php b/themes/default/include/html/link.inc.php
@@ -40,4 +40,4 @@
#END-IF
-?><a<?php if (isset($attr_name)) echo ' name="'.$attr_name.'"'; else echo ' href="'.$tmp_url.(isset($attr_anchor)?'#'.$attr_anchor:'').'"' ?> class="<?php echo $attr_class ?>"<?php if (isset($attr_accesskey)) echo ' accesskey="'.$attr_accesskey.'"' ?> title="<?php echo encodeHtml($attr_title) ?>">-
\ No newline at end of file
+?><a target="<?php echo $attr_frame ?>" <?php if (isset($attr_name)) echo ' name="'.$attr_name.'"'; else echo ' href="'.$tmp_url.(isset($attr_anchor)?'#'.$attr_anchor:'').'"' ?> class="<?php echo $attr_class ?>"<?php if (isset($attr_accesskey)) echo ' accesskey="'.$attr_accesskey.'"' ?> title="<?php echo encodeHtml($attr_title) ?>">+
\ No newline at end of file