diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/html.php | 2 | ||||
-rw-r--r-- | inc/template.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/inc/html.php b/inc/html.php index cfa4dbe3d..3ebba65c8 100644 --- a/inc/html.php +++ b/inc/html.php @@ -1202,7 +1202,7 @@ function html_edit(){ $form->addElement(form_makeOpenTag('div', array('class'=>'license'))); $out = $lang['licenseok']; $out .= '<a href="'.$license[$conf['license']]['url'].'" rel="license" class="urlextern"'; - if(isset($conf['target']['external'])) $out .= ' target="'.$conf['target']['external'].'"'; + if(isset($conf['target']['extern'])) $out .= ' target="'.$conf['target']['extern'].'"'; $out .= '> '.$license[$conf['license']]['name'].'</a>'; $form->addElement($out); $form->addElement(form_makeCloseTag('div')); diff --git a/inc/template.php b/inc/template.php index 334175d26..7fe440b18 100644 --- a/inc/template.php +++ b/inc/template.php @@ -1307,14 +1307,14 @@ function tpl_license($img='badge',$imgonly=false,$return=false){ $src = license_img($img); if($src){ $out .= '<a href="'.$lic['url'].'" rel="license"'; - if($conf['target']['external']) $out .= ' target="'.$conf['target']['external'].'"'; + if($conf['target']['extern']) $out .= ' target="'.$conf['target']['extern'].'"'; $out .= '><img src="'.DOKU_BASE.$src.'" class="medialeft lic'.$img.'" alt="'.$lic['name'].'" /></a> '; } } if(!$imgonly) { $out .= $lang['license']; $out .= '<a href="'.$lic['url'].'" rel="license" class="urlextern"'; - if(isset($conf['target']['external'])) $out .= ' target="'.$conf['target']['external'].'"'; + if(isset($conf['target']['extern'])) $out .= ' target="'.$conf['target']['extern'].'"'; $out .= '>'.$lic['name'].'</a>'; } $out .= '</div>'; |