|
@@ -94,6 +94,8 @@ class sbo__relationship_formatter extends ChadoFieldFormatter {
|
|
|
$rows[][] = array('data' => $phrase, 'class' => array('tripal-entity-unattached field-items'));
|
|
|
}
|
|
|
|
|
|
+ $pager = $this->generate_pager(count($rows), $per_page);
|
|
|
+
|
|
|
$per_page = 2;
|
|
|
// Initialize the pager
|
|
|
$current_page = pager_default_initialize(count($rows), $per_page);
|
|
@@ -103,6 +105,7 @@ class sbo__relationship_formatter extends ChadoFieldFormatter {
|
|
|
$pager = theme('pager', array('quantity', count($rows)));
|
|
|
|
|
|
$pager = preg_replace("/href=\".*page=(.+?).*\"/", 'href="javascript:void(0)" onclick="tripal_navigate_field_pager(\'tripal-entity-' . $entity->id . '--' . $this->field['field_name'] . '\', $1)"', $pager);
|
|
|
+
|
|
|
//$pager = preg_replace("/href=\"" . $tmp_base_path . "gensas\/load_job_view_panel\/" . $job_id . "\/\d\"/", 'href="javascript:void(0)" onclick="gensas.show_job_view_panel(\'' . $job_id . '\', \'' . $job->getName() . '\')"', $pager);
|
|
|
// the $table array contains the headers and rows array as well as other
|
|
|
// options for controlling the display of the table. Additional
|