@@ -105,9 +105,12 @@ discard block |
||
105 | 105 | <?php echo $PMF_LANG['msgEdit'] ?> |
106 | 106 | </a> |
107 | 107 | </td> |
108 | - <?php else: ?> |
|
108 | + <?php else { |
|
109 | + : ?> |
|
109 | 110 | <td><?php echo $PMF_LANG['msgEdit'] ?></td> |
110 | - <?php endif; ?> |
|
111 | + <?php endif; |
|
112 | +} |
|
113 | +?> |
|
111 | 114 | <?php if ($user->perm->checkRight($user->getUserId(), 'deltranslation') && $showActions): ?> |
112 | 115 | <td> |
113 | 116 | <a class="btn btn-danger" href="javascript: del('<?php echo $lang ?>');" > |
@@ -115,9 +118,12 @@ discard block |
||
115 | 118 | <?php echo $PMF_LANG['msgDelete'] ?> |
116 | 119 | </a> |
117 | 120 | </td> |
118 | - <?php else: ?> |
|
121 | + <?php else { |
|
122 | + : ?> |
|
119 | 123 | <td><?php echo $PMF_LANG['msgDelete'] ?></td> |
120 | - <?php endif; ?> |
|
124 | + <?php endif; |
|
125 | +} |
|
126 | +?> |
|
121 | 127 | <?php if ($user->perm->checkRight($user->getUserId(), 'edittranslation') && $showActions): ?> |
122 | 128 | <td> |
123 | 129 | <a class="btn btn-success" href="javascript: sendToTeam('<?php echo $lang ?>');" > |
@@ -125,14 +131,20 @@ discard block |
||
125 | 131 | <?php echo $PMF_LANG['msgTransToolSendToTeam'] ?> |
126 | 132 | </a> |
127 | 133 | </td> |
128 | - <?php else: ?> |
|
134 | + <?php else { |
|
135 | + : ?> |
|
129 | 136 | <td><?php echo $PMF_LANG['msgTransToolSendToTeam'] ?></td> |
130 | - <?php endif; ?> |
|
137 | + <?php endif; |
|
138 | +} |
|
139 | +?> |
|
131 | 140 | <?php if ($isLangFileWritable): ?> |
132 | 141 | <td><i aria-hidden="true" class="fa fa-ok-circle"></i> <?php echo $PMF_LANG['msgYes'] ?></td> |
133 | - <?php else: ?> |
|
142 | + <?php else { |
|
143 | + : ?> |
|
134 | 144 | <td><i aria-hidden="true" class="fa fa-ban-circle"></i> <?php echo $PMF_LANG['msgNo'] ?></td> |
135 | - <?php endif; ?> |
|
145 | + <?php endif; |
|
146 | +} |
|
147 | +?> |
|
136 | 148 | <td> |
137 | 149 | <?php echo $percents ?>% |
138 | 150 | <meter value="<?php echo $percents ?>" max="100" min="0" title="<?php echo $percents ?>%"> |