/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/models/admin/admin_model.php

  • Committer: Gustav Hartvigsson
  • Date: 2013-04-11 16:45:55 UTC
  • mfrom: (23.2.1 lenasys)
  • Revision ID: gustav.hartvigsson@gmail.com-20130411164555-ljhmrb2ys3xatogt
commited implementation group one's team branch.
20130411.

Merge proposal comment:
Removed codeigniter user guide, shouldn't be in the repo
Added and implemented CKEditor Wysiwyg editor for editing of pages
Made already uploaded code files visible as you edit a page
Implemented Adams dropdown menu in codeviewer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
 
56
56
        }
57
57
 
58
 
        function managePage($cid, $example, $page, $documentation){
 
58
        function updatePage($cid, $example, $page, $documentation){
59
59
                $data = array(
60
60
                        'documentation' => $documentation 
61
61
                );
62
62
 
63
63
                $this->db->where('cid', $cid);
64
64
                $this->db->where('example', $example);
65
 
                $this->db->where('documentation', $documentation);
 
65
                $this->db->where('page', $page);
66
66
                $this->db->update('pages', $data); 
67
67
        }
68
68