<?php
/***************************************************************************
- * Copyright (C) 2003-2007 Polytechnique.org *
+ * Copyright (C) 2003-2008 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
function applis_options($current=0) {
$html = '<option value="-1"></option>';
$res = XDB::iterator("select * from applis_def order by text");
- while ($arr_appli = $res->next()) {
+ while ($arr_appli = $res->next()) {
$html .= '<option value="'.$arr_appli["id"].'"';
if ($arr_appli["id"]==$current) $html .= " selected='selected'";
$html .= '>'.htmlspecialchars($arr_appli["text"])."</option>\n";
$txt .= $type;
if ($text != "Université") {
if ($txt) $txt .= ' ';
- if ($url)
+ if ($url)
$txt .= "<a href=\"$url\" onclick=\"return popup(this)\">$text</a>";
- else
+ else
$txt .= $text;
}
if (!$txt) {