Portfolio strings changed to reflect the heading of the next page

Plus fixed some typos in the portfolio library
This commit is contained in:
David Mudrak 2010-11-11 18:04:27 +00:00
parent a9efae50e3
commit 0ce579fe89
2 changed files with 4 additions and 4 deletions

View file

@ -237,9 +237,9 @@ class portfolio_add_button {
*
* @param int $format format to display the button or form or icon or link.
* See constants PORTFOLIO_ADD_XXX for more info.
* optional, defaults to PORTFOLI_ADD_FULL_FORM
* optional, defaults to PORTFOLIO_ADD_FULL_FORM
* @param str $addstr string to use for the button or icon alt text or link text.
* this is whole string, not key. optional, defaults to 'Add to portfolio';
* this is whole string, not key. optional, defaults to 'Export to portfolio';
*/
public function render($format=null, $addstr=null) {
echo $this->to_html($format, $addstr);