"._("editions")." -> "._("om_logo"); // if (isset($f) && $f->isAccredited(array($obj, $obj."_copier"), "OR")) { // $href_copie = array( "lien" => "../app/valid_copie.php?obj=".$obj."&idx=", "id" => "", "lib" => ""._("Copier")."", ); // $href[3] = $href_copie; } else { // $href_copie = array("lien" => "", "id" => "", "lib" => ""); } /** * Options */ if ($_SESSION['niveau'] == '2') { $selection = ""; } else { $selection = " where (".$obj.".om_collectivite='".$_SESSION['collectivite']."' or niveau='2')"; $options = array(); $option = array( "type" => "condition", "field" => "om_collectivite.niveau", "case" => array( "0" => array( "values" => array('2', ), "style" => "tab_desactive", "href" => array( 0 => array("lien" => "", "id" => "", "lib" => ""), 1 => array("lien" => "", "id" => "", "lib" => ""), 2 => array("lien" => "", "id" => "", "lib" => ""), 3 => $href_copie, ), ), ), ); array_push($options, $option); } ?>