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
|
||||
chars by default (RFE #1380255).
|
||||
* 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>
|
||||
* 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>
|
||||
</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"
|
||||
src="left.php<?php echo $url_query; ?>"
|
||||
name="frame_navigation" />
|
||||
<?php } ?>
|
||||
<frame frameborder="0" id="frame_content"
|
||||
src="<?php echo $main_target; ?>"
|
||||
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>
|
||||
<body>
|
||||
<p><?php echo $GLOBALS['strNoFrames']; ?></p>
|
||||
|
Reference in New Issue
Block a user