Create view for jTip content

This commit is contained in:
Eike Foken
2011-09-28 19:48:46 +02:00
parent 196821fb46
commit 8c88f570ab
3 changed files with 11 additions and 3 deletions

View File

@@ -148,7 +148,7 @@ class Ajax extends MY_Controller {
$this->load->helper('typography'); $this->load->helper('typography');
$parameter = $this->parameter->getById($parameterId); $parameter = $this->parameter->getById($parameterId);
$this->output->set_output(auto_typography($parameter['description'])); $this->output->set_output($this->load->view('global/parameter_help', $parameter, true));
} }
} }

View File

@@ -0,0 +1,4 @@
<strong><?=_('Description');?></strong>
<?=auto_typography($description);?>
<strong><?=_('Type');?></strong>
<?=auto_typography($type);?>

View File

@@ -896,7 +896,7 @@ div.progress_bar strong {
} }
#jt_copy { #jt_copy {
padding: 10px; padding: 4px;
color: #666; color: #666;
} }
@@ -904,11 +904,15 @@ div.progress_bar strong {
background: url(../images/ajax-loader.gif) center center no-repeat; background: url(../images/ajax-loader.gif) center center no-repeat;
width: 100%; width: 100%;
height: 12px; height: 12px;
margin: 6px;
} }
#jt_copy p { #jt_copy p {
margin: 0; margin: 0;
line-height: 12px; }
#jt_copy strong {
font-size: 11px;
} }
#jt_copy img { #jt_copy img {