removed c-cruft, added <?WHO:RBIO("X")> for bio text and <?WHO:PIC> for user picture
authorthe_mgt <themgt@ueberserver.de>
Sun, 3 Jul 2011 02:23:04 +0000 (04:23 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 21:27:36 +0000 (21:27 +0000)
webcit/static/t/who/bio.html

index bd4d9e1bad88d5f62cd9726d7b459ce97fda8caa..bfb6d0a3b5aba834355a185b761f1469dea9c722 100644 (file)
@@ -5,23 +5,19 @@
        <h1><?_("User profile")></h1>
 </div>
 <div id="content" class="service">
-        <a href="display_page?recp=urlescputs(who);">
+        <a href="display_page?recp=<?WHO:NAME("U")>">
                <img src="static/webcit_icons/essen/16x16/chat.png" alt="">
                &nbsp;&nbsp;
-               <?_("Click here to send an instant message to %s")>
+               <?_("Click here to send an instant message to ")>
        </a>
        <div id="bio_page">
-               <?!("BIO:PIC", 1)>
+               <?WHO:PIC>
                        <div id="bio_pic">
-                                       <img src="image?name=_userpic_&parm=urlescputs(who);">                                               
+                                       <img src="image?name=_userpic_&parm=<?WHO:NAME("U")>">
                        </div>
                <?!("X", 1)>
-               <div id="bio_title"><h1>escputs(who);</h1></div>
+               <div id="bio_title"><h1><?WHO:NAME("X")></h1></div>
                <div id="bio_text">
-                       serv_printf("RBIO %s", who);
-                               serv_getln(buf, sizeof buf);
-                               if (buf[0] == '1') {
-                                       fmout("JUSTIFY
-                               }
+                       <?WHO:RBIO("X")>
                </div>
 </div>