-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.php
More file actions
72 lines (67 loc) · 3.76 KB
/
index.php
File metadata and controls
72 lines (67 loc) · 3.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
define('DIR_SITE', dirname(__FILE__));
include DIR_SITE . '/inc/header.php';
?>
<!doctype html>
<html lang="<?php echo $lang; ?>">
<head><?php include DIR_SITE . '/inc/tpl/head.php'; ?></head>
<body class="no-js">
<div id="main-container">
<div id="header">
<?php include DIR_SITE . '/inc/tpl/lang_menu.php'; ?>
<h1><?php echo TITRE_SITE . ' - ' . _(SLOGAN_SITE); ?></h1>
</div>
<form id="main-form" action="" method="post" enctype="multipart/form-data">
<?php include DIR_SITE . '/inc/tpl/text.php'; ?>
<?php include DIR_SITE . '/inc/tpl/errors.php'; ?>
<?php include DIR_SITE . '/inc/tpl/tabs.php'; ?>
<div id="options_block">
<div class="the_grid gri-4-3-3">
<fieldset>
<legend id="titre-formatage"><?php echo _('Formatage'); ?></legend>
<?php include DIR_SITE . '/inc/tpl/formulaire/distance_selecteurs.php'; ?>
<?php include DIR_SITE . '/inc/tpl/formulaire/type_indentation.php'; ?>
<?php include DIR_SITE . '/inc/tpl/formulaire/type_separateur.php'; ?>
<?php include DIR_SITE . '/inc/tpl/formulaire/colors_format.php'; ?>
<?php include DIR_SITE . '/inc/tpl/formulaire/hex_colors_format.php'; ?>
</fieldset>
<fieldset>
<legend id="titre-presentation"><?php echo _('Présentation'); ?></legend>
<?php include DIR_SITE . '/inc/tpl/formulaire/selecteurs_multiples_separes.php'; ?>
<?php include DIR_SITE . '/inc/tpl/formulaire/keep_empty_mediaqueries.php'; ?>
<?php include DIR_SITE . '/inc/tpl/formulaire/valeurs_multiples_separees.php'; ?>
<?php include DIR_SITE . '/inc/tpl/formulaire/supprimer_selecteurs_vides.php'; ?>
<?php include DIR_SITE . '/inc/tpl/formulaire/raccourcir_valeurs.php'; ?>
</fieldset>
<fieldset>
<legend><?php echo _('Options avancées'); ?></legend>
<?php include DIR_SITE . '/inc/tpl/formulaire/tout_compresse.php'; ?>
<?php include DIR_SITE . '/inc/tpl/formulaire/selecteur_par_ligne.php'; ?>
<?php include DIR_SITE . '/inc/tpl/formulaire/return_file.php'; ?>
<?php include DIR_SITE . '/inc/tpl/formulaire/add_header.php'; ?>
</fieldset>
</div>
</div>
<?php include DIR_SITE . '/inc/tpl/submit.php'; ?>
</form>
</div>
<div id="footer">
<?php $readme_suffix = (isset($_GET['lang']) && $_GET['lang'] == 'en') ? '_en' : ''; ?>
<a target="_blank" href="https://github.com/Darklg/CSSLisible/blob/master/README<?php echo $readme_suffix; ?>.md"><?php echo _('Documentation'); ?></a> -
<?php echo _('Source disponible sur'); ?>
<a target="_blank" href="http://github.com/darklg/CSSLisible">GitHub</a> -
<?php echo _('Contributeurs : '); ?>
<a target="_blank" href="http://github.com/Darklg">Darklg</a>,
<a target="_blank" href="http://github.com/NumEricR">NumEricR</a>
</div>
<?php
// Fichier conditionnel pour charger boutons like, google analytics, etc.
$hollow_file = realpath(DIR_SITE).'/inc/hollow-file.php';
if(file_exists($hollow_file)){
include $hollow_file;
}
?>
<script src="<?php echo URL_SITE; ?>js/ZeroClipboard.min.js?1363440036"></script>
<script src="<?php echo URL_SITE; ?>js/events.js?t=201208181531" type="text/javascript" charset="utf-8"></script>
</body>
</html>