Changeset:
32ff03eb6c8e
https://sourceforge.net/p/mrbs/hg-code/ci/32ff03eb6c8e8e2f01ff5f9b45d3b5da4f6e0f50
Author:
Campbell Morrison <[email protected]>
Date:
Wed Mar 29 14:30:30 2017 +0100
Log message:
Removed redundant code
diffstat:
web/css/mrbs.css.php | 14 --------------
web/index.php | 25 -------------------------
2 files changed, 0 insertions(+), 39 deletions(-)
diffs (56 lines):
diff -r d3a7aa4883c9 -r 32ff03eb6c8e web/css/mrbs.css.php
--- a/web/css/mrbs.css.php Tue Mar 28 21:05:19 2017 +0100
+++ b/web/css/mrbs.css.php Wed Mar 29 14:30:30 2017 +0100
@@ -1479,17 +1479,3 @@
border-right: 0;
}
-nav.view {
- display: table;
- margin-top: 2em;
-}
-
-nav.view form {
- display: table-cell;
- width: 33.333%;
- padding: 0 0.5em;
-}
-
-nav.view input {
- width: 100%;
-}
diff -r d3a7aa4883c9 -r 32ff03eb6c8e web/index.php
--- a/web/index.php Tue Mar 28 21:05:19 2017 +0100
+++ b/web/index.php Wed Mar 29 14:30:30 2017 +0100
@@ -5,31 +5,6 @@
require_once "mincals.inc";
-function print_view_nav()
-{
- global $area, $year, $month, $day;
-
- echo "<nav class=\"view\">\n";
-
- $views = array('day', 'week', 'month');
-
- foreach ($views as $view)
- {
- $params = array('action' => this_page(),
- 'value' => $view,
- 'inputs' => array('view' => $view,
- 'area' => $area,
- 'year' => $year,
- 'month' => $month,
- 'day' => $day)
- );
- generate_button($params);
- }
-
- echo "</nav>\n";
-}
-
-
// Gets the booking interval (start first slot to end last slot)
// for a given view. Returns an array indexed by 'start' and 'end'.
function get_interval($view, $month, $day, $year)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits