From d6d24b8884f41a1dc8edc7efa0cc7c264a350f5f Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Fri, 25 Jul 2008 08:31:59 +0000 Subject: [PATCH] MDL-14591: fixing merge issues in portfolio --- user/portfolio.php | 2 +- user/tabs.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/user/portfolio.php b/user/portfolio.php index 934427abf0..16d0e298e5 100644 --- a/user/portfolio.php +++ b/user/portfolio.php @@ -83,7 +83,7 @@ if ($display) { foreach ($instances as $i) { $visible = $i->get_user_config('visible', $USER->id); $table->data[] = array($i->get('name'), $i->get('plugin'), - ($i->has_user_config()) + ($i->has_user_config() ? '' . get_string('configure') . '' : '') . ' ' . get_string($visible ? 'hide' : 'show') . '
' ); diff --git a/user/tabs.php b/user/tabs.php index 815d909094..9d405914bb 100644 --- a/user/tabs.php +++ b/user/tabs.php @@ -245,6 +245,7 @@ // @todo permissions check? $toprow[] = new tabobject('portfolios', $CFG->wwwroot .'/user/portfolio.php', get_string('portfolios', 'portfolio')); } + } ///added a new messaging tab if (has_capability('moodle/user:editownmessageprofile', $systemcontext)) { -- 2.39.5