Permalink
Browse files

-

  • Loading branch information...
project29k committed Feb 24, 2012
1 parent bd476da commit 45424d5227db47fa41ae279c85090f985d5ba2cf
Showing with 403 additions and 371 deletions.
  1. +1 −1 application/controllers/axipi_core/folders.php
  2. +9 −0 application/controllers/axipi_core/lostpassword.php
  3. +9 −0 application/controllers/axipi_core/medias.php
  4. +4 −4 application/controllers/axipi_dynamic/components.php
  5. +4 −4 application/controllers/axipi_dynamic/countries.php
  6. +4 −4 application/controllers/axipi_dynamic/groups.php
  7. +4 −4 application/controllers/axipi_dynamic/hosts.php
  8. +4 −4 application/controllers/axipi_dynamic/items.php
  9. +4 −4 application/controllers/axipi_dynamic/languages.php
  10. +4 −4 application/controllers/axipi_dynamic/layouts.php
  11. +4 −4 application/controllers/axipi_dynamic/permissions.php
  12. +4 −4 application/controllers/axipi_dynamic/sections.php
  13. +4 −4 application/controllers/axipi_dynamic/users.php
  14. +4 −4 application/controllers/axipi_dynamic/zones.php
  15. +27 −27 application/hooks/axipi_hook.php
  16. +64 −64 application/libraries/axipi_library.php
  17. +0 −23 application/models/axipi_dynamic/axipi_model.php
  18. +2 −2 application/models/axipi_dynamic/components_model.php
  19. +2 −2 application/models/axipi_dynamic/countries_model.php
  20. +2 −2 application/models/axipi_dynamic/groups_model.php
  21. +2 −2 application/models/axipi_dynamic/hosts_model.php
  22. +3 −3 application/models/axipi_dynamic/items_model.php
  23. +2 −2 application/models/axipi_dynamic/languages_model.php
  24. +2 −2 application/models/axipi_dynamic/layouts_model.php
  25. +2 −2 application/models/axipi_dynamic/permissions_model.php
  26. +2 −2 application/models/axipi_dynamic/sections_model.php
  27. +6 −6 application/models/axipi_dynamic/users_model.php
  28. +2 −2 application/models/axipi_dynamic/zones_model.php
  29. +1 −1 application/views/axipi.php
  30. +2 −2 application/views/axipi_core/login_index.php
  31. +11 −11 application/views/axipi_core/profile_index.php
  32. +4 −4 application/views/axipi_dynamic/components/components_delete.php
  33. +3 −3 application/views/axipi_dynamic/components/components_read.php
  34. +4 −4 application/views/axipi_dynamic/components/components_update.php
  35. +4 −4 application/views/axipi_dynamic/countries/countries_delete.php
  36. +4 −4 application/views/axipi_dynamic/countries/countries_read.php
  37. +5 −5 application/views/axipi_dynamic/countries/countries_update.php
  38. +4 −4 application/views/axipi_dynamic/groups/groups_delete.php
  39. +3 −3 application/views/axipi_dynamic/groups/groups_read.php
  40. +4 −4 application/views/axipi_dynamic/groups/groups_update.php
  41. +4 −4 application/views/axipi_dynamic/hosts/hosts_delete.php
  42. +6 −6 application/views/axipi_dynamic/hosts/hosts_read.php
  43. +7 −7 application/views/axipi_dynamic/hosts/hosts_update.php
  44. +4 −4 application/views/axipi_dynamic/items/items_delete.php
  45. +7 −7 application/views/axipi_dynamic/items/items_read.php
  46. +16 −16 application/views/axipi_dynamic/items/items_update.php
  47. +4 −4 application/views/axipi_dynamic/languages/languages_delete.php
  48. +3 −3 application/views/axipi_dynamic/languages/languages_read.php
  49. +5 −5 application/views/axipi_dynamic/languages/languages_update.php
  50. +4 −4 application/views/axipi_dynamic/layouts/layouts_delete.php
  51. +3 −3 application/views/axipi_dynamic/layouts/layouts_read.php
  52. +4 −4 application/views/axipi_dynamic/layouts/layouts_update.php
  53. +4 −4 application/views/axipi_dynamic/permissions/permissions_delete.php
  54. +3 −3 application/views/axipi_dynamic/permissions/permissions_read.php
  55. +4 −4 application/views/axipi_dynamic/permissions/permissions_update.php
  56. +4 −4 application/views/axipi_dynamic/sections/sections_delete.php
  57. +4 −4 application/views/axipi_dynamic/sections/sections_read.php
  58. +5 −5 application/views/axipi_dynamic/sections/sections_update.php
  59. +4 −4 application/views/axipi_dynamic/users/users_delete.php
  60. +3 −3 application/views/axipi_dynamic/users/users_read.php
  61. +4 −4 application/views/axipi_dynamic/users/users_update.php
  62. +4 −4 application/views/axipi_dynamic/zones/zones_delete.php
  63. +5 −5 application/views/axipi_dynamic/zones/zones_read.php
  64. +6 −6 application/views/axipi_dynamic/zones/zones_update.php
  65. +20 −2 application/views/site.php
  66. +1 −1 application/widgets/axipi_core/menu_widget.php
  67. +19 −0 application/widgets/axipi_core/zone_helps.php
  68. +1 −1 robots.txt
  69. +15 −15 system/core/CodeIgniter.php
@@ -79,7 +79,7 @@ public function index() {
}
$output = '<div class="box1">';
$output .= '<h1>'.$this->itm[0]->itm_title.'</h1>';
$output .= '<h1>'.$this->itm->itm_title.'</h1>';
$output .= '<div class="display">';
$output .= '<table>';
@@ -0,0 +1,9 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class lostpassword extends CI_Controller {
function __construct() {
parent::__construct();
}
public function index() {
}
}
@@ -0,0 +1,9 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class medias extends CI_Controller {
function __construct() {
parent::__construct();
}
public function index() {
}
}
@@ -20,8 +20,8 @@ public function index() {
$filters['components_cmp_code'] = array('cmp.cmp_code', 'like');
$flt = build_filters($filters);
$results_count = $this->components_model->get_all_components($flt);
$build_pagination = $this->axipi_library->build_pagination($results_count[0]->count, 30);
$results = $this->components_model->get_all_components($flt);
$build_pagination = $this->axipi_library->build_pagination($results->count, 30);
$data = array();
$data['pagination'] = $build_pagination['output'];
@@ -50,7 +50,7 @@ public function create() {
} else {
$this->db->set('cmp_code', $this->input->post('cmp_code'));
$this->db->set('cmp_ispublished', 1);
$this->db->set('cmp_createdby', $this->usr[0]->usr_id);
$this->db->set('cmp_createdby', $this->usr->usr_id);
$this->db->set('cmp_datecreated', date('Y-m-d H:i:s'));
$this->db->insert('cmp');
$this->msg[] = $this->lang->line('created');
@@ -77,7 +77,7 @@ public function update() {
$this->zones['content'] = $this->load->view('axipi_dynamic/components/components_update', $data, true);
} else {
$this->db->set('cmp_code', $this->input->post('cmp_code'));
$this->db->set('cmp_modifiedby', $this->usr[0]->usr_id);
$this->db->set('cmp_modifiedby', $this->usr->usr_id);
$this->db->set('cmp_datemodified', date('Y-m-d H:i:s'));
$this->db->where('cmp_id', $this->cmp_id);
$this->db->update('cmp');
@@ -21,8 +21,8 @@ public function index() {
$filters['countries_cou_alpha3'] = array('cou.cou_alpha3', 'like');
$flt = build_filters($filters);
$results_count = $this->countries_model->get_all_countries($flt);
$build_pagination = $this->axipi_library->build_pagination($results_count[0]->count, 30);
$results = $this->countries_model->get_all_countries($flt);
$build_pagination = $this->axipi_library->build_pagination($results->count, 30);
$data = array();
$data['pagination'] = $build_pagination['output'];
@@ -51,7 +51,7 @@ public function create() {
} else {
$this->db->set('cou_alpha2', $this->input->post('cou_alpha2'));
$this->db->set('cou_alpha3', $this->input->post('cou_alpha3'));
$this->db->set('cou_createdby', $this->usr[0]->usr_id);
$this->db->set('cou_createdby', $this->usr->usr_id);
$this->db->set('cou_datecreated', date('Y-m-d H:i:s'));
$this->db->set('cou_ispublished', 1);
$this->db->insert('cou');
@@ -80,7 +80,7 @@ public function update() {
} else {
$this->db->set('cou_alpha2', $this->input->post('cou_alpha2'));
$this->db->set('cou_alpha3', $this->input->post('cou_alpha3'));
$this->db->set('cou_modifiedby', $this->usr[0]->usr_id);
$this->db->set('cou_modifiedby', $this->usr->usr_id);
$this->db->set('cou_datemodified', date('Y-m-d H:i:s'));
$this->db->where('cou_id', $this->cou_id);
$this->db->update('cou');
@@ -20,8 +20,8 @@ public function index() {
$filters['groups_grp_code'] = array('grp.grp_code', 'like');
$flt = build_filters($filters);
$results_count = $this->groups_model->get_all_groups($flt);
$build_pagination = $this->axipi_library->build_pagination($results_count[0]->count, 30);
$results = $this->groups_model->get_all_groups($flt);
$build_pagination = $this->axipi_library->build_pagination($results->count, 30);
$data = array();
$data['pagination'] = $build_pagination['output'];
@@ -49,7 +49,7 @@ public function create() {
$this->zones['content'] = $this->load->view('axipi_dynamic/groups/groups_create', $data, true);
} else {
$this->db->set('grp_code', $this->input->post('grp_code'));
$this->db->set('grp_createdby', $this->usr[0]->usr_id);
$this->db->set('grp_createdby', $this->usr->usr_id);
$this->db->set('grp_datecreated', date('Y-m-d H:i:s'));
$this->db->set('grp_ispublished', 1);
$this->db->insert('grp');
@@ -77,7 +77,7 @@ public function update() {
$this->zones['content'] = $this->load->view('axipi_dynamic/groups/groups_update', $data, true);
} else {
$this->db->set('grp_code', $this->input->post('grp_code'));
$this->db->set('grp_modifiedby', $this->usr[0]->usr_id);
$this->db->set('grp_modifiedby', $this->usr->usr_id);
$this->db->set('grp_datemodified', date('Y-m-d H:i:s'));
$this->db->where('grp_id', $this->grp_id);
$this->db->update('grp');
@@ -20,8 +20,8 @@ public function index() {
$filters['hosts_hst_code'] = array('hst.hst_code', 'like');
$flt = build_filters($filters);
$results_count = $this->hosts_model->get_all_hosts($flt);
$build_pagination = $this->axipi_library->build_pagination($results_count[0]->count, 30);
$results = $this->hosts_model->get_all_hosts($flt);
$build_pagination = $this->axipi_library->build_pagination($results->count, 30);
$data = array();
$data['pagination'] = $build_pagination['output'];
@@ -56,7 +56,7 @@ public function create() {
$this->db->set('hst_code', $this->input->post('hst_code'));
$this->db->set('hst_url', $this->input->post('hst_url'));
$this->db->set('hst_environment', $this->input->post('hst_environment'));
$this->db->set('hst_createdby', $this->usr[0]->usr_id);
$this->db->set('hst_createdby', $this->usr->usr_id);
$this->db->set('hst_datecreated', date('Y-m-d H:i:s'));
$this->db->set('hst_ispublished', 1);
$this->db->insert('hst');
@@ -90,7 +90,7 @@ public function update() {
$this->db->set('hst_code', $this->input->post('hst_code'));
$this->db->set('hst_url', $this->input->post('hst_url'));
$this->db->set('hst_environment', $this->input->post('hst_environment'));
$this->db->set('hst_modifiedby', $this->usr[0]->usr_id);
$this->db->set('hst_modifiedby', $this->usr->usr_id);
$this->db->set('hst_datemodified', date('Y-m-d H:i:s'));
$this->db->where('hst_id', $this->hst_id);
$this->db->update('hst');
@@ -24,8 +24,8 @@ public function index() {
$filters['items_lng_id'] = array('itm.lng_id', 'equal');
$flt = build_filters($filters);
$results_count = $this->items_model->get_all_items($flt);
$build_pagination = $this->axipi_library->build_pagination($results_count[0]->count, 30);
$results = $this->items_model->get_all_items($flt);
$build_pagination = $this->axipi_library->build_pagination($results->count, 30);
$data = array();
$data['pagination'] = $build_pagination['output'];
@@ -73,7 +73,7 @@ public function create() {
$this->db->set('itm_summary', $this->input->post('itm_summary'));
$this->db->set('itm_link', $this->input->post('itm_link'));
$this->db->set('lng_id', $this->input->post('lng_id'));
$this->db->set('itm_createdby', $this->usr[0]->usr_id);
$this->db->set('itm_createdby', $this->usr->usr_id);
$this->db->set('itm_datecreated', date('Y-m-d H:i:s'));
$this->db->set('itm_ispublished', 1);
$this->db->insert('itm');
@@ -118,7 +118,7 @@ public function update() {
$this->db->set('itm_summary', $this->input->post('itm_summary'));
$this->db->set('itm_link', $this->input->post('itm_link'));
$this->db->set('lng_id', $this->input->post('lng_id'));
$this->db->set('itm_modifiedby', $this->usr[0]->usr_id);
$this->db->set('itm_modifiedby', $this->usr->usr_id);
$this->db->set('itm_datemodified', date('Y-m-d H:i:s'));
$this->db->where('itm_id', $this->itm_id);
$this->db->update('itm');
@@ -20,8 +20,8 @@ public function index() {
$filters['languages_lng_code'] = array('lng.lng_code', 'like');
$flt = build_filters($filters);
$results_count = $this->languages_model->get_all_languages($flt);
$build_pagination = $this->axipi_library->build_pagination($results_count[0]->count, 30);
$results = $this->languages_model->get_all_languages($flt);
$build_pagination = $this->axipi_library->build_pagination($results->count, 30);
$data = array();
$data['pagination'] = $build_pagination['output'];
@@ -52,7 +52,7 @@ public function create() {
$this->db->set('lng_code', $this->input->post('lng_code'));
$this->db->set('lng_title', $this->input->post('lng_title'));
$this->db->set('lng_ispublished', 1);
$this->db->set('lng_createdby', $this->usr[0]->usr_id);
$this->db->set('lng_createdby', $this->usr->usr_id);
$this->db->set('lng_datecreated', date('Y-m-d H:i:s'));
$this->db->insert('lng');
$this->msg[] = $this->lang->line('created');
@@ -81,7 +81,7 @@ public function update() {
} else {
$this->db->set('lng_code', $this->input->post('lng_code'));
$this->db->set('lng_title', $this->input->post('lng_title'));
$this->db->set('lng_modifiedby', $this->usr[0]->usr_id);
$this->db->set('lng_modifiedby', $this->usr->usr_id);
$this->db->set('lng_datemodified', date('Y-m-d H:i:s'));
$this->db->where('lng_id', $this->lng_id);
$this->db->update('lng');
@@ -20,8 +20,8 @@ public function index() {
$filters['layouts_lay_code'] = array('lay.lay_code', 'like');
$flt = build_filters($filters);
$results_count = $this->layouts_model->get_all_layouts($flt);
$build_pagination = $this->axipi_library->build_pagination($results_count[0]->count, 30);
$results = $this->layouts_model->get_all_layouts($flt);
$build_pagination = $this->axipi_library->build_pagination($results->count, 30);
$data = array();
$data['pagination'] = $build_pagination['output'];
@@ -49,7 +49,7 @@ public function create() {
$this->zones['content'] = $this->load->view('axipi_dynamic/layouts/layouts_create', $data, true);
} else {
$this->db->set('lay_code', $this->input->post('lay_code'));
$this->db->set('lay_createdby', $this->usr[0]->usr_id);
$this->db->set('lay_createdby', $this->usr->usr_id);
$this->db->set('lay_datecreated', date('Y-m-d H:i:s'));
$this->db->set('lay_ispublished', 1);
$this->db->insert('lay');
@@ -77,7 +77,7 @@ public function update() {
$this->zones['content'] = $this->load->view('axipi_dynamic/layouts/layouts_update', $data, true);
} else {
$this->db->set('lay_code', $this->input->post('lay_code'));
$this->db->set('lay_modifiedby', $this->usr[0]->usr_id);
$this->db->set('lay_modifiedby', $this->usr->usr_id);
$this->db->set('lay_datemodified', date('Y-m-d H:i:s'));
$this->db->where('lay_id', $this->lay_id);
$this->db->update('lay');
@@ -20,8 +20,8 @@ public function index() {
$filters['permissions_per_code'] = array('per.per_code', 'like');
$flt = build_filters($filters);
$results_count = $this->permissions_model->get_all_permissions($flt);
$build_pagination = $this->axipi_library->build_pagination($results_count[0]->count, 30);
$results = $this->permissions_model->get_all_permissions($flt);
$build_pagination = $this->axipi_library->build_pagination($results->count, 30);
$data = array();
$data['pagination'] = $build_pagination['output'];
@@ -49,7 +49,7 @@ public function create() {
$this->zones['content'] = $this->load->view('axipi_dynamic/permissions/permissions_create', $data, true);
} else {
$this->db->set('per_code', $this->input->post('per_code'));
$this->db->set('per_createdby', $this->usr[0]->usr_id);
$this->db->set('per_createdby', $this->usr->usr_id);
$this->db->set('per_datecreated', date('Y-m-d H:i:s'));
$this->db->set('per_ispublished', 1);
$this->db->insert('per');
@@ -77,7 +77,7 @@ public function update() {
$this->zones['content'] = $this->load->view('axipi_dynamic/permissions/permissions_update', $data, true);
} else {
$this->db->set('per_code', $this->input->post('per_code'));
$this->db->set('per_modifiedby', $this->usr[0]->usr_id);
$this->db->set('per_modifiedby', $this->usr->usr_id);
$this->db->set('per_datemodified', date('Y-m-d H:i:s'));
$this->db->where('per_id', $this->per_id);
$this->db->update('per');
@@ -20,8 +20,8 @@ public function index() {
$filters['sections_sct_code'] = array('sct.sct_code', 'like');
$flt = build_filters($filters);
$results_count = $this->sections_model->get_all_sections($flt);
$build_pagination = $this->axipi_library->build_pagination($results_count[0]->count, 30);
$results = $this->sections_model->get_all_sections($flt);
$build_pagination = $this->axipi_library->build_pagination($results->count, 30);
$data = array();
$data['pagination'] = $build_pagination['output'];
@@ -52,7 +52,7 @@ public function create() {
} else {
$this->db->set('lay_id', $this->input->post('lay_id'));
$this->db->set('sct_code', $this->input->post('sct_code'));
$this->db->set('sct_createdby', $this->usr[0]->usr_id);
$this->db->set('sct_createdby', $this->usr->usr_id);
$this->db->set('sct_datecreated', date('Y-m-d H:i:s'));
$this->db->set('sct_ispublished', 1);
$this->db->insert('sct');
@@ -83,7 +83,7 @@ public function update() {
} else {
$this->db->set('lay_id', $this->input->post('lay_id'));
$this->db->set('sct_code', $this->input->post('sct_code'));
$this->db->set('sct_modifiedby', $this->usr[0]->usr_id);
$this->db->set('sct_modifiedby', $this->usr->usr_id);
$this->db->set('sct_datemodified', date('Y-m-d H:i:s'));
$this->db->where('sct_id', $this->sct_id);
$this->db->update('sct');
@@ -20,8 +20,8 @@ public function index() {
$filters['users_usr_email'] = array('usr.usr_email', 'like');
$flt = build_filters($filters);
$results_count = $this->users_model->get_all_users($flt);
$build_pagination = $this->axipi_library->build_pagination($results_count[0]->count, 30);
$results = $this->users_model->get_all_users($flt);
$build_pagination = $this->axipi_library->build_pagination($results->count, 30);
$data = array();
$data['pagination'] = $build_pagination['output'];
@@ -49,7 +49,7 @@ public function create() {
$this->zones['content'] = $this->load->view('axipi_dynamic/users/users_create', $data, true);
} else {
$this->db->set('usr_email', $this->input->post('usr_email'));
$this->db->set('usr_createdby', $this->usr[0]->usr_id);
$this->db->set('usr_createdby', $this->usr->usr_id);
$this->db->set('usr_datecreated', date('Y-m-d H:i:s'));
$this->db->set('usr_ispublished', 1);
$this->db->insert('usr');
@@ -77,7 +77,7 @@ public function update() {
$this->zones['content'] = $this->load->view('axipi_dynamic/users/users_update', $data, true);
} else {
$this->db->set('usr_email', $this->input->post('usr_email'));
$this->db->set('usr_modifiedby', $this->usr[0]->usr_id);
$this->db->set('usr_modifiedby', $this->usr->usr_id);
$this->db->set('usr_datemodified', date('Y-m-d H:i:s'));
$this->db->where('usr_id', $this->usr_id);
$this->db->update('usr');
@@ -20,8 +20,8 @@ public function index() {
$filters['zones_zon_code'] = array('zon.zon_code', 'like');
$flt = build_filters($filters);
$results_count = $this->zones_model->get_all_zones($flt);
$build_pagination = $this->axipi_library->build_pagination($results_count[0]->count, 30);
$results = $this->zones_model->get_all_zones($flt);
$build_pagination = $this->axipi_library->build_pagination($results->count, 30);
$data = array();
$data['pagination'] = $build_pagination['output'];
@@ -55,7 +55,7 @@ public function create() {
$this->db->set('lay_id', $this->input->post('lay_id'));
$this->db->set('zon_code', $this->input->post('zon_code'));
$this->db->set('zon_ordering', $this->input->post('zon_ordering'));
$this->db->set('zon_createdby', $this->usr[0]->usr_id);
$this->db->set('zon_createdby', $this->usr->usr_id);
$this->db->set('zon_datecreated', date('Y-m-d H:i:s'));
$this->db->set('zon_ispublished', 1);
$this->db->insert('zon');
@@ -88,7 +88,7 @@ public function update() {
$this->db->set('lay_id', $this->input->post('lay_id'));
$this->db->set('zon_code', $this->input->post('zon_code'));
$this->db->set('zon_ordering', $this->input->post('zon_ordering'));
$this->db->set('zon_modifiedby', $this->usr[0]->usr_id);
$this->db->set('zon_modifiedby', $this->usr->usr_id);
$this->db->set('zon_datemodified', date('Y-m-d H:i:s'));
$this->db->where('zon_id', $this->zon_id);
$this->db->update('zon');
Oops, something went wrong.

0 comments on commit 45424d5

Please sign in to comment.