Exemplo n.º 1
0
function getLicense($imgType = 1)
{
    $license = "";
    $title = "";
    switch ($imgType) {
        case 1:
        case 2:
        case 3:
            $license .= "<br />";
            $license .= "<span>" . $_SESSION['Application_name'] . "</span> ";
            //$license .= "<convert>#label=507<convert> <a href=\"http://perso.apec.fr/clement_ronzon\" target=\"_blank\">".$_SESSION['Application_authors']."</a> "; //par
            $license .= "<convert>#label=508<convert> ";
            // est mis à disposition selon les termes de la"
            $license .= "<a href=\"http:/" . "/creativecommons.org/licenses/by-sa/3.0/deed." . strtolower($_SESSION['language']) . "\" target=\"_blank\"> <convert>#label=509<convert></a>";
            //licence Creative Commons Attribution - Partage dans les Mêmes Conditions 3.0 non transposé.</a>."
            break;
    }
    $title = $_SESSION['Application_name'];
    //$title .= " <convert>#label=507<convert> ".$_SESSION['Application_authors'];
    $title .= " <convert>#label=508<convert> <convert>#label=509<convert>";
    $license = getLicensePicture($imgType, $title) . $license;
    return $license;
}
Exemplo n.º 2
0
function getLicenseAlert()
{
    $alert = "<div class=\"notes\" style=\"margin:5px;\">";
    $alert .= " <convert>#label=486<convert>";
    $alert .= "</div>";
    $alert .= "<div class=\"new_content_license\">";
    $alert .= " <p><convert>#label=482<convert></p>";
    $alert .= " <p><convert>#label=483<convert></p>";
    $alert .= " <p><convert>#label=484<convert></p>";
    $alert .= " <p><convert>#label=509<convert> : " . getLicensePicture(1) . "</p>";
    $alert .= "</div>";
    return $alert;
}