.'" alt="x-face" />';
case "xorgid":
return "$_text".(preg_match("/[\w]+\.[\w\d]+/",$_text)?
- " [<a href=\"javascript:x()\" onclick=\"popWin('"
- .url("fiche.php")."?user=$_text')\">fiche</a>]":"");
+ " [<a href=\"".url("fiche.php")."?user=$_text\" class='popup2'>fiche</a>]":"");
default:
return htmlentities($_text);
}
fqdn = fqdn.replace(/^https?:\/\/([^\/]*)\/.*$/,'$1');
for(var i=0; i<nodes.length; i++) {
node = nodes[i];
- if(!node.href || node.className == 'xdx') continue;
+ if(!node.href || node.className == 'xdx' || node.href.indexOf('mailto:') > -1 ) continue;
if(node.href.indexOf(fqdn)<0 || node.className == 'popup') {
node.onclick = function () { window.open(this.href); return false; };
}
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: relance.php,v 1.3 2004-08-31 13:59:42 x2000habouzit Exp $
+ $Id: relance.php,v 1.4 2004-11-15 09:22:15 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
$res = $globals->db->query("SELECT e.date,e.promo,e.nom,e.prenom,e.matricule,e.email,e.username
FROM en_cours AS e
- LEFT JOIN auth_user_md5 AS a ON e.matricule=a.matricule
- WHERE a.nom IS null");
+ INNER JOIN auth_user_md5 AS a ON (e.matricule=a.matricule AND a.perms = 'non-inscrit')");
$sent = Array();
$sql = "SELECT e.date,e.relance,e.promo,e.nom,e.prenom,e.matricule
FROM en_cours AS e
- LEFT JOIN auth_user_md5 AS a ON e.matricule=a.matricule
- WHERE a.nom IS null
+ INNER JOIN auth_user_md5 AS a ON (e.matricule=a.matricule AND a.perms = 'non-inscrit')
ORDER BY date DESC";
$page ->mysql_assign($sql, 'relance','nb');