コード例 #1
0
ファイル: lang.fr.php プロジェクト: nerdgeeksu/FssWebSite
// Inscription Modal
$lang['INSCRIPTION_MODAL_TITLE'] = toUtf('Inscription');
$lang['INSCRIPTION_MODAL_TIP'] = toUtf('Veuillez saisir vos identifiants d\'insctription');
$lang['INSCRIPTION_MODAL_USERNAME'] = toUtf('Nom d\'utilisateur');
$lang['INSCRIPTION_MODAL_EMAIL'] = toUtf('E-mail');
$lang['INSCRIPTION_MODAL_PASSWORD'] = toUtf('Mot de Passe');
$lang['INSCRIPTION_MODAL_SUBMIT'] = toUtf('S\'inscrire');
$lang['INSCRIPTION_MODAL_USERNAME_PLCH'] = toUtf('Votre Nom d\'utilisateur ...');
$lang['INSCRIPTION_MODAL_EMAIL_PLCH'] = toUtf('Votre E-mail ...');
$lang['INSCRIPTION_MODAL_PASSWORD_PLCH'] = toUtf('Votre Mot de Passe ...');
$lang[''] = toUtf('');
// Menu
$lang['MENU_HOME'] = toUtf('Accueil');
$lang['MENU_FORMATION'] = toUtf('Formations');
$lang['MENU_FORMATION_SM1'] = toUtf('Etudes Préparatoires');
//toHtml('Etudes Préparatoires');
$lang['MENU_FORMATION_SM2'] = toUtf('Master');
$lang['MENU_FORMATION_SM3'] = toUtf('Doctorat');
$lang['MENU_FORMATION_SM4'] = toUtf('Habilitation Universitaire');
$lang['MENU_DEPARTEMENTS'] = toUtf('Départements');
$lang['MENU_ECOLE_DOC'] = toUtf('Ecole Doctorale');
$lang['MENU_DOCUMENTS'] = toUtf('Documents');
$lang['MENU_RECHERCHE'] = toUtf('Chercher ...');
$lang['MENU_CONNEXION'] = toUtf('Se Connecter');
$lang['MENU_INSCRIPTION'] = toUtf('Inscription');
$lang['MENU_ESPACE'] = toUtf('Mon Espace');
$lang['MENU_PROFIL'] = toUtf('Voir Profil');
$lang['MENU_DECONNEXION'] = toUtf('Se Deconnecter');
$lang[''] = toUtf('');
//Footer
$lang['COPYRIGHT'] = utf8_encode('Copyright Heavenerd Inc 2015 Tous droits reservés');
コード例 #2
0
ファイル: update.php プロジェクト: Novo1987/mozilo2.0
function updateTemplate($dir)
{
    $content = file_get_contents($dir . 'template.html');
    $content = toUtf($content);
    $usesubmenu = "";
    if (!strstr($content, '<!-- usesubmenu = ') and file_exists($dir . 'layoutsettings.conf')) {
        $old = getTextConf($dir . 'layoutsettings.conf');
        if (isset($old['usesubmenu'])) {
            $usesubmenu = '<!-- usesubmenu = ' . $old['usesubmenu'] . ' -->' . "\n";
        } else {
            $usesubmenu = '<!-- usesubmenu = 0 -->' . "\n";
        }
        mo_unlink($dir . 'layoutsettings.conf');
    }
    $search = array(str_replace(BASE_DIR, "", $dir), 'layouts/{LAYOUT_DIR}', 'ISO-8859-1', 'iso-8859-1', '{CSS_FILE}', '{FAVICON_FILE}');
    $replace = array('{LAYOUT_DIR}', '{LAYOUT_DIR}', '{CHARSET}', '{CHARSET}', '{LAYOUT_DIR}/css/style.css', '{LAYOUT_DIR}/favicon.ico');
    $content = str_replace($search, $replace, $content);
    $content = toUtf($content);
    file_put_contents($dir . 'template.html', $usesubmenu . $content, LOCK_EX);
}