details + bugfix
authorx2000habouzit <x2000habouzit>
Fri, 29 Oct 2004 02:16:42 +0000 (02:16 +0000)
committerx2000habouzit <x2000habouzit>
Fri, 29 Oct 2004 02:16:42 +0000 (02:16 +0000)
include/xorg.plugin.inc.php
templates/include/trombi.tpl

index c7d0a09..d243fd8 100644 (file)
@@ -18,7 +18,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
- $Id: xorg.plugin.inc.php,v 1.2 2004-10-29 01:51:32 x2000habouzit Exp $
+ $Id: xorg.plugin.inc.php,v 1.3 2004-10-29 02:16:42 x2000habouzit Exp $
  ***************************************************************************/
 
 
@@ -51,7 +51,7 @@ class XOrgPlugin {
      */
     function make_url($params) {
        $get = Array();
-       $args = empty($params) ? Array() : $params;
+       $args = isset($params) ? $params : Array();
 
        if(!is_array($args)) {
            if(count($this->_get_vars)!=1) {
index 577410c..74f5987 100644 (file)
@@ -17,7 +17,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: trombi.tpl,v 1.2 2004-10-29 02:04:24 x2000habouzit Exp $
+        $Id: trombi.tpl,v 1.3 2004-10-29 02:16:43 x2000habouzit Exp $
  ***************************************************************************}
 
 {dynamic}
@@ -29,7 +29,9 @@
   <tr>
   {/if}
     <td class="center">
-      <img src="{"getphoto.php"|url}?x={$p.forlife}" width="110" alt=" [ PHOTO ] " />
+      <a href="javascript:x()" onclick="popWin('{"fiche.php"|url}?user={$p.forlife}')">
+        <img src="{"getphoto.php"|url}?x={$p.forlife}" width="110" alt=" [ PHOTO ] " />
+      </a>
       {if $trombi_admin && $smarty.session.perms eq 'admin'}
       <a href="{"admin/admin_trombino.php"|url}?uid={$p.user_id}">
         <img src="{"images/admin.png"}" alt="[admin]" title="[admin]" />