Cleanup the code
kiamlaluno - July 27, 2008 - 15:18
| Project: | Blog Add-ons |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Chajecki |
| Status: | active |
Jump to:
Description
The code should be cleaned a little. Apart the tabs used to indent the lines, there are some code lines like:
<?php
'#description' => 'This sets the number of posts on the blogger hope page . ',
?>
#1
Thanks.
and I guess that the fix you expect is
<?php'#description' => t('...'),
?>
right?
#2
The description given in the menu definitions (the ones given by the implementation of
hook_menu()) doesn't need to be passed to the functiont(), as that is made from the core routines.What I meant is that the sentence has a space before the last word, and the period; that space should be eliminated.
The same is true for the space after the period.