Tatsuki SUGIURA
sugi****@users*****
2006年 7月 12日 (水) 20:42:07 JST
Index: slashjp/plugins/Zoo/templates/alllist;zoo;default diff -u slashjp/plugins/Zoo/templates/alllist;zoo;default:1.2 slashjp/plugins/Zoo/templates/alllist;zoo;default:1.3 --- slashjp/plugins/Zoo/templates/alllist;zoo;default:1.2 Fri Dec 31 21:37:18 2004 +++ slashjp/plugins/Zoo/templates/alllist;zoo;default Wed Jul 12 20:42:07 2006 @@ -13,21 +13,20 @@ __name__ alllist __template__ -[% USE Slash %] -<TABLE WIDTH="90%" BORDER="0" CELLPADDING="2" CELLSPACING="0"> +<table width="90%" border="0" cellpadding="2" cellspacing="0"> [% FOREACH item = people %] - <TR> - <TD VALIGN="TOP"> - <A HREF="[% gSkin.rootdir %]/~[% item.1 | fixparam %]/">[% item.1 %]</A> - </TD> - <TD VALIGN="TOP"> + <tr> + <td valign="top"> + <a href="[% gSkin.rootdir %]/~[% item.1 | strip_paramattr %]/">[% item.1 %]</a> + </td> + <td valign="top"> [% PROCESS zoo_icons person=item.0 %] - </TD> -</TR> + </td> +</tr> [% END %] -</TABLE> -<BR><BR> +</table> +<br><br> __seclev__ 100 __version__ -$Id: alllist;zoo;default,v 1.2 2004/12/31 12:37:18 oliver Exp $ +$Id: alllist;zoo;default,v 1.3 2006/07/12 11:42:07 sugi Exp $ Index: slashjp/plugins/Zoo/templates/confirm;zoo;default diff -u slashjp/plugins/Zoo/templates/confirm;zoo;default:1.3 slashjp/plugins/Zoo/templates/confirm;zoo;default:1.4 --- slashjp/plugins/Zoo/templates/confirm;zoo;default:1.3 Fri Dec 31 21:37:18 2004 +++ slashjp/plugins/Zoo/templates/confirm;zoo;default Wed Jul 12 20:42:07 2006 @@ -11,86 +11,92 @@ __name__ confirm __template__ -[% USE Slash %] -<FORM ACTION="[% gSkin.rootdir %]/zoo.pl" METHOD="POST"> -<P> +<form action="[% gSkin.rootdir %]/zoo.pl" method="POST"> [% IF over_socialized %] - You have over [% IF user.is_subscriber && constants.people_max_subscriber %] [% constants.people_max_subscriber %] [% ELSE %] [% constants.people_max %] [% END %] friends and foes at the moment. This puts you over our limit of[% IF constants.subscriber && constants.people_max_subscriber %] [% constants.people_max_subscriber %] [% ELSE %] [% constants.people_max %] [% END %] relationships that we allow. At this point you may only remove relationships with users. <br> +<p> You have over [% IF user.is_subscriber && constants.people_max_subscriber %] [% constants.people_max_subscriber %] [% ELSE %] [% constants.people_max %] [% END %] friends and foes at the moment. This puts you over our limit of[% IF constants.subscriber && constants.people_max_subscriber %] [% constants.people_max_subscriber %] [% ELSE %] [% constants.people_max %] [% END %] relationships that we allow. At this point you may only remove relationships with users. <br> [% IF constants.subscriber && constants.people_max_subscriber && !user.is_subscriber %] - If you would like to up your limit to [% constants.people_max_subscriber %] you might want to consider <A HREF="[% gSkin.rootdir %]/subscribe.pl">subscribing</A>. + If you would like to up your limit to [% constants.people_max_subscriber %] you might want to consider <a href="[% gSkin.rootdir %]/subscribe.pl">subscribing</a>. [% END %] - <TABLE> - <TR> - <TD> - So do you want to remove your relationship with <B><A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/">[% nickname %]</A></B>? - </TD> - <TD> - <INPUT TYPE="RADIO" NAME="type" VALUE="neutral"[% IF type == 'neutral'; constants.markup_checked_attribute; END %]> - </TD> - <TD> - <INPUT TYPE="submit" VALUE="Yup, I'm positive"></P> - </TD> - </TR> - </TABLE> +</p> + <table> + <tr> + <td> + So do you want to remove your relationship with <b><a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname %]</a></b>? + </td> + <td> + <input type="radio" name="type" value="neutral"[% IF type == 'neutral'; constants.markup_checked_attribute; END %]> + </td> + <td> + <input type="submit" value="Yup, I'm positive"> + </td> + </tr> + </table> [% ELSE %] - <TABLE> - <TR> - <TD> + <table> + <tr> + <td> Change this? - </TD> - <TD> - [% UNLESS over_socialized %] <INPUT TYPE="RADIO" NAME="type" VALUE="friend"[% IF type == 'friend'; constants.markup_checked_attribute; END %]> <IMG BORDER=0 SRC="[% constants.imagedir %]/friend.gif" ALT="Friend"> Friend<br>[% END %] - <INPUT TYPE="RADIO" NAME="type" VALUE="neutral"[% IF type == 'neutral'; constants.markup_checked_attribute; END %]> <IMG BORDER=0 SRC="[% constants.imagedir %]/neutral.gif" ALT="Neutral"> Neutral<br> - [% UNLESS over_socialized %] <INPUT TYPE="RADIO" NAME="type" VALUE="foe"[% IF type == 'foe'; constants.markup_checked_attribute; END %]> <IMG BORDER=0 SRC="[% constants.imagedir %]/foe.gif" ALT="Foe"> Foe <br> [% END %] - </TD> - <TD> - <INPUT TYPE="submit" VALUE="Yup, I'm positive"></P> - </TD> - </TR> - </TABLE> + </td> + <td> + [% UNLESS over_socialized %] <input type="radio" name="type" value="friend"[% IF type == 'friend'; constants.markup_checked_attribute; END %]> <img src="[% constants.imagedir %]/friend.gif" alt="Friend"> Friend<br>[% END %] + <input type="radio" name="type" value="neutral"[% IF type == 'neutral'; constants.markup_checked_attribute; END %]> <img src="[% constants.imagedir %]/neutral.gif" alt="Neutral"> Neutral<br> + [% UNLESS over_socialized %] <input type="radio" name="type" value="foe"[% IF type == 'foe'; constants.markup_checked_attribute; END %]> <img src="[% constants.imagedir %]/foe.gif" alt="Foe"> Foe <br> [% END %] + </td> + <td> + <input type="submit" value="Yup, I'm positive"> + </td> + </tr> + </table> [% END %] -<P> -<B>Important Stuff:</B> -<LI> Your relationships are public information, and visible to other [% constants.sitename %] readers. -<LI> Updates to friends and foes are cached and may take a few minutes to take effect. -<LI> Curious <A HREF="[% gSkin.rootdir %]/faq/com-mod.shtml#cm2200">what these icons mean</A> -or <A HREF="[% gSkin.rootdir %]/faq/com-mod.shtml#cm2200">where you change their values?</A> -<P> -<FONT COLOR="[% user.colors.bg_3 %]" size="+1"><B>Your Friends who ...</B></FONT><br> -<TABLE WIDTH="100%"> - <TR> - <TD> - <P><FONT COLOR="[% user.colors.bg_3 %]"><B>Consider <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/">[% nickname %]</A> a Friend</B></FONT> <IMG BORDER=0 SRC="[% constants.imagedir %]/fof.gif" ALT="Friends of Friends"> - <A HREF="[% gSkin.rootdir %]/my/comments">[% IF user.people_bonus_fof %]([% user.people_bonus_fof %])[% ELSE %](+0)[% END %]</A> - </TD> - <TD> - <P><FONT COLOR="[% user.colors.bg_3 %]"><B>Consider <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/">[% nickname %]</A> a Foe</B></FONT> <IMG BORDER=0 SRC="[% constants.imagedir %]/eof.gif" ALT="Foes of Friends"> - <A HREF="[% gSkin.rootdir %]/my/comments">[% IF user.people_bonus_eof %]([% user.people_bonus_eof %])[% ELSE %](+0)[% END %]</A> - </TD> - </TR> - <TR> - <TD VALIGN="top"> + +<p><b>Important Stuff:</b></p> + +<ul> +<li> Your relationships are public information, and visible to other [% constants.sitename %] readers.</li> +<li> Updates to friends and foes are cached and may take a few minutes to take effect.</li> +<li> Curious <a href="[% gSkin.rootdir %]/faq/com-mod.shtml#cm2200">what these icons mean</a> +or <a href="[% gSkin.rootdir %]/faq/com-mod.shtml#cm2200">where you change their values?</a></li> +</ul> + +<p><b>Your Friends who ...</b></p> + +<table width="100%"> + <tr> + <td> + <b>Consider <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname %]</a> a Friend</b> <img src="[% constants.imagedir %]/fof.gif" alt="Friends of Friends"> + <a href="[% gSkin.rootdir %]/my/comments">[% IF user.people_bonus_fof %]([% user.people_bonus_fof %])[% ELSE %](+0)[% END %]</a> + </td> + <td> + <b>Consider <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname %]</a> a Foe</b> <img src="[% constants.imagedir %]/eof.gif" alt="Foes of Friends"> + <a href="[% gSkin.rootdir %]/my/comments">[% IF user.people_bonus_eof %]([% user.people_bonus_eof %])[% ELSE %](+0)[% END %]</a> + </td> + </tr> + <tr> + <td valign="top"> [% FOREACH geek = mutual.${Slash.FOF} %] - <A HREF="[% gSkin.rootdir %]/~[% uids_2_nicknames.$geek.nickname | fixparam %]/">[% uids_2_nicknames.$geek.nickname | strip_literal %]</A>([% geek %]) [% PROCESS zoo_icons person=geek implied=Slash.FOF %]<BR> + <a href="[% gSkin.rootdir %]/~[% uids_2_nicknames.$geek.nickname | strip_paramattr %]/">[% uids_2_nicknames.$geek.nickname | strip_literal %]</a>([% geek %]) [% PROCESS zoo_icons person=geek implied=Slash.FOF %]<br> [% END %] - </TD> - <TD VALIGN="top"> + </td> + <td valign="top"> [% FOREACH geek = mutual.${Slash.EOF} %] - <A HREF="[% gSkin.rootdir %]/~[% uids_2_nicknames.$geek.nickname | fixparam %]/">[% uids_2_nicknames.$geek.nickname | strip_literal %]</A>([% geek %]) [% PROCESS zoo_icons person=geek implied=Slash.EOF %]<BR> + <a href="[% gSkin.rootdir %]/~[% uids_2_nicknames.$geek.nickname | strip_paramattr %]/">[% uids_2_nicknames.$geek.nickname | strip_literal %]</a>([% geek %]) [% PROCESS zoo_icons person=geek implied=Slash.EOF %]<br> [% END %] - </TD> - </TR> -</TABLE> + </td> + </tr> +</table> + +<div> +[% PROCESS reskey_tag %] +<input type="hidden" name="op" value="action"> +<input type="hidden" name="uid" value="[% uid %]"> +</div> -<INPUT TYPE="hidden" NAME="formkey" VALUE="[% form.formkey %]"> -<INPUT TYPE="hidden" NAME="op" VALUE="action"> -<INPUT TYPE="hidden" NAME="uid" VALUE="[% uid %]"> -</FORM> +</form> __seclev__ 500 __version__ -$Id: confirm;zoo;default,v 1.3 2004/12/31 12:37:18 oliver Exp $ +$Id: confirm;zoo;default,v 1.4 2006/07/12 11:42:07 sugi Exp $ Index: slashjp/plugins/Zoo/templates/data;zoo;default diff -u slashjp/plugins/Zoo/templates/data;zoo;default:1.2 slashjp/plugins/Zoo/templates/data;zoo;default:1.3 --- slashjp/plugins/Zoo/templates/data;zoo;default:1.2 Fri Dec 31 21:37:18 2004 +++ slashjp/plugins/Zoo/templates/data;zoo;default Wed Jul 12 20:42:07 2006 @@ -22,81 +22,81 @@ [% constants.sitename %] Friend/Foe System [% CASE 'confirm' %] - Your Relationship with <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/"><FONT COLOR="[% user.colors.fg_3 %]">[% nickname | strip_literal %]</FONT></A> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] + Your Relationship with <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] [% CASE 'nofriends' %] - <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/">[% nickname | strip_literal %]</A> ([% uid %]) is all alone in the world. + <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) is all alone in the world.</div></div> [% CASE 'nofans' %] - <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/">[% nickname | strip_literal %]</A> ([% uid %]) is either loved by all, or just invisible. + <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) is either loved by all, or just invisible.</div></div> [% CASE 'nofreaks' %] - <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/">[% nickname | strip_literal %]</A> ([% uid %]) is hated by no one. + <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) is hated by no one.</div></div> [% CASE 'nofoes' %] - <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/">[% nickname | strip_literal %]</A> ([% uid %]) loves everyone or plays their cards very close to their chest. + <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) loves everyone or plays their cards very close to their chest.</div></div> [% CASE 'nofriendsoffriends' %] - The friends of <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/">[% nickname | strip_literal %]</A> ([% uid %]) have no friends; they need better friends. + The friends of <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) have no friends; they need better friends.</div></div> [% CASE 'nofriendsenemies' %] - The friends of <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/">[% nickname | strip_literal %]</A> ([% uid %]) have no foes. + The friends of <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) have no foes.</div></div> [% CASE 'noall' %] - <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/">[% nickname | strip_literal %]</A> ([% uid %]) is unknown to the world. + <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) is unknown to the world.</div></div> [% CASE 'yournofriends' %] [% returnme.data_constant = 1 %] - You are alone in the world. + You are alone in the world.</div></div> [% CASE 'yournofans' %] [% returnme.data_constant = 1 %] - You are either loved by all, or just invisible. + You are either loved by all, or just invisible.</div></div> [% CASE 'yournofriends' %] [% returnme.data_constant = 1 %] - These are the people the voices in your head tell you to worry about. + These are the people the voices in your head tell you to worry about.</div></div> [% CASE 'yournofoes' %] [% returnme.data_constant = 1 %] - You love everyone, or play your cards very close to your chest. + You love everyone, or play your cards very close to your chest.</div></div> [% CASE 'yournofreaks' %] [% returnme.data_constant = 1 %] - Everyone loves you, or they are too afraid to admit otherwise. + Everyone loves you, or they are too afraid to admit otherwise.</div></div> [% CASE 'yournofriendsoffriends' %] [% returnme.data_constant = 1 %] - Everyone whom you love, loves no one else. You must be special. + Everyone whom you love, loves no one else. You must be special.</div></div> [% CASE 'yournofriendsenemies' %] [% returnme.data_constant = 1 %] - Everyone whom you love seems to be loved by all and hate no one. + Everyone whom you love seems to be loved by all and hate no one.</div></div> [% CASE 'yournoall' %] [% returnme.data_constant = 1 %] - No one knows you exist. + No one knows you exist.</div></div> [% CASE 'friendshead' %] - Friends of <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/"><FONT COLOR="[% user.colors.fg_0 %]">[% nickname | strip_literal %]</FONT></A> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] + Friends of <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] [% CASE 'foeshead' %] - Foes of <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/"><FONT COLOR="[% user.colors.fg_0 %]">[% nickname | strip_literal %]</FONT></A> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] + Foes of <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] [% CASE 'fanshead' %] - Fans of <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/"><FONT COLOR="[% user.colors.fg_0 %]">[% nickname | strip_literal %]</FONT></A> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] + Fans of <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] [% CASE 'freakshead' %] - Freaks of <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/"><FONT COLOR="[% user.colors.fg_0 %]">[% nickname | strip_literal %]</FONT></A> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] + Freaks of <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] [% CASE 'friendsenemieshead' %] - Foes of the Friends of <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/"><FONT COLOR="[% user.colors.fg_0 %]">[% nickname | strip_literal %]</FONT></A> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] + Foes of the Friends of <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] [% CASE 'friendsoffriendshead' %] - Friends of the Friends of <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/"><FONT COLOR="[% user.colors.fg_0 %]">[% nickname | strip_literal %]</FONT></A> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] + Friends of the Friends of <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] -[% CASE 'yourhead' %] - Everyone who thinks anything about <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/"><FONT COLOR="[% user.colors.fg_0 %]">[% nickname | strip_literal %]</FONT></A> +[% CASE 'allhead' %] + Relationships of <a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/">[% nickname | strip_literal %]</a> ([% uid %]) [% PROCESS zoo_icons person=uid implied="" %] [% CASE 'yourfriendshead' %] [% returnme.data_constant = 1 %] @@ -122,17 +122,17 @@ [% returnme.data_constant = 1 %] Your friends' foes -[% CASE 'yourall' %] +[% CASE 'yourallhead' %] [% returnme.data_constant = 1 %] - This is how you see everyone and how everyone sees you. + Your relationships [% CASE 'no_go' %] [% returnme.data_constant = 1 %] - Sorry, this is not an option. + Sorry, this is not an option.</div></div> [% CASE 'no_uid' %] [% returnme.data_constant = 1 %] - Sorry, you did not specify a valid user. + Sorry, you did not specify a valid user.</div></div> [% CASE 'over_socialized' %] [% returnme.data_constant = 1 %] @@ -144,4 +144,4 @@ __seclev__ 10000 __version__ -$Id: data;zoo;default,v 1.2 2004/12/31 12:37:18 oliver Exp $ +$Id: data;zoo;default,v 1.3 2006/07/12 11:42:07 sugi Exp $ Index: slashjp/plugins/Zoo/templates/plainlist;zoo;default diff -u slashjp/plugins/Zoo/templates/plainlist;zoo;default:1.2 slashjp/plugins/Zoo/templates/plainlist;zoo;default:1.3 --- slashjp/plugins/Zoo/templates/plainlist;zoo;default:1.2 Fri Dec 31 21:37:18 2004 +++ slashjp/plugins/Zoo/templates/plainlist;zoo;default Wed Jul 12 20:42:07 2006 @@ -13,35 +13,34 @@ __name__ plainlist __template__ -[% USE Slash %] -<P> -<TABLE WIDTH="100%" BORDER="0" CELLPADDING="2" CELLSPACING="0"> - <TR><TH ALIGN="LEFT">User</TH> - <TH ALIGN="LEFT" COLSPAN="2">User's...</TH> - <TH ALIGN="LEFT"> Last Journal</TH></TR> +<table width="100%" border="0" cellpadding="2" cellspacing="0"> + <tr><th align="left">User</th> + <th align="left" colspan="2">User's...</th> + <th align="left"> Last Journal</th></tr> [% FOREACH somebody = people %] - <TR> - <TD VALIGN="TOP"> - <A HREF="[% gSkin.rootdir %]/~[% somebody.1 | fixparam %]/">[% somebody.1 %] ([% somebody.0 %])[% PROCESS zoo_icons person=somebody.0 implied="" %]</A> - </TD> - <TD VALIGN="TOP"> - <A HREF="[% gSkin.rootdir %]/~[% somebody.1 | fixparam %]/friends/">friends</A> - </TD> - <TD VALIGN="TOP"> - <A HREF="[% gSkin.rootdir %]/~[% somebody.1 | fixparam %]/fans/">fans</A> - </TD> - <TD VALIGN="TOP"> + <tr> + <td valign="top"> + <a href="[% gSkin.rootdir %]/~[% somebody.1 | strip_paramattr %]/">[% somebody.1 %] ([% somebody.0 %])</a>[% PROCESS zoo_icons person=somebody.0 implied="" %] + </td> + <td valign="top"> + <a href="[% gSkin.rootdir %]/~[% somebody.1 | strip_paramattr %]/friends/">friends</a> + </td> + <td valign="top"> + <a href="[% gSkin.rootdir %]/~[% somebody.1 | strip_paramattr %]/fans/">fans</a> + </td> + <td valign="top"> [% IF somebody.2 %] - <A HREF="[% gSkin.rootdir %]/~[% somebody.1 | fixparam %]/journal/">[% Slash.timeCalc(somebody.2) %]</A> + <a href="[% gSkin.rootdir %]/~[% somebody.1 | strip_paramattr %]/journal/">[% Slash.timeCalc(somebody.2) %]</a> [% ELSE %] [% END %] - </TD> -</TR> + </td> +</tr> [% END %] -</TABLE> -<BR><BR> +</table> + </div> +</div> __seclev__ 100 __version__ -$Id: plainlist;zoo;default,v 1.2 2004/12/31 12:37:18 oliver Exp $ +$Id: plainlist;zoo;default,v 1.3 2006/07/12 11:42:07 sugi Exp $ Index: slashjp/plugins/Zoo/templates/zoo_icons;misc;default diff -u slashjp/plugins/Zoo/templates/zoo_icons;misc;default:1.2 slashjp/plugins/Zoo/templates/zoo_icons;misc;default:1.3 --- slashjp/plugins/Zoo/templates/zoo_icons;misc;default:1.2 Fri Dec 31 21:37:18 2004 +++ slashjp/plugins/Zoo/templates/zoo_icons;misc;default Wed Jul 12 20:42:07 2006 @@ -16,38 +16,37 @@ __name__ zoo_icons __template__ -[% USE Slash %] [% IF user.uid != person && person && !user.is_anon %] [% IF !user.people.${Slash.FRIEND}.$person && !user.people.${Slash.FOE}.$person && !user.people.${Slash.FAN}.$person && !user.people.${Slash.FREAK}.$person && !user.people.${Slash.FOF}.$person && !user.people.${Slash.EOF}.$person %] - <A HREF="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]&type=friend"><IMG BORDER=0 SRC="[% constants.imagedir %]/neutral.gif" ALT="Neutral" TITLE="Neutral"></A> + <span class="zooicon"><a href="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]&type=friend"><img src="[% constants.imagedir %]/neutral.gif" alt="Neutral" title="Neutral"></a></span> [% ELSE %] [% IF user.people.${Slash.FRIEND}.$person && implied != Slash.FRIEND %] [% IF bonus && user.people_bonus_friend; zootitle = "Friend ($user.people_bonus_friend)"; ELSE; zootitle = "Friend"; END; %] - <A HREF="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]"><IMG BORDER=0 SRC="[% constants.imagedir %]/friend.gif" ALT="[% zootitle %]" TITLE="[% zootitle %]"></A> + <span class="zooicon"><a href="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]"><img src="[% constants.imagedir %]/friend.gif" alt="[% zootitle %]" title="[% zootitle %]"></a></span> [% END %] [% IF user.people.${Slash.FOE}.$person && implied != Slash.FOE %] [% IF bonus && user.people_bonus_foe; zootitle = "Foe ($user.people_bonus_foe)"; ELSE; zootitle = "Foe"; END; %] - <A HREF="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]"><IMG BORDER=0 SRC="[% constants.imagedir %]/foe.gif" ALT="[% zootitle %]" TITLE="[% zootitle %]"></A> + <span class="zooicon"><a href="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]"><img src="[% constants.imagedir %]/foe.gif" alt="[% zootitle %]" title="[% zootitle %]"></a></span> [% END %] [% IF user.people.${Slash.FAN}.$person && implied != Slash.FAN %] [% IF bonus && user.people_bonus_fan; zootitle = "Fan ($user.people_bonus_fan)"; ELSE; zootitle = "Fan"; END; %] - <A HREF="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]"><IMG BORDER=0 SRC="[% constants.imagedir %]/fan.gif" ALT="[% zootitle %]" TITLE="[% zootitle %]"></A> + <span class="zooicon"><a href="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]"><img src="[% constants.imagedir %]/fan.gif" alt="[% zootitle %]" title="[% zootitle %]"></a></span> [% END %] [% IF user.people.${Slash.FREAK}.$person && implied != Slash.FREAK %] [% IF bonus && user.people_bonus_freak; zootitle = "Freak ($user.people_bonus_freak)"; ELSE; zootitle = "Freak"; END; %] - <A HREF="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]"><IMG BORDER=0 SRC="[% constants.imagedir %]/freak.gif" ALT="[% zootitle %]" TITLE="[% zootitle %]"></A> + <span class="zooicon"><a href="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]"><img src="[% constants.imagedir %]/freak.gif" alt="[% zootitle %]" title="[% zootitle %]"></a></span> [% END %] [% IF user.people.${Slash.FOF}.$person && implied != Slash.FOF %] [% IF bonus && user.people_bonus_freak; zootitle = "Friend of Friend ($user.people_bonus_fof)"; ELSE; zootitle = "Friend of Friend"; END; %] - <A HREF="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]"><IMG BORDER=0 SRC="[% constants.imagedir %]/fof.gif" ALT="[% zootitle %]" TITLE="[% zootitle %]"></A> + <span class="zooicon"><a href="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]"><img src="[% constants.imagedir %]/fof.gif" alt="[% zootitle %]" title="[% zootitle %]"></a></span> [% END %] [% IF user.people.${Slash.EOF}.$person && implied != Slash.EOF %] [% IF bonus && user.people_bonus_freak; zootitle = "Foe of Friend ($user.people_bonus_eof)"; ELSE; zootitle = "Foe of Friend"; END; %] - <A HREF="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]"><IMG BORDER=0 SRC="[% constants.imagedir %]/eof.gif" ALT="[% zootitle %]" TITLE="[% zootitle %]"></A> + <span class="zooicon"><a href="[% gSkin.rootdir %]/zoo.pl?op=check&uid=[% person %]"><img src="[% constants.imagedir %]/eof.gif" alt="[% zootitle %]" title="[% zootitle %]"></a></span> [% END %] [% END %] [% END %] __seclev__ 10000 __version__ -$Id: zoo_icons;misc;default,v 1.2 2004/12/31 12:37:18 oliver Exp $ +$Id: zoo_icons;misc;default,v 1.3 2006/07/12 11:42:07 sugi Exp $ Index: slashjp/plugins/Zoo/templates/zoohead;zoo;default diff -u slashjp/plugins/Zoo/templates/zoohead;zoo;default:1.2 slashjp/plugins/Zoo/templates/zoohead;zoo;default:1.3 --- slashjp/plugins/Zoo/templates/zoohead;zoo;default:1.2 Fri Dec 31 21:37:18 2004 +++ slashjp/plugins/Zoo/templates/zoohead;zoo;default Wed Jul 12 20:42:07 2006 @@ -14,50 +14,40 @@ __name__ zoohead __template__ -[% USE Slash %] <!-- zoohead page=[% page %] --> +[% orig_title = title %] +<div id="slashboxes"> +[% UNLESS user.lowbandwidth %] +[% PROCESS userboxes %] +[% END %] +</div> +<div id="users-blocks"> [% Slash.createMenu("users", { - tab_selected => tab_selected_1, - style => "tabbed", - justify => "right", - color => "colored", + tab_selected => tab_selected_1, + style => "tabbed", + justify => "right", + color => "colored", }) %] +[% title = orig_title %] [% PROCESS user_titlebar title=title tab_selected=tab_selected_2 %] +<div class="generalbody"> +[% IF errstr %] + [% errstr %]</div></div> +[% ELSE %] [% UNLESS page == 'relation' %] [% IF uid == user.uid && !user.is_anon %] - <TABLE BGCOLOR="[% user.colors.bg_5 %]" BORDER="0" WIDTH="100%" CELLPADDING="2" CELLSPACING="0"> - <TR> - <TD><FONT SIZE=-1> - [ <A HREF="[% gSkin.rootdir %]/my/friends/friends">Friends of Friends</A> | <A HREF="[% gSkin.rootdir %]/my/friends/foes">Foes of Friends</A> ] - </FONT> - </TD> - </TR> - </TABLE> + <ul class="menu"> + <li><a href="[% gSkin.rootdir %]/my/friends/friends" class="begin">Friends of Friends</a></li> + <li><a href="[% gSkin.rootdir %]/my/friends/foes">Foes of Friends</a></li> + </ul> [% ELSE %] - <TABLE BGCOLOR="[% user.colors.bg_5 %]" BORDER="0" WIDTH="100%" CELLPADDING="2" CELLSPACING="0"> - <TR> - <TD><FONT SIZE=-1> - [ <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/friends/friends">Friends of Friends</A> | <A HREF="[% gSkin.rootdir %]/~[% nickname | fixparam %]/friends/foes">Foes of Friends</A> ] - </FONT> - </TD> - </TR> - </TABLE> + <ul class="menu"> + <li><a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/friends/friends" class="begin">Friends of Friends</a></li> + <li><a href="[% gSkin.rootdir %]/~[% nickname | strip_paramattr %]/friends/foes">Foes of Friends</a></li> + </ul> [% END %] -[% END %] - -</TD> - -[% PROCESS maintable_td %] </TD> -[% PROCESS maintable_td mt_rowspan="2" mt_width=(constants.fancyboxwidth + 10) mt_height="1" mt_valign="TOP" %] -[% PROCESS userboxes %]</TD> - -</TR> - -[% PROCESS maintable_tr %] -[% PROCESS maintable_td %] </TD> -[% PROCESS maintable_td mt_colspan="1" mt_valign="TOP" %] - +[% END; END %] __seclev__ 500 __version__ -$Id: zoohead;zoo;default,v 1.2 2004/12/31 12:37:18 oliver Exp $ +$Id: zoohead;zoo;default,v 1.3 2006/07/12 11:42:07 sugi Exp $