MISP (core software) - Open Source Threat Intelligence and Sharing Platform (formely known as Malware Information Sharing Platform) https://www.misp-project.org/
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

67 lines
2.5 KiB

  1. --- app/View/Layouts/default.ctp.orig 2012-09-20 15:35:36.384658456 +0200
  2. +++ app/View/Layouts/default.ctp 2012-09-20 15:36:38.128659936 +0200
  3. @@ -16,44 +16,53 @@
  4. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  5. */
  6. -$cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
  7. ?>
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  9. <html xmlns="http://www.w3.org/1999/xhtml">
  10. <head>
  11. <?php echo $this->Html->charset(); ?>
  12. <title>
  13. - <?php echo $cakeDescription ?>:
  14. + <?php echo Configure::read('CyDefSIG.name')?>:
  15. <?php echo $title_for_layout; ?>
  16. </title>
  17. <?php
  18. echo $this->Html->meta('icon');
  19. echo $this->Html->css('cake.generic');
  20. + echo $this->Html->css(array('print'), 'stylesheet', array('media' => 'print'));
  21. echo $this->fetch('meta');
  22. echo $this->fetch('css');
  23. echo $this->fetch('script');
  24. +
  25. + echo $this->Html->script('jquery-1.7.2.min'); // Include jQuery library
  26. ?>
  27. </head>
  28. <body>
  29. <div id="container">
  30. <div id="header">
  31. - <h1><?php echo $this->Html->link($cakeDescription, 'http://cakephp.org'); ?></h1>
  32. + <h1><?php echo $this->Html->link(Configure::read('CyDefSIG.header'), array('controller' => 'events', 'action' => 'index')); ?>
  33. + <?php if($logo = Configure::read('CyDefSIG.logo')) {
  34. + echo $this->Html->image($logo, array('alt' => h(Configure::read('CyDefSIG.header')),'align'=>'right','height'=>'30'));
  35. + }?></h1>
  36. </div>
  37. <div id="content">
  38. -
  39. + <?php echo $this->Session->flash('auth'); ?>
  40. + <?php echo $this->Session->flash('error'); ?>
  41. + <?php echo $this->Session->flash('gpg'); ?>
  42. <?php echo $this->Session->flash(); ?>
  43. + <?php echo $this->Session->flash('email'); ?>
  44. +
  45. <?php echo $this->fetch('content'); ?>
  46. </div>
  47. <div id="footer">
  48. - <?php echo $this->Html->link(
  49. - $this->Html->image('cake.power.gif', array('alt' => $cakeDescription, 'border' => '0')),
  50. - 'http://www.cakephp.org/',
  51. - array('target' => '_blank', 'escape' => false)
  52. - );
  53. - ?>
  54. + <div class="noprint">
  55. + <h1 style="float:left;">Download: <?php echo $this->Html->link('PGP/GPG key', '/gpg.asc');?></h1>
  56. + <h1 style="float:right;"> <?php echo $this->Html->link(__('Log out', true), array('controller' => 'users', 'action' => 'logout'));?></h1>
  57. + </div>
  58. +
  59. + <h1 style="text-align:center;"><?php echo Configure::read('CyDefSIG.footer')?></h1>
  60. </div>
  61. </div>
  62. <?php echo $this->element('sql_dump'); ?>