|
|
|
@ -107,12 +107,12 @@ class GradeModel extends Model { |
|
|
|
|
|
|
|
|
|
$template_title = |
|
|
|
|
'<!-- BEGIN error --><span class="form_error">{error}</span><br /><!-- END error --> {element} |
|
|
|
|
<a href="javascript:minItem(' . ($counter) . ')"> |
|
|
|
|
<img style="display: '.(($counter>=$nr_items)?'inline':'none').';" id="min-' . $counter . '" src="../img/delete.png" alt="'.get_lang('Delete').'" title="'.get_lang('Delete').'"></img> |
|
|
|
|
</a> |
|
|
|
|
<a href="javascript:plusItem(' . ($counter+1) . ')"> |
|
|
|
|
<img style="display: '.(($counter>=$nr_items)?'inline':'none').';" id="plus-' . ($counter+1) . '" src="../img/icons/22/add.png" alt="'.get_lang('Add').'" title="'.get_lang('Add').'"></img> |
|
|
|
|
</a> |
|
|
|
|
<a href="javascript:minItem(' . ($counter) . ')"> |
|
|
|
|
<img style="display: '.(($counter>=$nr_items)?'inline':'none').';" id="min-' . $counter . '" src="../img/delete.png" alt="'.get_lang('Delete').'" title="'.get_lang('Delete').'"></img> |
|
|
|
|
</a> |
|
|
|
|
</div></p></div>'; |
|
|
|
|
|
|
|
|
|
$renderer->setElementTemplate($template_title, 'components['.$i.'][title]'); |
|
|
|
|