Revision: 2088
http://mrbs.svn.sourceforge.net/mrbs/?rev=2088&view=rev
Author: cimorrison
Date: 2011-10-14 09:01:30 +0000 (Fri, 14 Oct 2011)
Log Message:
-----------
Switched doctype to HTML5, so that we can use the data- attribute to pass data
to JavaScript (amongst other reasons)
Modified Paths:
--------------
mrbs/branches/draggable_bookings/web/Themes/default/header.inc
mrbs/branches/draggable_bookings/web/internalconfig.inc.php
mrbs/branches/draggable_bookings/web/mincals.inc
mrbs/branches/draggable_bookings/web/session_cookie.inc
mrbs/branches/draggable_bookings/web/session_http.inc
mrbs/branches/draggable_bookings/web/session_php.inc
mrbs/branches/draggable_bookings/web/session_remote_user.inc
mrbs/branches/draggable_bookings/web/style.inc
Modified: mrbs/branches/draggable_bookings/web/Themes/default/header.inc
===================================================================
--- mrbs/branches/draggable_bookings/web/Themes/default/header.inc
2011-10-13 21:05:46 UTC (rev 2087)
+++ mrbs/branches/draggable_bookings/web/Themes/default/header.inc
2011-10-14 09:01:30 UTC (rev 2088)
@@ -110,6 +110,7 @@
<html>
<head>
+ <meta charset="<?php echo get_charset(); ?>">
<?php
require_once "style.inc";
?>
@@ -1409,6 +1410,15 @@
}
return false;
}
+
+
+ function getBookingParams(div)
+ {
+ var xStart = div.offset().left;
+ var xEnd = xStart + div.outerWidth();
+ var yStart = div.offset().top;
+ var yEnd = yStart + div.outerHeight();
+ }
<?php
@@ -1535,6 +1545,8 @@
$('div.outline').remove();
<?php // Remove the resizing wrapper so that highlighting comes
back on ?>
$('table.dwm_main').unwrap();
+
+
} <?php // divResizeStop ?>
Modified: mrbs/branches/draggable_bookings/web/internalconfig.inc.php
===================================================================
--- mrbs/branches/draggable_bookings/web/internalconfig.inc.php 2011-10-13
21:05:46 UTC (rev 2087)
+++ mrbs/branches/draggable_bookings/web/internalconfig.inc.php 2011-10-14
09:01:30 UTC (rev 2088)
@@ -84,7 +84,7 @@
* DOCTYPE - internal use, do not change
***************************************/
- define('DOCTYPE', '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">');
+ define('DOCTYPE', '<!DOCTYPE html>');
// Records which DOCTYPE is being used. Do not change - it will not change
the DOCTYPE
// that is used; it is merely used when the code needs to know the DOCTYPE,
for example
Modified: mrbs/branches/draggable_bookings/web/mincals.inc
===================================================================
--- mrbs/branches/draggable_bookings/web/mincals.inc 2011-10-13 21:05:46 UTC
(rev 2087)
+++ mrbs/branches/draggable_bookings/web/mincals.inc 2011-10-14 09:01:30 UTC
(rev 2088)
@@ -209,7 +209,7 @@
if ($mincals_week_numbers)
{
- $s .= "<td valign=\"middle\" class=\"mincals_week_number\">";
+ $s .= "<td class=\"mincals_week_number\">";
$link = $this->getDateLink($d, $this->month, $this->year, 'week');
$s .= "<a href=\"$link\">";
$s .= date("W",gmmktime (12, 0, 0, $this->month, $d, $this->year));
Modified: mrbs/branches/draggable_bookings/web/session_cookie.inc
===================================================================
--- mrbs/branches/draggable_bookings/web/session_cookie.inc 2011-10-13
21:05:46 UTC (rev 2087)
+++ mrbs/branches/draggable_bookings/web/session_cookie.inc 2011-10-14
09:01:30 UTC (rev 2088)
@@ -281,7 +281,7 @@
"areamatch=&roommatch=&namematch=&descrmatch=&summarize=1&".
"sortby=r&display=d&sumby=d&creatormatch=$user";
?>
- <a name="logonBox" href="<?php echo "$search_string\" title=\""
+ <a href="<?php echo "$search_string\" title=\""
. get_vocab('show_my_entries') . "\">
" . get_vocab('you_are')." "
. htmlspecialchars($user) ?>
@@ -300,7 +300,7 @@
else
{
?>
- <a name="logonBox" href=""><?php echo get_vocab('unknown_user'); ?></a>
+ <a href=""><?php echo get_vocab('unknown_user'); ?></a>
<form method="post" action="admin.php">
<div>
<input type="hidden" name="TargetURL" value="<?php echo
htmlspecialchars($TargetURL) ?>">
Modified: mrbs/branches/draggable_bookings/web/session_http.inc
===================================================================
--- mrbs/branches/draggable_bookings/web/session_http.inc 2011-10-13
21:05:46 UTC (rev 2087)
+++ mrbs/branches/draggable_bookings/web/session_http.inc 2011-10-14
09:01:30 UTC (rev 2088)
@@ -93,7 +93,7 @@
?>
- <a name="logonBox" href="<?php echo "$search_string\" title=\""
+ <a href="<?php echo "$search_string\" title=\""
. get_vocab('show_my_entries') . "\">" . get_vocab('you_are')." "
. htmlspecialchars($user) ?></a>
<?php
@@ -101,7 +101,7 @@
else
{
?>
- <a name="logonBox" href=""><?php echo get_vocab('unknown_user'); ?></a>
+ <a href=""><?php echo get_vocab('unknown_user'); ?></a>
<form method="post" action="admin.php">
<div>
<input type="hidden" name="TargetURL" value="<?php echo
htmlspecialchars($TargetURL) ?>">
Modified: mrbs/branches/draggable_bookings/web/session_php.inc
===================================================================
--- mrbs/branches/draggable_bookings/web/session_php.inc 2011-10-13
21:05:46 UTC (rev 2087)
+++ mrbs/branches/draggable_bookings/web/session_php.inc 2011-10-14
09:01:30 UTC (rev 2088)
@@ -236,7 +236,7 @@
"roommatch=&namematch=&descrmatch=&summarize=1&sortby=r&display=d&".
"sumby=d&creatormatch=".urlencode($user); ?>
- <a name="logonBox" href="<?php echo "$search_string\" title=\""
+ <a href="<?php echo "$search_string\" title=\""
. get_vocab('show_my_entries') . "\">" . get_vocab('you_are')." "
. htmlspecialchars($user) ?></a>
<form method="post" action="admin.php">
@@ -253,7 +253,7 @@
else
{
?>
- <a name="logonBox" href=""><?php echo
get_vocab('unknown_user'); ?></a>
+ <a href=""><?php echo get_vocab('unknown_user'); ?></a>
<form method="post" action="admin.php">
<div>
<input type="hidden" name="TargetURL" value="<?php echo
htmlspecialchars($TargetURL) ?>">
Modified: mrbs/branches/draggable_bookings/web/session_remote_user.inc
===================================================================
--- mrbs/branches/draggable_bookings/web/session_remote_user.inc
2011-10-13 21:05:46 UTC (rev 2087)
+++ mrbs/branches/draggable_bookings/web/session_remote_user.inc
2011-10-14 09:01:30 UTC (rev 2088)
@@ -68,7 +68,7 @@
"roommatch=&namematch=&descrmatch=&summarize=1&sortby=r&display=d&".
"sumby=d&creatormatch=$user"; ?>
- <a name="logonBox" href="<?php echo "$search_string\" title=\""
+ <a href="<?php echo "$search_string\" title=\""
. get_vocab('show_my_entries') . "\">" . get_vocab('you_are')." "
. htmlspecialchars($user) ?></a>
<?php
Modified: mrbs/branches/draggable_bookings/web/style.inc
===================================================================
--- mrbs/branches/draggable_bookings/web/style.inc 2011-10-13 21:05:46 UTC
(rev 2087)
+++ mrbs/branches/draggable_bookings/web/style.inc 2011-10-14 09:01:30 UTC
(rev 2088)
@@ -29,9 +29,6 @@
<link rel="stylesheet" href="mrbs-ielte6.css" type="text/css">
<![endif]-->
-
-
- <meta http-equiv="Content-Type" content="text/html; charset=<?php echo
get_charset(); ?>">
<meta name="robots" content="noindex">
<?php
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits