?

Log in

No account? Create an account
 
 
.anita
[solved] title= Calendar page icon
August 2nd, 2007 @ 09:50 pm
[solved] thanks to turlough

Sorry to bother you but Is it possible to change the lock/private icon from the calendar pages?



Thank you!
 
( Post a new comment )
 
turlough on August 3rd, 2007 11:10 am (UTC)
Yes, it's possible. I can't find the original entry were I learned how this is what I put in my theme layer and it should hopefully work in yours too. Change the line in red for the URL of the pics you're using.

function MonthDay::print_subjectlist()
{
foreach var Entry e ($.entries)
{
print $e.time->time_format("short") + ": ";
if ($e.poster.username != $e.journal.username)
{
$e.poster->print(); " ";
}
if ($e.security == "private")
{
"""<img src="URL OF IMAGE" border=0 alt="Private" title="Private Post">""";
}
elseif ($e.security == "protected")
{
"""<img src="URL OF IMAGE" border=0 alt="Flocked" Title="Flocked Post">""";
}
if ($e.subject != "")
{
" <a href=\"$e.permalink_url\">$e.subject</a>";
}
else
{
" <a href=\"$e.permalink_url\" style=\"font-style: italic;\">$*text_nosubject</a>";
}
if ($e.comments.count > 0)
{
" - " + $e.comments.count + " Comment";
if ($e.comments.count > 1)
{
"s";
}
}
if ($e.comments.screened)
{
" <b>$*text_month_screened_comments</b>";
}
"<br />\n";
}
}
 
.anitaanita on August 3rd, 2007 12:51 pm (UTC)
THANKS!
It´s working =)
 
turlough on August 3rd, 2007 03:19 pm (UTC)
Re: THANKS!
Yay!!
 
.anitaanita on August 5th, 2007 04:05 pm (UTC)
Re: THANKS!
Thank you! =D