/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/views/examplesMenu.php

  • Committer: a11emmjo
  • Date: 2013-05-28 08:51:26 UTC
  • mto: This revision was merged to the branch mainline in revision 110.
  • Revision ID: a11emmjo@student.his.se-20130528085126-16sx38szwbsx1coh
Changed so that cms-controller loads filetree (before known as examplesController, examplesBody, examplesMenu).

Also changed to describing filenames and names for attributes and functions in css, php-view and in model that is used for this.

Started working on cmsindex-view and -css.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
<!-- examplesMenu.php -->
3
 
        <div id="menuContainer">
4
 
                <div id="navigation">
5
 
                        <ul>
6
 
                                        <li class="menuHeader">Quick links</li>
7
 
                                        <!-- Loads menu items from array -->
8
 
                                <?php 
9
 
                                $counter=1;
10
 
                                $list = array_keys($titles);
11
 
                                foreach ($list as $item){
12
 
                                        $counter++;
13
 
                                        if($counter % 2){
14
 
                                                echo '<li class="menuLink" data-name="'.$item.'">'.$item.'</li></a>';
15
 
                                        }
16
 
                                }
17
 
                                ?>
18
 
                        </ul>
19
 
                </div>
20
 
        </div>
21
 
        <div id="wrapper">
22
 
        
 
 
b'\\ No newline at end of file'