@@ -650,7 +650,7 @@ public function showTargets($ID, $options = []) {
650650 foreach ($ allTargets as $ targetType => $ targets ) {
651651 foreach ($ targets as $ targetId => $ target ) {
652652 $ i ++;
653- echo '<tr class="line ' .( $ i % 2 ). ' " > ' ;
653+ echo '<tr> ' ;
654654 $ targetItemUrl = Toolbox::getItemTypeFormURL ($ targetType ) . '?id= ' . $ targetId ;
655655 // echo '<td onclick="document.location=\'' . $targetItemUrl . '\'" style="cursor: pointer">';
656656 $ onclick = "plugin_formcreator_editTarget(' $ targetType', $ targetId) " ;
@@ -676,7 +676,7 @@ public function showTargets($ID, $options = []) {
676676 }
677677
678678 // Display add target link...
679- echo '<tr class="line ' .(( $ i + 1 ) % 2 ). ' " id="add_target_row"> ' ;
679+ echo '<tr id="add_target_row"> ' ;
680680 echo '<td colspan="3"> ' ;
681681 echo '<a href="javascript:plugin_formcreator_addTarget( ' .$ ID .', \'' .$ token .'\');">
682682 <i class="fa fa-plus"></i>
@@ -686,7 +686,7 @@ public function showTargets($ID, $options = []) {
686686 echo '</tr> ' ;
687687
688688 // 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;"> ' ;
690690 echo '<td colspan="3" id="add_target_form_td"></td> ' ;
691691 echo '</tr> ' ;
692692
@@ -2350,7 +2350,7 @@ public function showAddTargetForm() {
23502350
23512351 echo '<tr><th colspan="4"> ' .__ ('Add a target ' , 'formcreator ' ).'</th></tr> ' ;
23522352
2353- echo '<tr class="line1" > ' ;
2353+ echo '<tr> ' ;
23542354 echo '<td width="15%"><strong> ' .__ ('Name ' ).' <span style="color:red;">*</span></strong></td> ' ;
23552355 echo '<td width="40%"><input type="text" name="name" style="width:100%;" value="" required="required"/></td> ' ;
23562356 echo '<td width="15%"><strong> ' ._n ('Type ' , 'Types ' , 1 ).' <span style="color:red;">*</span></strong></td> ' ;
@@ -2369,7 +2369,7 @@ public function showAddTargetForm() {
23692369 echo '</td> ' ;
23702370 echo '</tr> ' ;
23712371
2372- echo '<tr class="line0" > ' ;
2372+ echo '<tr> ' ;
23732373 echo '<td colspan="4" class="center"> ' ;
23742374 echo Html::hidden ('plugin_formcreator_forms_id ' , ['value ' => $ this ->getID ()]);
23752375 echo Html::submit (__ ('Add ' ), ['name ' => 'add_target ' ]);
0 commit comments