updated jquery to version 1.11, updated themes frost and diabook where necessary

This commit is contained in:
hauke
2014-09-06 16:21:03 +02:00
parent 5f9845d235
commit 87fa2ee2af
24 changed files with 195 additions and 743 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ function update_community_content(&$a) {
header("Content-type: text/html");
echo "<!DOCTYPE html><html><body>\r\n";
echo (($_GET['msie'] == 1) ? '<div>' : '<section>');
echo "<section>";
$text = community_content($a,true);
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
@@ -26,7 +26,7 @@ function update_community_content(&$a) {
$text = preg_replace($pattern, $replace, $text);
echo str_replace("\t",' ',$text);
echo (($_GET['msie'] == 1) ? '</div>' : '</section>');
echo "</section>";
echo "</body></html>\r\n";
killme();
+2 -2
View File
@@ -11,7 +11,7 @@ function update_display_content(&$a) {
header("Content-type: text/html");
echo "<!DOCTYPE html><html><body>\r\n";
echo (($_GET['msie'] == 1) ? '<div>' : '<section>');
echo "<section>";
$text = display_content($a,$profile_uid);
@@ -31,7 +31,7 @@ function update_display_content(&$a) {
echo str_replace("\t",' ',$text);
echo (($_GET['msie'] == 1) ? '</div>' : '</section>');
echo "</section>";
echo "</body></html>\r\n";
killme();
+2 -2
View File
@@ -11,7 +11,7 @@ function update_network_content(&$a) {
header("Content-type: text/html");
echo "<!DOCTYPE html><html><body>\r\n";
echo (($_GET['msie'] == 1) ? '<div>' : '<section>');
echo "<section>";
if (!get_pconfig($profile_uid, "system", "no_auto_update") OR ($_GET['force'] == 1))
$text = network_content($a,$profile_uid);
@@ -34,7 +34,7 @@ function update_network_content(&$a) {
echo str_replace("\t",' ',$text);
echo (($_GET['msie'] == 1) ? '</div>' : '</section>');
echo "</section>";
echo "</body></html>\r\n";
killme();
+2 -6
View File
@@ -16,11 +16,7 @@ function update_notes_content(&$a) {
header("Content-type: text/html");
echo "<!DOCTYPE html><html><body>\r\n";
/**
* We can remove this hack once Internet Explorer recognises HTML5 natively
*/
echo (($_GET['msie'] == 1) ? '<div>' : '<section>');
echo "<section>";
/**
*
@@ -53,7 +49,7 @@ function update_notes_content(&$a) {
*/
echo str_replace("\t",' ',$text);
echo (($_GET['msie'] == 1) ? '</div>' : '</section>');
echo "</section>";
echo "</body></html>\r\n";
killme();
+2 -2
View File
@@ -20,7 +20,7 @@ function update_profile_content(&$a) {
* We can remove this hack once Internet Explorer recognises HTML5 natively
*/
echo (($_GET['msie'] == 1) ? '<div>' : '<section>');
echo "<section>";
/**
*
@@ -53,7 +53,7 @@ function update_profile_content(&$a) {
*/
echo str_replace("\t",' ',$text);
echo (($_GET['msie'] == 1) ? '</div>' : '</section>');
echo "</section>";
echo "</body></html>\r\n";
killme();