Changeset 28600
- Timestamp:
- Jun 2, 2014, 9:57:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.class.php
r28587 r28600 593 593 /** 594 594 * "translate" variable modifier. 595 * Usage : 595 * Usage : 596 596 * - {'Comment'|translate} 597 597 * - {'%d comments'|translate:$count} … … 1102 1102 if (!empty($css)) 1103 1103 { 1104 $source = str_replace(" \n{get_combined_css}", "\n".implode( "\n", $css )."\n{get_combined_css}", $source);1104 $source = str_replace("{get_combined_css}", implode( "\n", $css )."\n{get_combined_css}", $source); 1105 1105 } 1106 1106 … … 1165 1165 } 1166 1166 $this->assign('PLUGIN_PICTURE_BUTTONS', $buttons); 1167 1167 1168 1168 // only for PHP 5.3 1169 1169 // $this->assign('PLUGIN_PICTURE_BUTTONS', … … 1190 1190 } 1191 1191 $this->assign('PLUGIN_INDEX_BUTTONS', $buttons); 1192 1192 1193 1193 // only for PHP 5.3 1194 1194 // $this->assign('PLUGIN_INDEX_BUTTONS', … … 1360 1360 /** @param int used to keep declaration order */ 1361 1361 private $counter; 1362 1362 1363 1363 function __construct() 1364 1364 { 1365 1365 $this->clear(); 1366 1366 } 1367 1367 1368 1368 function clear() 1369 1369 { … … 1371 1371 $this->counter = 0; 1372 1372 } 1373 1373 1374 1374 /** 1375 1375 * @return Combinable[] array of combined CSS. … … 1381 1381 return $combiner->combine(); 1382 1382 } 1383 1383 1384 1384 /** 1385 1385 * Callback for CSS files sorting. … … 1389 1389 return $a->order - $b->order; 1390 1390 } 1391 1391 1392 1392 /** 1393 1393 * Adds a new file, if a file with the same $id already exsists, the one with
Note: See TracChangeset
for help on using the changeset viewer.