fix for #254
authortipaul <tipaul>
Fri, 2 May 2003 16:18:51 +0000 (16:18 +0000)
committertipaul <tipaul>
Fri, 2 May 2003 16:18:51 +0000 (16:18 +0000)
admin/marctagstructure.pl
koha-tmpl/intranet-tmpl/default/en/parameters/marctagstructure.tmpl

index 9fdd9c3..4a2315b 100755 (executable)
@@ -188,11 +188,11 @@ if ($op eq 'add_form') {
        $template->param(loop => \@loop_data);
        if ($offset>0) {
                my $prevpage = $offset-$pagesize;
-               $template->param(previous => "<a href=$script_name?offset=".$prevpage.'>');
+               $template->param(previous => "<a href=\"$script_name?offset=".$prevpage.'">');
        }
        if ($offset+$pagesize<$count) {
                my $nextpage =$offset+$pagesize;
-               $template->param(next => "<a href=$script_name?offset=".$nextpage.'>');
+               $template->param(next => "<a href=\"$script_name?offset=".$nextpage.'">');
        }
 } #---- END $OP eq DEFAULT
 
index 3f6566f..de712a1 100644 (file)
                <td width="33%">
                        <input type=submit class="button" value="Add Tag" title="Add Tag" alt="Add Tag" >
                </td>
-               <td width=33%><TMPL_IF name="previous"><TMPL_VAR name="previous"><input type=image src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/1leftarrow.png" title="previous" ALT="previous" BORDER=0 ></a></TMPL_IF></td>
+               <td width=33%><TMPL_IF name="previous"><TMPL_VAR name="previous"><input type=image src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/1leftarrow.png" title="previous" ALT="previous" BORDER=0></a></TMPL_IF></td>
                <td width=33%><TMPL_IF name="next"><TMPL_VAR name="next"><input type=image src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/1rightarrow.png" title="next" ALT="next" BORDER=0></a></TMPL_IF></td>
        </tr>
 </table>