diff --git a/app/View/Elements/side_menu.ctp b/app/View/Elements/side_menu.ctp
index 601ba8383..70e3c5c0d 100644
--- a/app/View/Elements/side_menu.ctp
+++ b/app/View/Elements/side_menu.ctp
@@ -98,7 +98,7 @@
Automation
Html->link('List Regexp', array('admin' => $isSiteAdmin, 'action' => 'index'));?>
@@ -130,7 +130,7 @@
Html->link(__('Edit User', true), array('action' => 'edit', $user['User']['id'])); ?>
@@ -159,7 +159,7 @@
Statistics
Html->link('Explore Remote Event', array('controller' => 'servers', 'action' => 'previewEvent', h($server['Server']['id']), h($event['Event']['id']))); ?>
@@ -180,7 +180,7 @@
Html->link('View User', array('controller' => 'users', 'action' => 'view', 'admin' => true, h($id))); ?>
@@ -236,15 +236,15 @@
Html->link('List Logs', array('admin' => true, 'action' => 'index'));?>
Html->link('Search Logs', array('admin' => true, 'action' => 'search'));?>
Html->link('View Thread', array('controller' => 'threads', 'action' => 'view', h($thread_id)));?>
@@ -264,7 +264,7 @@
New Thread
Html->link('List Favourite Tags', array('action' => 'index', true));?>
Html->link('List Tags', array('action' => 'index'));?>
@@ -278,7 +278,7 @@
List Taxonomies
@@ -291,7 +291,7 @@
List Templates
@@ -307,7 +307,7 @@
endif;
endif;
break;
-
+
case 'feeds': ?>
List Feeds
Add Feed
@@ -319,7 +319,7 @@
PreviewEvent
View News
Description:
-
+
Type:
-
+
Description
@@ -24,7 +24,7 @@
-
+
Category
@@ -33,7 +33,7 @@
-
+
Types
@@ -53,7 +53,7 @@
?>
-
+
Mandatory
@@ -76,7 +76,7 @@
?>
-
+
-
+
Actions
diff --git a/app/View/Elements/templateElements/templateRowFile.ctp b/app/View/Elements/templateElements/templateRowFile.ctp
index 484eb17eb..6698056b6 100644
--- a/app/View/Elements/templateElements/templateRowFile.ctp
+++ b/app/View/Elements/templateElements/templateRowFile.ctp
@@ -15,7 +15,7 @@
-
+
Description
@@ -24,7 +24,7 @@
-
+
Category
diff --git a/app/View/EventDelegations/ajax/delegate_event.ctp b/app/View/EventDelegations/ajax/delegate_event.ctp
index 644169ce0..cab754a73 100644
--- a/app/View/EventDelegations/ajax/delegate_event.ctp
+++ b/app/View/EventDelegations/ajax/delegate_event.ctp
@@ -43,7 +43,7 @@
?>
Js->writeBuffer(); // Write cached scripts
-
+
diff --git a/app/View/SharingGroups/add.ctp b/app/View/SharingGroups/add.ctp
index b325a56e1..d918f1c47 100644
--- a/app/View/SharingGroups/add.ctp
+++ b/app/View/SharingGroups/add.ctp
@@ -110,5 +110,5 @@
$('#serverList').hide();
}
});
-
+
diff --git a/app/View/SharingGroups/edit.ctp b/app/View/SharingGroups/edit.ctp
index 09a783c63..dbe86cb21 100644
--- a/app/View/SharingGroups/edit.ctp
+++ b/app/View/SharingGroups/edit.ctp
@@ -105,7 +105,7 @@
var serverids = [0];
serverids.push();
@@ -152,7 +152,7 @@
-
+
$(function() {
if ($('#SharingGroupJson').val()) sharingGroupPopulateFromJson();
sharingGroupPopulateOrganisations();
@@ -165,5 +165,5 @@
$('#serverList').hide();
}
});
-
+
diff --git a/app/View/Tags/ajax/select_tag.ctp b/app/View/Tags/ajax/select_tag.ctp
index 365515e16..9ba5cb6a2 100644
--- a/app/View/Tags/ajax/select_tag.ctp
+++ b/app/View/Tags/ajax/select_tag.ctp
@@ -25,7 +25,7 @@
$(document).ready(function() {
resizePopoverBody();
});
-
+
$(window).resize(function() {
resizePopoverBody();
});
diff --git a/app/View/Tags/ajax/taxonomy_choice.ctp b/app/View/Tags/ajax/taxonomy_choice.ctp
index 8d46a2b4b..c9f0079f8 100644
--- a/app/View/Tags/ajax/taxonomy_choice.ctp
+++ b/app/View/Tags/ajax/taxonomy_choice.ctp
@@ -23,7 +23,7 @@
$(document).ready(function() {
resizePopoverBody();
});
-
+
$(window).resize(function() {
resizePopoverBody();
});
diff --git a/app/View/Taxonomies/view.ctp b/app/View/Taxonomies/view.ctp
index 8e3d68d8d..a3f33c2ec 100644
--- a/app/View/Taxonomies/view.ctp
+++ b/app/View/Taxonomies/view.ctp
@@ -32,7 +32,7 @@
}
}
?>
-
+
diff --git a/app/View/TemplateElements/ajax/template_element_add_attribute.ctp b/app/View/TemplateElements/ajax/template_element_add_attribute.ctp
index 61867bb09..d68fa5084 100644
--- a/app/View/TemplateElements/ajax/template_element_add_attribute.ctp
+++ b/app/View/TemplateElements/ajax/template_element_add_attribute.ctp
@@ -13,7 +13,7 @@
'div' => 'input clear',
'class' => 'input-xxlarge'
));
-
+
echo $this->Form->input('description', array(
'type' => 'textarea',
'error' => array('escape' => false),
@@ -36,7 +36,7 @@
'label' => 'Type',
'empty' => 'Select Type'
));
-
+
?>
@@ -46,7 +46,7 @@
'checked' => false,
'label' => 'Use complex types',
));
-
+
?>
@@ -109,7 +109,7 @@
var complexTypes = ;
var currentTypes = new Array();
var fieldsArray = new Array('TemplateElementAttributeName', 'TemplateElementAttributeDescription', 'TemplateElementAttributeCategory', 'TemplateElementAttributeToIds', 'TemplateElementAttributeMandatory', 'TemplateElementAttributeBatch', 'TemplateElementAttributeType', 'TemplateElementAttributeComplex');
-
+
$(document).ready(function() {
$cat) {
@@ -120,7 +120,7 @@
}
echo '];';
}
-
+
foreach ($typeGroupCategoryMapping as $k => $mapping) {
echo 'typeGroupCategoryMapping["' . $k . '"] = [';
foreach ($mapping as $l => $map) {
@@ -131,7 +131,7 @@
}
?>
});
-
+
$("#TemplateElementAttributeCategory").change(function() {
var category = $(this).val();
templateElementAttributeCategoryChange(category);
diff --git a/app/View/TemplateElements/ajax/template_element_add_file.ctp b/app/View/TemplateElements/ajax/template_element_add_file.ctp
index a3fd0cb97..c2921edaf 100644
--- a/app/View/TemplateElements/ajax/template_element_add_file.ctp
+++ b/app/View/TemplateElements/ajax/template_element_add_file.ctp
@@ -13,7 +13,7 @@
'div' => 'input clear',
'class' => 'input-xxlarge'
));
-
+
echo $this->Form->input('description', array(
'type' => 'textarea',
'error' => array('escape' => false),
@@ -37,7 +37,7 @@
'checked' => false,
'label' => 'Malware',
));
-
+
?>
@@ -96,7 +96,7 @@
?>
templateElementFileCategoryChange($("#TemplateElementFileCategory").val());
});
-
+
$("#TemplateElementFileCategory").change(function() {
var category = $("#TemplateElementFileCategory").val();
templateElementFileCategoryChange(category);
diff --git a/app/View/TemplateElements/ajax/template_element_add_text.ctp b/app/View/TemplateElements/ajax/template_element_add_text.ctp
index d0377e607..d1d92e554 100644
--- a/app/View/TemplateElements/ajax/template_element_add_text.ctp
+++ b/app/View/TemplateElements/ajax/template_element_add_text.ctp
@@ -12,7 +12,7 @@
'div' => 'input clear',
'class' => 'input-xxlarge'
));
-
+
echo $this->Form->input('text', array(
'type' => 'textarea',
'error' => array('escape' => false),
diff --git a/app/View/TemplateElements/ajax/template_element_edit_attribute.ctp b/app/View/TemplateElements/ajax/template_element_edit_attribute.ctp
index 282411d5f..2ee4f67e4 100644
--- a/app/View/TemplateElements/ajax/template_element_edit_attribute.ctp
+++ b/app/View/TemplateElements/ajax/template_element_edit_attribute.ctp
@@ -13,7 +13,7 @@
'div' => 'input clear',
'class' => 'input-xxlarge'
));
-
+
echo $this->Form->input('description', array(
'type' => 'textarea',
'error' => array('escape' => false),
@@ -107,7 +107,7 @@
currentTypes = complexTypes[""]['types'];
}
var fieldsArray = new Array('TemplateElementAttributeName', 'TemplateElementAttributeDescription', 'TemplateElementAttributeCategory', 'TemplateElementAttributeToIds', 'TemplateElementAttributeMandatory', 'TemplateElementAttributeBatch', 'TemplateElementAttributeType', 'TemplateElementAttributeComplex');
-
+
$(document).ready(function() {
$cat) {
@@ -118,7 +118,7 @@
}
echo '];';
}
-
+
foreach ($typeGroupCategoryMapping as $k => $mapping) {
echo 'typeGroupCategoryMapping["' . $k . '"] = [';
foreach ($mapping as $l => $map) {
@@ -130,7 +130,7 @@
?>
templateUpdateAvailableTypes();
});
-
+
$("#TemplateElementAttributeCategory").change(function() {
var category = $(this).val();
templateElementAttributeCategoryChange(category);
diff --git a/app/View/TemplateElements/ajax/template_element_edit_file.ctp b/app/View/TemplateElements/ajax/template_element_edit_file.ctp
index 7a7ae13a7..e4f7707e7 100644
--- a/app/View/TemplateElements/ajax/template_element_edit_file.ctp
+++ b/app/View/TemplateElements/ajax/template_element_edit_file.ctp
@@ -13,7 +13,7 @@
'div' => 'input clear',
'class' => 'input-xxlarge'
));
-
+
echo $this->Form->input('description', array(
'type' => 'textarea',
'error' => array('escape' => false),
@@ -37,7 +37,7 @@
'checked' => false,
'label' => 'Malware',
));
-
+
?>
@@ -96,7 +96,7 @@
?>
templateElementFileCategoryChange($("#TemplateElementFileCategory").val());
});
-
+
$("#TemplateElementFileCategory").change(function() {
var category = $("#TemplateElementFileCategory").val();
templateElementFileCategoryChange(category);
diff --git a/app/View/TemplateElements/ajax/template_element_edit_text.ctp b/app/View/TemplateElements/ajax/template_element_edit_text.ctp
index b5ed8d8de..ea6adf032 100644
--- a/app/View/TemplateElements/ajax/template_element_edit_text.ctp
+++ b/app/View/TemplateElements/ajax/template_element_edit_text.ctp
@@ -12,7 +12,7 @@
'div' => 'input clear',
'class' => 'input-xxlarge'
));
-
+
echo $this->Form->input('text', array(
'type' => 'textarea',
'error' => array('escape' => false),
diff --git a/app/View/Templates/populate_event_from_template.ctp b/app/View/Templates/populate_event_from_template.ctp
index 362cb5fc4..1f2b91c0d 100644
--- a/app/View/Templates/populate_event_from_template.ctp
+++ b/app/View/Templates/populate_event_from_template.ctp
@@ -10,7 +10,7 @@
$first = true;
foreach ($templateData['TemplateElement'] as $k => $element) {
if ($k != 0 && (($k == count($templateData['TemplateElement'])) || !$first && $element['element_definition'] == 'text')):
-
+
?>
Form->input('disabled', array('label' => 'Disable this user account'));
-
+
?>
'display:none;width:62px;margin-right:3px',
'div' => false
));
-
+
foreach($differentFilters as $b) {
echo $this->Form->input('search' . $b, array(
'options' => array('' => 'Any', '0' => 'No', '1' => 'Yes'),
@@ -31,7 +31,7 @@
'div' => false
));
}
-
+
foreach($simpleFilters as $t) {
if ($t == 'role') {
echo $this->Form->input('search' . $t, array(
@@ -133,7 +133,7 @@ var orgs =
var allFields = simpleFilters.concat(differentFilters);
var baseurl = "";
-
+
$(document).ready(function() {
indexRuleChange();
indexSetTableVisibility();
diff --git a/app/View/Users/ajax/fetchpgpkey.ctp b/app/View/Users/ajax/fetchpgpkey.ctp
index a32391798..3266aa77b 100644
--- a/app/View/Users/ajax/fetchpgpkey.ctp
+++ b/app/View/Users/ajax/fetchpgpkey.ctp
@@ -22,7 +22,7 @@
$(document).ready(function() {
resizePopoverBody();
});
-
+
$(window).resize(function() {
resizePopoverBody();
});
diff --git a/app/View/Users/ajax/index.ctp b/app/View/Users/ajax/index.ctp
index b3286a6d5..e9aadadd8 100644
--- a/app/View/Users/ajax/index.ctp
+++ b/app/View/Users/ajax/index.ctp
@@ -42,7 +42,7 @@
|