Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Version 1.5.16 PUBLISHED

  • Loading branch information...
commit 45f5b25e6f599a5ed964801f0fe392a39bf79f60 1 parent 3ba03ba
@lwt-project authored
View
6 edit_archivedtexts.php
@@ -337,7 +337,7 @@
<?php echo $recno; ?> Text<?php echo ($recno==1?'':'s'); ?>
</th>
<th class="th1" colspan="2" nowrap="nowrap">
-<?php makePager ($currentpage, $pages, 'edit_archivedtexts.php', 'form1'); ?>
+<?php makePager ($currentpage, $pages, 'edit_archivedtexts.php', 'form1', 1); ?>
</th>
<th class="th1" nowrap="nowrap">
Sort Order:
@@ -397,13 +397,15 @@
</form>
<?php if( $pages > 1) { ?>
+<form name="form3" action="#">
<table class="tab1" cellspacing="0" cellpadding="5">
<tr>
<th class="th1" nowrap="nowrap">
<?php echo $recno; ?> Text<?php echo ($recno==1?'':'s'); ?>
</th><th class="th1" nowrap="nowrap">
-<?php makePager ($currentpage, $pages, 'edit_archivedtexts.php', 'form1'); ?>
+<?php makePager ($currentpage, $pages, 'edit_archivedtexts.php', 'form3', 2); ?>
</th></tr></table>
+</form>
<?php } ?>
<?php
View
6 edit_tags.php
@@ -240,7 +240,7 @@
<th class="th1" colspan="1" nowrap="nowrap">
<?php echo $recno; ?> Tag<?php echo ($recno==1?'':'s'); ?>
</th><th class="th1" colspan="2" nowrap="nowrap">
-<?php makePager ($currentpage, $pages, 'edit_tags.php', 'form1'); ?>
+<?php makePager ($currentpage, $pages, 'edit_tags.php', 'form1', 1); ?>
</th><th class="th1" nowrap="nowrap">
Sort Order:
<select name="sort" onchange="{val=document.form1.sort.options[document.form1.sort.selectedIndex].value; location.href='edit_tags.php?page=1&amp;sort=' + val;}"><?php echo get_tagsort_selectoptions($currentsort); ?></select>
@@ -305,13 +305,15 @@
</form>
<?php if( $pages > 1) { ?>
+<form name="form3" action="#">
<table class="tab1" cellspacing="0" cellpadding="5">
<tr>
<th class="th1" nowrap="nowrap">
<?php echo $recno; ?> Tag<?php echo ($recno==1?'':'s'); ?>
</th><th class="th1" nowrap="nowrap">
-<?php makePager ($currentpage, $pages, 'edit_tags.php', 'form1'); ?>
+<?php makePager ($currentpage, $pages, 'edit_tags.php', 'form3', 2); ?>
</th></tr></table>
+</form>
<?php } ?>
<?php
View
6 edit_texts.php
@@ -511,7 +511,7 @@
<th class="th1" colspan="1" nowrap="nowrap">
<?php echo $recno; ?> Text<?php echo ($recno==1?'':'s'); ?>
</th><th class="th1" colspan="2" nowrap="nowrap">
-<?php makePager ($currentpage, $pages, 'edit_texts.php', 'form1'); ?>
+<?php makePager ($currentpage, $pages, 'edit_texts.php', 'form1', 1); ?>
</th><th class="th1" colspan="1" nowrap="nowrap">
Sort Order:
<select name="sort" onchange="{val=document.form1.sort.options[document.form1.sort.selectedIndex].value; location.href='edit_texts.php?page=1&amp;sort=' + val;}"><?php echo get_textssort_selectoptions($currentsort); ?></select>
@@ -600,13 +600,15 @@
</form>
<?php if( $pages > 1) { ?>
+<form name="form3" action="#">
<table class="tab1" cellspacing="0" cellpadding="5">
<tr>
<th class="th1" nowrap="nowrap">
<?php echo $recno; ?> Text<?php echo ($recno==1?'':'s'); ?>
</th><th class="th1" nowrap="nowrap">
-<?php makePager ($currentpage, $pages, 'edit_texts.php', 'form1'); ?>
+<?php makePager ($currentpage, $pages, 'edit_texts.php', 'form3', 2); ?>
</th></tr></table>
+</form>
<?php
}
View
6 edit_texttags.php
@@ -243,7 +243,7 @@
<th class="th1" colspan="1" nowrap="nowrap">
<?php echo $recno; ?> Tag<?php echo ($recno==1?'':'s'); ?>
</th><th class="th1" colspan="2" nowrap="nowrap">
-<?php makePager ($currentpage, $pages, 'edit_texttags.php', 'form1'); ?>
+<?php makePager ($currentpage, $pages, 'edit_texttags.php', 'form1', 1); ?>
</th><th class="th1" nowrap="nowrap">
Sort Order:
<select name="sort" onchange="{val=document.form1.sort.options[document.form1.sort.selectedIndex].value; location.href='edit_texttags.php?page=1&amp;sort=' + val;}"><?php echo get_tagsort_selectoptions($currentsort); ?></select>
@@ -311,13 +311,15 @@
</form>
<?php if( $pages > 1) { ?>
+<form name="form3" action="#">
<table class="tab1" cellspacing="0" cellpadding="5">
<tr>
<th class="th1" nowrap="nowrap">
<?php echo $recno; ?> Tag<?php echo ($recno==1?'':'s'); ?>
</th><th class="th1" nowrap="nowrap">
-<?php makePager ($currentpage, $pages, 'edit_texttags.php', 'form1'); ?>
+<?php makePager ($currentpage, $pages, 'edit_texttags.php', 'form3', 2); ?>
</th></tr></table>
+</form>
<?php } ?>
<?php
View
7 edit_words.php
@@ -578,7 +578,7 @@
<th class="th1" nowrap="nowrap">
<?php echo $recno; ?> Term<?php echo ($recno==1?'':'s'); ?>
</th><th class="th1" colspan="2" nowrap="nowrap">
-<?php makePager ($currentpage, $pages, 'edit_words.php', 'form1'); ?>
+<?php makePager ($currentpage, $pages, 'edit_words.php', 'form1', 1); ?>
</th><th class="th1" nowrap="nowrap">
Sort Order:
<select name="sort" onchange="{val=document.form1.sort.options[document.form1.sort.selectedIndex].value; location.href='edit_words.php?page=1&amp;sort=' + val;}"><?php echo get_wordssort_selectoptions($currentsort); ?></select>
@@ -686,14 +686,15 @@
</script>
<?php if( $pages > 1) { ?>
+<form name="form3" action="#">
<table class="tab1" cellspacing="0" cellpadding="5">
<tr>
<th class="th1" nowrap="nowrap">
<?php echo $recno; ?> Term<?php echo ($recno==1?'':'s'); ?>
</th><th class="th1" nowrap="nowrap">
-<?php makePager ($currentpage, $pages, 'edit_words.php', 'form1'); ?>
+<?php makePager ($currentpage, $pages, 'edit_words.php', 'form3', 2); ?>
</th></tr></table>
-
+</form>
<?php } ?>
<?php
View
8 info.htm
@@ -223,7 +223,7 @@
<dd>
<ul>
- <li>The current version is <b>1.5.15 (December 17 2013)</b>.
+ <li>The current version is <b>1.5.16 (February 19 2014)</b>.
</li>
<li>
@@ -2462,6 +2462,12 @@
<dd>
<ul>
+ <li>1.5.16 (February 19 2014):</br />
+ Paging (via page select, and only at the bottom of a page) did not work correctly in all cases, has been corrected.<br />
+ Documentation updated.<br />
+ </br />
+ </li>
+
<li>1.5.15 (December 17 2013):</br />
Corrected wrong language code (French) within the language wizard definitions.<br />
Documentation updated.<br />
View
6 utilities.inc.php
@@ -39,7 +39,7 @@
function get_version() {
global $debug;
- return '1.5.15 (December 17 2013)' .
+ return '1.5.16 (February 19 2014)' .
($debug ? ' <span class="red">DEBUG</span>' : '');
}
@@ -1615,7 +1615,7 @@ function get_texts_selectoptions($lang,$v) {
// -------------------------------------------------------------
-function makePager ($currentpage, $pages, $script, $formname) {
+function makePager ($currentpage, $pages, $script, $formname, $inst) {
if ($currentpage > 1) {
?>
&nbsp; &nbsp;<a href="<?php echo $script; ?>?page=1"><img src="icn/control-stop-180.png" title="First Page" alt="First Page" /></a>&nbsp;
@@ -1633,7 +1633,7 @@ function makePager ($currentpage, $pages, $script, $formname) {
if ($pages==1) echo '1';
else {
?>
-<select name="page" onchange="{val=document.<?php echo $formname; ?>.page.options[document.<?php echo $formname; ?>.page.selectedIndex].value; location.href='<?php echo $script; ?>?page=' + val;}"><?php echo get_paging_selectoptions($currentpage, $pages); ?></select>
+<select name="page<?php echo $inst; ?>" onchange="{val=document.<?php echo $formname; ?>.page<?php echo $inst; ?>.options[document.<?php echo $formname; ?>.page<?php echo $inst; ?>.selectedIndex].value; location.href='<?php echo $script; ?>?page=' + val;}"><?php echo get_paging_selectoptions($currentpage, $pages); ?></select>
<?php
}
echo ' of ' . $pages . '&nbsp; ';
Please sign in to comment.
Something went wrong with that request. Please try again.