mirror of https://github.com/BOINC/boinc.git
parent
59005a19aa
commit
bce4340e4a
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
/**
|
||||
* This template is used to print a single field in a view. It is not
|
||||
* actually used in default Views, as this is registered as a theme
|
||||
* function which has better performance. For single overrides, the
|
||||
* template is perfectly okay.
|
||||
*
|
||||
* Variables available:
|
||||
* - $view: The view object
|
||||
* - $field: The field handler object that can process the input
|
||||
* - $row: The raw SQL result that can be used
|
||||
* - $output: The processed output that will normally be used.
|
||||
*
|
||||
* When fetching output from the $row, this construct should be used:
|
||||
* $data = $row->{$field->field_alias}
|
||||
*
|
||||
* The above will guarantee that you'll always get the correct data,
|
||||
* regardless of any changes in the aliasing that might happen if
|
||||
* the view is modified.
|
||||
*/
|
||||
?>
|
||||
<span>
|
||||
<?php print l($row->result_name, "task/{$row->id}"); ?>
|
||||
</span>
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
/**
|
||||
* This template is used to print a single field in a view. It is not
|
||||
* actually used in default Views, as this is registered as a theme
|
||||
* function which has better performance. For single overrides, the
|
||||
* template is perfectly okay.
|
||||
*
|
||||
* Variables available:
|
||||
* - $view: The view object
|
||||
* - $field: The field handler object that can process the input
|
||||
* - $row: The raw SQL result that can be used
|
||||
* - $output: The processed output that will normally be used.
|
||||
*
|
||||
* When fetching output from the $row, this construct should be used:
|
||||
* $data = $row->{$field->field_alias}
|
||||
*
|
||||
* The above will guarantee that you'll always get the correct data,
|
||||
* regardless of any changes in the aliasing that might happen if
|
||||
* the view is modified.
|
||||
*/
|
||||
?>
|
||||
<span>
|
||||
<?php print l($row->result_name, "task/{$row->id}"); ?>
|
||||
</span>
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
/**
|
||||
* This template is used to print a single field in a view. It is not
|
||||
* actually used in default Views, as this is registered as a theme
|
||||
* function which has better performance. For single overrides, the
|
||||
* template is perfectly okay.
|
||||
*
|
||||
* Variables available:
|
||||
* - $view: The view object
|
||||
* - $field: The field handler object that can process the input
|
||||
* - $row: The raw SQL result that can be used
|
||||
* - $output: The processed output that will normally be used.
|
||||
*
|
||||
* When fetching output from the $row, this construct should be used:
|
||||
* $data = $row->{$field->field_alias}
|
||||
*
|
||||
* The above will guarantee that you'll always get the correct data,
|
||||
* regardless of any changes in the aliasing that might happen if
|
||||
* the view is modified.
|
||||
*/
|
||||
?>
|
||||
<span>
|
||||
<?php print l($row->result_name, "task/{$row->id}"); ?>
|
||||
</span>
|
Loading…
Reference in New Issue