~critecia/critecia/trunk

« back to all changes in this revision

Viewing changes to src/app/views/pages/home.ctp

  • Committer: Christian A. Reiter
  • Date: 2011-11-16 20:08:35 UTC
  • Revision ID: christian.a.reiter@gmail.com-20111116200835-h3xx0ekm47lububw
fixed jQuery file links

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
 /**
3
 
 *    home.ctp - This file is part of Critecia
4
 
 *    Copyright (C) 2011 Alexander Lang
5
 
 *
6
 
 *    This program is free software: you can redistribute it and/or modify
7
 
 *    it under the terms of the GNU Affero General Public License as
8
 
 *    published by the Free Software Foundation, either version 3 of the
9
 
 *    License, or (at your option) any later version.
10
 
 *
11
 
 *    This program is distributed in the hope that it will be useful,
12
 
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 *    GNU Affero General Public License for more details.
15
 
 *
16
 
 *    You should have received a copy of the GNU Affero General Public License
17
 
 *    along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
 
 */
19
 
 
20
 
?>
21
 
<div id="homecontent">
22
 
        <div id="homediv" style="text-align:right;">
23
 
                <h3>Critecia. Home.</h3>
24
 
 
25
 
                <?php
26
 
                        echo $session->flash('auth');
27
 
                        echo $this->Form->create('User', array('action' => 'login'));
28
 
                        echo $this->Form->input('username', array('type'=>'text','label'=>'Benutzername','maxLength'=>'30','style'=>'width:200px;'));
29
 
                        echo $this->Form->input('password', array('type'=>'password','label'=>'Passwort','maxLength'=>'30','style'=>'width:200px;'));
30
 
                        echo $html->image('none.png', array('height' => '10'));
31
 
                        echo '<br/>';
32
 
                        echo $this->Form->end('Login');
33
 
                ?>
34
 
 
35
 
                <script language='javascript' type='text/javascript'>
36
 
                        document.getElementById("navigation").style.backgroundImage="url('http://localhost/critecia/local_images/hamster_240px_left.png')";
37
 
                </script>
38
 
 
39
 
        </div>
40
 
        <div id="homeinfo">
41
 
                <h3>Aktuelle Neuigkeiten:</h3>
42
 
        </div>
43
 
</div>
44
 
<p class="homenews">
45
 
 
46
 
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
47
 
<br/><br/>
48
 
 
49
 
</p>