Permalink
Browse files

Remove hardcoded value

  • Loading branch information...
1 parent bb9ddff commit 15a8774b05b55ac8e0e8466b0c7546afa053c766 @haraldpdl committed Feb 24, 2014
@@ -20,6 +20,8 @@ protected function initialize() {
$this->_page_contents = 'main.html';
$this->_page_title = OSCOM::getDef('html_page_title');
+ $OSCOM_Template->setValue('never_ask_her', (new \DateTime('2000-03-12'))->diff(new \DateTime())->format('%y'));
+
if ( $OSCOM_Cache->read('website_partners-frontpage_promotions', 15) ) {
$partners = $OSCOM_Cache->getCache();
} else {
@@ -22,7 +22,7 @@
choco_addons_title = 7,000+ Add-Ons
choco_addons_content = <p>Our community have uploaded over 7,000 Add-Ons that can be used for free to customize your online store with.</p>
-choco_passionate_title = 12 Years Strong
+choco_passionate_title = {value}never_ask_her{value} Years Strong
choco_passionate_content = <p>We're passionate about what we do and love the personal relationship we have with the community.</p>
choco_open_source_title = Open Source Rocks

0 comments on commit 15a8774

Please sign in to comment.