Polishing that Add/Edit Blocks button
This commit is contained in:
@@ -122,6 +122,7 @@ $string['blockconfigbad'] = 'This block has not been implemented correctly and t
|
||||
$string['blockdeleteconfirm'] = 'You are about to completely delete the block \'$a\'. This will completely delete everything in the database associated with this block. Are you SURE you want to continue?';
|
||||
$string['blockdeletefiles'] = 'All data associated with the block \'$a->block\' has been deleted from the database. To complete the deletion (and prevent the block re-installing itself), you should now delete this directory from your server: $a->directory';
|
||||
$string['blocks'] = 'Blocks';
|
||||
$string['blocksaddedit'] = 'Add/Edit Blocks';
|
||||
$string['blocksetup'] = 'Setting up block tables';
|
||||
$string['blocksuccess'] = '$a tables have been set up correctly';
|
||||
$string['bycourseorder'] = 'By course order';
|
||||
|
||||
+1
-1
@@ -84,7 +84,7 @@
|
||||
'<td><form target="'.$CFG->framename.'" method="get" action="view.php">'.
|
||||
'<input type="hidden" name="id" value="'.$cm->id.'" />'.
|
||||
'<input type="hidden" name="edit" value="'.($PAGE->user_is_editing()?'off':'on').'" />'.
|
||||
'<input type="submit" value="add/edit blocks" /></form></td></tr></table>';
|
||||
'<input type="submit" value="'.get_string($PAGE->user_is_editing()?'turneditingoff':'blocksaddedit').'" /></form></td></tr></table>';
|
||||
} else {
|
||||
$buttons = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user