This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form #f="ngForm" (ngSubmit)="saveDocument()"> | |
<!-- General info --> | |
<table class="document-modal__info-table"> | |
<thead> | |
<tr> | |
<th> | |
{{ 'general.general_info' | translate }} | |
</th> | |
<th class="text-right" colspan="2"> | |
<a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config/connect.php | |
config/bases/ | |
tmp/ | |
/IMG/ | |
local/ | |
.backup | |
.svn* | |
svn* | |
.htaccess |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Backup | |
*~ | |
# Fichier OSX | |
.DS_Store | |
.AppleDouble | |
.LSOverride | |
Icon | |
# Fichier de projet Sublime text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Placer le fichier spip.gitignore | |
wget https://gist.githubusercontent.com/phenix-factory/7134623/raw/edfa67dadab5956c292060404511bb14951a3b18/spip.gitignore -O .gitignore | |
# Placer le fichier spip.git-ftp-ignore | |
wget https://gist.githubusercontent.com/phenix-factory/92c90bad7955e0e8e69e/raw/a711f8c67f1698681516b2493c0420bfda8e78ed/spip.git-ftp-ignore -O .git-ftp-ignore | |
# Créer les répertoire que le spip_loader ne créer pas | |
mkdir plugins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Balise spip pour lire les constantes PHP proprement | |
function balise_LIRE_CONSTANTE_dist($p) { | |
$constante = interprete_argument_balise(1, $p); | |
$p->code = "constant($constante)"; | |
$p->interdire_scripts = false; | |
return $p; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul[ id="(#ENV{id})"][ class="(#ENV{class,nav-main})"] role="menu"> | |
[(#REM) Définir la class à utiliser pour EXPOSE ] | |
[(#SET{expose_class, #ENV{expose_class, on}})] | |
[(#SET{dropdown_class, #ENV{dropdown_class, dropdown}})] | |
[(#REM) Accueil du site ] | |
<li[ (#SI_PAGE{sommaire}|oui)class="#GET{expose_class}"]> | |
<a href="#URL_SITE_SPIP/" role="menuitem" [title="(#NOM_SITE_SPIP|attribut_html)"]> | |
<:zcore:accueil:> | |
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$size = filesize($file); | |
header('Content-Description: File Transfer'); | |
header('Content-Type: application/force-download'); | |
header('Content-Type: application/octet-stream'); | |
header('Content-Disposition: attachment; filename='.basename($file)); | |
header('Expires: 0'); | |
header('Cache-Control: must-revalidate'); | |
header('Pragma: public'); | |
header('Content-Length: '.$size); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* #CHERCHER_LOGO{objet, id_objet} | |
* Retrouver le logo d'un objet sans avoir à lancé tout le système de boucle. | |
* | |
* @param mixed $p | |
* @access public | |
* @return mixed | |
*/ | |
function balise_CHERCHER_LOGO_dist($p) { |
NewerOlder