Skip to content

Commit

Permalink
Revert "MDL-37613 mod: changed generalbox class in table to generalta…
Browse files Browse the repository at this point in the history
…ble class in mod/feedback (2 files);mod/glossary (3 files);mod/wiki (1 file)."

This reverts commit 0434dd2.
  • Loading branch information
danpoltawski committed Jan 31, 2013
1 parent 8d81f4f commit 12f756f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion mod/feedback/analysis.php
Expand Up @@ -140,7 +140,7 @@
if ($item->hasvalue == 0) {
continue;
}
echo '<table width="100%" class="generaltable">';
echo '<table width="100%" class="generalbox">';

//get the class of item-typ
$itemobj = feedback_get_item_class($item->typ);
Expand Down
2 changes: 1 addition & 1 deletion mod/feedback/analysis_course.php
Expand Up @@ -200,7 +200,7 @@
if ($item->hasvalue == 0) {
continue;
}
echo '<table width="100%" class="generaltable">';
echo '<table width="100%" class="generalbox">';
//get the class from item-typ
$itemobj = feedback_get_item_class($item->typ);
$itemnr++;
Expand Down
2 changes: 1 addition & 1 deletion mod/glossary/editcategories.html
Expand Up @@ -5,7 +5,7 @@
<div class="boxaligncenter">
<form id="form" method="post" action="editcategories.php">
<div>
<table class="generaltable" cellpadding="5">
<table class="generalbox" cellpadding="5">
<tr valign="top">
<td align="right"><label for="name"><?php echo get_string("name") ?>:</label></td>
<td>
Expand Down
2 changes: 1 addition & 1 deletion mod/glossary/editcategories.php
Expand Up @@ -205,7 +205,7 @@
?>

<form method="post" action="editcategories.php">
<table width="40%" class="boxaligncenter generaltable" cellpadding="5">
<table width="40%" class="boxaligncenter generalbox" cellpadding="5">
<tr>
<th style="width:90%" align="center">
<?php p(get_string("categories","glossary")) ?></th>
Expand Down
2 changes: 1 addition & 1 deletion mod/glossary/formats.php
Expand Up @@ -61,7 +61,7 @@
$no = get_string("no");

echo '<form method="post" action="formats.php" id="form">';
echo '<table width="90%" align="center" class="generaltable">';
echo '<table width="90%" align="center" class="generalbox">';
?>
<tr>
<td colspan="3" align="center"><strong>
Expand Down
10 changes: 5 additions & 5 deletions mod/wiki/pagelib.php
Expand Up @@ -1490,7 +1490,7 @@ private function print_contributions_content() {

$table = new html_table();
$table->head = array(get_string('contributions', 'wiki') . $OUTPUT->help_icon('contributions', 'wiki'));
$table->attributes['class'] = 'wiki_editor generaltable';
$table->attributes['class'] = 'wiki_editor generalbox';
$table->data = array();
$table->rowclasses = array();

Expand Down Expand Up @@ -1610,7 +1610,7 @@ private function print_index_content() {

$table = new html_table();
$table->head = array(get_string('pageindex', 'wiki') . $OUTPUT->help_icon('pageindex', 'wiki'));
$table->attributes['class'] = 'wiki_editor generaltable';
$table->attributes['class'] = 'wiki_editor generalbox';
$table->data[] = array($this->render_navigation_node($tree));

echo html_writer::table($table);
Expand Down Expand Up @@ -1649,7 +1649,7 @@ private function print_page_list_content() {

$table = new html_table();
$table->head = array(get_string('pagelist', 'wiki') . $OUTPUT->help_icon('pagelist', 'wiki'));
$table->attributes['class'] = 'wiki_editor generaltable';
$table->attributes['class'] = 'wiki_editor generalbox';
$table->align = array('center');
foreach ($stdaux as $key => $elem) {
$table->data[] = array($key);
Expand Down Expand Up @@ -1679,7 +1679,7 @@ private function print_orphaned_content() {

$table = new html_table();
$table->head = array(get_string('orphaned', 'wiki') . $OUTPUT->help_icon('orphaned', 'wiki'));
$table->attributes['class'] = 'wiki_editor generaltable';
$table->attributes['class'] = 'wiki_editor generalbox';
$table->data = array();
$table->rowclasses = array();

Expand Down Expand Up @@ -1715,7 +1715,7 @@ private function print_updated_content() {

$table = new html_table();
$table->head = array(get_string('updatedpages', 'wiki') . $OUTPUT->help_icon('updatedpages', 'wiki'));
$table->attributes['class'] = 'wiki_editor generaltable';
$table->attributes['class'] = 'wiki_editor generalbox';
$table->data = array();
$table->rowclasses = array();

Expand Down

0 comments on commit 12f756f

Please sign in to comment.