@@ 871-878 (lines=8) @@ | ||
868 | ->order_by('id') |
|
869 | ->get(); |
|
870 | ||
871 | foreach($query->result() as $row) |
|
872 | { |
|
873 | $html .= T5.'<option value="'.$row->id.'"'; |
|
874 | //Mark the appropriate one selected |
|
875 | $html .= ($row->id == $status_id) ? ' selected="selected">': '>'; |
|
876 | $html .= $row->desc; |
|
877 | $html .= '</option>'.NL; |
|
878 | } |
|
879 | ||
880 | return $html; |
|
881 | } |
|
@@ 916-923 (lines=8) @@ | ||
913 | ->from('priority') |
|
914 | ->get(); |
|
915 | ||
916 | foreach($query->result() as $row) |
|
917 | { |
|
918 | $html .= T5.'<option value="'.$row->id.'"'; |
|
919 | //Mark the appropriate one selected |
|
920 | $html .= ($row->id == $pri_id) ? ' selected="selected">': '>'; |
|
921 | $html .= $row->desc; |
|
922 | $html .= '</option>'.NL; |
|
923 | } |
|
924 | ||
925 | return $html; |
|
926 | } |
|
@@ 966-973 (lines=8) @@ | ||
963 | ->order_by('title', 'asc') |
|
964 | ->get(); |
|
965 | ||
966 | foreach($query->result() as $row) |
|
967 | { |
|
968 | $html .= T5.'<option value="'.$row->id.'"'; |
|
969 | //Mark the appropriate one selected |
|
970 | $html .= ($row->id == $category_id) ? ' selected="selected">': '>'; |
|
971 | $html .= $row->desc; |
|
972 | $html .= '</option>'.NL; |
|
973 | } |
|
974 | ||
975 | return $html; |
|
976 | } |