projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
da14df0
)
after an authority is added/modified, go to this fresh authority (instead of authorit...
author
tipaul
<tipaul>
Thu, 2 Dec 2004 16:38:23 +0000
(16:38 +0000)
committer
tipaul
<tipaul>
Thu, 2 Dec 2004 16:38:23 +0000
(16:38 +0000)
authorities/authorities.pl
patch
|
blob
|
history
koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl
patch
|
blob
|
history
koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl
patch
|
blob
|
history
diff --git
a/authorities/authorities.pl
b/authorities/authorities.pl
index
b8a5734
..
76e008e
100755
(executable)
--- a/
authorities/authorities.pl
+++ b/
authorities/authorities.pl
@@
-339,7
+339,7
@@
if ($op eq "add") {
} else {
($authid) = AUTHaddauthority($dbh,$record,$authid,$authtypecode);
}
} else {
($authid) = AUTHaddauthority($dbh,$record,$authid,$authtypecode);
}
- print $input->redirect("
authorities-home.pl
");
+ print $input->redirect("
detail.pl?authid=$authid
");
#------------------------------------------------------------------------------------------------------------------------------
} elsif ($op eq "addfield") {
#------------------------------------------------------------------------------------------------------------------------------
#------------------------------------------------------------------------------------------------------------------------------
} elsif ($op eq "addfield") {
#------------------------------------------------------------------------------------------------------------------------------
diff --git
a/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl
b/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl
index
ef9e238
..
4f142c3
100644
(file)
--- a/
koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl
+++ b/
koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl
@@
-14,7
+14,6
@@
<!-- TMPL_ELSE -->
<input type="button" value="Add authority" onClick="Check(this.form)" accesskey="w" class="button authority">
<!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<input type="button" value="Add authority" onClick="Check(this.form)" accesskey="w" class="button authority">
<!-- /TMPL_IF -->
-<!-- <a href="javascript:PopupZ3950()" class="button authority">z3950 search</a> -->
</p>
</div>
</p>
</div>
diff --git
a/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl
b/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl
index
ca52c32
..
de119b4
100644
(file)
--- a/
koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl
+++ b/
koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl
@@
-42,7
+42,7
@@
<!-- TMPL_LOOP NAME="result" -->
<tr>
<td><!-- TMPL_VAR NAME="summary" --></td>
<!-- TMPL_LOOP NAME="result" -->
<tr>
<td><!-- TMPL_VAR NAME="summary" --></td>
- <td><a href="../search.marc/search.pl?type=intranet&op=do_search&marclist=
<!-- TMPL_VAR NAME="biblio_fields" -->
&operator==&value=<!-- TMPL_VAR NAME="authid" -->&and_or=and&excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> biblio(s)</a></td>
+ <td><a href="../search.marc/search.pl?type=intranet&op=do_search&marclist=
'<!-- TMPL_VAR NAME="biblio_fields" -->'
&operator==&value=<!-- TMPL_VAR NAME="authid" -->&and_or=and&excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> biblio(s)</a></td>
<td>
<a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" width="32" hspace="0" vspace="0" border="0" alt="Authority number <!-- TMPL_VAR NAME="authid" -->" title="Authority number<!-- TMPL_VAR NAME="authid" -->">
<td>
<a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" width="32" hspace="0" vspace="0" border="0" alt="Authority number <!-- TMPL_VAR NAME="authid" -->" title="Authority number<!-- TMPL_VAR NAME="authid" -->">