diff --git a/bib.php b/bib.php
index 8aeda6f1c..be2687717 100644
--- a/bib.php
+++ b/bib.php
@@ -1,6 +1,6 @@
";
?>
+
";
- for($i = 1; $i <= 4; $i ++) {
+ for($i = 1; $i <= NUMBER_LEVELS; $i ++) {
$tableContent .= "
";
foreach ( $element as $elementName => $content ) {
$content = getContentForLevelFromSubdimensions ( $i, $content, $elementName );
diff --git a/index.php b/index.php
index dfd88a0d0..a67fc2008 100644
--- a/index.php
+++ b/index.php
@@ -13,9 +13,4 @@
echo "Activtities per Dimension";
echo '';
?>
-
+
diff --git a/mappings.php b/mappings.php
new file mode 100644
index 000000000..35b1129b9
--- /dev/null
+++ b/mappings.php
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+ | Dimension |
+ Subdimension |
+ Actvity |
+ SAMM 2 |
+ ISO 27001 |
+
+
+
+ $content) {
+ $return .= "$content";
+ }
+ }else {
+ $return .= $potentialArray;
+ }
+ return $return;
+}
+
+foreach ($dimensions as $dimension => $subdimensions) {
+ foreach ($subdimensions as $subdimension => $activity) {
+ foreach ($activity as $activityName => $content) {
+ echo "";
+ echo "| $dimension | ";
+ echo "$subdimension | ";
+ $tooltip = "" . build_table_tooltip ( $content ) . " ";
+ echo "" . $activityName . " | ";
+ echo "" . getFlattenedArray($content, "samm2") . " | ";
+ echo "" . getFlattenedArray($content, "iso27001-2017") . " | ";
+ }
+ }
+}
+
+echo " ";
+//var_dump($noMappingExists);
\ No newline at end of file
diff --git a/navi.php b/navi.php
index 131f862a7..b72091989 100644
--- a/navi.php
+++ b/navi.php
@@ -4,7 +4,8 @@
$nav = array(
"index.php" => "Matrix",
"spiderweb.php" => "Implementation Levels",
- "scutter.php" => "Ease and Value of Implementation",
+ "scutter.php" => "Ease and Value",
+ "mappings.php" => "Mappings",
"graph.php" => "Dependencies",
"report.php" => "Full Report",
//"usefulnessHardness.php" => "Heatmap",
@@ -13,7 +14,7 @@
?>
|