coding standards

Coding Standards.
pull/63/head
Noud de Brouwer 2013-01-28 08:57:30 +00:00
parent ce430a2005
commit 729e1e2206
3 changed files with 9 additions and 9 deletions

View File

@ -29,7 +29,7 @@
echo $this->Html->meta('icon');
echo $this->Html->css('cake.generic');
echo $this->Html->css(array('print'), 'stylesheet', array('media' => 'print'));
echo $this->Html->css(array('print'), 'stylesheet', array('media' => 'print'));
echo $this->fetch('meta');
echo $this->fetch('css');
@ -44,8 +44,8 @@
<div id="container">
<div id="header">
<h1><?php echo $this->Html->link(Configure::read('CyDefSIG.header'), array('controller' => 'events', 'action' => 'index')); ?>
<?php if($logo = Configure::read('CyDefSIG.logo')) {
echo $this->Html->image($logo, array('alt' => h(Configure::read('CyDefSIG.header')),'align'=>'right','height'=>'30'));
<?php if ($logo = Configure::read('CyDefSIG.logo')) {
echo $this->Html->image($logo, array('alt' => h(Configure::read('CyDefSIG.header')), 'align' => 'right', 'height' => '30'));
}?></h1>
</div>
<div id="content">

View File

@ -6,9 +6,9 @@
echo $this->Form->input('email');
echo $this->Form->input('password');
echo $this->Form->input('confirm_password', array('type' => 'password', 'div' => array('class' => 'input password required')));
if ($currentOrg == 'ADMIN') {
echo $this->Form->input('org');
}
if ($currentOrg == 'ADMIN') {
echo $this->Form->input('org');
}
echo $this->Form->input('role_id', array('label' => 'Role'));
echo $this->Form->input('autoalert');
echo $this->Form->input('authkey', array('value' => $authkey));

View File

@ -6,9 +6,9 @@
echo $this->Form->input('email');
echo $this->Form->input('password');
echo $this->Form->input('confirm_password', array('type' => 'password', 'div' => array('class' => 'input password required')));
if($currentOrg == 'ADMIN'){
echo $this->Form->input('org');
}
if ($currentOrg == 'ADMIN') {
echo $this->Form->input('org');
}
echo $this->Form->input('role_id', array('label' => 'Role')); // TODO ACL, User edit role_id.
echo $this->Form->input('autoalert');
echo $this->Form->input('authkey');