Renamed 'ship-simu' to 'shipsimu' + added 'core' and symlink to core/inc
[shipsimu.git] / application / shipsimu / templates / de / code / block_company_data.ctp
diff --git a/application/shipsimu/templates/de/code/block_company_data.ctp b/application/shipsimu/templates/de/code/block_company_data.ctp
new file mode 100644 (file)
index 0000000..9752acf
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+// Get helper instance
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'company'));
+
+// Set link text
+$helperInstance->addActionLinkById('company', 'company');
+
+// Flush the content
+$helperInstance->flushContent();
+
+// [EOC]
+?>
+<div class="user_name_div">
+       Firmenstatus: <span class="company_status">{?company_status?}</span>
+</div>
+<div class="user_profile_div">
+       {?company?}
+</div>