3 $sml_helper_out = $this->helper("mw_helper_sourceml_out");
6 ( $source["reference"] ?
8 ( "licence_name" => isset($source["reference"]["licence"]["nom"]) ? $source["reference"]["licence"]["nom"] : "",
9 "licence_url" => isset($source["reference"]["licence"]["url"]) ? $source["reference"]["licence"]["url"] : "",
10 "date_creation" => $source["reference"]["date_creation"],
11 "xml_url" => $source["reference"]["xml"]["url"]
15 ( isset($source["licence"]["id"]) && isset($this->out["licences"]["list"][$source["licence"]["id"]]) ?
16 $this->out["licences"]["list"][$source["licence"]["id"]]["nom"]
20 ( isset($source["licence"]["id"]) && isset($this->out["licences"]["list"][$source["licence"]["id"]]) ?
21 $this->out["licences"]["list"][$source["licence"]["id"]]["url"]
24 "date_creation" => $source["date_creation"],
25 "xml_url" => $data->source_xml_url($source["id"])
32 <?php if($metas["licence_name"] && $metas["licence_url"]) : ?>
33 <a href="<?php echo $metas["licence_url"] ?>"><?php echo $metas["licence_name"] ?></a>
36 <?php echo $sml_helper_out->aff_date($metas["date_creation"]) ?><br />
38 <a href="<?php echo $metas["xml_url"] ?>">url</a>
39 | <a id="show_xml_<?php echo $source["id"] ?>" href="<?php echo $this->url("content/sources/xml", array("id" => $source["id"])) ?>">voir</a>
40 <script type="text/javascript">set_show_xml_links(<?php echo $source["id"] ?>)</script>