|
@@ 886-890 (lines=5) @@
|
| 883 |
|
function build_custome_edit_button($button_params, $field, $linkid) { |
| 884 |
|
$link = base_url() . $button_params->url . "" . $linkid; |
| 885 |
|
if(isset($button_params->layout)){ |
| 886 |
|
if ($button_params->mode == 'popup') { |
| 887 |
|
return '<a href="' . $link . '" style="cursor:pointer;color:#005298;" rel="facebox_medium" title="Update">' . $field . '</a> '; |
| 888 |
|
} else { |
| 889 |
|
return '<a href="' . $link . '" style="cursor:pointer;color:#005298;" title="Edit">' . $field . '</a> '; |
| 890 |
|
} |
| 891 |
|
} else{ |
| 892 |
|
if ($button_params->mode == 'popup') { |
| 893 |
|
return '<a href="' . $link . '" style="cursor:pointer;color:#005298;" rel="facebox" title="Update">' . $field . '</a> '; |
|
@@ 891-897 (lines=7) @@
|
| 888 |
|
} else { |
| 889 |
|
return '<a href="' . $link . '" style="cursor:pointer;color:#005298;" title="Edit">' . $field . '</a> '; |
| 890 |
|
} |
| 891 |
|
} else{ |
| 892 |
|
if ($button_params->mode == 'popup') { |
| 893 |
|
return '<a href="' . $link . '" style="cursor:pointer;color:#005298;" rel="facebox" title="Update">' . $field . '</a> '; |
| 894 |
|
} else { |
| 895 |
|
return '<a href="' . $link . '" style="cursor:pointer;color:#005298;" title="Edit">' . $field . '</a> '; |
| 896 |
|
} |
| 897 |
|
} |
| 898 |
|
} |
| 899 |
|
|
| 900 |
|
/************************************ */ |