Issue #2886150 by samiahmedsiddiqui: Fixed Coding Standard issues
This commit is contained in:
parent
8ab394f0e6
commit
c0a641bae3
10
README.txt
10
README.txt
@ -1,5 +1,6 @@
|
||||
HFS (Header Footer Scripts) module for Drupal 7.x.
|
||||
This module allows you to add style and scripts in different region of the page from the front-end. You don't need to open any file for this purpose.
|
||||
This module allows you to add style and scripts in different region of the page
|
||||
from the front-end. You don't need to open any file for this purpose.
|
||||
|
||||
INSTALLATION INSTRUCTIONS
|
||||
-------------------------
|
||||
@ -8,11 +9,12 @@ INSTALLATION INSTRUCTIONS
|
||||
2. Login as site administrator.
|
||||
3. Enable the HFS (Header Footer Scripts) module on the Administer -> Modules
|
||||
page.
|
||||
4. Add styles and scripts in settings on the Administer -> Configuration -> Development ->
|
||||
HFS (Header Footer Scripts) Page.
|
||||
4. Add styles and scripts in settings on the Administer -> Configuration ->
|
||||
Development -> HFS (Header Footer Scripts) Page.
|
||||
5. Enjoy.
|
||||
|
||||
NOTES
|
||||
-----
|
||||
This module adds the styles and scripts on all over the site. There are 3 setting pages.
|
||||
This module adds the styles and scripts on all over the site. There are 3
|
||||
setting pages.
|
||||
These setting pages are allow you add the scripts in the desired region.
|
||||
|
@ -10,7 +10,7 @@
|
||||
/**
|
||||
* Administrative settings.
|
||||
*
|
||||
* @return
|
||||
* @return array
|
||||
* Add styles and scripts in header.
|
||||
*/
|
||||
function hfs_header_settings_form($form, &$form_state) {
|
||||
@ -56,7 +56,7 @@ function hfs_header_settings_form_submit($form, &$form_state) {
|
||||
/**
|
||||
* Administrative settings.
|
||||
*
|
||||
* @return
|
||||
* @return array
|
||||
* Add styles and scripts at the start of the body tag.
|
||||
*/
|
||||
function hfs_body_settings_form($form, &$form_state) {
|
||||
@ -102,7 +102,7 @@ function hfs_body_settings_form_submit($form, &$form_state) {
|
||||
/**
|
||||
* Administrative settings.
|
||||
*
|
||||
* @return
|
||||
* @return array
|
||||
* Add styles and scripts in footer (before closing the body tag).
|
||||
*/
|
||||
function hfs_footer_settings_form($form, &$form_state) {
|
||||
|
@ -65,7 +65,7 @@ function hfs_permission() {
|
||||
$permissions['administer hfs module'] = array(
|
||||
'title' => t('Add Scripts all over the site'),
|
||||
'restrict access' => TRUE,
|
||||
'description' => t('Users who have this permission can add and remove the scripts from the site.')
|
||||
'description' => t('Users who have this permission can add and remove the scripts from the site.'),
|
||||
);
|
||||
|
||||
return $permissions;
|
||||
|
Loading…
x
Reference in New Issue
Block a user