diff --git a/app/View/Events/edit.ctp b/app/View/Events/edit.ctp index 43bda79ee..97b961426 100755 --- a/app/View/Events/edit.ctp +++ b/app/View/Events/edit.ctp @@ -7,7 +7,6 @@ echo $this->Form->input('date'); echo $this->Form->input('risk'); echo $this->Form->input('info'); - ?> Form->end(__('Submit', true));?> diff --git a/app/View/Events/index.ctp b/app/View/Events/index.ctp index 65bfe1bc9..5c60c43a4 100755 --- a/app/View/Events/index.ctp +++ b/app/View/Events/index.ctp @@ -15,16 +15,16 @@ foreach ($events as $event): ?> - + Html->link($event['Event']['id'], array('controller' => 'events', 'action' => 'view', $event['Event']['id'])); ?>   - +   - +   - +     diff --git a/app/View/Events/view.ctp b/app/View/Events/view.ctp index 7ead06dd7..0c66cd89b 100755 --- a/app/View/Events/view.ctp +++ b/app/View/Events/view.ctp @@ -73,15 +73,15 @@ Value Related Events To IDS - Actions + Actions - + - + - - + + Html->link(__('Edit', true), array('controller' => 'signatures', 'action' => 'edit', $signature['id'])); diff --git a/app/View/Signatures/index.ctp b/app/View/Signatures/index.ctp index a8c66016d..b8ebe1a5c 100755 --- a/app/View/Signatures/index.ctp +++ b/app/View/Signatures/index.ctp @@ -11,14 +11,14 @@ - + Html->link($signature['Event']['id'], array('controller' => 'events', 'action' => 'view', $signature['Event']['id'])); ?> - +     - +   Paginator->sort('id');?> - Paginator->sort('password');?> Paginator->sort('org');?> Paginator->sort('email');?> Paginator->sort('autoalert');?> @@ -19,13 +18,12 @@ foreach ($users as $user): ?>   -             -   +         diff --git a/app/View/Users/index.ctp b/app/View/Users/index.ctp deleted file mode 100755 index d34fa1281..000000000 --- a/app/View/Users/index.ctp +++ /dev/null @@ -1,58 +0,0 @@ -
-

- - - - - - - - - - - - > - - - - - - - - - -
Paginator->sort('id');?>Paginator->sort('group_id');?>Paginator->sort('email');?>Paginator->sort('org');?>Paginator->sort('autoalert');?>Paginator->sort('authkey');?>
  - Html->link($user['Group']['name'], array('controller' => 'groups', 'action' => 'view', $user['Group']['id'])); ?> -      - Html->link(__('View', true), array('action' => 'view', $user['User']['id'])); ?> - Html->link(__('Edit', true), array('action' => 'edit', $user['User']['id'])); ?> - Html->link(__('Delete', true), array('action' => 'delete', $user['User']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $user['User']['id'])); ?> -
-

- Paginator->counter(array( - 'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) - )); - ?>

- -
- Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?> - | Paginator->numbers();?> - | - Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?> -
-
- -
- -
- diff --git a/app/View/Users/login.ctp b/app/View/Users/login.ctp index 88f53bb3d..29b37b894 100755 --- a/app/View/Users/login.ctp +++ b/app/View/Users/login.ctp @@ -6,7 +6,6 @@ echo $this->Form->inputs(array( 'email', 'password' )); -//echo $this->Recaptcha->display(); echo $this->Form->end('Login'); ?> diff --git a/app/View/Users/news.ctp b/app/View/Users/news.ctp index aab6041b5..3f937a887 100644 --- a/app/View/Users/news.ctp +++ b/app/View/Users/news.ctp @@ -4,7 +4,7 @@

Backend rewrite + security
Complete rewrite of the backend code to migrate to CakePHP 2.x (from CakePHP 1.3).
During this rewrite the code was cleaned up, CSRF protection should now be present on all the important actions.
-Password strength validation has been implemented.
+Password strength validation and better security has been implemented.
Some intermittent bugs might have slipped in during the (manual) conversion. Please contact me user1088@qet.be to report any issues.

Terms and News
diff --git a/app/webroot/css/cake.generic.css b/app/webroot/css/cake.generic.css index ed01e935d..e8dc14ba7 100644 --- a/app/webroot/css/cake.generic.css +++ b/app/webroot/css/cake.generic.css @@ -171,6 +171,7 @@ table tr:nth-child(even) { td.actions { text-align: right; white-space: nowrap; + width:5%; } table td.actions a { margin: 0px 6px; @@ -179,6 +180,10 @@ table td.actions a { th.actions { text-align:center; } +td.short { + width:5%; + white-space: nowrap; +} /* added */ div .events table tr:hover, div .events table tr.altrow:hover, div .signatures table tr:hover, div .signatures table tr.altrow:hover{