Skip to content

Commit

Permalink
Integrated in some fixes from GDMac.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienne committed Feb 3, 2012
1 parent 99ea93c commit 2537474
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions system/expressionengine/third_party/detour/views/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,23 @@
$this->table->set_heading(
array(
'data' => $this->EE->lang->line('title_url'),
'style' => 'width:45%;'
'style' => 'width:40%;'
),
array(
'data' => $this->EE->lang->line('title_redirect'),
'style' => 'width:45%;'
'style' => 'width:35%;'
),
array(
'data' => $this->EE->lang->line('title_method')
),
array(
'data' => 'Delete'
),
array(
'data' => 'Hits'
),
array(
'data' => 'Reset Hits'
)
);

Expand All @@ -42,7 +48,9 @@
$detour[0],
$detour[1],
'<strong>' . $detour[3] . '</strong>',
'<input type="checkbox" name="detour_delete[]" value="' . $detour[2] . '" />'
'<input type="checkbox" name="detour_delete[]" value="' . $detour[2] . '" />',
($detour[4]==0 ? '&nbsp;' : $detour[4]),
'<input type="checkbox" name="hits_delete[]" value="' . $detour[2] . '" />'
);

}
Expand All @@ -51,11 +59,11 @@
form_input('old_url', ''),
form_input('new_url', ''),
'<select name="new_detour_method"><option value="301">301</option><option value="302">302</option></select>',
'&nbsp;' // Just a space placeholder
'&nbsp;', '&nbsp;', '&nbsp;' // Space-placeholders for empty collumns
);

echo $this->table->generate();
echo $this->table->generate();

echo form_submit(array('name' => 'submit', 'value' => $this->EE->lang->line('save_settings'), 'class' => 'submit'));
echo form_close();

Expand Down

0 comments on commit 2537474

Please sign in to comment.