mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Issue #4918 - Undefined constants cleanup.
This commit is contained in:
@@ -857,7 +857,7 @@ e107::css('inline',"
|
||||
$linkQ = e_SELF."?searchquery=&filter_options=page_chapter__".$id."&mode=page&action=list";
|
||||
// $level_image = $parent ? '<img src="'.e_IMAGE_ABS.'generic/branchbottom.gif" class="icon" alt="" style="margin-left: '.($level * 20).'px" /> ' : '';
|
||||
|
||||
$level_image = $parent ? str_replace('level-x','level-'.$level, ADMIN_CHILD_ICON) : '';
|
||||
$level_image = $parent ? str_replace('level-x','level-'.$level, defset('ADMIN_CHILD_ICON')) : '';
|
||||
|
||||
return ($parent) ? $level_image.$curVal : $curVal;
|
||||
}
|
||||
@@ -895,7 +895,7 @@ e107::css('inline',"
|
||||
|
||||
// $ret['inlineParms'] = array('pre'=>'<img src="'.e_IMAGE_ABS.'generic/branchbottom.gif" class="level-'.$level.' icon" alt="" />');
|
||||
|
||||
$ret['inlineParms'] = array('pre'=> str_replace('level-x','level-'.$level, ADMIN_CHILD_ICON));
|
||||
$ret['inlineParms'] = array('pre'=> str_replace('level-x','level-'.$level, defset('ADMIN_CHILD_ICON')));
|
||||
|
||||
}
|
||||
|
||||
@@ -1099,7 +1099,7 @@ e107::css('inline',"
|
||||
$topic = $this->getController()->getListModel()->get('gen_ip');
|
||||
$topidId = $this->getController()->getListModel()->get('gen_intdata');
|
||||
$text = "<div class='btn-group'>";
|
||||
$text .= "<a class='e-modal btn btn-default' data-modal-caption='Topic: ".$topic."' href='".e_SELF."?mode=post&action=list&id=". $topidId."' rel='external'>".ADMIN_VIEW_ICON."</a>";
|
||||
$text .= "<a class='e-modal btn btn-default' data-modal-caption='Topic: ".$topic."' href='".e_SELF."?mode=post&action=list&id=". $topidId."' rel='external'>".defset('ADMIN_VIEW_ICON')."</a>";
|
||||
|
||||
$text .= $this->renderValue('options',$value,array('readParms'=>'edit=0'), $id);
|
||||
$text .= "</div>";
|
||||
|
Reference in New Issue
Block a user