mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
add TEXTDIRECTION CSS in admin header
This commit is contained in:
@@ -9,9 +9,9 @@
|
|||||||
* Admin Header
|
* Admin Header
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
|
||||||
* $Revision: 1.47 $
|
* $Revision: 1.48 $
|
||||||
* $Date: 2009-10-01 15:05:41 $
|
* $Date: 2009-10-29 00:30:40 $
|
||||||
* $Author: secretr $
|
* $Author: marj_nl_fr $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('e107_INIT'))
|
if (!defined('e107_INIT'))
|
||||||
@@ -357,9 +357,18 @@ if (function_exists('theme_head'))
|
|||||||
echo 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
|
// Unobtrusive JS, prevent 3rd party code overload
|
||||||
// FIXME: TEXTDIRECTION compatibility CSS (marj?)
|
|
||||||
//
|
//
|
||||||
require_once(e_FILE."/e_css.php");
|
require_once(e_FILE."/e_css.php");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user