Move navigation frame to right for rtl languages.
This commit is contained in:
@@ -9,6 +9,7 @@ $Source$
|
|||||||
* libraries/config.default.php, Documentation.html: Transliterate invalid
|
* libraries/config.default.php, Documentation.html: Transliterate invalid
|
||||||
chars by default (RFE #1380255).
|
chars by default (RFE #1380255).
|
||||||
* left.php: Resurrect database link in light frame (bug #1373804).
|
* left.php: Resurrect database link in light frame (bug #1373804).
|
||||||
|
* index.php: Move navigation frame to right for rtl languages.
|
||||||
|
|
||||||
2005-12-13 Michal Čihař <michal@cihar.com>
|
2005-12-13 Michal Čihař <michal@cihar.com>
|
||||||
* querywindow.php: Fix query history displaying (bug #1374639).
|
* querywindow.php: Fix query history displaying (bug #1374639).
|
||||||
|
17
index.php
17
index.php
@@ -138,13 +138,28 @@ header('Content-Type: text/html; charset=' . $GLOBALS['charset']);
|
|||||||
<script src="./js/querywindow.js" type="text/javascript" language="javascript">
|
<script src="./js/querywindow.js" type="text/javascript" language="javascript">
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<frameset cols="<?php echo $GLOBALS['cfg']['LeftWidth']; ?>,*" rows="*" id="mainFrameset">
|
<frameset cols="<?php
|
||||||
|
if ($GLOBALS['text_dir'] === 'rtl') {
|
||||||
|
echo '*,';
|
||||||
|
}
|
||||||
|
echo $GLOBALS['cfg']['LeftWidth'];
|
||||||
|
if ($GLOBALS['text_dir'] === 'ltr') {
|
||||||
|
echo ',*';
|
||||||
|
}
|
||||||
|
?>" rows="*" id="mainFrameset">
|
||||||
|
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
|
||||||
<frame frameborder="0" id="frame_navigation"
|
<frame frameborder="0" id="frame_navigation"
|
||||||
src="left.php<?php echo $url_query; ?>"
|
src="left.php<?php echo $url_query; ?>"
|
||||||
name="frame_navigation" />
|
name="frame_navigation" />
|
||||||
|
<?php } ?>
|
||||||
<frame frameborder="0" id="frame_content"
|
<frame frameborder="0" id="frame_content"
|
||||||
src="<?php echo $main_target; ?>"
|
src="<?php echo $main_target; ?>"
|
||||||
name="frame_content" />
|
name="frame_content" />
|
||||||
|
<?php if ($GLOBALS['text_dir'] === 'rtl') { ?>
|
||||||
|
<frame frameborder="0" id="frame_navigation"
|
||||||
|
src="left.php<?php echo $url_query; ?>"
|
||||||
|
name="frame_navigation" />
|
||||||
|
<?php } ?>
|
||||||
<noframes>
|
<noframes>
|
||||||
<body>
|
<body>
|
||||||
<p><?php echo $GLOBALS['strNoFrames']; ?></p>
|
<p><?php echo $GLOBALS['strNoFrames']; ?></p>
|
||||||
|
Reference in New Issue
Block a user