Missing DIV in code?
finedesign - August 7, 2007 - 10:40
| Project: | Mugshot |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | bonvga |
| Status: | closed |
Jump to:
Description
Is it just me, or does the Mugshot block have a missing closing div for the recent block?
I have Mugshot stripped down for the un-registered users. This block views just fine. See generated code:
<!-- begin div.calendar -->
<div id="calendar">
<img width="160" height="120" src="http://mysitename.com/files/mugshot/mugshot_00bada95504d63446d83a0282e7c821d.jpg"/>
<div class="author">By :
<a href="http://mysitename.com/user/pablo">pablo</a>
</div>
<div class="date">Aug 6 2007 - 6:18am</div>
<br/>
</div>
<!-- end div.calendar -->However, when I log in as an admin, I also have the other features enabled. This generates:
<!-- begin div.calendar -->
<div id="calendar">
<img width="160" height="120" src="http://mysitename.com/files/mugshot/mugshot_69607670636a3d25d4c36bba362635bf.jpg"/>
<div class="author">
By :
<a href="http://mysitename.com/user/pablo">pablo</a>
</div>
<div class="date">Aug 6 2007 - 2:27pm</div>
<div class="moderate">
Moderate :
<a href="/mugshot/action/2/show">Show</a>
|
<a href="/mugshot/action/2/delete">Delete</a>
<br/>
<a href="/mugshot/shot">Add a Mugshot !</a>
</div>
<!-- end div.calendar -->You can see when the additional features are enabled, it loses a closing .
Please tell me if I'm crazy here. If I'm not, can someone update the module asap? I'm launching soon.
Thanks-
paul

#1
Hello,
I've found a missing equal. You can see the diff here : http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/mugshot/mug...
Thank's a lot
#2
Thank you! Your timing couldn't have been better.
#3