[feladat @ 70]
Changed default TTL from 3600 to 86400.
Changed max number of records on a single screen from 500 to 50.
Added print of version number to footer.
--- a/inc/config-me.inc.php Wed Jun 13 13:32:39 2007 +0000
+++ b/inc/config-me.inc.php Mon Jun 25 19:56:50 2007 +0000
@@ -83,7 +83,7 @@
// $DEFAULT_TTL
// Default TTL for records.
// Default time to live for all records. This notation is in seconds.
-$DEFAULT_TTL = 3600; // (3600 seconds / 1 hour by default)
+$DEFAULT_TTL = 86400; // (3600 seconds / 1 hour by default)
// $NAME_LEVEL_X
--- a/inc/footer.inc.php Wed Jun 13 13:32:39 2007 +0000
+++ b/inc/footer.inc.php Mon Jun 25 19:56:50 2007 +0000
@@ -9,7 +9,7 @@
?>
</div> <!-- /content -->
<div class="footer">
- <strong>poweradmin</strong> version 1.4.0 - <a href="credits.php"><? echo _('credits'); ?></a>
+ <strong>poweradmin</strong> revision $LastChangedRevision: 70 $ (changed by $LastChangedBy: rejo $) - <a href="credits.php"><? echo _('credits'); ?></a>
</div>
<?
if(file_exists('inc/custom_footer.inc.php'))
--- a/inc/toolkit.inc.php Wed Jun 13 13:32:39 2007 +0000
+++ b/inc/toolkit.inc.php Mon Jun 25 19:56:50 2007 +0000
@@ -5,7 +5,7 @@
* Constants *
*************/
-define(ROWAMOUNT, 500);
+define(ROWAMOUNT, 50);
if (isset($_GET["start"])) {
define(ROWSTART, (($_GET["start"] - 1) * ROWAMOUNT));