options->logo!=""): ?>
options->indexNameIcon == ""): ?>
options->IndexName(); ?>
headerItems)){
$json = '['.Typecho_Widget::widget('Widget_Options')->headerItems.']';
$headerItems = json_decode($json);
foreach ($headerItems as $headerItem){
$itemName = $headerItem->name;
@$itemStatus = $headerItem->status;
@$itemLink = $headerItem->link;
@$itemClass = $headerItem->class;
@$itemTarget = $headerItem->target;
if ($itemName === 'talk' && strtoupper($itemStatus) ==='HIDE'){
$hideTalkItem = true;
continue;
}
if ($itemName === "mode" && strtoupper($itemStatus === 'HIDE')){
$hideTalkItem = true;
continue;
}
if (@$itemTarget){
$linkStatus = 'target="'.$itemTarget.'"';
}else{
$linkStatus = 'target="_blank"';
}
$headerItemsOutput .= ''._mt($itemName).'';
}
}
?>