@@ -7,6 +7,10 @@
|
||||
float: right;
|
||||
margin: 0 0 0 9px;
|
||||
}
|
||||
#forum div.indent {
|
||||
margin-left: 0;
|
||||
margin-right: 20px;
|
||||
}
|
||||
.forum-topic-navigation {
|
||||
padding: 1em 3em 0 0;
|
||||
}
|
||||
|
@@ -29,7 +29,7 @@
|
||||
}
|
||||
|
||||
#forum div.indent {
|
||||
margin-left: 20px;
|
||||
margin-left: 20px; /* LTR */
|
||||
}
|
||||
#forum .icon div {
|
||||
background-image: url(../../misc/forum-icons.png);
|
||||
|
@@ -9,8 +9,8 @@ files[] = forum.test
|
||||
configure = admin/structure/forum
|
||||
stylesheets[all][] = forum.css
|
||||
|
||||
; Information added by drupal.org packaging script on 2013-03-07
|
||||
version = "7.21"
|
||||
; Information added by drupal.org packaging script on 2013-04-03
|
||||
version = "7.22"
|
||||
project = "drupal"
|
||||
datestamp = "1362616996"
|
||||
datestamp = "1365027012"
|
||||
|
||||
|
@@ -658,7 +658,12 @@ function forum_block_info() {
|
||||
* Implements hook_block_configure().
|
||||
*/
|
||||
function forum_block_configure($delta = '') {
|
||||
$form['forum_block_num_' . $delta] = array('#type' => 'select', '#title' => t('Number of topics'), '#default_value' => variable_get('forum_block_num_' . $delta, '5'), '#options' => drupal_map_assoc(array(2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)));
|
||||
$form['forum_block_num_' . $delta] = array(
|
||||
'#type' => 'select',
|
||||
'#title' => t('Number of topics'),
|
||||
'#default_value' => variable_get('forum_block_num_' . $delta, '5'),
|
||||
'#options' => drupal_map_assoc(range(2, 20))
|
||||
);
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@@ -677,6 +677,7 @@ class ForumIndexTestCase extends DrupalWebTestCase {
|
||||
'status' => FALSE,
|
||||
);
|
||||
$this->drupalPost("node/{$node->nid}/edit", $edit, t('Save'));
|
||||
$this->drupalGet("node/{$node->nid}");
|
||||
$this->assertText(t('Access denied'), 'Unpublished node is no longer accessible.');
|
||||
|
||||
// Verify that the node no longer appears on the index.
|
||||
|
Reference in New Issue
Block a user