mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Reverting MDL-12974 and MDL-12941 (Urs simple wrapper changes)
This commit is contained in:
parent
f0067a7836
commit
353a89619f
2 changed files with 13 additions and 20 deletions
12
tag/lib.php
12
tag/lib.php
|
@ -1158,7 +1158,7 @@ function print_tag_management_box($tag_object, $return=false) {
|
|||
|
||||
if (!isguestuser()) {
|
||||
|
||||
$output .= print_simplewrapper_start('box','tag-management-box', true);
|
||||
$output .= print_box_start('box','tag-management-box', true);
|
||||
|
||||
$systemcontext = get_context_instance(CONTEXT_SYSTEM);
|
||||
|
||||
|
@ -1184,7 +1184,7 @@ function print_tag_management_box($tag_object, $return=false) {
|
|||
|
||||
$output .= implode(' | ', $links);
|
||||
|
||||
$output .= print_simplewrapper_end(true);
|
||||
$output .= print_box_end(true);
|
||||
|
||||
}
|
||||
|
||||
|
@ -1215,7 +1215,7 @@ function print_tag_description_box($tag_object, $return=false) {
|
|||
$output = '';
|
||||
|
||||
if ($content) {
|
||||
$output .= print_simplewrapper_start('generalbox', 'tag-description',true);
|
||||
$output .= print_box_start('generalbox', 'tag-description',true);
|
||||
}
|
||||
|
||||
if (!empty($tag_object->description)) {
|
||||
|
@ -1229,7 +1229,7 @@ function print_tag_description_box($tag_object, $return=false) {
|
|||
}
|
||||
|
||||
if ($content) {
|
||||
$output .= print_simplewrapper_end(true);
|
||||
$output .= print_box_end(true);
|
||||
}
|
||||
|
||||
if ($return) {
|
||||
|
@ -1315,7 +1315,7 @@ function print_user_box($user, $return=false) {
|
|||
|
||||
$output = '';
|
||||
|
||||
$output .= print_simplewrapper_start('user-box', 'user'.$user->id, true);
|
||||
$output .= print_box_start('user-box', 'user'.$user->id, true);
|
||||
|
||||
$fullname = fullname($user);
|
||||
$alt = '';
|
||||
|
@ -1342,7 +1342,7 @@ function print_user_box($user, $return=false) {
|
|||
|
||||
$output .= '<strong>' . $fullname . '</strong>';
|
||||
|
||||
$output .= print_simplewrapper_end(true);
|
||||
$output .= print_box_end(true);
|
||||
|
||||
if ($return) {
|
||||
return $output;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue