edited link positions

@rbran100
Figured out how to add the date links at the top without the spacing parameter. Made a new PR. Can you pls merge this? thx

will fix the spacing. Thanks, Matt
From: Matthew Petrovic [notifications@github.com]Sent: Thursday, June 12, 2014 3:27 PMTo: openscholar/HipChat-ArchiveCc: Sudarshanam, PriyashreeSubject: Re: [HipChat-Archive] edited link positions (#2)


In hipchat_archive.module:
>      ); 
>    }
>  
> -  //add space between links
> -  $spaces = str_repeat('&nbsp;', 75);
> -  //format output with links on the top of the table
> -  $build = $prevLink.$spaces.$todayDate.$spaces.$nextLink;
> -  $build .=  theme('table', array('header' => $header, 'rows' => $rows));
> -  
> +  //create the markup and include css
> +  $build['links'] = array(
> +    '#markup' => '<p id="prevlink">'.$prevLink.'
> +                 <span id="todaylink">' .$date.
> +                 '<span id="nextlink">'.$nextLink.'</p>',
> +    '#attached' => array (
> +             'css' => array (

The spacing here is messy. This is a code clarity thing.
—
Reply to this email directly or 
view it on GitHub.