Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
alleditcss.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
5  * @package FDL
6 */
7 /**
8  * Edition to affect document
9  *
10  * @author Anakeen 2011
11  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
12  */
13 /**
14  * All edit css stylesheets in one single stylesheets
15  * @param Action &$action current action
16  */
18 {
19  $jurl = "WHAT/Layout";
20 
21  $static_css = array();
22  $dynamic_css = array();
23 
24  $jsCalendarCssFile = $action->getLayoutFile('calendar.css');
25  if ('' == $jsCalendarCssFile) {
26  $jsCalendarCssFile = sprintf("jscalendar/Layout/calendar-win2k-2.css");
27  $static_css[] = $jsCalendarCssFile;
28  } else {
29  $dynamic_css[] = $jsCalendarCssFile;
30  }
31 
32  $dynamic_css[] = "CORE/Layout/core.css";
33  $dynamic_css[] = "FDL/Layout/freedom.css";
34  $dynamic_css[] = "FDL/Layout/editdoc.css";
35  $dynamic_css[] = "FDL/Layout/autocompletion.css";
36  $dynamic_css[] = "FDL/Layout/popup.css";
37 
38  setHeaderCache("text/css");
39  $action->lay->template = "";
40 
41  RessourcePacker::pack_css($action, $static_css, $dynamic_css);
42 }
43 ?>
← centre documentaire © anakeen - published under CC License - Dynacase