@@ -56,8 +56,8 @@ |
||
56 | 56 | $lang['form_active'] = 'активно'; |
57 | 57 | |
58 | 58 | /* Added in version 1.2.2 */ |
59 | - $lang['form_save_and_go_back'] = 'Сохранить и вернуться к списку'; |
|
60 | - $lang['form_update_and_go_back']= 'Сохранить изменения и вернуться к списку'; |
|
59 | + $lang['form_save_and_go_back'] = 'Сохранить и вернуться к списку'; |
|
60 | + $lang['form_update_and_go_back'] = 'Сохранить изменения и вернуться к списку'; |
|
61 | 61 | |
62 | 62 | /* Upload functionality */ |
63 | 63 | $lang['string_delete_file'] = 'Удаление файла'; |
@@ -1,45 +1,45 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /* Translated by rafael84 */ |
3 | - $lang['list_add'] = 'Adicionar'; |
|
4 | - $lang['list_actions'] = 'Ações'; |
|
5 | - $lang['list_page'] = 'Página'; |
|
3 | + $lang['list_add'] = 'Adicionar'; |
|
4 | + $lang['list_actions'] = 'Ações'; |
|
5 | + $lang['list_page'] = 'Página'; |
|
6 | 6 | $lang['list_paging_of'] = 'de'; |
7 | 7 | $lang['list_displaying'] = 'Registros de {start} à {end}, num total de {results} registros'; |
8 | - $lang['list_filtered_from'] = '(filtrado de um total de {total_results} registros)'; |
|
8 | + $lang['list_filtered_from'] = '(filtrado de um total de {total_results} registros)'; |
|
9 | 9 | $lang['list_show_entries'] = 'Exibir {paging} entradas'; |
10 | - $lang['list_no_items'] = 'Nenhum registro a ser exibido'; |
|
10 | + $lang['list_no_items'] = 'Nenhum registro a ser exibido'; |
|
11 | 11 | $lang['list_zero_entries'] = 'Nenhum registro encontrado'; |
12 | 12 | $lang['list_search'] = 'Filtrar'; |
13 | - $lang['list_search_all'] = '- Todos os Campos -'; |
|
14 | - $lang['list_clear_filtering'] = 'Limpar Filtro'; |
|
13 | + $lang['list_search_all'] = '- Todos os Campos -'; |
|
14 | + $lang['list_clear_filtering'] = 'Limpar Filtro'; |
|
15 | 15 | $lang['list_delete'] = 'Excluir'; |
16 | - $lang['list_edit'] = 'Alterar'; |
|
17 | - $lang['list_paging_first'] = 'Primeiro'; |
|
18 | - $lang['list_paging_previous'] = 'Anterior'; |
|
16 | + $lang['list_edit'] = 'Alterar'; |
|
17 | + $lang['list_paging_first'] = 'Primeiro'; |
|
18 | + $lang['list_paging_previous'] = 'Anterior'; |
|
19 | 19 | $lang['list_paging_next'] = 'Próximo'; |
20 | 20 | $lang['list_paging_last'] = 'Último'; |
21 | - $lang['list_loading'] = 'Carregando...'; |
|
21 | + $lang['list_loading'] = 'Carregando...'; |
|
22 | 22 | |
23 | - $lang['form_edit'] = 'Alterar'; |
|
24 | - $lang['form_back_to_list'] = 'Voltar para a Listagem'; |
|
23 | + $lang['form_edit'] = 'Alterar'; |
|
24 | + $lang['form_back_to_list'] = 'Voltar para a Listagem'; |
|
25 | 25 | $lang['form_update_changes'] = 'Aplicar alterações'; |
26 | - $lang['form_cancel'] = 'Cancelar'; |
|
26 | + $lang['form_cancel'] = 'Cancelar'; |
|
27 | 27 | $lang['form_update_loading'] = 'Carregando, aplicando alterações...'; |
28 | - $lang['update_success_message'] = 'Os dados foram atualizados com sucesso'; |
|
29 | - $lang['form_go_back_to_list'] = 'Voltar para a listagem'; |
|
28 | + $lang['update_success_message'] = 'Os dados foram atualizados com sucesso'; |
|
29 | + $lang['form_go_back_to_list'] = 'Voltar para a listagem'; |
|
30 | 30 | |
31 | - $lang['form_add'] = 'Adicionar'; |
|
32 | - $lang['insert_success_message'] = 'Os dados foram armazenados com sucesso'; |
|
33 | - $lang['form_or'] = 'ou'; |
|
34 | - $lang['form_save'] = 'Salvar'; |
|
35 | - $lang['form_insert_loading'] = 'Carregando, salvando dados...'; |
|
31 | + $lang['form_add'] = 'Adicionar'; |
|
32 | + $lang['insert_success_message'] = 'Os dados foram armazenados com sucesso'; |
|
33 | + $lang['form_or'] = 'ou'; |
|
34 | + $lang['form_save'] = 'Salvar'; |
|
35 | + $lang['form_insert_loading'] = 'Carregando, salvando dados...'; |
|
36 | 36 | |
37 | 37 | $lang['form_upload_a_file'] = 'Enviar um Arquivo'; |
38 | 38 | $lang['form_upload_delete'] = 'Remover'; |
39 | - $lang['form_button_clear'] = 'Limpar'; |
|
39 | + $lang['form_button_clear'] = 'Limpar'; |
|
40 | 40 | |
41 | - $lang['delete_success_message'] = 'O registro foi excluído com sucesso'; |
|
42 | - $lang['delete_error_message'] = 'O registro NÃO foi excluído'; |
|
41 | + $lang['delete_success_message'] = 'O registro foi excluído com sucesso'; |
|
42 | + $lang['delete_error_message'] = 'O registro NÃO foi excluído'; |
|
43 | 43 | |
44 | 44 | /* Javascript messages */ |
45 | 45 | $lang['alert_add_form'] = 'Os dados que você inseriu NÃO foram salvos.\\nTem certeza que deseja retornar para a listagem?'; |
@@ -50,34 +50,34 @@ discard block |
||
50 | 50 | $lang['update_error'] = 'Ocorreu um erro ao atualizar o registro'; |
51 | 51 | |
52 | 52 | /* Added in version 1.2.1 */ |
53 | - $lang['set_relation_title'] = 'Selecione {field_display_as}'; |
|
53 | + $lang['set_relation_title'] = 'Selecione {field_display_as}'; |
|
54 | 54 | |
55 | 55 | $lang['list_record'] = 'Registro'; |
56 | - $lang['form_inactive'] = 'Inativo'; |
|
56 | + $lang['form_inactive'] = 'Inativo'; |
|
57 | 57 | $lang['form_active'] = 'Ativo'; |
58 | 58 | |
59 | 59 | /* Added in version 1.2.2 */ |
60 | - $lang['form_save_and_go_back'] = 'Salvar e voltar para a listagem'; |
|
61 | - $lang['form_update_and_go_back'] = 'Aplicar alterações e voltar para a listagem'; |
|
60 | + $lang['form_save_and_go_back'] = 'Salvar e voltar para a listagem'; |
|
61 | + $lang['form_update_and_go_back'] = 'Aplicar alterações e voltar para a listagem'; |
|
62 | 62 | |
63 | 63 | /* Upload functionality */ |
64 | 64 | $lang['string_delete_file'] = "Excluindo arquivo"; |
65 | - $lang['string_progress'] = "Progresso: "; |
|
65 | + $lang['string_progress'] = "Progresso: "; |
|
66 | 66 | $lang['error_on_uploading'] = "Ocorreu um erro ao tentar enviar o arquivo"; |
67 | - $lang['message_prompt_delete_file'] = "Você tem certeza que deseja excluir esse arquivo?"; |
|
67 | + $lang['message_prompt_delete_file'] = "Você tem certeza que deseja excluir esse arquivo?"; |
|
68 | 68 | |
69 | - $lang['error_max_number_of_files'] = "Você pode enviar apenas um arquivo por vez"; |
|
70 | - $lang['error_accept_file_types'] = "Você não tem permissão para enviar esse tipo de arquivo"; |
|
69 | + $lang['error_max_number_of_files'] = "Você pode enviar apenas um arquivo por vez"; |
|
70 | + $lang['error_accept_file_types'] = "Você não tem permissão para enviar esse tipo de arquivo"; |
|
71 | 71 | $lang['error_max_file_size'] = "O arquivo enviado excedeu o tamanho máximo de {max_file_size}, especificado"; |
72 | 72 | $lang['error_min_file_size'] = "Você não pode enviar um arquivo vazio"; |
73 | 73 | |
74 | 74 | /* Added in version 1.3.1 */ |
75 | - $lang['list_export'] = "Exportar"; |
|
76 | - $lang['list_print'] = "Imprimir"; |
|
77 | - $lang['minimize_maximize'] = 'Minimizar/Maximizar'; |
|
75 | + $lang['list_export'] = "Exportar"; |
|
76 | + $lang['list_print'] = "Imprimir"; |
|
77 | + $lang['minimize_maximize'] = 'Minimizar/Maximizar'; |
|
78 | 78 | |
79 | 79 | /* Added in version 1.4 */ |
80 | - $lang['list_view'] = 'Visualizar'; |
|
80 | + $lang['list_view'] = 'Visualizar'; |
|
81 | 81 | |
82 | 82 | /* Added in version 1.5.1 */ |
83 | 83 | $lang['ui_day'] = 'dd'; |
@@ -1,45 +1,45 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /* Translated by @heenji */ |
3 | - $lang['list_add'] = '新增'; |
|
4 | - $lang['list_actions'] = '操作'; |
|
5 | - $lang['list_page'] = '页'; |
|
3 | + $lang['list_add'] = '新增'; |
|
4 | + $lang['list_actions'] = '操作'; |
|
5 | + $lang['list_page'] = '页'; |
|
6 | 6 | $lang['list_paging_of'] = '/'; |
7 | 7 | $lang['list_displaying'] = '显示 {start} 至 {end} /总计 {results} 记录'; |
8 | - $lang['list_filtered_from'] = '(筛选于 {total_results} 总记录)'; |
|
8 | + $lang['list_filtered_from'] = '(筛选于 {total_results} 总记录)'; |
|
9 | 9 | $lang['list_show_entries'] = '显示 {paging} 页记录'; |
10 | - $lang['list_no_items'] = '没有记录'; |
|
10 | + $lang['list_no_items'] = '没有记录'; |
|
11 | 11 | $lang['list_zero_entries'] = '显示 0 - 0 / 0 条记录'; |
12 | 12 | $lang['list_search'] = '查询'; |
13 | - $lang['list_search_all'] = '查询所有'; |
|
14 | - $lang['list_clear_filtering'] = '删除筛选条件'; |
|
13 | + $lang['list_search_all'] = '查询所有'; |
|
14 | + $lang['list_clear_filtering'] = '删除筛选条件'; |
|
15 | 15 | $lang['list_delete'] = '删除'; |
16 | - $lang['list_edit'] = '编辑'; |
|
17 | - $lang['list_paging_first'] = '首页'; |
|
18 | - $lang['list_paging_previous'] = '前一页'; |
|
16 | + $lang['list_edit'] = '编辑'; |
|
17 | + $lang['list_paging_first'] = '首页'; |
|
18 | + $lang['list_paging_previous'] = '前一页'; |
|
19 | 19 | $lang['list_paging_next'] = '后一页'; |
20 | 20 | $lang['list_paging_last'] = '最后'; |
21 | - $lang['list_loading'] = '载入...'; |
|
21 | + $lang['list_loading'] = '载入...'; |
|
22 | 22 | |
23 | - $lang['form_edit'] = '编辑'; |
|
24 | - $lang['form_back_to_list'] = '返回列表'; |
|
23 | + $lang['form_edit'] = '编辑'; |
|
24 | + $lang['form_back_to_list'] = '返回列表'; |
|
25 | 25 | $lang['form_update_changes'] = '修改'; |
26 | - $lang['form_cancel'] = '取消'; |
|
26 | + $lang['form_cancel'] = '取消'; |
|
27 | 27 | $lang['form_update_loading'] = '载入, 并更新修改...'; |
28 | 28 | $lang['update_success_message'] = '修改成功!'; |
29 | - $lang['form_go_back_to_list'] = '返回列表'; |
|
29 | + $lang['form_go_back_to_list'] = '返回列表'; |
|
30 | 30 | |
31 | - $lang['form_add'] = '新增'; |
|
31 | + $lang['form_add'] = '新增'; |
|
32 | 32 | $lang['insert_success_message'] = '新增记录成功保存到数据库'; |
33 | - $lang['form_or'] = '或者'; |
|
34 | - $lang['form_save'] = '保存'; |
|
35 | - $lang['form_insert_loading'] = '载入,并保存...'; |
|
33 | + $lang['form_or'] = '或者'; |
|
34 | + $lang['form_save'] = '保存'; |
|
35 | + $lang['form_insert_loading'] = '载入,并保存...'; |
|
36 | 36 | |
37 | 37 | $lang['form_upload_a_file'] = '上传文件'; |
38 | 38 | $lang['form_upload_delete'] = '删除'; |
39 | 39 | $lang['form_button_clear'] = '清空'; |
40 | 40 | |
41 | 41 | $lang['delete_success_message'] = '从数据库里成功删除你的数据.'; |
42 | - $lang['delete_error_message'] = '没有从数据库中删除你的数据.'; |
|
42 | + $lang['delete_error_message'] = '没有从数据库中删除你的数据.'; |
|
43 | 43 | |
44 | 44 | /* Javascript messages */ |
45 | 45 | $lang['alert_add_form'] = '你新增的数据可能没有保存.\\n确定返回列表吗?'; |
@@ -50,29 +50,29 @@ discard block |
||
50 | 50 | $lang['update_error'] = '保存记录的时候发生错误.'; |
51 | 51 | |
52 | 52 | /* Added in version 1.2.1 */ |
53 | - $lang['set_relation_title'] = 'Select {field_display_as}'; |
|
53 | + $lang['set_relation_title'] = 'Select {field_display_as}'; |
|
54 | 54 | $lang['list_record'] = 'Record'; |
55 | - $lang['form_inactive'] = 'inactive'; |
|
55 | + $lang['form_inactive'] = 'inactive'; |
|
56 | 56 | $lang['form_active'] = 'active'; |
57 | 57 | |
58 | 58 | /* Added in version 1.2.2 */ |
59 | - $lang['form_save_and_go_back'] = 'Save and go back to list'; |
|
60 | - $lang['form_update_and_go_back']= 'Update and go back to list'; |
|
59 | + $lang['form_save_and_go_back'] = 'Save and go back to list'; |
|
60 | + $lang['form_update_and_go_back'] = 'Update and go back to list'; |
|
61 | 61 | |
62 | 62 | /* Upload functionality */ |
63 | 63 | $lang['string_delete_file'] = "Deleting file"; |
64 | - $lang['string_progress'] = "Progress: "; |
|
64 | + $lang['string_progress'] = "Progress: "; |
|
65 | 65 | $lang['error_on_uploading'] = "An error has occurred on uploading."; |
66 | - $lang['message_prompt_delete_file'] = "Are you sure that you want to delete this file?"; |
|
66 | + $lang['message_prompt_delete_file'] = "Are you sure that you want to delete this file?"; |
|
67 | 67 | |
68 | - $lang['error_max_number_of_files'] = "You can only upload one file each time."; |
|
69 | - $lang['error_accept_file_types'] = "You are not allow to upload this kind of extension."; |
|
68 | + $lang['error_max_number_of_files'] = "You can only upload one file each time."; |
|
69 | + $lang['error_accept_file_types'] = "You are not allow to upload this kind of extension."; |
|
70 | 70 | $lang['error_max_file_size'] = "The uploaded file exceeds the {max_file_size} directive that was specified."; |
71 | 71 | $lang['error_min_file_size'] = "You cannot upload an empty file."; |
72 | 72 | |
73 | 73 | /* Added in version 1.3.1 */ |
74 | - $lang['list_export'] = "Export"; |
|
75 | - $lang['list_print'] = "Print"; |
|
74 | + $lang['list_export'] = "Export"; |
|
75 | + $lang['list_print'] = "Print"; |
|
76 | 76 | $lang['minimize_maximize'] = 'Minimize/Maximize'; |
77 | 77 | |
78 | 78 | /* Added in version 1.4 */ |
@@ -1,45 +1,45 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /* Translated by @lherlaar */ |
3 | - $lang['list_add'] = 'Toevoegen'; |
|
4 | - $lang['list_actions'] = 'Acties'; |
|
5 | - $lang['list_page'] = 'Pagina'; |
|
3 | + $lang['list_add'] = 'Toevoegen'; |
|
4 | + $lang['list_actions'] = 'Acties'; |
|
5 | + $lang['list_page'] = 'Pagina'; |
|
6 | 6 | $lang['list_paging_of'] = 'van'; |
7 | 7 | $lang['list_displaying'] = 'Records {start} tot {end} van {results} worden getoond'; |
8 | - $lang['list_filtered_from'] = '(gefilterd uit {total_results} records)'; |
|
8 | + $lang['list_filtered_from'] = '(gefilterd uit {total_results} records)'; |
|
9 | 9 | $lang['list_show_entries'] = 'Toon {paging} records'; |
10 | - $lang['list_no_items'] = 'Geen records om te tonen'; |
|
10 | + $lang['list_no_items'] = 'Geen records om te tonen'; |
|
11 | 11 | $lang['list_zero_entries'] = 'Records 0 tot 0 van 0 records'; |
12 | 12 | $lang['list_search'] = 'Zoeken'; |
13 | - $lang['list_search_all'] = 'Zoek alles'; |
|
14 | - $lang['list_clear_filtering'] = 'Verwijder filter'; |
|
13 | + $lang['list_search_all'] = 'Zoek alles'; |
|
14 | + $lang['list_clear_filtering'] = 'Verwijder filter'; |
|
15 | 15 | $lang['list_delete'] = 'Verwijder'; |
16 | - $lang['list_edit'] = 'Bewerk'; |
|
17 | - $lang['list_paging_first'] = 'Eerste'; |
|
18 | - $lang['list_paging_previous'] = 'Vorige'; |
|
16 | + $lang['list_edit'] = 'Bewerk'; |
|
17 | + $lang['list_paging_first'] = 'Eerste'; |
|
18 | + $lang['list_paging_previous'] = 'Vorige'; |
|
19 | 19 | $lang['list_paging_next'] = 'Volgende'; |
20 | 20 | $lang['list_paging_last'] = 'Laatste'; |
21 | - $lang['list_loading'] = 'Laden...'; |
|
21 | + $lang['list_loading'] = 'Laden...'; |
|
22 | 22 | |
23 | - $lang['form_edit'] = 'Wijzigen'; |
|
24 | - $lang['form_back_to_list'] = 'Terug naar lijst'; |
|
23 | + $lang['form_edit'] = 'Wijzigen'; |
|
24 | + $lang['form_back_to_list'] = 'Terug naar lijst'; |
|
25 | 25 | $lang['form_update_changes'] = 'Verwerk wijzigingen'; |
26 | - $lang['form_cancel'] = 'Annuleren'; |
|
26 | + $lang['form_cancel'] = 'Annuleren'; |
|
27 | 27 | $lang['form_update_loading'] = 'Verwerken wijzigingen...'; |
28 | 28 | $lang['update_success_message'] = 'De gegevens zijn succesvol verwerkt.'; |
29 | - $lang['form_go_back_to_list'] = 'Ga terug naar lijst'; |
|
29 | + $lang['form_go_back_to_list'] = 'Ga terug naar lijst'; |
|
30 | 30 | |
31 | - $lang['form_add'] = 'Toevoegen'; |
|
31 | + $lang['form_add'] = 'Toevoegen'; |
|
32 | 32 | $lang['insert_success_message'] = 'De gegevens zijn succesvol opgeslagen in de database.'; |
33 | - $lang['form_or'] = 'of'; |
|
34 | - $lang['form_save'] = 'Opslaan'; |
|
35 | - $lang['form_insert_loading'] = 'Opslaan gegevens...'; |
|
33 | + $lang['form_or'] = 'of'; |
|
34 | + $lang['form_save'] = 'Opslaan'; |
|
35 | + $lang['form_insert_loading'] = 'Opslaan gegevens...'; |
|
36 | 36 | |
37 | - $lang['form_upload_a_file'] = 'Bestand uploaden'; |
|
37 | + $lang['form_upload_a_file'] = 'Bestand uploaden'; |
|
38 | 38 | $lang['form_upload_delete'] = 'verwijder'; |
39 | 39 | $lang['form_button_clear'] = 'Leegmaken'; |
40 | 40 | |
41 | 41 | $lang['delete_success_message'] = 'De gegevens zijn succesvol verwijderd uit de database.'; |
42 | - $lang['delete_error_message'] = 'De gegevens zijn niet verwijderd uit de database.'; |
|
42 | + $lang['delete_error_message'] = 'De gegevens zijn niet verwijderd uit de database.'; |
|
43 | 43 | |
44 | 44 | /* Javascript messages */ |
45 | 45 | $lang['alert_add_form'] = 'De gegevens worden niet opgeslagen.\\nTerugkeren naar de lijst?'; |
@@ -50,14 +50,14 @@ discard block |
||
50 | 50 | $lang['update_error'] = 'Er is een fout opgetreden bij het verwerken.'; |
51 | 51 | |
52 | 52 | /* Added in version 1.2.1 */ |
53 | - $lang['set_relation_title'] = 'Selecteer {field_display_as}'; |
|
53 | + $lang['set_relation_title'] = 'Selecteer {field_display_as}'; |
|
54 | 54 | $lang['list_record'] = 'Record'; |
55 | - $lang['form_inactive'] = 'inactief'; |
|
55 | + $lang['form_inactive'] = 'inactief'; |
|
56 | 56 | $lang['form_active'] = 'actief'; |
57 | 57 | |
58 | 58 | /* Added in version 1.2.2 */ |
59 | 59 | $lang['form_save_and_go_back'] = 'Opslaan en terug naar lijst'; |
60 | - $lang['form_update_and_go_back']= 'Verwerken en terug naar lijst'; |
|
60 | + $lang['form_update_and_go_back'] = 'Verwerken en terug naar lijst'; |
|
61 | 61 | |
62 | 62 | /* Upload functionality */ |
63 | 63 | $lang['string_delete_file'] = "Bestand wordt verwijderd"; |
@@ -71,8 +71,8 @@ discard block |
||
71 | 71 | $lang['error_min_file_size'] = "Het uploaden van een leeg bestand is niet mogelijk."; |
72 | 72 | |
73 | 73 | /* Added in version 1.3.1 */ |
74 | - $lang['list_export'] = "Exporteren"; |
|
75 | - $lang['list_print'] = "Afdrukken"; |
|
74 | + $lang['list_export'] = "Exporteren"; |
|
75 | + $lang['list_print'] = "Afdrukken"; |
|
76 | 76 | $lang['minimize_maximize'] = 'Minimaliseren/Maximaliseren'; |
77 | 77 | |
78 | 78 | /* Added in version 1.4 */ |
@@ -1,4 +1,4 @@ |
||
1 | -<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
|
1 | +<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); |
|
2 | 2 | /* |
3 | 3 | | ------------------------------------------------------------------- |
4 | 4 | | Transliteration characters |
@@ -1,21 +1,21 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | - $column_width = (int)(80/count($columns)); |
|
3 | + $column_width = (int) (80 / count($columns)); |
|
4 | 4 | |
5 | - if(!empty($list)){ |
|
5 | + if (!empty($list)) { |
|
6 | 6 | ?><div class="bDiv" > |
7 | 7 | <table cellspacing="0" cellpadding="0" border="0" id="flex1"> |
8 | 8 | <thead> |
9 | 9 | <tr class='hDiv'> |
10 | - <?php foreach($columns as $column){?> |
|
10 | + <?php foreach ($columns as $column) {?> |
|
11 | 11 | <th width='<?php echo $column_width?>%'> |
12 | - <div class="text-left field-sorting <?php if(isset($order_by[0]) && $column->field_name == $order_by[0]){?><?php echo $order_by[1]?><?php }?>" |
|
12 | + <div class="text-left field-sorting <?php if (isset($order_by[0]) && $column->field_name == $order_by[0]) {?><?php echo $order_by[1]?><?php }?>" |
|
13 | 13 | rel='<?php echo $column->field_name?>'> |
14 | 14 | <?php echo $column->display_as?> |
15 | 15 | </div> |
16 | 16 | </th> |
17 | 17 | <?php }?> |
18 | - <?php if(!$unset_delete || !$unset_edit || !$unset_read || !empty($actions)){?> |
|
18 | + <?php if (!$unset_delete || !$unset_edit || !$unset_read || !empty($actions)) {?> |
|
19 | 19 | <th align="left" abbr="tools" axis="col1" class="" width='20%'> |
20 | 20 | <div class="text-right"> |
21 | 21 | <?php echo $this->l('list_actions'); ?> |
@@ -25,34 +25,34 @@ discard block |
||
25 | 25 | </tr> |
26 | 26 | </thead> |
27 | 27 | <tbody> |
28 | -<?php foreach($list as $num_row => $row){ ?> |
|
29 | - <tr <?php if($num_row % 2 == 1){?>class="erow"<?php }?>> |
|
30 | - <?php foreach($columns as $column){?> |
|
31 | - <td width='<?php echo $column_width?>%' class='<?php if(isset($order_by[0]) && $column->field_name == $order_by[0]){?>sorted<?php }?>'> |
|
32 | - <div class='text-left'><?php echo $row->{$column->field_name} != '' ? $row->{$column->field_name} : ' ' ; ?></div> |
|
28 | +<?php foreach ($list as $num_row => $row) { ?> |
|
29 | + <tr <?php if ($num_row % 2 == 1) {?>class="erow"<?php }?>> |
|
30 | + <?php foreach ($columns as $column) {?> |
|
31 | + <td width='<?php echo $column_width?>%' class='<?php if (isset($order_by[0]) && $column->field_name == $order_by[0]) {?>sorted<?php }?>'> |
|
32 | + <div class='text-left'><?php echo $row->{$column->field_name} != '' ? $row->{$column->field_name} : ' '; ?></div> |
|
33 | 33 | </td> |
34 | 34 | <?php }?> |
35 | - <?php if(!$unset_delete || !$unset_edit || !$unset_read || !empty($actions)){?> |
|
35 | + <?php if (!$unset_delete || !$unset_edit || !$unset_read || !empty($actions)) {?> |
|
36 | 36 | <td align="left" width='20%'> |
37 | 37 | <div class='tools'> |
38 | - <?php if(!$unset_delete){?> |
|
38 | + <?php if (!$unset_delete) {?> |
|
39 | 39 | <a href='<?php echo $row->delete_url?>' title='<?php echo $this->l('list_delete')?> <?php echo $subject?>' class="delete-row" > |
40 | 40 | <span class='delete-icon'></span> |
41 | 41 | </a> |
42 | 42 | <?php }?> |
43 | - <?php if(!$unset_edit){?> |
|
43 | + <?php if (!$unset_edit) {?> |
|
44 | 44 | <a href='<?php echo $row->edit_url?>' title='<?php echo $this->l('list_edit')?> <?php echo $subject?>' class="edit_button"><span class='edit-icon'></span></a> |
45 | 45 | <?php }?> |
46 | - <?php if(!$unset_read){?> |
|
46 | + <?php if (!$unset_read) {?> |
|
47 | 47 | <a href='<?php echo $row->read_url?>' title='<?php echo $this->l('list_view')?> <?php echo $subject?>' class="edit_button"><span class='read-icon'></span></a> |
48 | 48 | <?php }?> |
49 | 49 | <?php |
50 | - if(!empty($row->action_urls)){ |
|
51 | - foreach($row->action_urls as $action_unique_id => $action_url){ |
|
50 | + if (!empty($row->action_urls)) { |
|
51 | + foreach ($row->action_urls as $action_unique_id => $action_url) { |
|
52 | 52 | $action = $actions[$action_unique_id]; |
53 | 53 | ?> |
54 | 54 | <a href="<?php echo $action_url; ?>" class="<?php echo $action->css_class; ?> crud-action" title="<?php echo $action->label?>"><?php |
55 | - if(!empty($action->image_url)) |
|
55 | + if (!empty($action->image_url)) |
|
56 | 56 | { |
57 | 57 | ?><img src="<?php echo $action->image_url; ?>" alt="<?php echo $action->label?>" /><?php |
58 | 58 | } |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | </tbody> |
70 | 70 | </table> |
71 | 71 | </div> |
72 | -<?php }else{?> |
|
72 | +<?php } else {?> |
|
73 | 73 | <br/> |
74 | 74 | <?php echo $this->l('list_no_items'); ?> |
75 | 75 | <br/> |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | ?> |
30 | 30 | <script type='text/javascript'> |
31 | - var base_url = '<?php echo base_url();?>'; |
|
31 | + var base_url = '<?php echo base_url(); ?>'; |
|
32 | 32 | |
33 | 33 | var subject = '<?php echo addslashes($subject); ?>'; |
34 | 34 | var ajax_list_info_url = '<?php echo $ajax_list_info_url; ?>'; |
@@ -38,8 +38,8 @@ discard block |
||
38 | 38 | |
39 | 39 | </script> |
40 | 40 | <div id='list-report-error' class='report-div error'></div> |
41 | -<div id='list-report-success' class='report-div success report-list' <?php if($success_message !== null){?>style="display:block"<?php }?>><?php |
|
42 | -if($success_message !== null){?> |
|
41 | +<div id='list-report-success' class='report-div success report-list' <?php if ($success_message !== null) {?>style="display:block"<?php }?>><?php |
|
42 | +if ($success_message !== null) {?> |
|
43 | 43 | <p><?php echo $success_message; ?></p> |
44 | 44 | <?php } |
45 | 45 | ?></div> |
@@ -49,15 +49,15 @@ discard block |
||
49 | 49 | <div class="ftitle"> |
50 | 50 | |
51 | 51 | </div> |
52 | - <div title="<?php echo $this->l('minimize_maximize');?>" class="ptogtitle"> |
|
52 | + <div title="<?php echo $this->l('minimize_maximize'); ?>" class="ptogtitle"> |
|
53 | 53 | <span></span> |
54 | 54 | </div> |
55 | 55 | </div> |
56 | 56 | <div id='main-table-box' class="main-table-box"> |
57 | 57 | |
58 | - <?php if(!$unset_add || !$unset_export || !$unset_print){?> |
|
58 | + <?php if (!$unset_add || !$unset_export || !$unset_print) {?> |
|
59 | 59 | <div class="tDiv"> |
60 | - <?php if(!$unset_add){?> |
|
60 | + <?php if (!$unset_add) {?> |
|
61 | 61 | <div class="tDiv2"> |
62 | 62 | <a href='<?php echo $add_url?>' title='<?php echo $this->l('list_add'); ?> <?php echo $subject?>' class='add-anchor add_button'> |
63 | 63 | <div class="fbutton"> |
@@ -71,21 +71,21 @@ discard block |
||
71 | 71 | </div> |
72 | 72 | <?php }?> |
73 | 73 | <div class="tDiv3"> |
74 | - <?php if(!$unset_export) { ?> |
|
74 | + <?php if (!$unset_export) { ?> |
|
75 | 75 | <a class="export-anchor" data-url="<?php echo $export_url; ?>" target="_blank"> |
76 | 76 | <div class="fbutton"> |
77 | 77 | <div> |
78 | - <span class="export"><?php echo $this->l('list_export');?></span> |
|
78 | + <span class="export"><?php echo $this->l('list_export'); ?></span> |
|
79 | 79 | </div> |
80 | 80 | </div> |
81 | 81 | </a> |
82 | 82 | <div class="btnseparator"></div> |
83 | 83 | <?php } ?> |
84 | - <?php if(!$unset_print) { ?> |
|
84 | + <?php if (!$unset_print) { ?> |
|
85 | 85 | <a class="print-anchor" data-url="<?php echo $print_url; ?>"> |
86 | 86 | <div class="fbutton"> |
87 | 87 | <div> |
88 | - <span class="print"><?php echo $this->l('list_print');?></span> |
|
88 | + <span class="print"><?php echo $this->l('list_print'); ?></span> |
|
89 | 89 | </div> |
90 | 90 | </div> |
91 | 91 | </a> |
@@ -99,20 +99,20 @@ discard block |
||
99 | 99 | <div id='ajax_list' class="ajax_list"> |
100 | 100 | <?php echo $list_view?> |
101 | 101 | </div> |
102 | - <?php echo form_open( $ajax_list_url, 'method="post" id="filtering_form" class="filtering_form" autocomplete = "off" data-ajax-list-info-url="'.$ajax_list_info_url.'"'); ?> |
|
102 | + <?php echo form_open($ajax_list_url, 'method="post" id="filtering_form" class="filtering_form" autocomplete = "off" data-ajax-list-info-url="'.$ajax_list_info_url.'"'); ?> |
|
103 | 103 | <div class="sDiv quickSearchBox" id='quickSearchBox'> |
104 | 104 | <div class="sDiv2"> |
105 | - <?php echo $this->l('list_search');?>: <input type="text" class="qsbsearch_fieldox search_text" name="search_text" size="30" id='search_text'> |
|
105 | + <?php echo $this->l('list_search'); ?>: <input type="text" class="qsbsearch_fieldox search_text" name="search_text" size="30" id='search_text'> |
|
106 | 106 | <select name="search_field" id="search_field"> |
107 | - <option value=""><?php echo $this->l('list_search_all');?></option> |
|
108 | - <?php foreach($columns as $column){?> |
|
107 | + <option value=""><?php echo $this->l('list_search_all'); ?></option> |
|
108 | + <?php foreach ($columns as $column) {?> |
|
109 | 109 | <option value="<?php echo $column->field_name?>"><?php echo $column->display_as?> </option> |
110 | 110 | <?php }?> |
111 | 111 | </select> |
112 | - <input type="button" value="<?php echo $this->l('list_search');?>" class="crud_search" id='crud_search'> |
|
112 | + <input type="button" value="<?php echo $this->l('list_search'); ?>" class="crud_search" id='crud_search'> |
|
113 | 113 | </div> |
114 | 114 | <div class='search-div-clear-button'> |
115 | - <input type="button" value="<?php echo $this->l('list_clear_filtering');?>" id='search_clear' class="search_clear"> |
|
115 | + <input type="button" value="<?php echo $this->l('list_clear_filtering'); ?>" id='search_clear' class="search_clear"> |
|
116 | 116 | </div> |
117 | 117 | </div> |
118 | 118 | <div class="pDiv"> |
@@ -122,13 +122,13 @@ discard block |
||
122 | 122 | <?php list($show_lang_string, $entries_lang_string) = explode('{paging}', $this->l('list_show_entries')); ?> |
123 | 123 | <?php echo $show_lang_string; ?> |
124 | 124 | <select name="per_page" id='per_page' class="per_page"> |
125 | - <?php foreach($paging_options as $option){?> |
|
126 | - <option value="<?php echo $option; ?>" <?php if($option == $default_per_page){?>selected="selected"<?php }?>><?php echo $option; ?> </option> |
|
125 | + <?php foreach ($paging_options as $option) {?> |
|
126 | + <option value="<?php echo $option; ?>" <?php if ($option == $default_per_page) {?>selected="selected"<?php }?>><?php echo $option; ?> </option> |
|
127 | 127 | <?php }?> |
128 | 128 | </select> |
129 | 129 | <?php echo $entries_lang_string; ?> |
130 | - <input type='hidden' name='order_by[0]' id='hidden-sorting' class='hidden-sorting' value='<?php if(!empty($order_by[0])){?><?php echo $order_by[0]?><?php }?>' /> |
|
131 | - <input type='hidden' name='order_by[1]' id='hidden-ordering' class='hidden-ordering' value='<?php if(!empty($order_by[1])){?><?php echo $order_by[1]?><?php }?>'/> |
|
130 | + <input type='hidden' name='order_by[0]' id='hidden-sorting' class='hidden-sorting' value='<?php if (!empty($order_by[0])) {?><?php echo $order_by[0]?><?php }?>' /> |
|
131 | + <input type='hidden' name='order_by[1]' id='hidden-ordering' class='hidden-ordering' value='<?php if (!empty($order_by[1])) {?><?php echo $order_by[1]?><?php }?>'/> |
|
132 | 132 | </span> |
133 | 133 | </div> |
134 | 134 | <div class="btnseparator"> |
@@ -170,9 +170,9 @@ discard block |
||
170 | 170 | <div class="pGroup"> |
171 | 171 | <span class="pPageStat"> |
172 | 172 | <?php $paging_starts_from = "<span id='page-starts-from' class='page-starts-from'>1</span>"; ?> |
173 | - <?php $paging_ends_to = "<span id='page-ends-to' class='page-ends-to'>". ($total_results < $default_per_page ? $total_results : $default_per_page) ."</span>"; ?> |
|
173 | + <?php $paging_ends_to = "<span id='page-ends-to' class='page-ends-to'>".($total_results < $default_per_page ? $total_results : $default_per_page)."</span>"; ?> |
|
174 | 174 | <?php $paging_total_results = "<span id='total_items' class='total_items'>$total_results</span>"?> |
175 | - <?php echo str_replace( array('{start}','{end}','{results}'), |
|
175 | + <?php echo str_replace(array('{start}', '{end}', '{results}'), |
|
176 | 176 | array($paging_starts_from, $paging_ends_to, $paging_total_results), |
177 | 177 | $this->l('list_displaying') |
178 | 178 | ); ?> |
@@ -16,23 +16,23 @@ discard block |
||
16 | 16 | </div> |
17 | 17 | <div class='clear'></div> |
18 | 18 | </div> |
19 | - <div title="<?php echo $this->l('minimize_maximize');?>" class="ptogtitle"> |
|
19 | + <div title="<?php echo $this->l('minimize_maximize'); ?>" class="ptogtitle"> |
|
20 | 20 | <span></span> |
21 | 21 | </div> |
22 | 22 | </div> |
23 | 23 | <div id='main-table-box'> |
24 | - <?php echo form_open( $update_url, 'method="post" id="crudForm" enctype="multipart/form-data"'); ?> |
|
24 | + <?php echo form_open($update_url, 'method="post" id="crudForm" enctype="multipart/form-data"'); ?> |
|
25 | 25 | <div class='form-div'> |
26 | 26 | <?php |
27 | 27 | $counter = 0; |
28 | - foreach($fields as $field) |
|
28 | + foreach ($fields as $field) |
|
29 | 29 | { |
30 | 30 | $even_odd = $counter % 2 == 0 ? 'odd' : 'even'; |
31 | 31 | $counter++; |
32 | 32 | ?> |
33 | 33 | <div class='form-field-box <?php echo $even_odd?>' id="<?php echo $field->field_name; ?>_field_box"> |
34 | 34 | <div class='form-display-as-box' id="<?php echo $field->field_name; ?>_display_as_box"> |
35 | - <?php echo $input_fields[$field->field_name]->display_as?><?php echo ($input_fields[$field->field_name]->required)? "<span class='required'>*</span> " : ""?> : |
|
35 | + <?php echo $input_fields[$field->field_name]->display_as?><?php echo ($input_fields[$field->field_name]->required) ? "<span class='required'>*</span> " : ""?> : |
|
36 | 36 | </div> |
37 | 37 | <div class='form-input-box' id="<?php echo $field->field_name; ?>_input_box"> |
38 | 38 | <?php echo $input_fields[$field->field_name]->input?> |
@@ -40,10 +40,10 @@ discard block |
||
40 | 40 | <div class='clear'></div> |
41 | 41 | </div> |
42 | 42 | <?php }?> |
43 | - <?php if(!empty($hidden_fields)){?> |
|
43 | + <?php if (!empty($hidden_fields)) {?> |
|
44 | 44 | <!-- Start of hidden inputs --> |
45 | 45 | <?php |
46 | - foreach($hidden_fields as $hidden_field){ |
|
46 | + foreach ($hidden_fields as $hidden_field) { |
|
47 | 47 | echo $hidden_field->input; |
48 | 48 | } |
49 | 49 | ?> |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | <div class='form-button-box'> |
58 | 58 | <input id="form-button-save" type='submit' value='<?php echo $this->l('form_update_changes'); ?>' class="btn btn-large"/> |
59 | 59 | </div> |
60 | -<?php if(!$this->unset_back_to_list) { ?> |
|
60 | +<?php if (!$this->unset_back_to_list) { ?> |
|
61 | 61 | <div class='form-button-box'> |
62 | 62 | <input type='button' value='<?php echo $this->l('form_update_and_go_back'); ?>' id="save-and-go-back-button" class="btn btn-large"/> |
63 | 63 | </div> |
@@ -15,23 +15,23 @@ discard block |
||
15 | 15 | </div> |
16 | 16 | <div class='clear'></div> |
17 | 17 | </div> |
18 | - <div title="<?php echo $this->l('minimize_maximize');?>" class="ptogtitle"> |
|
18 | + <div title="<?php echo $this->l('minimize_maximize'); ?>" class="ptogtitle"> |
|
19 | 19 | <span></span> |
20 | 20 | </div> |
21 | 21 | </div> |
22 | 22 | <div id='main-table-box'> |
23 | - <?php echo form_open( $read_url, 'method="post" id="crudForm" enctype="multipart/form-data"'); ?> |
|
23 | + <?php echo form_open($read_url, 'method="post" id="crudForm" enctype="multipart/form-data"'); ?> |
|
24 | 24 | <div class='form-div'> |
25 | 25 | <?php |
26 | 26 | $counter = 0; |
27 | - foreach($fields as $field) |
|
27 | + foreach ($fields as $field) |
|
28 | 28 | { |
29 | 29 | $even_odd = $counter % 2 == 0 ? 'odd' : 'even'; |
30 | 30 | $counter++; |
31 | 31 | ?> |
32 | 32 | <div class='form-field-box <?php echo $even_odd?>' id="<?php echo $field->field_name; ?>_field_box"> |
33 | 33 | <div class='form-display-as-box' id="<?php echo $field->field_name; ?>_display_as_box"> |
34 | - <?php echo $input_fields[$field->field_name]->display_as?><?php echo ($input_fields[$field->field_name]->required)? "<span class='required'>*</span> " : ""?> : |
|
34 | + <?php echo $input_fields[$field->field_name]->display_as?><?php echo ($input_fields[$field->field_name]->required) ? "<span class='required'>*</span> " : ""?> : |
|
35 | 35 | </div> |
36 | 36 | <div class='form-input-box' id="<?php echo $field->field_name; ?>_input_box"> |
37 | 37 | <?php echo $input_fields[$field->field_name]->input?> |
@@ -39,10 +39,10 @@ discard block |
||
39 | 39 | <div class='clear'></div> |
40 | 40 | </div> |
41 | 41 | <?php }?> |
42 | - <?php if(!empty($hidden_fields)){?> |
|
42 | + <?php if (!empty($hidden_fields)) {?> |
|
43 | 43 | <!-- Start of hidden inputs --> |
44 | 44 | <?php |
45 | - foreach($hidden_fields as $hidden_field){ |
|
45 | + foreach ($hidden_fields as $hidden_field) { |
|
46 | 46 | echo $hidden_field->input; |
47 | 47 | } |
48 | 48 | ?> |