View | Details | Raw Unified | Return to bug 21706
Collapse All | Expand All

(-)a/admin/auth_subfields_structure.pl (-1 lines)
Lines 315-321 if ($op eq 'add_form') { Link Here
315
		$row_data{value_builder}	= $results->[$i]{'value_builder'};
315
		$row_data{value_builder}	= $results->[$i]{'value_builder'};
316
		$row_data{hidden}	= $results->[$i]{'hidden'} if($results->[$i]{'hidden'} gt "000") ;
316
		$row_data{hidden}	= $results->[$i]{'hidden'} if($results->[$i]{'hidden'} gt "000") ;
317
		$row_data{isurl}	= $results->[$i]{'isurl'};
317
		$row_data{isurl}	= $results->[$i]{'isurl'};
318
		$row_data{delete} = "$script_name?op=delete_confirm&tagfield=$tagfield&tagsubfield=".$results->[$i]{'tagsubfield'}."&authtypecode=$authtypecode";
319
		if ($row_data{tab} eq -1) {
318
		if ($row_data{tab} eq -1) {
320
			$row_data{subfield_ignored} = 1;
319
			$row_data{subfield_ignored} = 1;
321
		}
320
		}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt (-3 / +2 lines)
Lines 301-307 Link Here
301
                [% IF ( loo.value_builder ) %] | <strong>Plugin:</strong>[% loo.value_builder | html %],[% END %]
301
                [% IF ( loo.value_builder ) %] | <strong>Plugin:</strong>[% loo.value_builder | html %],[% END %]
302
            [% END %]
302
            [% END %]
303
        </td>
303
        </td>
304
        <td><a href="[% loo.delete | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a></td>
304
        <td><a href="?op=delete_confirm&amp;tagfield=[% loo.tagfield | uri %]&amp;tagsubfield=[% loo.tagsubfield | uri %]&amp;authtypecode=[% authtypecode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a></td>
305
    </tr>
305
    </tr>
306
    [% END %]
306
    [% END %]
307
</table>
307
</table>
Lines 311-317 Link Here
311
    <input type="hidden" name="tagfield" value="[% edit_tagfield | html %]" />
311
    <input type="hidden" name="tagfield" value="[% edit_tagfield | html %]" />
312
    <input type="hidden" name="authtypecode" value="[% edit_authtypecode | html %]" />
312
    <input type="hidden" name="authtypecode" value="[% edit_authtypecode | html %]" />
313
    <input type="submit" value="Edit subfields" />
313
    <input type="submit" value="Edit subfields" />
314
    <a class="cancel" href="auth_tag_structure.pl?searchfield=[% tagfield | uri%]&amp;authtypecode=[% authtypecode | uri %]">Cancel</a></fieldset>
314
    <a class="cancel" href="auth_tag_structure.pl?searchfield=[% tagfield | uri %]&amp;authtypecode=[% authtypecode | uri %]">Cancel</a></fieldset>
315
    </form>
315
    </form>
316
316
317
    [% IF ( previous ) %]
317
    [% IF ( previous ) %]
318
- 

Return to bug 21706