Skip to content
Permalink
Browse files

add links to new "work_item" page

  • Loading branch information...
arthurpsmith committed Aug 12, 2019
1 parent a68b058 commit b2b2baa5ce21bf19d0df69f3d49a697e371ce1cb
Showing with 4 additions and 10 deletions.
  1. +1 −1 author_item.php
  2. +1 −1 index.php
  3. +1 −7 match_multi_authors.php
  4. +1 −1 precise_cluster.php
@@ -155,7 +155,7 @@
print "<tr>" ;
print "<td><input type='checkbox' name='papers[$q]' value='$q'/></td>" ;
print "<td style='width:20%;font-size:10pt'>" . wikidata_link($q, $article->title, '') . "</td>" ;
print "<td style='width:20%;font-size:10pt'>" . wikidata_link($q, $article->title, '') . " <a href='work_item.php?id=" . $q . "'>[work]</a></td>" ;
print "<td style='width:50%;font-size:9pt'>$authors_list</td>" ;
print "<td style='font-size:9pt'>$published_in_list</td>" ;
print "<td style='font-size:9pt'>" ;
@@ -248,7 +248,7 @@
$published_in_list = implode ( ', ', $published_in ) ;
print "<tr>" ;
print "<td style='width:20%;font-size:10pt'>" . wikidata_link($q, $article->title, '') . "</td>" ;
print "<td style='width:20%;font-size:10pt'>" . wikidata_link($q, $article->title, '') . " <a href='work_item.php?id=" . $q . "'>[work]</a></td>" ;
print "<td style='width:50%;font-size:9pt'>$authors_list</td>" ;
print "<td style='font-size:9pt'>$published_in_list</td>" ;
print "<td style='font-size:9pt'>" ;
@@ -95,12 +95,6 @@
print "<input type='submit' class='btn btn-primary' name='doit' value='Find papers by these authors' /></div>" ;
print "</form>" ;
if ( count($author_qids) < 2 ) {
print "</div><br /><b>Error:</b> Enter at least 2 Wikidata QID's for authors!<br /><div>";
print_footer() ;
exit ( 0 ) ;
}
$name_hash = array();
foreach ($author_qids as $author_qid) {
foreach ($names[$author_qid] as $name) {
@@ -215,7 +209,7 @@
$published_in_list = implode ( ', ', $published_in ) ;
print "<tr>" ;
print "<td style='width:20%;font-size:10pt'>" . wikidata_link($q, $article->title, '') . "</td>" ;
print "<td style='width:20%;font-size:10pt'>" . wikidata_link($q, $article->title, '') . " <a href='work_item.php?id=" . $q . "'>[work]</a></td>" ;
print "<td style='width:50%;font-size:9pt'>$authors_list</td>" ;
print "<td style='font-size:9pt'>$published_in_list</td>" ;
print "<td style='font-size:9pt'>" ;
@@ -261,7 +261,7 @@
$published_in_list = implode ( ', ', $published_in ) ;
print "<tr>" ;
print "<td style='width:20%;font-size:10pt'>" . wikidata_link($q, $article->title, '') . "</td>" ;
print "<td style='width:20%;font-size:10pt'>" . wikidata_link($q, $article->title, '') . " <a href='work_item.php?id=" . $q . "'>[work]</a></td>" ;
print "<td style='width:50%;font-size:9pt'>$authors_list</td>" ;
print "<td style='font-size:9pt'>$published_in_list</td>" ;
print "<td style='font-size:9pt'>" ;

0 comments on commit b2b2baa

Please sign in to comment.
You can’t perform that action at this time.