Changeset 108925 in spip-zone
- Timestamp:
- Feb 12, 2018, 1:53:55 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_outils_/spip_loader/trunk/spip_loader.php
r107070 r108925 1150 1150 "<div class='info'><a href='" . _URL_SPIP_LOADER . "'>" 1151 1151 . _TT('tradloader:spip_loader_maj', array('version' => spip_loader_recupere_version())) 1152 . "</a></div>"; 1152 . "</a>" 1153 . "<div style='text-align:".$GLOBALS['spip_lang_right']."'>" 1154 . "<input type='submit' name='spip_loader_update' value='"._TT('tradloader:bouton_suivant_maj')."' />" 1155 . "</div></div>"; 1153 1156 } 1154 1157 … … 1252 1255 } else { 1253 1256 1257 //Update himself 1258 if (!empty($_REQUEST['spip_loader_update'])) { 1259 $spip_loader = recuperer_page(_URL_SPIP_LOADER); 1260 if (defined('_SPIP_LOADER_UPDATE_AUTEURS')) { 1261 $spip_loader = preg_replace( 1262 "/(define\(['\"]_SPIP_LOADER_UPDATE_AUTEURS['\"],).*/", 1263 "$1'"._SPIP_LOADER_UPDATE_AUTEURS."');", 1264 $spip_loader 1265 ); 1266 } 1267 ecrire_fichierT(_SPIP_LOADER_SCRIPT, $spip_loader); 1268 spip_redirige_boucle(_DIR_BASE._SPIP_LOADER_SCRIPT); 1269 } 1270 1254 1271 // y a tout ce qu'il faut pour que cela marche 1255 1272 $dest = '';
Note: See TracChangeset
for help on using the changeset viewer.