add_perm_templ.php
changeset 116 cc09385a62aa
parent 85 1687c1b107fa
child 119 f74e4f88b680
equal deleted inserted replaced
115:b1d7998a903e 116:cc09385a62aa
    54 	foreach ($perms_avail as $perm_a) {
    54 	foreach ($perms_avail as $perm_a) {
    55 
    55 
    56 		echo "      <tr>\n";
    56 		echo "      <tr>\n";
    57 		echo "       <td><input type=\"checkbox\" name=\"perm_id[]\" value=\"" . $perm_a['id'] . "\"></td>\n";
    57 		echo "       <td><input type=\"checkbox\" name=\"perm_id[]\" value=\"" . $perm_a['id'] . "\"></td>\n";
    58 		echo "       <td>" . $perm_a['name'] . "</td>\n";
    58 		echo "       <td>" . $perm_a['name'] . "</td>\n";
    59 		echo "       <td>" . $perm_a['descr'] . "</td>\n";
    59 		echo "       <td>" . _($perm_a['descr']) . "</td>\n";
    60 		echo "      </tr>\n";
    60 		echo "      </tr>\n";
    61 	}
    61 	}
    62 	echo "     </table>\n";
    62 	echo "     </table>\n";
    63 	echo "     <input type=\"submit\" class=\"button\" name=\"commit\" value=\"" . _('Commit changes') . "\">\n";
    63 	echo "     <input type=\"submit\" class=\"button\" name=\"commit\" value=\"" . _('Commit changes') . "\">\n";
    64 	echo "     </form>\n";
    64 	echo "     </form>\n";