@@ -650,7 +650,7 @@ public function showTargets($ID, $options = []) {
650
650
foreach ($ allTargets as $ targetType => $ targets ) {
651
651
foreach ($ targets as $ targetId => $ target ) {
652
652
$ i ++;
653
- echo '<tr class="line ' .( $ i % 2 ). ' " > ' ;
653
+ echo '<tr> ' ;
654
654
$ targetItemUrl = Toolbox::getItemTypeFormURL ($ targetType ) . '?id= ' . $ targetId ;
655
655
// echo '<td onclick="document.location=\'' . $targetItemUrl . '\'" style="cursor: pointer">';
656
656
$ onclick = "plugin_formcreator_editTarget(' $ targetType', $ targetId) " ;
@@ -676,7 +676,7 @@ public function showTargets($ID, $options = []) {
676
676
}
677
677
678
678
// Display add target link...
679
- echo '<tr class="line ' .(( $ i + 1 ) % 2 ). ' " id="add_target_row"> ' ;
679
+ echo '<tr id="add_target_row"> ' ;
680
680
echo '<td colspan="3"> ' ;
681
681
echo '<a href="javascript:plugin_formcreator_addTarget( ' .$ ID .', \'' .$ token .'\');">
682
682
<i class="fa fa-plus"></i>
@@ -686,7 +686,7 @@ public function showTargets($ID, $options = []) {
686
686
echo '</tr> ' ;
687
687
688
688
// OR display add target form
689
- echo '<tr class="line ' .(( $ i + 1 ) % 2 ). ' " id="add_target_form" style="display: none;"> ' ;
689
+ echo '<tr id="add_target_form" style="display: none;"> ' ;
690
690
echo '<td colspan="3" id="add_target_form_td"></td> ' ;
691
691
echo '</tr> ' ;
692
692
@@ -2350,7 +2350,7 @@ public function showAddTargetForm() {
2350
2350
2351
2351
echo '<tr><th colspan="4"> ' .__ ('Add a target ' , 'formcreator ' ).'</th></tr> ' ;
2352
2352
2353
- echo '<tr class="line1" > ' ;
2353
+ echo '<tr> ' ;
2354
2354
echo '<td width="15%"><strong> ' .__ ('Name ' ).' <span style="color:red;">*</span></strong></td> ' ;
2355
2355
echo '<td width="40%"><input type="text" name="name" style="width:100%;" value="" required="required"/></td> ' ;
2356
2356
echo '<td width="15%"><strong> ' ._n ('Type ' , 'Types ' , 1 ).' <span style="color:red;">*</span></strong></td> ' ;
@@ -2369,7 +2369,7 @@ public function showAddTargetForm() {
2369
2369
echo '</td> ' ;
2370
2370
echo '</tr> ' ;
2371
2371
2372
- echo '<tr class="line0" > ' ;
2372
+ echo '<tr> ' ;
2373
2373
echo '<td colspan="4" class="center"> ' ;
2374
2374
echo Html::hidden ('plugin_formcreator_forms_id ' , ['value ' => $ this ->getID ()]);
2375
2375
echo Html::submit (__ ('Add ' ), ['name ' => 'add_target ' ]);
0 commit comments