← Back to team overview

mahara-contributors team mailing list archive

[Bug 1321053] A change has been merged

 

Reviewed:  https://reviews.mahara.org/3372
Committed: http://gitorious.org/mahara/mahara/commit/274c7c2df625f3bd0bb62dbc0fe25a51ae18e374
Submitter: Son Nguyen (son.nguyen@xxxxxxxxxxxxxxx)
Branch:    master

commit 274c7c2df625f3bd0bb62dbc0fe25a51ae18e374
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Tue May 20 12:38:18 2014 +1200

Fetch template html via some json files in a better way (Bug #1321053)

Change-Id: I13a7a9a95da0b46a6b29862e8ad14e3e66bbb4f6
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1321053

Title:
  Better way to fetch template for some json files

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Some json files have:

  ob_start();		
  $smarty->display('name/of/json.tpl');
  $html = ob_get_contents();		
  ob_end_clean();

  But this can be simplified to:

  $html = $smarty->fetch('name/of/json.tpl');

  So I'll do that in this patch.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1321053/+subscriptions


References