Project

General

Profile

« Previous | Next » 

Revision 7916

web/vegpath/index.php: Inlined VegBank() because it's only used once

View differences:

index.php
98 98
	};
99 99
}
100 100

  
101
function VegBank($url)
102
{
103
	return custom_separator($url."/vegbank/views/dba_tabledescription_detail.jsp?view=detail&entity=dba_tabledescription&where=where_tablename&wparam=",
104
		"#", $url."/get/index/dba_tabledescription");
105
}
106

  
107 101
ob_start(); // delay output in case there is a redirect
108 102
?>
109 103
<html>
......
141 135
	print("<h3>Aggregators</h3>");
142 136
	{
143 137
		print("<blockquote>\n");
144
		add_ref("VegBank", ".table.column", VegBank("http://vegbank.org"));
138
		add_ref("VegBank", ".table.column", custom_separator("http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&entity=dba_tabledescription&where=where_tablename&wparam=",
139
			"#", "http://vegbank.org/get/index/dba_tabledescription"));
145 140
		add_ref("SALVIAS", ".table.column", "http://salvias.net/Documents/salvias_data_dictionary.html#");
146 141
		add_ref("BIEN2", ".table.column", phpMyAdmin("http://nimoy.nceas.ucsb.edu/phpmyadmin/index.php?db=bien_web"));
147 142
		add_ref("VegBIEN", ".table.column", phpPgAdmin("http://vegbiendev.nceas.ucsb.edu/phppgadmin/redirect.php?server=localhost%3A5432%3Aallow&database=vegbien&schema=public"));

Also available in: Unified diff