1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

add TEXTDIRECTION CSS in admin header

This commit is contained in:
marj
2009-10-29 00:30:40 +00:00
parent 11d17e9e33
commit a884188814

View File

@@ -9,9 +9,9 @@
* Admin Header
*
* $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
* $Revision: 1.47 $
* $Date: 2009-10-01 15:05:41 $
* $Author: secretr $
* $Revision: 1.48 $
* $Date: 2009-10-29 00:30:40 $
* $Author: marj_nl_fr $
*/
if (!defined('e107_INIT'))
@@ -357,9 +357,18 @@ if (function_exists('theme_head'))
echo theme_head();
}
// FIXME: TEXTDIRECTION compatibility CSS (marj?)
// TODO: probably better to externalise along with some other things above
// possibility to overwrite some CSS definition according to TEXTDIRECTION
// especially usefull for rtl.css
// see _blank theme for examples
if(defined('TEXTDIRECTION') && file_exists(e_FILE.'/'.strtolower(TEXTDIRECTION).'.css'))
{
echo '
<link rel="stylesheet" href="'.THEME_ABS.strtolower(TEXTDIRECTION).'.css" type="text/css" media="all" />';
}
//
// Unobtrusive JS, prevent 3rd party code overload
// FIXME: TEXTDIRECTION compatibility CSS (marj?)
//
require_once(e_FILE."/e_css.php");