From 08441e1e99bbae49418c4b06c302f1a2057c2179 Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 15 Apr 2010 23:24:10 +0000 Subject: Added ability to check all rows or columns in ecml permissions page. git-svn-id: http://code.elgg.org/elgg/trunk@5758 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/ecml/views/default/ecml/admin/ecml_admin.php | 54 +++++++++++++++--------- 1 file changed, 34 insertions(+), 20 deletions(-) (limited to 'mod/ecml') diff --git a/mod/ecml/views/default/ecml/admin/ecml_admin.php b/mod/ecml/views/default/ecml/admin/ecml_admin.php index 34f777414..0bd7793c8 100644 --- a/mod/ecml/views/default/ecml/admin/ecml_admin.php +++ b/mod/ecml/views/default/ecml/admin/ecml_admin.php @@ -27,7 +27,8 @@ $form_body = <<<___END ___END; foreach ($views as $view => $view_desc) { - $form_body .= "$view_desc"; + $form_body .= "$view_desc"; + $n++; } $form_body .= ''; @@ -36,7 +37,7 @@ foreach ($keywords as $keyword => $keyword_info) { $keyword_desc = $keyword_info['description']; $form_body .= " - $keyword + $keyword "; foreach ($views as $view => $view_info) { // if this is restricted and we're not on the specified view don't allow changes @@ -65,21 +66,34 @@ echo elgg_view('input/form', array( 'action' => $vars['url'] . 'action/ecml/save_permissions' )); -//foreach ($views as $view => $desc) { -// echo elgg_view_title($desc); -// echo ''; -// -//echo <<<___END -//
-// -// -//___END; -//} -// -//echo ''; \ No newline at end of file +?> + -- cgit v1.2.3