* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * */ /** * @file * @brief display the module, used to setup the module and menu, included from * Profile_Menu */ $http=new HttpInput(); ?>
post("dep","string", 0); foreach ($ap_module as $row): $js=""; $style=""; if ( $row['me_code']=='new_line') { echo ""; continue; } $style=($dep == $row['pm_id'])?" selectedcell":" tool "; $url="XX"; if ( $row['me_url']!='') { $url=$row['me_url']; } elseif ($row['me_javascript'] != '') { $url=$row['me_javascript']; } elseif ( $row['me_file'] != "") { $url=$row['me_file']; } else { $url=HtmlInput::anchor(_('Menu'),'', sprintf(" onclick = \" \$('menu_table').innerHTML='';display_sub_menu(%d,%d,%d,%d);menu_select('".$row['pm_id']."')\" ", Dossier::id(), $this->p_id, $row['pm_id'],0)); } ?>

p_id,'me',0) ,"xx",'smallbutton') ?>