diff --git a/htdocs/includes/iphone/LICENSE.txt b/htdocs/includes/iphone/LICENSE.txt new file mode 100644 index 00000000000..c9d2a0d65bd --- /dev/null +++ b/htdocs/includes/iphone/LICENSE.txt @@ -0,0 +1,21 @@ +Copyright (c) 2007-2009, iUI Project Members + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + * Neither the name of the iUI Project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/htdocs/includes/iphone/NOTICE.txt b/htdocs/includes/iphone/NOTICE.txt new file mode 100644 index 00000000000..3a23f563b6a --- /dev/null +++ b/htdocs/includes/iphone/NOTICE.txt @@ -0,0 +1,33 @@ +NOTICE.txt - iUI credits and copyright notices + + iUI is Copyright (c) 2007-2009 by the iUI project members: + M. Sean Gilligan (msgilligan) + Past members: + Joe Hewitt (joehewitt) + Christopher Allen (ChristopherA) + +CREDITS + schlueter - committed fixes for issues #9, #11, #63 -- added samples + ??? - created iUI icon + kris.tate - named it "iUI", created Google Code project, initial checkin + others - let us know if we missed you + iUI users - thanks for your patience, feedback, and bug reports + +THIRD PARTY COMPONENTS + + * iUI includes software developed by the Mozilla Project + Copyright (c) 1997-2007, Netscape Communications Corporation and others. + All rights reserved. + http://www.mozilla.org/rhino/ + + * iUI includes software developed by the Dojo Foundation + http://dojotoolkit.org/docs/shrinksafe + + * iUI includes software developed by LCA Soft Ltd. + http://www.lcasoft.com/compress-js.html + + * iUI includes software developed by the ant-googlcode Project + http://code.google.com/p/ant-googlecode/ + + + diff --git a/htdocs/includes/iphone/README.txt b/htdocs/includes/iphone/README.txt new file mode 100644 index 00000000000..ffd22619638 --- /dev/null +++ b/htdocs/includes/iphone/README.txt @@ -0,0 +1,11 @@ +README.txt + + iUI is a JavaScript and CSS package for developing native-looking WebApps for the iPhone. + + To install and use iUI, follow the instructions on the iUI Project Wiki: + http://code.google.com/p/iui/wiki/Introduction + +See also + + NOTICE.txt - iUI credits and copyright notices + LICENSE.txt - iUI licensing terms diff --git a/htdocs/includes/iphone/iui/backButton.png b/htdocs/includes/iphone/iui/backButton.png new file mode 100644 index 00000000000..e27ea8cdf9a Binary files /dev/null and b/htdocs/includes/iphone/iui/backButton.png differ diff --git a/htdocs/includes/iphone/iui/blueButton.png b/htdocs/includes/iphone/iui/blueButton.png new file mode 100644 index 00000000000..0f92dfd945f Binary files /dev/null and b/htdocs/includes/iphone/iui/blueButton.png differ diff --git a/htdocs/includes/iphone/iui/cancel.png b/htdocs/includes/iphone/iui/cancel.png new file mode 100644 index 00000000000..5f6dcc87d7b Binary files /dev/null and b/htdocs/includes/iphone/iui/cancel.png differ diff --git a/htdocs/includes/iphone/iui/grayButton.png b/htdocs/includes/iphone/iui/grayButton.png new file mode 100644 index 00000000000..0ce6a30d4b5 Binary files /dev/null and b/htdocs/includes/iphone/iui/grayButton.png differ diff --git a/htdocs/includes/iphone/iui/iui-logo-touch-icon.png b/htdocs/includes/iphone/iui/iui-logo-touch-icon.png new file mode 100644 index 00000000000..8817b30228e Binary files /dev/null and b/htdocs/includes/iphone/iui/iui-logo-touch-icon.png differ diff --git a/htdocs/includes/iphone/iui/iui.css b/htdocs/includes/iphone/iui/iui.css new file mode 100644 index 00000000000..1b2c58433b8 --- /dev/null +++ b/htdocs/includes/iphone/iui/iui.css @@ -0,0 +1,396 @@ +/* iui.css (c) 2007-9 by iUI Project Members, see LICENSE.txt for license */ +body { + margin: 0; + font-family: Helvetica; + background: #FFFFFF; + color: #000000; + overflow-x: hidden; + -webkit-user-select: none; + -webkit-text-size-adjust: none; +} + +body > *:not(.toolbar) { + display: none; + position: absolute; + margin: 0; + padding: 0; + left: 0; + top: 45px; + width: 100%; + min-height: 372px; + -webkit-transition-duration: 300ms; + -webkit-transition-property: -webkit-transform; + -webkit-transform: translateX(0%); +} + +body[orient="landscape"] > *:not(.toolbar) { + min-height: 268px; +} + +body > *[selected="true"] { + display: block; +} + +a[selected], a:active { + background-color: #194fdb !important; + background-image: url(listArrowSel.png), url(selection.png) !important; + background-repeat: no-repeat, repeat-x; + background-position: right center, left top; + color: #FFFFFF !important; +} + +a[selected="progress"] { + background-image: url(loading.gif), url(selection.png) !important; +} + +/************************************************************************************************/ + +body > .toolbar { + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + border-bottom: 1px solid #2d3642; + border-top: 1px solid #6d84a2; + padding: 10px; + height: 45px; + background: url(toolbar.png) #6d84a2 repeat-x; +} + +.toolbar > h1 { + position: absolute; + overflow: hidden; + left: 50%; + margin: 1px 0 0 -75px; + height: 45px; + font-size: 20px; + width: 150px; + font-weight: bold; + text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; + text-align: center; + text-overflow: ellipsis; + white-space: nowrap; + color: #FFFFFF; +} + +body[orient="landscape"] > .toolbar > h1 { + margin-left: -125px; + width: 250px; +} + +.button { + position: absolute; + overflow: hidden; + top: 8px; + right: 6px; + margin: 0; + border-width: 0 5px; + padding: 0 3px; + width: auto; + height: 30px; + line-height: 30px; + font-family: inherit; + font-size: 12px; + font-weight: bold; + color: #FFFFFF; + text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0; + text-overflow: ellipsis; + text-decoration: none; + white-space: nowrap; + background: none; + -webkit-border-image: url(toolButton.png) 0 5 0 5; +} + +.blueButton { + -webkit-border-image: url(blueButton.png) 0 5 0 5; + border-width: 0 5px; +} + +.leftButton { + left: 6px; + right: auto; +} + +#backButton { + display: none; + left: 6px; + right: auto; + padding: 0; + max-width: 55px; + border-width: 0 8px 0 14px; + -webkit-border-image: url(backButton.png) 0 8 0 14; +} + +.whiteButton, +.redButton, +.grayButton { + display: block; + border-width: 0 12px; + padding: 10px; + text-align: center; + font-size: 20px; + font-weight: bold; + text-decoration: inherit; + color: inherit; +} + +.whiteButton { + -webkit-border-image: url(whiteButton.png) 0 12 0 12; + text-shadow: rgba(255, 255, 255, 0.7) 0 1px 0; +} + +.redButton { + -webkit-border-image: url(redButton.png) 0 12 0 12; + color:#fff; + text-shadow: #7a0001 0 -1px 0; +} + +.grayButton { + -webkit-border-image: url(grayButton.png) 0 12 0 12; + color: #FFFFFF; +} + +/************************************************************************************************/ + +body > ul > li { + position: relative; + margin: 0; + border-bottom: 1px solid #E0E0E0; + padding: 8px 0 8px 10px; + font-size: 20px; + font-weight: bold; + list-style: none; +} + +body > ul > li.group { + position: relative; + top: -1px; + margin-bottom: -2px; + border-top: 1px solid #7d7d7d; + border-bottom: 1px solid #999999; + padding: 1px 10px; + background: url(listGroup.png) repeat-x; + font-size: 17px; + font-weight: bold; + text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0; + color: #FFFFFF; +} + +body > ul > li.group:first-child { + top: 0; + border-top: none; +} + +body > ul > li > a { + display: block; + margin: -8px 0 -8px -10px; + padding: 8px 32px 8px 10px; + text-decoration: none; + color: inherit; + background: url(listArrow.png) no-repeat right center; +} + +a[target="_replace"] { + box-sizing: border-box; + -webkit-box-sizing: border-box; + padding-top: 25px; + padding-bottom: 25px; + font-size: 18px; + color: cornflowerblue; + background-color: #FFFFFF; + background-image: none; +} + +/************************************************************************************************/ + +body > .dialog { + top: 0; + width: 100%; + min-height: 417px; + z-index: 2; + background: rgba(0, 0, 0, 0.8); + padding: 0; + text-align: right; +} + +.dialog > fieldset { + box-sizing: border-box; + -webkit-box-sizing: border-box; + width: 100%; + margin: 0; + border: none; + border-top: 1px solid #6d84a2; + padding: 10px 6px; + background: url(toolbar.png) #7388a5 repeat-x; +} + +.dialog > fieldset > h1 { + margin: 0 10px 0 10px; + padding: 0; + font-size: 20px; + font-weight: bold; + color: #FFFFFF; + text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; + text-align: center; +} + +.dialog > fieldset > label { + position: absolute; + margin: 16px 0 0 6px; + font-size: 14px; + color: #999999; +} + +input:not(input[type|=radio]):not(input[type|=checkbox]) { + box-sizing: border-box; + -webkit-box-sizing: border-box; + width: 100%; + margin: 8px 0 0 0; + padding: 6px 6px 6px 44px; + font-size: 16px; + font-weight: normal; +} + +/************************************************************************************************/ + +body > .panel { + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + padding: 10px; + background: #c8c8c8 url(pinstripes.png); +} + +.panel > fieldset { + position: relative; + margin: 0 0 20px 0; + padding: 0; + background: #FFFFFF; + -webkit-border-radius: 10px; + -moz-border-radius: 10px; + border: 1px solid #999999; + text-align: right; + font-size: 16px; +} + +.row { + position: relative; + min-height: 42px; + border-bottom: 1px solid #999999; + -webkit-border-radius: 0; + text-align: right; +} + +fieldset > .row:last-child { + border-bottom: none !important; +} + +.row > input:not(input[type|=radio]):not(input[type|=checkbox]) { + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + margin: 0; + border: none; + padding: 12px 10px 0 110px; + height: 42px; + background: none; +} +.row > input[type|=radio], .row > input[type|=checkbox] { + margin: 7px 7px 0 0; + height: 25px; + width: 25px; +} + +.row > label { + position: absolute; + margin: 0 0 0 14px; + line-height: 42px; + font-weight: bold; +} + +.row > span { + position: absolute; + padding: 12px 10px 0 110px; + margin: 0; +} + +.row > .toggle { + position: absolute; + top: 6px; + right: 6px; + width: 100px; + height: 28px; +} + +.toggle { + border: 1px solid #888888; + -webkit-border-radius: 6px; + background: #FFFFFF url(toggle.png) repeat-x; + font-size: 19px; + font-weight: bold; + line-height: 30px; +} + +.toggle[toggled="true"] { + border: 1px solid #143fae; + background: #194fdb url(toggleOn.png) repeat-x; +} + +.toggleOn { + display: none; + position: absolute; + width: 60px; + text-align: center; + left: 0; + top: 0; + color: #FFFFFF; + text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; +} + +.toggleOff { + position: absolute; + width: 60px; + text-align: center; + right: 0; + top: 0; + color: #666666; +} + +.toggle[toggled="true"] > .toggleOn { + display: block; +} + +.toggle[toggled="true"] > .toggleOff { + display: none; +} + +.thumb { + position: absolute; + top: -1px; + left: -1px; + width: 40px; + height: 28px; + border: 1px solid #888888; + -webkit-border-radius: 6px; + background: #ffffff url(thumb.png) repeat-x; +} + +.toggle[toggled="true"] > .thumb { + left: auto; + right: -1px; +} + +.panel > h2 { + margin: 0 0 8px 14px; + font-size: inherit; + font-weight: bold; + color: #4d4d70; + text-shadow: rgba(255, 255, 255, 0.75) 2px 2px 0; +} + +/************************************************************************************************/ + +#preloader { + display: none; + background-image: url(loading.gif), url(selection.png), + url(blueButton.png), url(listArrowSel.png), url(listGroup.png); +} diff --git a/htdocs/includes/iphone/iui/iui.js b/htdocs/includes/iphone/iui/iui.js new file mode 100644 index 00000000000..40f7431c71b --- /dev/null +++ b/htdocs/includes/iphone/iui/iui.js @@ -0,0 +1,518 @@ +/* + Copyright (c) 2007-9, iUI Project Members + See LICENSE.txt for licensing terms + */ + + +(function() { + +var slideSpeed = 20; +var slideInterval = 0; + +var currentPage = null; +var currentDialog = null; +var currentWidth = 0; +var currentHash = location.hash; +var hashPrefix = "#_"; +var pageHistory = []; +var newPageCount = 0; +var checkTimer; +var hasOrientationEvent = false; +var portraitVal = "portrait"; +var landscapeVal = "landscape"; + +// ************************************************************************************************* + +window.iui = +{ + animOn: true, // Slide animation with CSS transition is now enabled by default where supported + + showPage: function(page, backwards) + { + if (page) + { + if (currentDialog) + { + currentDialog.removeAttribute("selected"); + currentDialog = null; + } + + if (hasClass(page, "dialog")) + showDialog(page); + else + { + var fromPage = currentPage; + currentPage = page; + + if (fromPage) + setTimeout(slidePages, 0, fromPage, page, backwards); + else + updatePage(page, fromPage); + } + } + }, + + showPageById: function(pageId) + { + var page = $(pageId); + if (page) + { + var index = pageHistory.indexOf(pageId); + var backwards = index != -1; + if (backwards) + pageHistory.splice(index, pageHistory.length); + + iui.showPage(page, backwards); + } + }, + + showPageByHref: function(href, args, method, replace, cb) + { + var req = new XMLHttpRequest(); + req.onerror = function() + { + if (cb) + cb(false); + }; + + req.onreadystatechange = function() + { + if (req.readyState == 4) + { + if (replace) + replaceElementWithSource(replace, req.responseText); + else + { + var frag = document.createElement("div"); + frag.innerHTML = req.responseText; + iui.insertPages(frag.childNodes); + } + if (cb) + setTimeout(cb, 1000, true); + } + }; + + if (args) + { + req.open(method || "GET", href, true); + req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); + req.setRequestHeader("Content-Length", args.length); + req.send(args.join("&")); + } + else + { + req.open(method || "GET", href, true); + req.send(null); + } + }, + + insertPages: function(nodes) + { + var targetPage; + for (var i = 0; i < nodes.length; ++i) + { + var child = nodes[i]; + if (child.nodeType == 1) + { + if (!child.id) + child.id = "__" + (++newPageCount) + "__"; + + var clone = $(child.id); + if (clone) + clone.parentNode.replaceChild(child, clone); + else + document.body.appendChild(child); + + if (child.getAttribute("selected") == "true" || !targetPage) + targetPage = child; + + --i; + } + } + + if (targetPage) + iui.showPage(targetPage); + }, + + getSelectedPage: function() + { + for (var child = document.body.firstChild; child; child = child.nextSibling) + { + if (child.nodeType == 1 && child.getAttribute("selected") == "true") + return child; + } + }, + isNativeUrl: function(href) + { + for(var i = 0; i < iui.nativeUrlPatterns.length; i++) + { + if(href.match(iui.nativeUrlPatterns[i])) return true; + } + return false; + }, + nativeUrlPatterns: [ + new RegExp("^http:\/\/maps.google.com\/maps\?"), + new RegExp("^mailto:"), + new RegExp("^tel:"), + new RegExp("^http:\/\/www.youtube.com\/watch\\?v="), + new RegExp("^http:\/\/www.youtube.com\/v\/"), + new RegExp("^javascript:"), + + ] +}; + +// ************************************************************************************************* + +addEventListener("load", function(event) +{ + var page = iui.getSelectedPage(); + var locPage = getPageFromLoc(); + + if (page) + iui.showPage(page); + + if (locPage && (locPage != page)) + iui.showPage(locPage); + + setTimeout(preloadImages, 0); + if (typeof window.onorientationchange == "object") + { + window.onorientationchange=orientChangeHandler; + hasOrientationEvent = true; + setTimeout(orientChangeHandler, 0); + } + setTimeout(checkOrientAndLocation, 0); + checkTimer = setInterval(checkOrientAndLocation, 300); +}, false); + +addEventListener("unload", function(event) +{ + return; +}, false); + +addEventListener("click", function(event) +{ + var link = findParent(event.target, "a"); + if (link) + { + function unselect() { link.removeAttribute("selected"); } + + if (link.href && link.hash && link.hash != "#" && !link.target) + { + link.setAttribute("selected", "true"); + iui.showPage($(link.hash.substr(1))); + setTimeout(unselect, 500); + } + else if (link == $("backButton")) + history.back(); + else if (link.getAttribute("type") == "submit") + { + var form = findParent(link, "form"); + if (form.target == "_self") + { + form.submit(); + return; // return so we don't preventDefault + } + submitForm(form); + } + else if (link.getAttribute("type") == "cancel") + cancelDialog(findParent(link, "form")); + else if (link.target == "_replace") + { + link.setAttribute("selected", "progress"); + iui.showPageByHref(link.href, null, null, link, unselect); + } + else if (iui.isNativeUrl(link.href)) + { + return; + } + else if (link.target == "_webapp") + { + location.href = link.href; + } + else if (!link.target) + { + link.setAttribute("selected", "progress"); + iui.showPageByHref(link.href, null, null, null, unselect); + } + else + return; + + event.preventDefault(); + } +}, true); + +addEventListener("click", function(event) +{ + var div = findParent(event.target, "div"); + if (div && hasClass(div, "toggle")) + { + div.setAttribute("toggled", div.getAttribute("toggled") != "true"); + event.preventDefault(); + } +}, true); + +function getPageFromLoc() +{ + var page; + var result = location.hash.match(/#_([^\?_]+)/); + if (result) + page = result[1]; + if (page) + page = $(page); + return page; +} + +function orientChangeHandler() +{ + var orientation=window.orientation; + switch(orientation) + { + case 0: + setOrientation(portraitVal); + break; + + case 90: + case -90: + setOrientation(landscapeVal); + break; + } +} + + +function checkOrientAndLocation() +{ + if (!hasOrientationEvent) + { + if (window.innerWidth != currentWidth) + { + currentWidth = window.innerWidth; + var orient = currentWidth == 320 ? portraitVal : landscapeVal; + setOrientation(orient); + } + } + + if (location.hash != currentHash) + { + var pageId = location.hash.substr(hashPrefix.length); + iui.showPageById(pageId); + } +} + +function setOrientation(orient) +{ + document.body.setAttribute("orient", orient); + setTimeout(scrollTo, 100, 0, 1); +} + +function showDialog(page) +{ + currentDialog = page; + page.setAttribute("selected", "true"); + + if (hasClass(page, "dialog") && !page.target) + showForm(page); +} + +function showForm(form) +{ + form.onsubmit = function(event) + { + event.preventDefault(); + submitForm(form); + }; + + form.onclick = function(event) + { + if (event.target == form && hasClass(form, "dialog")) + cancelDialog(form); + }; +} + +function cancelDialog(form) +{ + form.removeAttribute("selected"); +} + +function updatePage(page, fromPage) +{ + if (!page.id) + page.id = "__" + (++newPageCount) + "__"; + + location.hash = currentHash = hashPrefix + page.id; + pageHistory.push(page.id); + + var pageTitle = $("pageTitle"); + if (page.title) + pageTitle.innerHTML = page.title; + + if (page.localName.toLowerCase() == "form" && !page.target) + showForm(page); + + var backButton = $("backButton"); + if (backButton) + { + var prevPage = $(pageHistory[pageHistory.length-2]); + if (prevPage && !page.getAttribute("hideBackButton")) + { + backButton.style.display = "inline"; + backButton.innerHTML = prevPage.title ? prevPage.title : "Back"; + } + else + backButton.style.display = "none"; + } +} + +function slidePages(fromPage, toPage, backwards) +{ + var axis = (backwards ? fromPage : toPage).getAttribute("axis"); + + clearInterval(checkTimer); + + if (canDoSlideAnim() && axis != 'y') + { + slide2(fromPage, toPage, backwards, slideDone); + } + else + { + slide1(fromPage, toPage, backwards, axis, slideDone); + } + + function slideDone() + { + if (!hasClass(toPage, "dialog")) + fromPage.removeAttribute("selected"); + checkTimer = setInterval(checkOrientAndLocation, 300); + setTimeout(updatePage, 0, toPage, fromPage); + fromPage.removeEventListener('webkitTransitionEnd', slideDone, false); + } +} + +function canDoSlideAnim() +{ + return (iui.animOn) && (typeof WebKitCSSMatrix == "object"); +} + +function slide1(fromPage, toPage, backwards, axis, cb) +{ + if (axis == "y") + (backwards ? fromPage : toPage).style.top = "100%"; + else + toPage.style.left = "100%"; + + scrollTo(0, 1); + toPage.setAttribute("selected", "true"); + var percent = 100; + slide(); + var timer = setInterval(slide, slideInterval); + + function slide() + { + percent -= slideSpeed; + if (percent <= 0) + { + percent = 0; + clearInterval(timer); + cb(); + } + + if (axis == "y") + { + backwards + ? fromPage.style.top = (100-percent) + "%" + : toPage.style.top = percent + "%"; + } + else + { + fromPage.style.left = (backwards ? (100-percent) : (percent-100)) + "%"; + toPage.style.left = (backwards ? -percent : percent) + "%"; + } + } +} + + +function slide2(fromPage, toPage, backwards, cb) +{ + toPage.style.webkitTransitionDuration = '0ms'; // Turn off transitions to set toPage start offset + // fromStart is always 0% and toEnd is always 0% + // iPhone won't take % width on toPage + var toStart = 'translateX(' + (backwards ? '-' : '') + window.innerWidth + 'px)'; + var fromEnd = 'translateX(' + (backwards ? '100%' : '-100%') + ')'; + toPage.style.webkitTransform = toStart; + toPage.setAttribute("selected", "true"); + toPage.style.webkitTransitionDuration = ''; // Turn transitions back on + function startTrans() + { + fromPage.style.webkitTransform = fromEnd; + toPage.style.webkitTransform = 'translateX(0%)'; //toEnd + } + fromPage.addEventListener('webkitTransitionEnd', cb, false); + setTimeout(startTrans, 0); +} + +function preloadImages() +{ + var preloader = document.createElement("div"); + preloader.id = "preloader"; + document.body.appendChild(preloader); +} + +function submitForm(form) +{ + iui.showPageByHref(form.action || "POST", encodeForm(form), form.method); +} + +function encodeForm(form) +{ + function encode(inputs) + { + for (var i = 0; i < inputs.length; ++i) + { + if (inputs[i].name) + args.push(inputs[i].name + "=" + escape(inputs[i].value)); + } + } + + var args = []; + encode(form.getElementsByTagName("input")); + encode(form.getElementsByTagName("textarea")); + encode(form.getElementsByTagName("select")); + return args; +} + +function findParent(node, localName) +{ + while (node && (node.nodeType != 1 || node.localName.toLowerCase() != localName)) + node = node.parentNode; + return node; +} + +function hasClass(self, name) +{ + var re = new RegExp("(^|\\s)"+name+"($|\\s)"); + return re.exec(self.getAttribute("class")) != null; +} + +function replaceElementWithSource(replace, source) +{ + var page = replace.parentNode; + var parent = replace; + while (page.parentNode != document.body) + { + page = page.parentNode; + parent = parent.parentNode; + } + + var frag = document.createElement(parent.localName); + frag.innerHTML = source; + + page.removeChild(parent); + + while (frag.firstChild) + page.appendChild(frag.firstChild); +} + +function $(id) { return document.getElementById(id); } +function ddd() { console.log.apply(console, arguments); } + +})(); diff --git a/htdocs/includes/iphone/iui/iuix.css b/htdocs/includes/iphone/iui/iuix.css new file mode 100644 index 00000000000..1df7e8a000f --- /dev/null +++ b/htdocs/includes/iphone/iui/iuix.css @@ -0,0 +1 @@ +body{margin:0;font-family:Helvetica;background:#FFF;color:#000;overflow-x:hidden;-webkit-user-select:none;-webkit-text-size-adjust:none;}body>*:not(.toolbar){display:none;position:absolute;margin:0;padding:0;left:0;top:45px;width:100%;min-height:372px;-webkit-transition-duration:300ms;-webkit-transition-property:-webkit-transform;-webkit-transform:translateX(0%);}body[orient="landscape"]>*:not(.toolbar){min-height:268px;}body>*[selected="true"]{display:block;}a[selected],a:active{background-color:#194fdb!important;background-image:url(listArrowSel.png),url(selection.png)!important;background-repeat:no-repeat,repeat-x;background-position:right center,left top;color:#FFF!important;}a[selected="progress"]{background-image:url(loading.gif),url(selection.png)!important;}body>.toolbar{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;border-bottom:1px solid #2d3642;border-top:1px solid #6d84a2;padding:10px;height:45px;background:url(toolbar.png) #6d84a2 repeat-x;}.toolbar>h1{position:absolute;overflow:hidden;left:50%;margin:1px 0 0 -75px;height:45px;font-size:20px;width:150px;font-weight:bold;text-shadow:rgba(0,0,0,0.4) 0 -1px 0;text-align:center;text-overflow:ellipsis;white-space:nowrap;color:#FFF;}body[orient="landscape"]>.toolbar>h1{margin-left:-125px;width:250px;}.button{position:absolute;overflow:hidden;top:8px;right:6px;margin:0;border-width:0 5px;padding:0 3px;width:auto;height:30px;line-height:30px;font-family:inherit;font-size:12px;font-weight:bold;color:#FFF;text-shadow:rgba(0,0,0,0.6) 0 -1px 0;text-overflow:ellipsis;text-decoration:none;white-space:nowrap;background:none;-webkit-border-image:url(toolButton.png) 0 5 0 5;}.blueButton{-webkit-border-image:url(blueButton.png) 0 5 0 5;border-width:0 5px;}.leftButton{left:6px;right:auto;}#backButton{display:none;left:6px;right:auto;padding:0;max-width:55px;border-width:0 8px 0 14px;-webkit-border-image:url(backButton.png) 0 8 0 14;}.whiteButton,.redButton,.grayButton{display:block;border-width:0 12px;padding:10px;text-align:center;font-size:20px;font-weight:bold;text-decoration:inherit;color:inherit;}.whiteButton{-webkit-border-image:url(whiteButton.png) 0 12 0 12;text-shadow:rgba(255,255,255,0.7) 0 1px 0;}.redButton{-webkit-border-image:url(redButton.png) 0 12 0 12;color:#fff;text-shadow:#7a0001 0 -1px 0;}.grayButton{-webkit-border-image:url(grayButton.png) 0 12 0 12;color:#FFF;}body>ul>li{position:relative;margin:0;border-bottom:1px solid #E0E0E0;padding:8px 0 8px 10px;font-size:20px;font-weight:bold;list-style:none;}body>ul>li.group{position:relative;top:-1px;margin-bottom:-2px;border-top:1px solid #7d7d7d;border-bottom:1px solid #999;padding:1px 10px;background:url(listGroup.png) repeat-x;font-size:17px;font-weight:bold;text-shadow:rgba(0,0,0,0.4) 0 1px 0;color:#FFF;}body>ul>li.group:first-child{top:0;border-top:none;}body>ul>li>a{display:block;margin:-8px 0 -8px -10px;padding:8px 32px 8px 10px;text-decoration:none;color:inherit;background:url(listArrow.png) no-repeat right center;}a[target="_replace"]{box-sizing:border-box;-webkit-box-sizing:border-box;padding-top:25px;padding-bottom:25px;font-size:18px;color:cornflowerblue;background-color:#FFF;background-image:none;}body>.dialog{top:0;width:100%;min-height:417px;z-index:2;background:rgba(0,0,0,0.8);padding:0;text-align:right;}.dialog>fieldset{box-sizing:border-box;-webkit-box-sizing:border-box;width:100%;margin:0;border:none;border-top:1px solid #6d84a2;padding:10px 6px;background:url(toolbar.png) #7388a5 repeat-x;}.dialog>fieldset>h1{margin:0 10px 0 10px;padding:0;font-size:20px;font-weight:bold;color:#FFF;text-shadow:rgba(0,0,0,0.4) 0 -1px 0;text-align:center;}.dialog>fieldset>label{position:absolute;margin:16px 0 0 6px;font-size:14px;color:#999;}input:not(input[type|=radio]):not(input[type|=checkbox]){box-sizing:border-box;-webkit-box-sizing:border-box;width:100%;margin:8px 0 0 0;padding:6px 6px 6px 44px;font-size:16px;font-weight:normal;}body>.panel{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:10px;background:#c8c8c8 url(pinstripes.png);}.panel>fieldset{position:relative;margin:0 0 20px 0;padding:0;background:#FFF;-webkit-border-radius:10px;-moz-border-radius:10px;border:1px solid #999;text-align:right;font-size:16px;}.row{position:relative;min-height:42px;border-bottom:1px solid #999;-webkit-border-radius:0;text-align:right;}fieldset>.row:last-child{border-bottom:none!important;}.row>input:not(input[type|=radio]):not(input[type|=checkbox]){box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;margin:0;border:none;padding:12px 10px 0 110px;height:42px;background:none;}.row>input[type|=radio],.row>input[type|=checkbox]{margin:7px 7px 0 0;height:25px;width:25px;}.row>label{position:absolute;margin:0 0 0 14px;line-height:42px;font-weight:bold;}.row>span{position:absolute;padding:12px 10px 0 110px;margin:0;}.row>.toggle{position:absolute;top:6px;right:6px;width:100px;height:28px;}.toggle{border:1px solid #888;-webkit-border-radius:6px;background:#FFF url(toggle.png) repeat-x;font-size:19px;font-weight:bold;line-height:30px;}.toggle[toggled="true"]{border:1px solid #143fae;background:#194fdb url(toggleOn.png) repeat-x;}.toggleOn{display:none;position:absolute;width:60px;text-align:center;left:0;top:0;color:#FFF;text-shadow:rgba(0,0,0,0.4) 0 -1px 0;}.toggleOff{position:absolute;width:60px;text-align:center;right:0;top:0;color:#666;}.toggle[toggled="true"]>.toggleOn{display:block;}.toggle[toggled="true"]>.toggleOff{display:none;}.thumb{position:absolute;top:-1px;left:-1px;width:40px;height:28px;border:1px solid #888;-webkit-border-radius:6px;background:#fff url(thumb.png) repeat-x;}.toggle[toggled="true"]>.thumb{left:auto;right:-1px;}.panel>h2{margin:0 0 8px 14px;font-size:inherit;font-weight:bold;color:#4d4d70;text-shadow:rgba(255,255,255,0.75) 2px 2px 0;}#preloader{display:none;background-image:url(loading.gif),url(selection.png),url(blueButton.png),url(listArrowSel.png),url(listGroup.png);} \ No newline at end of file diff --git a/htdocs/includes/iphone/iui/iuix.js b/htdocs/includes/iphone/iui/iuix.js new file mode 100644 index 00000000000..09d2eb99312 --- /dev/null +++ b/htdocs/includes/iphone/iui/iuix.js @@ -0,0 +1 @@ +(function(){var _1=20;var _2=0;var _3=null;var _4=null;var _5=0;var _6=location.hash;var _7="#_";var _8=[];var _9=0;var _a;var _b=false;var _c="portrait";var _d="landscape";window.iui={animOn:true,showPage:function(_e,_f){if(_e){if(_4){_4.removeAttribute("selected");_4=null;}if(hasClass(_e,"dialog")){showDialog(_e);}else{var _10=_3;_3=_e;if(_10){setTimeout(slidePages,0,_10,_e,_f);}else{updatePage(_e,_10);}}}},showPageById:function(_11){var _12=$(_11);if(_12){var _13=_8.indexOf(_11);var _14=_13!=-1;if(_14){_8.splice(_13,_8.length);}iui.showPage(_12,_14);}},showPageByHref:function(_15,_16,_17,_18,cb){var req=new XMLHttpRequest();req.onerror=function(){if(cb){cb(false);}};req.onreadystatechange=function(){if(req.readyState==4){if(_18){replaceElementWithSource(_18,req.responseText);}else{var _1b=document.createElement("div");_1b.innerHTML=req.responseText;iui.insertPages(_1b.childNodes);}if(cb){setTimeout(cb,1000,true);}}};if(_16){req.open(_17||"GET",_15,true);req.setRequestHeader("Content-Type","application/x-www-form-urlencoded");req.setRequestHeader("Content-Length",_16.length);req.send(_16.join("&"));}else{req.open(_17||"GET",_15,true);req.send(null);}},insertPages:function(_1c){var _1d;for(var i=0;i<_1c.length;++i){var _1f=_1c[i];if(_1f.nodeType==1){if(!_1f.id){_1f.id="__"+(++_9)+"__";}var _20=$(_1f.id);if(_20){_20.parentNode.replaceChild(_1f,_20);}else{document.body.appendChild(_1f);}if(_1f.getAttribute("selected")=="true"||!_1d){_1d=_1f;}--i;}}if(_1d){iui.showPage(_1d);}},getSelectedPage:function(){for(var _21=document.body.firstChild;_21;_21=_21.nextSibling){if(_21.nodeType==1&&_21.getAttribute("selected")=="true"){return _21;}}},isNativeUrl:function(_22){for(var i=0;i to cancel dialogs +* Added leftButton class for placing toolbar buttons on the left +* Added whiteButton and grayButton styles for large dialog buttons +* Support axis="y" to animate pages in vertically + diff --git a/htdocs/includes/iphone/samples/digg/10_Alternatives_to_iTunes_for_managing_your_iPod.html b/htdocs/includes/iphone/samples/digg/10_Alternatives_to_iTunes_for_managing_your_iPod.html new file mode 100644 index 00000000000..8454b54f616 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/10_Alternatives_to_iTunes_for_managing_your_iPod.html @@ -0,0 +1,5 @@ + +
+

10 Alternatives to iTunes for managing your iPod

+

This overview details the features (with screenshots) of 10 different programs other than iTunes to manage your iPod. Tutorials are included for every program, and they’re all either free or Open Source.

+
diff --git a/htdocs/includes/iphone/samples/digg/23_Year_Old_Mark_Zuckerberg_Has_Google_Sweating_2.html b/htdocs/includes/iphone/samples/digg/23_Year_Old_Mark_Zuckerberg_Has_Google_Sweating_2.html new file mode 100644 index 00000000000..39ffff14645 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/23_Year_Old_Mark_Zuckerberg_Has_Google_Sweating_2.html @@ -0,0 +1,5 @@ + +
+

23-Year-Old Mark Zuckerberg Has Google Sweating

+

What's the only company that scares Google? Facebook. Just as Google has become what some people call the operating system for search, Facebook is turning itself into the operating system for social networking.

+
diff --git a/htdocs/includes/iphone/samples/digg/6th_Generation_iPod_Coming_January_2008.html b/htdocs/includes/iphone/samples/digg/6th_Generation_iPod_Coming_January_2008.html new file mode 100644 index 00000000000..8c469c52df7 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/6th_Generation_iPod_Coming_January_2008.html @@ -0,0 +1,5 @@ + +
+

6th Generation iPod Coming January 2008!

+

I mean, January is Macworld. From the looks of it, the iPhone will continue to be Apple's mobile all-in-one handheld, while the iPod will move toward being a portable media powerhouse, with larger drive capacity, bigger and better screens, though lacking the iPhone's net capabilities.

+
diff --git a/htdocs/includes/iphone/samples/digg/A_letter_from_Ron_Paul_to_his_supporters.html b/htdocs/includes/iphone/samples/digg/A_letter_from_Ron_Paul_to_his_supporters.html new file mode 100644 index 00000000000..c03cbbe1276 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/A_letter_from_Ron_Paul_to_his_supporters.html @@ -0,0 +1,5 @@ + +
+

A letter from Ron Paul to his supporters

+

This is an email from Ron Paul to his supporters. Looks like things are going pretty well in the Ron Paul campaign.

+
diff --git a/htdocs/includes/iphone/samples/digg/Anti_DRM_T_Shirt_Design_Contest_The_Winners_areh.html b/htdocs/includes/iphone/samples/digg/Anti_DRM_T_Shirt_Design_Contest_The_Winners_areh.html new file mode 100644 index 00000000000..31c2d3f3f40 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Anti_DRM_T_Shirt_Design_Contest_The_Winners_areh.html @@ -0,0 +1,5 @@ + +
+

Anti-DRM T-Shirt Design Contest: The Winners are…

+

The contest turned out to be a great success. Nearly 50 designs were submitted and over 10,000 people picked their favorite during the voting round last month.We’re happy to (finally) announce the winning designs...

+
diff --git a/htdocs/includes/iphone/samples/digg/Baby_Mammoth_Discovery_Unveiled_2.html b/htdocs/includes/iphone/samples/digg/Baby_Mammoth_Discovery_Unveiled_2.html new file mode 100644 index 00000000000..3ee547c9be3 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Baby_Mammoth_Discovery_Unveiled_2.html @@ -0,0 +1,5 @@ + +
+

Baby Mammoth Discovery Unveiled

+

A Baby Mammoth Unearthed In The Permafrost Of North-west Siberia Could Be The Best Preserved Specimen Of Its Type, Scientists Have Said.

+
diff --git a/htdocs/includes/iphone/samples/digg/Baseball_Agent_sentenced_to_5_years_in_prison_for_smuggling_Cubans_to_USA.html b/htdocs/includes/iphone/samples/digg/Baseball_Agent_sentenced_to_5_years_in_prison_for_smuggling_Cubans_to_USA.html new file mode 100644 index 00000000000..3db8b00e4ff --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Baseball_Agent_sentenced_to_5_years_in_prison_for_smuggling_Cubans_to_USA.html @@ -0,0 +1,5 @@ + +
+

Baseball Agent sentenced to 5 years in prison for smuggling Cubans to USA

+

A federal judge sentenced U.S. sports agent Gustavo "Gus" Dominguez to five years in prison on Monday for smuggling potential Major League Baseball players out of Cuba. Dominguez was convicted in April of smuggling five prospects out of Cuba to the Florida Keys and then on to California, where he shopped them to potential teams.

+
diff --git a/htdocs/includes/iphone/samples/digg/Btrfs_A_new_Linux_filesystem_by_Oracle.html b/htdocs/includes/iphone/samples/digg/Btrfs_A_new_Linux_filesystem_by_Oracle.html new file mode 100644 index 00000000000..ffeb9e9f7b8 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Btrfs_A_new_Linux_filesystem_by_Oracle.html @@ -0,0 +1,5 @@ + +
+

Btrfs - A new Linux filesystem by Oracle

+

Linux has a wealth of filesystems to choose from, but we are facing a number of challenges with scaling to the large storage subsystems that are becoming common in today's data centers. Filesystems need to scale in their ability to address and manage large storage, and also in their ability to detect, repair and tolerate errors in the data stored o

+
diff --git a/htdocs/includes/iphone/samples/digg/Bush_on_Health_Care_It_s_All_Your_Fault.html b/htdocs/includes/iphone/samples/digg/Bush_on_Health_Care_It_s_All_Your_Fault.html new file mode 100644 index 00000000000..d6df277abe3 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Bush_on_Health_Care_It_s_All_Your_Fault.html @@ -0,0 +1,5 @@ + +
+

Bush on Health Care: It's All Your Fault

+

Bush spoke in Ohio today and blames YOU for lawsuits on doctors, not choosing the correct health plan, being in poor health…it goes on and on. His new talking point is the “Federalization of health care.” The medical industry is freaking since Moore’s movie just came out. They need you dumbed down and Bush tries to do that for them.

+
diff --git a/htdocs/includes/iphone/samples/digg/Canonical_open_sources_first_Launchpad_component.html b/htdocs/includes/iphone/samples/digg/Canonical_open_sources_first_Launchpad_component.html new file mode 100644 index 00000000000..37de7009121 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Canonical_open_sources_first_Launchpad_component.html @@ -0,0 +1,5 @@ + +
+

Canonical open-sources first Launchpad component

+

Canonical, the company behind Ubuntu, has just open-sourced a major part of its development and bug-tracking program Launchpad.

+
diff --git a/htdocs/includes/iphone/samples/digg/Cheney_is_now_less_popular_than_Dan_Quayle_was_as_Vice_President.html b/htdocs/includes/iphone/samples/digg/Cheney_is_now_less_popular_than_Dan_Quayle_was_as_Vice_President.html new file mode 100644 index 00000000000..38ab8c7df18 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Cheney_is_now_less_popular_than_Dan_Quayle_was_as_Vice_President.html @@ -0,0 +1,5 @@ + +
+

Cheney is now less popular than Dan Quayle was as Vice President

+

Vice President Dick Cheney’s popularity has hit an all-time low, with recent polling by The New York Times and CBS News suggesting that he has replaced Dan Quayle as the most unpopular vice president in recent history.

+
diff --git a/htdocs/includes/iphone/samples/digg/China_executes_ex_head_of_food_and_drug_agency.html b/htdocs/includes/iphone/samples/digg/China_executes_ex_head_of_food_and_drug_agency.html new file mode 100644 index 00000000000..209c27eee23 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/China_executes_ex_head_of_food_and_drug_agency.html @@ -0,0 +1,5 @@ + +
+

China executes ex-head of food and drug agency

+

Zheng Xiaoyu was sentenced to death in May for taking bribes to approve an antibiotic blamed for at least 10 deaths and other substandard medicines.

+
diff --git a/htdocs/includes/iphone/samples/digg/Color_Inspiration_20_Creative_Characters.html b/htdocs/includes/iphone/samples/digg/Color_Inspiration_20_Creative_Characters.html new file mode 100644 index 00000000000..ce459771f4b --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Color_Inspiration_20_Creative_Characters.html @@ -0,0 +1,5 @@ + +
+

Color Inspiration: 20 Creative Characters

+

"At COLOURlovers we are all about the color love… but over at Mojizu.com they’re all about the character art love. There are thousands of very creative, cute & funny creations at Mojizu but we chose just a handful to share with you... Let me first introduce you to Buttstache..."

+
diff --git a/htdocs/includes/iphone/samples/digg/Comes_vs_Microsoft_Petition_Shows_How_Microsoft_Blocked_Linux_Sales_PDF.html b/htdocs/includes/iphone/samples/digg/Comes_vs_Microsoft_Petition_Shows_How_Microsoft_Blocked_Linux_Sales_PDF.html new file mode 100644 index 00000000000..79e77a1a4a2 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Comes_vs_Microsoft_Petition_Shows_How_Microsoft_Blocked_Linux_Sales_PDF.html @@ -0,0 +1,5 @@ + +
+

Comes vs Microsoft Petition Shows How Microsoft Blocked Linux Sales [PDF]

+

'OEMs are forced to forfeit all discounts otherwise earned if they ship any "naked machines" to consumers. This heightened restriction, which (on information and belief) continues to the present, prohibits PC users and PC retailers from buying and installing lower priced or better quality operating systems of their choice.'

+
diff --git a/htdocs/includes/iphone/samples/digg/Content_Producers_Write_Articles_Not_Blog_Postings.html b/htdocs/includes/iphone/samples/digg/Content_Producers_Write_Articles_Not_Blog_Postings.html new file mode 100644 index 00000000000..64c746523c1 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Content_Producers_Write_Articles_Not_Blog_Postings.html @@ -0,0 +1,5 @@ + +
+

Content Producers: Write Articles, Not Blog Postings

+

To demonstrate world-class expertise, avoid quickly written, shallow postings. Instead, invest your time in thorough, value-added content that attracts paying customers. Warning - This is a long article, stuffed with charts and statistical concepts - like standard deviations and utility functions - it flies in the face of guidelines for web writing

+
diff --git a/htdocs/includes/iphone/samples/digg/Digg_iPhone_Beta_Live.html b/htdocs/includes/iphone/samples/digg/Digg_iPhone_Beta_Live.html new file mode 100644 index 00000000000..1ba036165ac --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Digg_iPhone_Beta_Live.html @@ -0,0 +1,5 @@ + +
+

Digg iPhone Beta Live!

+

"Last weekend Joe Stump, Daniel Burka, and I sat down and white-boarded the Digg iPhone app. I told Joe if he coded it in 48hrs, I'd buy him an iPhone. Needless to say, he got it done (nice work, Joe)."

+
diff --git a/htdocs/includes/iphone/samples/digg/Dr_Wright_makes_the_Super_Smash_Bros_Brawl_Roster.html b/htdocs/includes/iphone/samples/digg/Dr_Wright_makes_the_Super_Smash_Bros_Brawl_Roster.html new file mode 100644 index 00000000000..760fc37aef7 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Dr_Wright_makes_the_Super_Smash_Bros_Brawl_Roster.html @@ -0,0 +1,5 @@ + +
+

Dr. Wright makes the Super Smash Bros Brawl Roster!

+

Yes, that's right, Dr. Wright from the SNES Version of Sim City makes his next generation debut in Super Smash Bros Brawl. His ability to bring skyscrapers from out of the earth to send opponents flying may make this character a popular favourite (or the most annoyingly cheesy character to ever grace a fighting game).Pictures in the link!

+
diff --git a/htdocs/includes/iphone/samples/digg/Drinking_may_not_be_so_bad_say_scientists.html b/htdocs/includes/iphone/samples/digg/Drinking_may_not_be_so_bad_say_scientists.html new file mode 100644 index 00000000000..72a904c17da --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Drinking_may_not_be_so_bad_say_scientists.html @@ -0,0 +1,5 @@ + +
+

Drinking may not be so bad, say scientists

+

A conference of some of the world's top neuroscientists in far north Queensland has found alcohol does not kill off brain cells.

+
diff --git a/htdocs/includes/iphone/samples/digg/Eco_Tip_Make_Your_Lithium_Batteries_Last.html b/htdocs/includes/iphone/samples/digg/Eco_Tip_Make_Your_Lithium_Batteries_Last.html new file mode 100644 index 00000000000..7f6c5e8fbdf --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Eco_Tip_Make_Your_Lithium_Batteries_Last.html @@ -0,0 +1,5 @@ + +
+

Eco-Tip: Make Your Lithium Batteries Last

+

Here are 4 tips from Spicy Gadget Roll to help make sure your Crackberries and MacBooks stay powered without having to burn through batteries.

+
diff --git a/htdocs/includes/iphone/samples/digg/Firing_people_via_IM_14_of_men_said_they_would.html b/htdocs/includes/iphone/samples/digg/Firing_people_via_IM_14_of_men_said_they_would.html new file mode 100644 index 00000000000..8703c57e123 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Firing_people_via_IM_14_of_men_said_they_would.html @@ -0,0 +1,5 @@ + +
+

Firing people via IM - 14% of men said they would

+

According to a new survey, 14 percent of men said they would use an IM with an emoticon — one of those animated faces that range from a happy grin to an angry screamer — to fire someone. Wow...

+
diff --git a/htdocs/includes/iphone/samples/digg/GBAX_2007_Coding_Competition_entries_released_for_DS_PSP_GP2X_and_GP32.html b/htdocs/includes/iphone/samples/digg/GBAX_2007_Coding_Competition_entries_released_for_DS_PSP_GP2X_and_GP32.html new file mode 100644 index 00000000000..6346d06aec9 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/GBAX_2007_Coding_Competition_entries_released_for_DS_PSP_GP2X_and_GP32.html @@ -0,0 +1,5 @@ + +
+

GBAX 2007 Coding Competition entries released for DS, PSP, GP2X and GP32

+

The entries for the GBAX 2007 Coding Competition are now available to download. This is our fifth year of coding competitions and this year has been a great success with 60 entries for DS, PSP, GP2X and GP32 with homebrew games, applications, emulators and demos. There are some great entries this year so we hope there is something you like!

+
diff --git a/htdocs/includes/iphone/samples/digg/GIMP_Tricks_Chocolate_bar_with_GIMP.html b/htdocs/includes/iphone/samples/digg/GIMP_Tricks_Chocolate_bar_with_GIMP.html new file mode 100644 index 00000000000..55876636232 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/GIMP_Tricks_Chocolate_bar_with_GIMP.html @@ -0,0 +1,5 @@ + +
+

GIMP Tricks: Chocolate bar with GIMP

+

Some time ago I saw a chocolate bar made with Adobe Photoshop somewhere on the Internet. I thought that Gimp can’t do worse than and I got myself to work. It seemed to be quite easy and here is the result in 28 steps.

+
diff --git a/htdocs/includes/iphone/samples/digg/GameTap_brings_500_PC_games_to_Intel_Macs.html b/htdocs/includes/iphone/samples/digg/GameTap_brings_500_PC_games_to_Intel_Macs.html new file mode 100644 index 00000000000..1d5bc2ddb45 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/GameTap_brings_500_PC_games_to_Intel_Macs.html @@ -0,0 +1,5 @@ + +
+

GameTap brings 500 PC games to Intel Macs

+

GameTap today announced that it is expanding its offerings to the Mac community by providing Intel-based Mac users access to its Lite Player, which offers more than 500 new and classic game titles as well as more than 600 streaming videos of original programming from GapeTap TV. "Mac users will now be able to enjoy hundreds of games that have

+
diff --git a/htdocs/includes/iphone/samples/digg/Google_struggles_to_see_no_evil_speak_no_evil.html b/htdocs/includes/iphone/samples/digg/Google_struggles_to_see_no_evil_speak_no_evil.html new file mode 100644 index 00000000000..5dccb12d86a --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Google_struggles_to_see_no_evil_speak_no_evil.html @@ -0,0 +1,5 @@ + +
+

Google struggles to see no evil, speak no evil

+

Google's habit of using a wide network of employee-run blogs for making official news is obviously meant as a democratic way of of sparking dialogue between the company and its users and partners, but two recent PR incidents suggest that this practice is growing increasingly treacherous for a bottom-up, rapidly growing company that has "Do No Evil"

+
diff --git a/htdocs/includes/iphone/samples/digg/HERE_WE_GO_Senator_1_Nipped_By_D_C_Madam_Scandal_Who_s_Next.html b/htdocs/includes/iphone/samples/digg/HERE_WE_GO_Senator_1_Nipped_By_D_C_Madam_Scandal_Who_s_Next.html new file mode 100644 index 00000000000..d945746027a --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/HERE_WE_GO_Senator_1_Nipped_By_D_C_Madam_Scandal_Who_s_Next.html @@ -0,0 +1,5 @@ + +
+

HERE WE GO ! Senator (#1) Nipped By D.C. Madam Scandal : Who's Next?

+

Sen. David Vitter is apologizing for what he calls "a very serious sin in my past" - a statement released by the Louisiana Republican after his telephone number appeared among those associated with an escort service operated by the so-called "D.C. Madam."

+
diff --git a/htdocs/includes/iphone/samples/digg/Handsoap_Literally_Very_Creepy_w_pics.html b/htdocs/includes/iphone/samples/digg/Handsoap_Literally_Very_Creepy_w_pics.html new file mode 100644 index 00000000000..a9014e3554b --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Handsoap_Literally_Very_Creepy_w_pics.html @@ -0,0 +1,5 @@ + +
+

Handsoap. Literally. Very Creepy [w/ pics]

+

"this is actual soap shaped like little hands! wash your hands with hands." I think it is the fact that they are kids hands that creeps me out the most.

+
diff --git a/htdocs/includes/iphone/samples/digg/Harvard_Law_Universities_Should_Tell_the_RIAA_to_Take_a_Hike.html b/htdocs/includes/iphone/samples/digg/Harvard_Law_Universities_Should_Tell_the_RIAA_to_Take_a_Hike.html new file mode 100644 index 00000000000..d2fa18c63d4 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Harvard_Law_Universities_Should_Tell_the_RIAA_to_Take_a_Hike.html @@ -0,0 +1,5 @@ + +
+

Harvard Law: 'Universities Should Tell the RIAA to Take a Hike'

+

Says they should be committed to the advancement and education of the youth of this country, and should never be perceived as doing the bidding of corporate interests.

+
diff --git a/htdocs/includes/iphone/samples/digg/Investors_Digg_Kevin_Rose.html b/htdocs/includes/iphone/samples/digg/Investors_Digg_Kevin_Rose.html new file mode 100644 index 00000000000..1386111c194 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Investors_Digg_Kevin_Rose.html @@ -0,0 +1,5 @@ + +
+

Investors Digg Kevin Rose

+

The Web wunderkind dreamed up Pownce in his off-hours from his other hot ventures, Digg and Revision3. Investors are ready to, well, pounce.

+
diff --git a/htdocs/includes/iphone/samples/digg/JP_Morgan_retracts_report_No_to_iPhone_Nano.html b/htdocs/includes/iphone/samples/digg/JP_Morgan_retracts_report_No_to_iPhone_Nano.html new file mode 100644 index 00000000000..265fb114904 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/JP_Morgan_retracts_report_No_to_iPhone_Nano.html @@ -0,0 +1,5 @@ + +
+

JP Morgan retracts report: No to iPhone Nano

+

JP Morgan has just issued a note retracting Kevin Chang's earlier projection about a near term iPhone Nano. The new report says that the majority of Chang's assumptions appear to have come from a review of the patent that was published last week, adding that a near-term launch of an iPhone-nano product would be "unusual and highly risky".

+
diff --git a/htdocs/includes/iphone/samples/digg/Karma_Kills_pic.html b/htdocs/includes/iphone/samples/digg/Karma_Kills_pic.html new file mode 100644 index 00000000000..323e43d9282 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Karma_Kills_pic.html @@ -0,0 +1,5 @@ + +
+

Karma Kills [pic]

+

Hilarious.

+
diff --git a/htdocs/includes/iphone/samples/digg/Life_Hacker_Build_Advanced_Gmail_Filters_and_Persistent_Searches.html b/htdocs/includes/iphone/samples/digg/Life_Hacker_Build_Advanced_Gmail_Filters_and_Persistent_Searches.html new file mode 100644 index 00000000000..4b2196100cd --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Life_Hacker_Build_Advanced_Gmail_Filters_and_Persistent_Searches.html @@ -0,0 +1,5 @@ + +
+

Life Hacker: Build Advanced Gmail Filters and Persistent Searches

+

It's no surprise that the killer feature in Google's email offering, Gmail, is its search capability. Google's king of the web because it makes information on its billions of pages findable; likewise, Gmail makes the megabytes of messages that get pumped into your inbox every day manageable through laser-specific search.

+
diff --git a/htdocs/includes/iphone/samples/digg/Macheist_give_out_free_Linkinus_IRC_program.html b/htdocs/includes/iphone/samples/digg/Macheist_give_out_free_Linkinus_IRC_program.html new file mode 100644 index 00000000000..63ef5cb5dd1 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Macheist_give_out_free_Linkinus_IRC_program.html @@ -0,0 +1,5 @@ + +
+

Macheist give out free Linkinus IRC program!

+

"For anyone interested, up to 20,000 limited licenses for Linkinus for all versions up through 1.1.X will be distributed for free on this page over the next few days. Just put in your name and email, and they'll email you back within the hour with your license code."

+
diff --git a/htdocs/includes/iphone/samples/digg/Mark_Shuttleworth_Gobuntu_is_go.html b/htdocs/includes/iphone/samples/digg/Mark_Shuttleworth_Gobuntu_is_go.html new file mode 100644 index 00000000000..0d940edd18d --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Mark_Shuttleworth_Gobuntu_is_go.html @@ -0,0 +1,5 @@ + +
+

Mark Shuttleworth: "Gobuntu is... go"

+

"Thanks to Colin and Evan’s efforts we now have daily images of a freedom-focused flavour of Ubuntu, 'Gobuntu'."

+
diff --git a/htdocs/includes/iphone/samples/digg/Miami_Heat_s_Antoine_Walker_held_at_gunpoint_in_home_robbery.html b/htdocs/includes/iphone/samples/digg/Miami_Heat_s_Antoine_Walker_held_at_gunpoint_in_home_robbery.html new file mode 100644 index 00000000000..11a73798005 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Miami_Heat_s_Antoine_Walker_held_at_gunpoint_in_home_robbery.html @@ -0,0 +1,5 @@ + +
+

Miami Heat's Antoine Walker held at gunpoint in home robbery

+

His agent: "There was a robbery. It's a scary thing. It's a terrible thing. He's trying to get himself back together. Police are there and he's getting it taken care of."

+
diff --git a/htdocs/includes/iphone/samples/digg/Might_I_inquire_to_ask_ehhh_What_s_Up_Doc.html b/htdocs/includes/iphone/samples/digg/Might_I_inquire_to_ask_ehhh_What_s_Up_Doc.html new file mode 100644 index 00000000000..ab92b4d02f1 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Might_I_inquire_to_ask_ehhh_What_s_Up_Doc.html @@ -0,0 +1,5 @@ + +
+

Might I inquire to ask, ehhh, "What’s Up Doc?"

+

[VIDEO] 50 years ago this week, the greatest cartoon in the history of cartoons was premiered.

+
diff --git a/htdocs/includes/iphone/samples/digg/Moore_accuses_CNN_of_libel.html b/htdocs/includes/iphone/samples/digg/Moore_accuses_CNN_of_libel.html new file mode 100644 index 00000000000..e3b518f46a1 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Moore_accuses_CNN_of_libel.html @@ -0,0 +1,5 @@ + +
+

Moore accuses CNN of libel

+

A prominent documentarian is using new media to refute attacks leveled against him by the old media.Michael Moore posted a lengthy critique of a CNN "Reality Check" that attacked his newest film SiCKO, which examines flaws in the US healthcare industry.

+
diff --git a/htdocs/includes/iphone/samples/digg/Next_gen_iMacs_to_bundle_NEW_Apple_keyboard.html b/htdocs/includes/iphone/samples/digg/Next_gen_iMacs_to_bundle_NEW_Apple_keyboard.html new file mode 100644 index 00000000000..e24a4b39977 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Next_gen_iMacs_to_bundle_NEW_Apple_keyboard.html @@ -0,0 +1,5 @@ + +
+

Next-gen iMacs to bundle NEW Apple keyboard

+

the Cupertino-based Mac maker has reportedly crafted a super-slim external keyboard for the new Macs. It's said to draw upon the aesthetic and feel of the low-profile keyboard which was first integrated with the company's 13-inch MacBook portables in May of 2006

+
diff --git a/htdocs/includes/iphone/samples/digg/No_Samba_for_Microsoft_and_Its_Linux_Partners.html b/htdocs/includes/iphone/samples/digg/No_Samba_for_Microsoft_and_Its_Linux_Partners.html new file mode 100644 index 00000000000..b15eb82b5db --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/No_Samba_for_Microsoft_and_Its_Linux_Partners.html @@ -0,0 +1,5 @@ + +
+

No Samba for Microsoft and Its Linux 'Partners'

+

Samba will move to GPLv3. The Samba team will continue to provide security fixes to the GPLv2 versions, but new features will be added only to the GPLv3 versions, the team said.

+
diff --git a/htdocs/includes/iphone/samples/digg/Penguins_sign_Crosby_to_extension.html b/htdocs/includes/iphone/samples/digg/Penguins_sign_Crosby_to_extension.html new file mode 100644 index 00000000000..c0b26c60d65 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Penguins_sign_Crosby_to_extension.html @@ -0,0 +1,5 @@ + +
+

Penguins sign Crosby to extension

+

"Sidney Crosby has agreed to a five-year contract extension worth US$43.5 million that will keep him with the Pittsburgh Penguins through 2012-13."

+
diff --git a/htdocs/includes/iphone/samples/digg/Pope_Other_Christians_Not_True_Churches_2.html b/htdocs/includes/iphone/samples/digg/Pope_Other_Christians_Not_True_Churches_2.html new file mode 100644 index 00000000000..dd47863afe6 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Pope_Other_Christians_Not_True_Churches_2.html @@ -0,0 +1,5 @@ + +
+

Pope: Other Christians Not True Churches

+

Pope Benedict XVI has reasserted the universal primacy of the Roman Catholic Church, approving a document released Tuesday that says Orthodox churches were defective and that other Christian denominations were not true churches.

+
diff --git a/htdocs/includes/iphone/samples/digg/Real_World_2900_XT_CrossFire_A_Total_Waste_of_Money.html b/htdocs/includes/iphone/samples/digg/Real_World_2900_XT_CrossFire_A_Total_Waste_of_Money.html new file mode 100644 index 00000000000..b14aaccad35 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Real_World_2900_XT_CrossFire_A_Total_Waste_of_Money.html @@ -0,0 +1,5 @@ + +
+

Real World 2900 XT CrossFire - A Total Waste of Money

+

Radeon HD 2900 XT CrossFire is most certainly not a good gaming solution. It just does not deliver the kind of performance advantages ATI needs to compete with what NVIDIA already has in the marketplace. - "To summarize the value of two HD 2900 XT cards in CrossFire, it just isn’t worth it."

+
diff --git a/htdocs/includes/iphone/samples/digg/Rumor_Smash_Actually_the_iPhone_Battery_WON_T_Die_After_400_Charges.html b/htdocs/includes/iphone/samples/digg/Rumor_Smash_Actually_the_iPhone_Battery_WON_T_Die_After_400_Charges.html new file mode 100644 index 00000000000..f6eaaf7cc7e --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Rumor_Smash_Actually_the_iPhone_Battery_WON_T_Die_After_400_Charges.html @@ -0,0 +1,5 @@ + +
+

Rumor Smash: Actually, the iPhone Battery WON'T Die After 400 Charges

+

Some good news for the iPhone's battery. Everyone originally reported that the iPhone battery loses capacity after 300-400 charges, needing to be replaced. People were mad. Turns out, that's bullshit. Apple tells us that the battery life "is designed to retain 80% of its original capacity after 400 full charge and discharge cycles."

+
diff --git a/htdocs/includes/iphone/samples/digg/Safari_3_VS_Firefox_2.html b/htdocs/includes/iphone/samples/digg/Safari_3_VS_Firefox_2.html new file mode 100644 index 00000000000..b2d119beee0 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Safari_3_VS_Firefox_2.html @@ -0,0 +1,5 @@ + +
+

Safari 3 VS Firefox 2

+

In the weeks since its release, I’m sure that many of you have already downloaded the new beta version of Safari. Today I’m going to take you through a side by side comparison of the two in giving you a better understanding of them and letting you make the choice of which one you would like to use.

+
diff --git a/htdocs/includes/iphone/samples/digg/Senate_panel_cuts_off_funds_for_Cheney_s_office.html b/htdocs/includes/iphone/samples/digg/Senate_panel_cuts_off_funds_for_Cheney_s_office.html new file mode 100644 index 00000000000..a6d7c295e71 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Senate_panel_cuts_off_funds_for_Cheney_s_office.html @@ -0,0 +1,5 @@ + +
+

Senate panel cuts off funds for Cheney’s office.

+

A Senate appropriations panel chaired by Sen. Richard Durbin, D-Ill., refused to fund $4.8 million in the vice president’s budget until Cheney’s office complies with parts of an executive order governing its handling of classified information.

+
diff --git a/htdocs/includes/iphone/samples/digg/Streamy_The_Digg_Killer.html b/htdocs/includes/iphone/samples/digg/Streamy_The_Digg_Killer.html new file mode 100644 index 00000000000..ed667700bba --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Streamy_The_Digg_Killer.html @@ -0,0 +1,5 @@ + +
+

Streamy -- The Digg Killer?

+

Streamy is one part Pageflakes + one part Digg. Users get their home page which is divided into topical sections but then via the wisdom of the Streamy crowds you get personalized recommendations on other stories and publications.

+
diff --git a/htdocs/includes/iphone/samples/digg/TOP_5_Reasons_Why_Leopard_s_UI_Sucks.html b/htdocs/includes/iphone/samples/digg/TOP_5_Reasons_Why_Leopard_s_UI_Sucks.html new file mode 100644 index 00000000000..744f555f582 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/TOP_5_Reasons_Why_Leopard_s_UI_Sucks.html @@ -0,0 +1,5 @@ + +
+

TOP 5 Reasons Why Leopard's UI Sucks

+

The current beta build of Mac OS X 10.5 Leopard, released to developers at WWDC ‚’07, is not as polished as what people have come to expect of Apple’s design team - users are still left with at best several disagreeable changes, and at worst a hideous hodgepodge of HIG contradictions.

+
diff --git a/htdocs/includes/iphone/samples/digg/TSA_Confiscates_Water_Bottle_Yet_Misses_Bomb.html b/htdocs/includes/iphone/samples/digg/TSA_Confiscates_Water_Bottle_Yet_Misses_Bomb.html new file mode 100644 index 00000000000..9c8ff9f4c31 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/TSA_Confiscates_Water_Bottle_Yet_Misses_Bomb.html @@ -0,0 +1,5 @@ + +
+

TSA Confiscates Water Bottle Yet Misses Bomb

+

In an undercover investigation by federal authorities, the TSA failed to confiscate 'bombs' a majority of the time yet manages to confiscate a water bottle.

+
diff --git a/htdocs/includes/iphone/samples/digg/The_10_Greatest_Advancements_in_Fast_Food.html b/htdocs/includes/iphone/samples/digg/The_10_Greatest_Advancements_in_Fast_Food.html new file mode 100644 index 00000000000..57c40a04d43 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/The_10_Greatest_Advancements_in_Fast_Food.html @@ -0,0 +1,5 @@ + +
+

The 10 Greatest Advancements in Fast Food

+

A helpful guide to all of the great moments in the history of that illustrious industry that keeps us fat for cheap. No, the McSalad absolutely did not make the list.

+
diff --git a/htdocs/includes/iphone/samples/digg/The_Thermonuclear_Oops_List.html b/htdocs/includes/iphone/samples/digg/The_Thermonuclear_Oops_List.html new file mode 100644 index 00000000000..421f786137b --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/The_Thermonuclear_Oops_List.html @@ -0,0 +1,5 @@ + +
+

The Thermonuclear "Oops" List

+

Accidents happen. No one is immune: typos slip in, numbers get misdialed, directions are screwed up. We all make them; no one is perfect.Except that these mistakes involved thermonuclear weapons, and could easily have reduced a sizable hunk of this world to a Geiger-clicking pit.

+
diff --git a/htdocs/includes/iphone/samples/digg/Top_10_cars_from_the_60_s.html b/htdocs/includes/iphone/samples/digg/Top_10_cars_from_the_60_s.html new file mode 100644 index 00000000000..a8dc3a6b37c --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Top_10_cars_from_the_60_s.html @@ -0,0 +1,5 @@ + +
+

Top 10 cars from the 60’s

+

Good models were born in the 60’s.

+
diff --git a/htdocs/includes/iphone/samples/digg/Two_of_our_three_iPhones_have_faulty_batteries_pics.html b/htdocs/includes/iphone/samples/digg/Two_of_our_three_iPhones_have_faulty_batteries_pics.html new file mode 100644 index 00000000000..3891e8756b1 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Two_of_our_three_iPhones_have_faulty_batteries_pics.html @@ -0,0 +1,5 @@ + +
+

Two of our three iPhones have faulty batteries (pics)

+

We've been trying to run tests on our official WirelessInfo.com iPhones since the device hit the streets, but we've been running into battery anomalies. Most recently we've found that two out of our three iPhones won't charge fully. Are you experiencing similar problems?

+
diff --git a/htdocs/includes/iphone/samples/digg/Ubuntu_Graffiti_on_Brookyn_Bridge_courtesy_Graffiti_Research_Lab.html b/htdocs/includes/iphone/samples/digg/Ubuntu_Graffiti_on_Brookyn_Bridge_courtesy_Graffiti_Research_Lab.html new file mode 100644 index 00000000000..0f4dafec5bc --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Ubuntu_Graffiti_on_Brookyn_Bridge_courtesy_Graffiti_Research_Lab.html @@ -0,0 +1,5 @@ + +
+

Ubuntu Graffiti on Brookyn Bridge (courtesy Graffiti Research Lab)

+

Ubuntu Laser Tagged on the Brooklyn Bridge last night. Viva La Revolucion!

+
diff --git a/htdocs/includes/iphone/samples/digg/Ubuntu_Install_applications_from_Internet_with_a_single_click.html b/htdocs/includes/iphone/samples/digg/Ubuntu_Install_applications_from_Internet_with_a_single_click.html new file mode 100644 index 00000000000..baa7595bce3 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Ubuntu_Install_applications_from_Internet_with_a_single_click.html @@ -0,0 +1,5 @@ + +
+

Ubuntu: Install applications from Internet with a single-click.

+

"With this new feature it will be possible to install applications just by clicking in a link that point to a new apt:// protocol, it will call a dialog asking if the user really wants to install that package, if yes the superuser password will be asked and the package will be installed. It’s simple like that :)"

+
diff --git a/htdocs/includes/iphone/samples/digg/Under_The_Linux_2_6_22_Hood.html b/htdocs/includes/iphone/samples/digg/Under_The_Linux_2_6_22_Hood.html new file mode 100644 index 00000000000..cea5365aa54 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Under_The_Linux_2_6_22_Hood.html @@ -0,0 +1,5 @@ + +
+

Under The Linux 2.6.22 Hood

+

There's more than better memory management afoot.

+
diff --git a/htdocs/includes/iphone/samples/digg/War_with_Iran_coming_US_Navy_sends_third_carrier_to_waters_off_Iran.html b/htdocs/includes/iphone/samples/digg/War_with_Iran_coming_US_Navy_sends_third_carrier_to_waters_off_Iran.html new file mode 100644 index 00000000000..b6360c3c153 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/War_with_Iran_coming_US_Navy_sends_third_carrier_to_waters_off_Iran.html @@ -0,0 +1,5 @@ + +
+

War with Iran coming? US Navy sends third carrier to waters off Iran

+

The U.S. navy has sent a third aircraft carrier to its Fifth Fleet area of operations, which includes Gulf waters close to Iran, the navy said on Tuesday."Enterprise (aircraft carrier) provides navy power to counter the assertive, disruptive and coercive behaviour of some countries, as well as support our soldiers and marines in Iraq...

+
diff --git a/htdocs/includes/iphone/samples/digg/What_Evolution_Left_Behind_On_Humans.html b/htdocs/includes/iphone/samples/digg/What_Evolution_Left_Behind_On_Humans.html new file mode 100644 index 00000000000..6880bd9816e --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/What_Evolution_Left_Behind_On_Humans.html @@ -0,0 +1,5 @@ + +
+

What Evolution Left Behind On Humans

+

A list of usless organs,muscles and cavities that evolution left behind for us.

+
diff --git a/htdocs/includes/iphone/samples/digg/When_NOT_to_hyphenate_your_name_pics.html b/htdocs/includes/iphone/samples/digg/When_NOT_to_hyphenate_your_name_pics.html new file mode 100644 index 00000000000..015d5304029 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/When_NOT_to_hyphenate_your_name_pics.html @@ -0,0 +1,5 @@ + +
+

When NOT to hyphenate your name [pics]

+

one wonders how these people saw nothing wrong with joining their names together for their weddings.

+
diff --git a/htdocs/includes/iphone/samples/digg/Which_Springfield_will_host_the_US_Simpsons_Premier.html b/htdocs/includes/iphone/samples/digg/Which_Springfield_will_host_the_US_Simpsons_Premier.html new file mode 100644 index 00000000000..bbe3057da5e --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Which_Springfield_will_host_the_US_Simpsons_Premier.html @@ -0,0 +1,5 @@ + +
+

Which 'Springfield' will host the US 'Simpsons' Premier?

+

Residents of 14 American towns named Springfield are due to discover which one is to host the premiere of the film about animated family The Simpsons. The show was set in a fictional Springfield because its creator, Matt Groening, spotted that this was one of the most common place-names in the US.

+
diff --git a/htdocs/includes/iphone/samples/digg/White_House_In_panic_Mode_Over_GOP_Revolt.html b/htdocs/includes/iphone/samples/digg/White_House_In_panic_Mode_Over_GOP_Revolt.html new file mode 100644 index 00000000000..9f41ae3f38c --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/White_House_In_panic_Mode_Over_GOP_Revolt.html @@ -0,0 +1,5 @@ + +
+

White House In "panic Mode" Over GOP Revolt

+

Watch 'em squirm.

+
diff --git a/htdocs/includes/iphone/samples/digg/Why_do_Journalists_insist_on_saying_the_iPhone_costs_2000_2.html b/htdocs/includes/iphone/samples/digg/Why_do_Journalists_insist_on_saying_the_iPhone_costs_2000_2.html new file mode 100644 index 00000000000..9c18f60e21c --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Why_do_Journalists_insist_on_saying_the_iPhone_costs_2000_2.html @@ -0,0 +1,5 @@ + +
+

Why do “Journalists” insist on saying the iPhone costs $2000?

+

In order to reach this insane number, they factor in 2-years of service into the price. That is perhaps one of the stupidest and most misleading arguments a tech journalist can make. You might as well add sales tax and the cost of the gas you used driving to the Apple Store to the “shocking” costs.

+
diff --git a/htdocs/includes/iphone/samples/digg/Will_it_Blend_iPhone.html b/htdocs/includes/iphone/samples/digg/Will_it_Blend_iPhone.html new file mode 100644 index 00000000000..03f0bc06b2d --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Will_it_Blend_iPhone.html @@ -0,0 +1,5 @@ + +
+

Will it Blend? - iPhone

+

Title says it all

+
diff --git a/htdocs/includes/iphone/samples/digg/Yeah_baby_yeah_pic.html b/htdocs/includes/iphone/samples/digg/Yeah_baby_yeah_pic.html new file mode 100644 index 00000000000..fb2b1f0f6f2 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Yeah_baby_yeah_pic.html @@ -0,0 +1,5 @@ + +
+

Yeah baby, yeah! [pic]

+

Wouldn't believe it if I hadn't seen the photo

+
diff --git a/htdocs/includes/iphone/samples/digg/Your_first_girlfriend_and_the_other_things_search_engines_store_about_you_2.html b/htdocs/includes/iphone/samples/digg/Your_first_girlfriend_and_the_other_things_search_engines_store_about_you_2.html new file mode 100644 index 00000000000..ccdb9b58e49 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/Your_first_girlfriend_and_the_other_things_search_engines_store_about_you_2.html @@ -0,0 +1,5 @@ + +
+

Your first girlfriend --and the other things search engines store about you

+

What if there were a giant database that contained your hidden insecurities, embarrassing medical questions and the fact that you still think from time to time about your high school girlfriend? Well, such a data store does exist -- if you've ever plugged such private topics into a search engine. The fact is, search engines such as Google, Yahoo an

+
diff --git a/htdocs/includes/iphone/samples/digg/diggfeed.xml b/htdocs/includes/iphone/samples/digg/diggfeed.xml new file mode 100644 index 00000000000..682c08f1de0 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/diggfeed.xml @@ -0,0 +1,1028 @@ + + + +digg +en-ushttp://digg.com/ +digg + +The Thermonuclear "Oops" List +http://digg.com/offbeat_news/The_Thermonuclear_Oops_List + +Accidents happen. No one is immune: typos slip in, numbers get misdialed, directions are screwed up. We all make them; no one is perfect.Except that these mistakes involved thermonuclear weapons, and could easily have reduced a sizable hunk of this world to a Geiger-clicking pit. +Wed, 11 Jul 2007 05:20:10 GMT +http://digg.com/offbeat_news/The_Thermonuclear_Oops_List +118 +MrBabyMan +http://digg.com/userimages/mrbabyman/medium2218.png +Offbeat News +17 + + + +Yeah baby, yeah! [pic] +http://digg.com/hardware/Yeah_baby_yeah_pic +Wouldn't believe it if I hadn't seen the photo +Wed, 11 Jul 2007 05:20:03 GMT +http://digg.com/hardware/Yeah_baby_yeah_pic +135 +ilkeryoldas +http://digg.com/userimages/i/l/k/ilkeryoldas/medium2956.JPG + +Hardware +14 + + +Streamy -- The Digg Killer? +http://digg.com/tech_news/Streamy_The_Digg_Killer +Streamy is one part Pageflakes + one part Digg. Users get their home page which is divided into topical sections but then via the wisdom of the Streamy crowds you get personalized recommendations on other stories and publications. +Wed, 11 Jul 2007 05:00:09 GMT +http://digg.com/tech_news/Streamy_The_Digg_Killer +254 + +moojj +http://digg.com/userimages/moojj/medium3674.jpg +Tech Industry News +74 + + +What Evolution Left Behind On Humans +http://digg.com/health/What_Evolution_Left_Behind_On_Humans +A list of usless organs,muscles and cavities that evolution left behind for us. +Wed, 11 Jul 2007 04:50:09 GMT + +http://digg.com/health/What_Evolution_Left_Behind_On_Humans +250 +iakupo +http://digg.com/userimages/iakupo/medium2683.jpg +Health +83 + + +Harvard Law: 'Universities Should Tell the RIAA to Take a Hike' +http://digg.com/tech_news/Harvard_Law_Universities_Should_Tell_the_RIAA_to_Take_a_Hike + +Says they should be committed to the advancement and education of the youth of this country, and should never be perceived as doing the bidding of corporate interests. +Wed, 11 Jul 2007 04:50:05 GMT +http://digg.com/tech_news/Harvard_Law_Universities_Should_Tell_the_RIAA_to_Take_a_Hike +268 +MercedRocks +http://digg.com/userimages/m/e/r/mercedrocks/medium6018.jpg +Tech Industry News +24 + + + +Under The Linux 2.6.22 Hood +http://digg.com/linux_unix/Under_The_Linux_2_6_22_Hood +There's more than better memory management afoot. +Wed, 11 Jul 2007 04:40:02 GMT +http://digg.com/linux_unix/Under_The_Linux_2_6_22_Hood +130 +jammag +http://digg.com/img/user-medium/user-default.png + +Linux/Unix +14 + + +Karma Kills [pic] +http://digg.com/offbeat_news/Karma_Kills_pic +Hilarious. +Wed, 11 Jul 2007 04:20:08 GMT +http://digg.com/offbeat_news/Karma_Kills_pic +616 + +russvirante +http://digg.com/userimages/r/u/s/russvirante/medium7711.jpg +Offbeat News +102 + + +Bush on Health Care: It's All Your Fault +http://digg.com/politics/Bush_on_Health_Care_It_s_All_Your_Fault +Bush spoke in Ohio today and blames YOU for lawsuits on doctors, not choosing the correct health plan, being in poor health…it goes on and on. His new talking point is the “Federalization of health care.” The medical industry is freaking since Moore’s movie just came out. They need you dumbed down and Bush tries to do that for them. +Wed, 11 Jul 2007 04:20:07 GMT + +http://digg.com/politics/Bush_on_Health_Care_It_s_All_Your_Fault +340 +MrDys +http://digg.com/img/user-medium/user-default.png +Political News +109 + + +Canonical open-sources first Launchpad component +http://digg.com/linux_unix/Canonical_open_sources_first_Launchpad_component + +Canonical, the company behind Ubuntu, has just open-sourced a major part of its development and bug-tracking program Launchpad. +Wed, 11 Jul 2007 04:20:03 GMT +http://digg.com/linux_unix/Canonical_open_sources_first_Launchpad_component +104 +sjvn +http://digg.com/img/user-medium/user-default.png +Linux/Unix +5 + + + +Moore accuses CNN of libel +http://digg.com/world_news/Moore_accuses_CNN_of_libel +A prominent documentarian is using new media to refute attacks leveled against him by the old media.Michael Moore posted a lengthy critique of a CNN "Reality Check" that attacked his newest film SiCKO, which examines flaws in the US healthcare industry. +Wed, 11 Jul 2007 04:10:06 GMT +http://digg.com/world_news/Moore_accuses_CNN_of_libel +316 +oh2dc + +http://digg.com/img/user-medium/user-default.png +World News +58 + + + Baby Mammoth Discovery Unveiled +http://digg.com/environment/Baby_Mammoth_Discovery_Unveiled_2 +A Baby Mammoth Unearthed In The Permafrost Of North-west Siberia Could Be The Best Preserved Specimen Of Its Type, Scientists Have Said. +Wed, 11 Jul 2007 04:00:16 GMT + +http://digg.com/environment/Baby_Mammoth_Discovery_Unveiled_2 +283 +russvirante +http://digg.com/userimages/r/u/s/russvirante/medium7711.jpg +Environment +37 + + +Firing people via IM - 14% of men said they would +http://digg.com/offbeat_news/Firing_people_via_IM_14_of_men_said_they_would + +According to a new survey, 14 percent of men said they would use an IM with an emoticon — one of those animated faces that range from a happy grin to an angry screamer — to fire someone. Wow... +Wed, 11 Jul 2007 03:50:06 GMT +http://digg.com/offbeat_news/Firing_people_via_IM_14_of_men_said_they_would +235 +mmaser +http://digg.com/userimages/m/m/a/mmaser/medium7544.gif +Offbeat News +65 + + + +Penguins sign Crosby to extension +http://digg.com/hockey/Penguins_sign_Crosby_to_extension +"Sidney Crosby has agreed to a five-year contract extension worth US$43.5 million that will keep him with the Pittsburgh Penguins through 2012-13." +Wed, 11 Jul 2007 03:41:19 GMT +http://digg.com/hockey/Penguins_sign_Crosby_to_extension +197 +dimmerswitch +http://digg.com/userimages/dimmerswitch/medium.jpg + +Hockey +40 + + +GameTap brings 500 PC games to Intel Macs +http://digg.com/apple/GameTap_brings_500_PC_games_to_Intel_Macs +GameTap today announced that it is expanding its offerings to the Mac community by providing Intel-based Mac users access to its Lite Player, which offers more than 500 new and classic game titles as well as more than 600 streaming videos of original programming from GapeTap TV. &quot;Mac users will now be able to enjoy hundreds of games that have +Wed, 11 Jul 2007 03:30:01 GMT +http://digg.com/apple/GameTap_brings_500_PC_games_to_Intel_Macs + +305 +fenreer +http://digg.com/img/user-medium/user-default.png +Apple +65 + + +TOP 5 Reasons Why Leopard's UI Sucks +http://digg.com/apple/TOP_5_Reasons_Why_Leopard_s_UI_Sucks +The current beta build of Mac OS X 10.5 Leopard, released to developers at WWDC ‚’07, is not as polished as what people have come to expect of Apple’s design team - users are still left with at best several disagreeable changes, and at worst a hideous hodgepodge of HIG contradictions. + +Wed, 11 Jul 2007 03:10:02 GMT +http://digg.com/apple/TOP_5_Reasons_Why_Leopard_s_UI_Sucks +465 +npulido +http://digg.com/img/user-medium/user-default.png +Apple +145 + + +Life Hacker: Build Advanced Gmail Filters and Persistent Searches + +http://digg.com/software/Life_Hacker_Build_Advanced_Gmail_Filters_and_Persistent_Searches +It's no surprise that the killer feature in Google's email offering, Gmail, is its search capability. Google's king of the web because it makes information on its billions of pages findable; likewise, Gmail makes the megabytes of messages that get pumped into your inbox every day manageable through laser-specific search. +Wed, 11 Jul 2007 03:00:06 GMT +http://digg.com/software/Life_Hacker_Build_Advanced_Gmail_Filters_and_Persistent_Searches +247 +sepultura +http://digg.com/userimages/sepultura/medium9810.jpg +Software +7 + + + +White House In "panic Mode" Over GOP Revolt +http://digg.com/politics/White_House_In_panic_Mode_Over_GOP_Revolt +Watch 'em squirm. +Wed, 11 Jul 2007 02:50:06 GMT +http://digg.com/politics/White_House_In_panic_Mode_Over_GOP_Revolt +522 + +russvirante +http://digg.com/userimages/r/u/s/russvirante/medium7711.jpg +Political News +48 + + +Anti-DRM T-Shirt Design Contest: The Winners are… +http://digg.com/software/Anti_DRM_T_Shirt_Design_Contest_The_Winners_areh +The contest turned out to be a great success. Nearly 50 designs were submitted and over 10,000 people picked their favorite during the voting round last month.We’re happy to (finally) announce the winning designs... +Wed, 11 Jul 2007 02:50:04 GMT + +http://digg.com/software/Anti_DRM_T_Shirt_Design_Contest_The_Winners_areh +600 +MrBabyMan +http://digg.com/userimages/mrbabyman/medium2218.png +Software +39 + + +Rumor Smash: Actually, the iPhone Battery WON'T Die After 400 Charges +http://digg.com/apple/Rumor_Smash_Actually_the_iPhone_Battery_WON_T_Die_After_400_Charges + +Some good news for the iPhone's battery. Everyone originally reported that the iPhone battery loses capacity after 300-400 charges, needing to be replaced. People were mad. Turns out, that's bullshit. Apple tells us that the battery life "is designed to retain 80% of its original capacity after 400 full charge and discharge cycles." +Wed, 11 Jul 2007 02:50:02 GMT +http://digg.com/apple/Rumor_Smash_Actually_the_iPhone_Battery_WON_T_Die_After_400_Charges +407 +BLAM8 +http://digg.com/img/user-medium/user-default.png +Apple +41 + + + +Senate panel cuts off funds for Cheney’s office. +http://digg.com/politics/Senate_panel_cuts_off_funds_for_Cheney_s_office +A Senate appropriations panel chaired by Sen. Richard Durbin, D-Ill., refused to fund $4.8 million in the vice president’s budget until Cheney’s office complies with parts of an executive order governing its handling of classified information. +Wed, 11 Jul 2007 02:40:06 GMT +http://digg.com/politics/Senate_panel_cuts_off_funds_for_Cheney_s_office +793 +aterkel +http://digg.com/userimages/a/t/e/aterkel/medium5421.jpg + +Political News +119 + + +Why do “Journalists” insist on saying the iPhone costs $2000? +http://digg.com/apple/Why_do_Journalists_insist_on_saying_the_iPhone_costs_2000_2 +In order to reach this insane number, they factor in 2-years of service into the price. That is perhaps one of the stupidest and most misleading arguments a tech journalist can make. You might as well add sales tax and the cost of the gas you used driving to the Apple Store to the “shocking” costs. +Wed, 11 Jul 2007 02:40:01 GMT +http://digg.com/apple/Why_do_Journalists_insist_on_saying_the_iPhone_costs_2000_2 +459 + +CLIFFosakaJAPAN +http://digg.com/userimages/cliffosakajapan/medium5296.jpg +Apple +114 + + +TSA Confiscates Water Bottle Yet Misses Bomb +http://digg.com/business_finance/TSA_Confiscates_Water_Bottle_Yet_Misses_Bomb +In an undercover investigation by federal authorities, the TSA failed to confiscate 'bombs' a majority of the time yet manages to confiscate a water bottle. +Wed, 11 Jul 2007 02:30:05 GMT + +http://digg.com/business_finance/TSA_Confiscates_Water_Bottle_Yet_Misses_Bomb +462 +triscuitbiscuit +http://digg.com/img/user-medium/user-default.png +Business & Finance +61 + + +23-Year-Old Mark Zuckerberg Has Google Sweating + +http://digg.com/tech_news/23_Year_Old_Mark_Zuckerberg_Has_Google_Sweating_2 +What's the only company that scares Google? Facebook. Just as Google has become what some people call the operating system for search, Facebook is turning itself into the operating system for social networking. +Wed, 11 Jul 2007 02:30:03 GMT +http://digg.com/tech_news/23_Year_Old_Mark_Zuckerberg_Has_Google_Sweating_2 +516 +sepultura +http://digg.com/userimages/sepultura/medium9810.jpg +Tech Industry News +91 + + + +Miami Heat's Antoine Walker held at gunpoint in home robbery +http://digg.com/basketball/Miami_Heat_s_Antoine_Walker_held_at_gunpoint_in_home_robbery +His agent: "There was a robbery. It's a scary thing. It's a terrible thing. He's trying to get himself back together. Police are there and he's getting it taken care of." +Wed, 11 Jul 2007 02:17:55 GMT +http://digg.com/basketball/Miami_Heat_s_Antoine_Walker_held_at_gunpoint_in_home_robbery +157 +skored + +http://digg.com/userimages/s/k/o/skored/medium8681.jpg +Basketball +16 + + +Drinking may not be so bad, say scientists +http://digg.com/health/Drinking_may_not_be_so_bad_say_scientists +A conference of some of the world's top neuroscientists in far north Queensland has found alcohol does not kill off brain cells. +Wed, 11 Jul 2007 02:03:34 GMT +http://digg.com/health/Drinking_may_not_be_so_bad_say_scientists + +545 +djjester +http://digg.com/userimages/d/j/j/djjester/medium8831.jpg +Health +95 + + +The 10 Greatest Advancements in Fast Food +http://digg.com/health/The_10_Greatest_Advancements_in_Fast_Food +A helpful guide to all of the great moments in the history of that illustrious industry that keeps us fat for cheap. No, the McSalad absolutely did not make the list. + +Wed, 11 Jul 2007 01:50:26 GMT +http://digg.com/health/The_10_Greatest_Advancements_in_Fast_Food +548 +davidmorgan +http://digg.com/img/user-medium/user-default.png +Health +75 + + +Which 'Springfield' will host the US 'Simpsons' Premier? + +http://digg.com/movies/Which_Springfield_will_host_the_US_Simpsons_Premier +Residents of 14 American towns named Springfield are due to discover which one is to host the premiere of the film about animated family The Simpsons. The show was set in a fictional Springfield because its creator, Matt Groening, spotted that this was one of the most common place-names in the US. +Wed, 11 Jul 2007 01:40:03 GMT +http://digg.com/movies/Which_Springfield_will_host_the_US_Simpsons_Premier +441 +mazerstar +http://digg.com/userimages/mazerstar/medium5947.gif +Movies +80 + + + +Mark Shuttleworth: "Gobuntu is... go" +http://digg.com/linux_unix/Mark_Shuttleworth_Gobuntu_is_go +"Thanks to Colin and Evan’s efforts we now have daily images of a freedom-focused flavour of Ubuntu, 'Gobuntu'." +Wed, 11 Jul 2007 01:40:02 GMT +http://digg.com/linux_unix/Mark_Shuttleworth_Gobuntu_is_go +268 +Vinvin + +http://digg.com/userimages/vinvin/medium.jpg +Linux/Unix +36 + + +Cheney is now less popular than Dan Quayle was as Vice President +http://digg.com/politics/Cheney_is_now_less_popular_than_Dan_Quayle_was_as_Vice_President +Vice President Dick Cheney’s popularity has hit an all-time low, with recent polling by The New York Times and CBS News suggesting that he has replaced Dan Quayle as the most unpopular vice president in recent history. +Wed, 11 Jul 2007 01:30:20 GMT +http://digg.com/politics/Cheney_is_now_less_popular_than_Dan_Quayle_was_as_Vice_President + +526 +geekchic +http://digg.com/userimages/g/e/e/geekchic/medium4967.jpeg +Political News +63 + + +War with Iran coming? US Navy sends third carrier to waters off Iran +http://digg.com/world_news/War_with_Iran_coming_US_Navy_sends_third_carrier_to_waters_off_Iran +The U.S. navy has sent a third aircraft carrier to its Fifth Fleet area of operations, which includes Gulf waters close to Iran, the navy said on Tuesday."Enterprise (aircraft carrier) provides navy power to counter the assertive, disruptive and coercive behaviour of some countries, as well as support our soldiers and marines in Iraq... + +Wed, 11 Jul 2007 01:30:20 GMT +http://digg.com/world_news/War_with_Iran_coming_US_Navy_sends_third_carrier_to_waters_off_Iran +499 +UCBearcats +http://digg.com/userimages/ucbearcats/medium.jpg +World News +168 + + +Your first girlfriend --and the other things search engines store about you + +http://digg.com/tech_news/Your_first_girlfriend_and_the_other_things_search_engines_store_about_you_2 +What if there were a giant database that contained your hidden insecurities, embarrassing medical questions and the fact that you still think from time to time about your high school girlfriend? Well, such a data store does exist -- if you've ever plugged such private topics into a search engine. The fact is, search engines such as Google, Yahoo an +Wed, 11 Jul 2007 01:30:17 GMT +http://digg.com/tech_news/Your_first_girlfriend_and_the_other_things_search_engines_store_about_you_2 +448 +gokss +http://digg.com/userimages/g/o/k/gokss/medium6585.jpg +Tech Industry News +52 + + + +China executes ex-head of food and drug agency +http://digg.com/world_news/China_executes_ex_head_of_food_and_drug_agency +Zheng Xiaoyu was sentenced to death in May for taking bribes to approve an antibiotic blamed for at least 10 deaths and other substandard medicines. +Wed, 11 Jul 2007 01:26:46 GMT +http://digg.com/world_news/China_executes_ex_head_of_food_and_drug_agency +332 +Hortnon +http://digg.com/userimages/h/o/r/hortnon/medium4598.JPG + +World News +69 + + +Top 10 cars from the 60’s +http://digg.com/motorsport/Top_10_cars_from_the_60_s +Good models were born in the 60’s. +Wed, 11 Jul 2007 01:10:21 GMT +http://digg.com/motorsport/Top_10_cars_from_the_60_s + +199 +creatza555 +http://digg.com/userimages/c/r/e/creatza555/medium3590.jpg +Motorsport +73 + + +When NOT to hyphenate your name [pics] +http://digg.com/offbeat_news/When_NOT_to_hyphenate_your_name_pics +one wonders how these people saw nothing wrong with joining their names together for their weddings. + +Wed, 11 Jul 2007 01:10:10 GMT +http://digg.com/offbeat_news/When_NOT_to_hyphenate_your_name_pics +1213 +kdehead +http://digg.com/userimages/kdehead/medium.jpg +Offbeat News +73 + + +Dr. Wright makes the Super Smash Bros Brawl Roster! + +http://digg.com/nintendo_wii/Dr_Wright_makes_the_Super_Smash_Bros_Brawl_Roster +Yes, that's right, Dr. Wright from the SNES Version of Sim City makes his next generation debut in Super Smash Bros Brawl. His ability to bring skyscrapers from out of the earth to send opponents flying may make this character a popular favourite (or the most annoyingly cheesy character to ever grace a fighting game).Pictures in the link! +Wed, 11 Jul 2007 00:20:17 GMT +http://digg.com/nintendo_wii/Dr_Wright_makes_the_Super_Smash_Bros_Brawl_Roster +515 +TheTjalian +http://digg.com/userimages/t/h/e/thetjalian/medium3381.jpg +Nintendo Wii +78 + + + +A letter from Ron Paul to his supporters +http://digg.com/2008_us_elections/A_letter_from_Ron_Paul_to_his_supporters +This is an email from Ron Paul to his supporters. Looks like things are going pretty well in the Ron Paul campaign. +Wed, 11 Jul 2007 00:20:14 GMT +http://digg.com/2008_us_elections/A_letter_from_Ron_Paul_to_his_supporters +861 +mugshoot +http://digg.com/img/user-medium/user-default.png + +US Elections 2008 +224 + + +Might I inquire to ask, ehhh, "What’s Up Doc?" +http://digg.com/television/Might_I_inquire_to_ask_ehhh_What_s_Up_Doc +[VIDEO] 50 years ago this week, the greatest cartoon in the history of cartoons was premiered. +Wed, 11 Jul 2007 00:20:07 GMT +http://digg.com/television/Might_I_inquire_to_ask_ehhh_What_s_Up_Doc + +484 +mklopez +http://digg.com/userimages/mklopez/medium.gif +Television +56 + + +Pope: Other Christians Not True Churches +http://digg.com/world_news/Pope_Other_Christians_Not_True_Churches_2 +Pope Benedict XVI has reasserted the universal primacy of the Roman Catholic Church, approving a document released Tuesday that says Orthodox churches were defective and that other Christian denominations were not true churches. + +Wed, 11 Jul 2007 00:20:06 GMT +http://digg.com/world_news/Pope_Other_Christians_Not_True_Churches_2 +577 +littlebylittle +http://digg.com/userimages/l/i/t/littlebylittle/medium2854.jpg +World News +293 + + +Baseball Agent sentenced to 5 years in prison for smuggling Cubans to USA + +http://digg.com/baseball/Baseball_Agent_sentenced_to_5_years_in_prison_for_smuggling_Cubans_to_USA +A federal judge sentenced U.S. sports agent Gustavo "Gus" Dominguez to five years in prison on Monday for smuggling potential Major League Baseball players out of Cuba. Dominguez was convicted in April of smuggling five prospects out of Cuba to the Florida Keys and then on to California, where he shopped them to potential teams. +Wed, 11 Jul 2007 00:05:55 GMT +http://digg.com/baseball/Baseball_Agent_sentenced_to_5_years_in_prison_for_smuggling_Cubans_to_USA +154 +skored +http://digg.com/userimages/s/k/o/skored/medium8681.jpg + +Baseball +22 + + +HERE WE GO ! Senator (#1) Nipped By D.C. Madam Scandal : Who's Next? +http://digg.com/politics/HERE_WE_GO_Senator_1_Nipped_By_D_C_Madam_Scandal_Who_s_Next +Sen. David Vitter is apologizing for what he calls "a very serious sin in my past" - a statement released by the Louisiana Republican after his telephone number appeared among those associated with an escort service operated by the so-called "D.C. Madam." +Tue, 10 Jul 2007 23:40:08 GMT + +http://digg.com/politics/HERE_WE_GO_Senator_1_Nipped_By_D_C_Madam_Scandal_Who_s_Next +577 +webcure +http://digg.com/userimages/w/e/b/webcure/medium2287.jpg +Political News +133 + + +Yeah baby, yeah! [pic] +http://digg.com/hardware/Yeah_baby_yeah_pic +Wouldn't believe it if I hadn't seen the photo + +Wed, 11 Jul 2007 05:20:03 GMT +http://digg.com/hardware/Yeah_baby_yeah_pic +211 +ilkeryoldashttp://digg.com/userimages/i/l/k/ilkeryoldas/medium2956.JPG +Hardware +21 + + +Streamy -- The Digg Killer? + +http://digg.com/tech_news/Streamy_The_Digg_Killer +Streamy is one part Pageflakes + one part Digg. Users get their home page which is divided into topical sections but then via the wisdom of the Streamy crowds you get personalized recommendations on other stories and publications. +Wed, 11 Jul 2007 05:00:09 GMT +http://digg.com/tech_news/Streamy_The_Digg_Killer +284 +moojjhttp://digg.com/userimages/moojj/medium3674.jpg +Tech Industry News +83 + + + +Harvard Law: 'Universities Should Tell the RIAA to Take a Hike' +http://digg.com/tech_news/Harvard_Law_Universities_Should_Tell_the_RIAA_to_Take_a_Hike +Says they should be committed to the advancement and education of the youth of this country, and should never be perceived as doing the bidding of corporate interests. +Wed, 11 Jul 2007 04:50:05 GMT +http://digg.com/tech_news/Harvard_Law_Universities_Should_Tell_the_RIAA_to_Take_a_Hike +290 +MercedRockshttp://digg.com/userimages/m/e/r/mercedrocks/medium6018.jpg + +Tech Industry News +24 + + +Under The Linux 2.6.22 Hood +http://digg.com/linux_unix/Under_The_Linux_2_6_22_Hood +There's more than better memory management afoot. +Wed, 11 Jul 2007 04:40:02 GMT +http://digg.com/linux_unix/Under_The_Linux_2_6_22_Hood +137 + +jammaghttp://digg.com/img/user-medium/user-default.png +Linux/Unix +14 + + +Canonical open-sources first Launchpad component +http://digg.com/linux_unix/Canonical_open_sources_first_Launchpad_component +Canonical, the company behind Ubuntu, has just open-sourced a major part of its development and bug-tracking program Launchpad. +Wed, 11 Jul 2007 04:20:03 GMT + +http://digg.com/linux_unix/Canonical_open_sources_first_Launchpad_component +105 +sjvnhttp://digg.com/img/user-medium/user-default.png +Linux/Unix +5 + + +GameTap brings 500 PC games to Intel Macs +http://digg.com/apple/GameTap_brings_500_PC_games_to_Intel_Macs + +GameTap today announced that it is expanding its offerings to the Mac community by providing Intel-based Mac users access to its Lite Player, which offers more than 500 new and classic game titles as well as more than 600 streaming videos of original programming from GapeTap TV. &quot;Mac users will now be able to enjoy hundreds of games that have +Wed, 11 Jul 2007 03:30:01 GMT +http://digg.com/apple/GameTap_brings_500_PC_games_to_Intel_Macs +310 +fenreerhttp://digg.com/img/user-medium/user-default.png +Apple +66 + + + +TOP 5 Reasons Why Leopard's UI Sucks +http://digg.com/apple/TOP_5_Reasons_Why_Leopard_s_UI_Sucks +The current beta build of Mac OS X 10.5 Leopard, released to developers at WWDC ‚’07, is not as polished as what people have come to expect of Apple’s design team - users are still left with at best several disagreeable changes, and at worst a hideous hodgepodge of HIG contradictions. +Wed, 11 Jul 2007 03:10:02 GMT +http://digg.com/apple/TOP_5_Reasons_Why_Leopard_s_UI_Sucks +470 +npulidohttp://digg.com/img/user-medium/user-default.png +Apple + +147 + + +Life Hacker: Build Advanced Gmail Filters and Persistent Searches +http://digg.com/software/Life_Hacker_Build_Advanced_Gmail_Filters_and_Persistent_Searches +It's no surprise that the killer feature in Google's email offering, Gmail, is its search capability. Google's king of the web because it makes information on its billions of pages findable; likewise, Gmail makes the megabytes of messages that get pumped into your inbox every day manageable through laser-specific search. +Wed, 11 Jul 2007 03:00:06 GMT +http://digg.com/software/Life_Hacker_Build_Advanced_Gmail_Filters_and_Persistent_Searches +250 +sepulturahttp://digg.com/userimages/sepultura/medium9810.jpg + +Software +7 + + +Anti-DRM T-Shirt Design Contest: The Winners are… +http://digg.com/software/Anti_DRM_T_Shirt_Design_Contest_The_Winners_areh +The contest turned out to be a great success. Nearly 50 designs were submitted and over 10,000 people picked their favorite during the voting round last month.We’re happy to (finally) announce the winning designs... +Wed, 11 Jul 2007 02:50:04 GMT +http://digg.com/software/Anti_DRM_T_Shirt_Design_Contest_The_Winners_areh +610 + +MrBabyManhttp://digg.com/userimages/mrbabyman/medium2218.png +Software +40 + + +Rumor Smash: Actually, the iPhone Battery WON'T Die After 400 Charges +http://digg.com/apple/Rumor_Smash_Actually_the_iPhone_Battery_WON_T_Die_After_400_Charges +Some good news for the iPhone's battery. Everyone originally reported that the iPhone battery loses capacity after 300-400 charges, needing to be replaced. People were mad. Turns out, that's bullshit. Apple tells us that the battery life "is designed to retain 80% of its original capacity after 400 full charge and discharge cycles." +Wed, 11 Jul 2007 02:50:02 GMT + +http://digg.com/apple/Rumor_Smash_Actually_the_iPhone_Battery_WON_T_Die_After_400_Charges +414 +BLAM8http://digg.com/img/user-medium/user-default.png +Apple +41 + + +Why do “Journalists” insist on saying the iPhone costs $2000? +http://digg.com/apple/Why_do_Journalists_insist_on_saying_the_iPhone_costs_2000_2 + +In order to reach this insane number, they factor in 2-years of service into the price. That is perhaps one of the stupidest and most misleading arguments a tech journalist can make. You might as well add sales tax and the cost of the gas you used driving to the Apple Store to the “shocking” costs. +Wed, 11 Jul 2007 02:40:01 GMT +http://digg.com/apple/Why_do_Journalists_insist_on_saying_the_iPhone_costs_2000_2 +464 +CLIFFosakaJAPANhttp://digg.com/userimages/cliffosakajapan/medium5296.jpg +Apple +116 + + + +23-Year-Old Mark Zuckerberg Has Google Sweating +http://digg.com/tech_news/23_Year_Old_Mark_Zuckerberg_Has_Google_Sweating_2 +What's the only company that scares Google? Facebook. Just as Google has become what some people call the operating system for search, Facebook is turning itself into the operating system for social networking. +Wed, 11 Jul 2007 02:30:03 GMT +http://digg.com/tech_news/23_Year_Old_Mark_Zuckerberg_Has_Google_Sweating_2 +520 +sepulturahttp://digg.com/userimages/sepultura/medium9810.jpg +Tech Industry News + +93 + + +Mark Shuttleworth: "Gobuntu is... go" +http://digg.com/linux_unix/Mark_Shuttleworth_Gobuntu_is_go +"Thanks to Colin and Evan’s efforts we now have daily images of a freedom-focused flavour of Ubuntu, 'Gobuntu'." +Wed, 11 Jul 2007 01:40:02 GMT +http://digg.com/linux_unix/Mark_Shuttleworth_Gobuntu_is_go +268 + +Vinvinhttp://digg.com/userimages/vinvin/medium.jpg +Linux/Unix +36 + + +Your first girlfriend --and the other things search engines store about you +http://digg.com/tech_news/Your_first_girlfriend_and_the_other_things_search_engines_store_about_you_2 +What if there were a giant database that contained your hidden insecurities, embarrassing medical questions and the fact that you still think from time to time about your high school girlfriend? Well, such a data store does exist -- if you've ever plugged such private topics into a search engine. The fact is, search engines such as Google, Yahoo an +Wed, 11 Jul 2007 01:30:17 GMT + +http://digg.com/tech_news/Your_first_girlfriend_and_the_other_things_search_engines_store_about_you_2 +451 +goksshttp://digg.com/userimages/g/o/k/gokss/medium6585.jpg +Tech Industry News +53 + + +iPhone File System Hacked, Custom Ringtones to Come Soon +http://digg.com/mods/iPhone_File_System_Hacked_Custom_Ringtones_to_Come_Soon + +The iPhone file system has been compromised and you can access it using iPhoneInterface. Full access to the file system means custom ringtones and all kinds of fun stuff. One them you can see in the image: They moved the Safari application from the dashboard to the iPhone space. This also opens the door to running custom applications +Tue, 10 Jul 2007 23:40:04 GMT +http://digg.com/mods/iPhone_File_System_Hacked_Custom_Ringtones_to_Come_Soon +760 +1KrazyKoreanhttp://digg.com/userimages/1/k/r/1krazykorean/medium5763.gif +Mods +60 + + + +Digg iPhone Beta Live! +http://digg.com/tech_news/Digg_iPhone_Beta_Live +"Last weekend Joe Stump, Daniel Burka, and I sat down and white-boarded the Digg iPhone app. I told Joe if he coded it in 48hrs, I'd buy him an iPhone. Needless to say, he got it done (nice work, Joe)." +Tue, 10 Jul 2007 23:30:05 GMT +http://digg.com/tech_news/Digg_iPhone_Beta_Live +2014 +kevinrosehttp://digg.com/userimages/kevinrose/medium3094.jpg +Tech Industry News + +161 + + +Ubuntu: Install applications from Internet with a single-click. +http://digg.com/linux_unix/Ubuntu_Install_applications_from_Internet_with_a_single_click +"With this new feature it will be possible to install applications just by clicking in a link that point to a new apt:// protocol, it will call a dialog asking if the user really wants to install that package, if yes the superuser password will be asked and the package will be installed. It’s simple like that :)" +Tue, 10 Jul 2007 23:10:03 GMT +http://digg.com/linux_unix/Ubuntu_Install_applications_from_Internet_with_a_single_click +522 +euvirtualhttp://digg.com/img/user-medium/user-default.png + +Linux/Unix +102 + + +Macheist give out free Linkinus IRC program! +http://digg.com/apple/Macheist_give_out_free_Linkinus_IRC_program +"For anyone interested, up to 20,000 limited licenses for Linkinus for all versions up through 1.1.X will be distributed for free on this page over the next few days. Just put in your name and email, and they'll email you back within the hour with your license code." +Tue, 10 Jul 2007 23:00:02 GMT +http://digg.com/apple/Macheist_give_out_free_Linkinus_IRC_program +258 + +cianmmhttp://digg.com/img/user-medium/user-default.png +Apple +43 + + +Ubuntu Graffiti on Brookyn Bridge (courtesy Graffiti Research Lab) +http://digg.com/linux_unix/Ubuntu_Graffiti_on_Brookyn_Bridge_courtesy_Graffiti_Research_Lab +Ubuntu Laser Tagged on the Brooklyn Bridge last night. Viva La Revolucion! +Tue, 10 Jul 2007 22:40:02 GMT + +http://digg.com/linux_unix/Ubuntu_Graffiti_on_Brookyn_Bridge_courtesy_Graffiti_Research_Lab +575 +fi5ehttp://digg.com/userimages/f/i/5/fi5e/medium3662.jpg +Linux/Unix +63 + + +Eco-Tip: Make Your Lithium Batteries Last +http://digg.com/tech_news/Eco_Tip_Make_Your_Lithium_Batteries_Last + +Here are 4 tips from Spicy Gadget Roll to help make sure your Crackberries and MacBooks stay powered without having to burn through batteries. +Tue, 10 Jul 2007 22:30:06 GMT +http://digg.com/tech_news/Eco_Tip_Make_Your_Lithium_Batteries_Last +397 +pizzlerhttp://digg.com/userimages/p/i/z/pizzler/medium8418.JPG +Tech Industry News +21 + + + +Btrfs - A new Linux filesystem by Oracle +http://digg.com/linux_unix/Btrfs_A_new_Linux_filesystem_by_Oracle +Linux has a wealth of filesystems to choose from, but we are facing a number of challenges with scaling to the large storage subsystems that are becoming common in today's data centers. Filesystems need to scale in their ability to address and manage large storage, and also in their ability to detect, repair and tolerate errors in the data stored o +Tue, 10 Jul 2007 22:20:04 GMT +http://digg.com/linux_unix/Btrfs_A_new_Linux_filesystem_by_Oracle +239 +bonlebonhttp://digg.com/userimages/bonlebon/medium5388.jpg +Linux/Unix + +31 + + +JP Morgan retracts report: No to iPhone Nano +http://digg.com/apple/JP_Morgan_retracts_report_No_to_iPhone_Nano +JP Morgan has just issued a note retracting Kevin Chang's earlier projection about a near term iPhone Nano. The new report says that the majority of Chang's assumptions appear to have come from a review of the patent that was published last week, adding that a near-term launch of an iPhone-nano product would be "unusual and highly risky". +Tue, 10 Jul 2007 22:20:01 GMT +http://digg.com/apple/JP_Morgan_retracts_report_No_to_iPhone_Nano +404 + +SillyMammahttp://digg.com/img/user-medium/user-default.png +Apple +29 + + +Handsoap. Literally. Very Creepy [w/ pics] +http://digg.com/design/Handsoap_Literally_Very_Creepy_w_pics +"this is actual soap shaped like little hands! wash your hands with hands." I think it is the fact that they are kids hands that creeps me out the most. + +Tue, 10 Jul 2007 22:10:05 GMT +http://digg.com/design/Handsoap_Literally_Very_Creepy_w_pics +1034 +DariusMonsefhttp://digg.com/userimages/d/a/r/dariusmonsef/medium2980.jpg +Design +69 + + +Color Inspiration: 20 Creative Characters + +http://digg.com/design/Color_Inspiration_20_Creative_Characters +"At COLOURlovers we are all about the color love… but over at Mojizu.com they’re all about the character art love. There are thousands of very creative, cute & funny creations at Mojizu but we chose just a handful to share with you... Let me first introduce you to Buttstache..." +Tue, 10 Jul 2007 21:50:07 GMT +http://digg.com/design/Color_Inspiration_20_Creative_Characters +334 +IvanBhttp://digg.com/userimages/ivanb/medium1979.jpg +Design + +16 + + +Safari 3 VS Firefox 2 +http://digg.com/software/Safari_3_VS_Firefox_2 +In the weeks since its release, I’m sure that many of you have already downloaded the new beta version of Safari. Today I’m going to take you through a side by side comparison of the two in giving you a better understanding of them and letting you make the choice of which one you would like to use. +Tue, 10 Jul 2007 21:50:04 GMT +http://digg.com/software/Safari_3_VS_Firefox_2 +418 +hisaltessehttp://digg.com/img/user-medium/user-default.png + +Software +153 + + +Comes vs Microsoft Petition Shows How Microsoft Blocked Linux Sales [PDF] +http://digg.com/linux_unix/Comes_vs_Microsoft_Petition_Shows_How_Microsoft_Blocked_Linux_Sales_PDF +'OEMs are forced to forfeit all discounts otherwise earned if they ship any "naked machines" to consumers. This heightened restriction, which (on information and belief) continues to the present, prohibits PC users and PC retailers from buying and installing lower priced or better quality operating systems of their choice.' +Tue, 10 Jul 2007 21:00:04 GMT + +http://digg.com/linux_unix/Comes_vs_Microsoft_Petition_Shows_How_Microsoft_Blocked_Linux_Sales_PDF +429 +schestowitzhttp://digg.com/userimages/schestowitz/medium9688.jpg +Linux/Unix +54 + + +Will it Blend? - iPhone +http://digg.com/apple/Will_it_Blend_iPhone + +Title says it all +Tue, 10 Jul 2007 19:20:02 GMT +http://digg.com/apple/Will_it_Blend_iPhone +6236 +x2wenty4xhttp://digg.com/userimages/x2wenty4x/medium.JPG +Apple +449 + + + +6th Generation iPod Coming January 2008! +http://digg.com/apple/6th_Generation_iPod_Coming_January_2008 +I mean, January is Macworld. From the looks of it, the iPhone will continue to be Apple's mobile all-in-one handheld, while the iPod will move toward being a portable media powerhouse, with larger drive capacity, bigger and better screens, though lacking the iPhone's net capabilities. +Tue, 10 Jul 2007 18:20:02 GMT +http://digg.com/apple/6th_Generation_iPod_Coming_January_2008 +1223 +UCBearcatshttp://digg.com/userimages/ucbearcats/medium.jpg +Apple + +144 + + +GIMP Tricks: Chocolate bar with GIMP +http://digg.com/linux_unix/GIMP_Tricks_Chocolate_bar_with_GIMP +Some time ago I saw a chocolate bar made with Adobe Photoshop somewhere on the Internet. I thought that Gimp can’t do worse than and I got myself to work. It seemed to be quite easy and here is the result in 28 steps. +Tue, 10 Jul 2007 17:20:05 GMT +http://digg.com/linux_unix/GIMP_Tricks_Chocolate_bar_with_GIMP +508 +ace77http://digg.com/userimages/a/c/e/ace77/medium3204.JPG + +Linux/Unix +82 + + +GBAX 2007 Coding Competition entries released for DS, PSP, GP2X and GP32 +http://digg.com/software/GBAX_2007_Coding_Competition_entries_released_for_DS_PSP_GP2X_and_GP32 +The entries for the GBAX 2007 Coding Competition are now available to download. This is our fifth year of coding competitions and this year has been a great success with 60 entries for DS, PSP, GP2X and GP32 with homebrew games, applications, emulators and demos. There are some great entries this year so we hope there is something you like! +Tue, 10 Jul 2007 16:40:03 GMT +http://digg.com/software/GBAX_2007_Coding_Competition_entries_released_for_DS_PSP_GP2X_and_GP32 +292 + +guyfawkesemuhttp://digg.com/img/user-medium/user-default.png +Software +18 + + +Google struggles to see no evil, speak no evil +http://digg.com/tech_news/Google_struggles_to_see_no_evil_speak_no_evil +Google's habit of using a wide network of employee-run blogs for making official news is obviously meant as a democratic way of of sparking dialogue between the company and its users and partners, but two recent PR incidents suggest that this practice is growing increasingly treacherous for a bottom-up, rapidly growing company that has "Do No Evil" +Tue, 10 Jul 2007 16:10:04 GMT + +http://digg.com/tech_news/Google_struggles_to_see_no_evil_speak_no_evil +556 +Jhorrahttp://digg.com/userimages/j/h/o/jhorra/medium2637.gif +Tech Industry News +81 + + +Next-gen iMacs to bundle NEW Apple keyboard +http://digg.com/apple/Next_gen_iMacs_to_bundle_NEW_Apple_keyboard + +the Cupertino-based Mac maker has reportedly crafted a super-slim external keyboard for the new Macs. It's said to draw upon the aesthetic and feel of the low-profile keyboard which was first integrated with the company's 13-inch MacBook portables in May of 2006 +Tue, 10 Jul 2007 15:50:02 GMT +http://digg.com/apple/Next_gen_iMacs_to_bundle_NEW_Apple_keyboard +1223 +twiny3http://digg.com/userimages/t/w/i/twiny3/medium6638.jpg +Apple +147 + + + +Content Producers: Write Articles, Not Blog Postings +http://digg.com/tech_news/Content_Producers_Write_Articles_Not_Blog_Postings +To demonstrate world-class expertise, avoid quickly written, shallow postings. Instead, invest your time in thorough, value-added content that attracts paying customers. Warning - This is a long article, stuffed with charts and statistical concepts - like standard deviations and utility functions - it flies in the face of guidelines for web writing +Tue, 10 Jul 2007 15:20:59 GMT +http://digg.com/tech_news/Content_Producers_Write_Articles_Not_Blog_Postings +439 +spinchangehttp://digg.com/userimages/spinchange/medium8728.gif +Tech Industry News + +46 + + +Two of our three iPhones have faulty batteries (pics) +http://digg.com/gadgets/Two_of_our_three_iPhones_have_faulty_batteries_pics +We've been trying to run tests on our official WirelessInfo.com iPhones since the device hit the streets, but we've been running into battery anomalies. Most recently we've found that two out of our three iPhones won't charge fully. Are you experiencing similar problems? +Tue, 10 Jul 2007 14:30:05 GMT +http://digg.com/gadgets/Two_of_our_three_iPhones_have_faulty_batteries_pics +881 +rBennetthttp://digg.com/img/user-medium/user-default.png + +Gadgets +178 + + +iPhone Hackers: "we have owned the filesystem" +http://digg.com/apple/iPhone_Hackers_we_have_owned_the_filesystem +The cooky hacking kids over at IRC channel #iphone claim to have gained full ownership of the iPhone filesystem. In an update titled "How to Escape Jail," they highlight the technical steps required to enable custom ringtones, wallpapers and more for your iPhone. They have not released a tool for general consumption -- yet -- +Tue, 10 Jul 2007 13:50:01 GMT + +http://digg.com/apple/iPhone_Hackers_we_have_owned_the_filesystem +1645 +navotvolkhttp://digg.com/userimages/n/a/v/navotvolk/medium5320.gif +Apple +196 + + +10 Alternatives to iTunes for managing your iPod +http://digg.com/software/10_Alternatives_to_iTunes_for_managing_your_iPod + +This overview details the features (with screenshots) of 10 different programs other than iTunes to manage your iPod. Tutorials are included for every program, and they’re all either free or Open Source. +Tue, 10 Jul 2007 13:40:07 GMT +http://digg.com/software/10_Alternatives_to_iTunes_for_managing_your_iPod +956 +pfhacketthttp://digg.com/userimages/p/f/h/pfhackett/medium3703.jpg +Software +126 + + + +Real World 2900 XT CrossFire - A Total Waste of Money +http://digg.com/hardware/Real_World_2900_XT_CrossFire_A_Total_Waste_of_Money +Radeon HD 2900 XT CrossFire is most certainly not a good gaming solution. It just does not deliver the kind of performance advantages ATI needs to compete with what NVIDIA already has in the marketplace. - "To summarize the value of two HD 2900 XT cards in CrossFire, it just isn’t worth it." +Tue, 10 Jul 2007 13:40:03 GMT +http://digg.com/hardware/Real_World_2900_XT_CrossFire_A_Total_Waste_of_Money +388 +frgmstrhttp://digg.com/userimages/frgmstr/medium.jpg +Hardware + +67 + + +Investors Digg Kevin Rose +http://digg.com/tech_news/Investors_Digg_Kevin_Rose +The Web wunderkind dreamed up Pownce in his off-hours from his other hot ventures, Digg and Revision3. Investors are ready to, well, pounce. +Tue, 10 Jul 2007 13:10:04 GMT +http://digg.com/tech_news/Investors_Digg_Kevin_Rose +1306 +michaelstokeshttp://digg.com/userimages/m/i/c/michaelstokes/medium4811.gif + +Tech Industry News +143 + + +iPhone in depth: the Ars Technica review +http://digg.com/gadgets/iPhone_in_depth_the_Ars_Technica_review +Our iPhone review is rather large because we unleashed three (and a half) reviewers on it, all coming from different backgrounds. We pooled our thoughts together, had a few fistfights and a squabble or two ("Keyboard sucks!" "Does not!"), and now present to you our full review. Check out the outline beforehand, or just jump on in. +Tue, 10 Jul 2007 13:00:05 GMT + +http://digg.com/gadgets/iPhone_in_depth_the_Ars_Technica_review +741 +MrBabyManhttp://digg.com/userimages/mrbabyman/medium2218.png +Gadgets +33 + + +No Samba for Microsoft and Its Linux 'Partners' +http://digg.com/linux_unix/No_Samba_for_Microsoft_and_Its_Linux_Partners + +Samba will move to GPLv3. The Samba team will continue to provide security fixes to the GPLv2 versions, but new features will be added only to the GPLv3 versions, the team said. +Tue, 10 Jul 2007 13:00:03 GMT +http://digg.com/linux_unix/No_Samba_for_Microsoft_and_Its_Linux_Partners +540 +edwardnhttp://digg.com/img/user-medium/user-default.png +Linux/Unix +91 + + + \ No newline at end of file diff --git a/htdocs/includes/iphone/samples/digg/iPhone_File_System_Hacked_Custom_Ringtones_to_Come_Soon.html b/htdocs/includes/iphone/samples/digg/iPhone_File_System_Hacked_Custom_Ringtones_to_Come_Soon.html new file mode 100644 index 00000000000..da7637c42f0 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/iPhone_File_System_Hacked_Custom_Ringtones_to_Come_Soon.html @@ -0,0 +1,5 @@ + +
+

iPhone File System Hacked, Custom Ringtones to Come Soon

+

The iPhone file system has been compromised and you can access it using iPhoneInterface. Full access to the file system means custom ringtones and all kinds of fun stuff. One them you can see in the image: They moved the Safari application from the dashboard to the iPhone space. This also opens the door to running custom applications

+
diff --git a/htdocs/includes/iphone/samples/digg/iPhone_Hackers_we_have_owned_the_filesystem.html b/htdocs/includes/iphone/samples/digg/iPhone_Hackers_we_have_owned_the_filesystem.html new file mode 100644 index 00000000000..b3cda8e8ce5 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/iPhone_Hackers_we_have_owned_the_filesystem.html @@ -0,0 +1,5 @@ + +
+

iPhone Hackers: "we have owned the filesystem"

+

The cooky hacking kids over at IRC channel #iphone claim to have gained full ownership of the iPhone filesystem. In an update titled "How to Escape Jail," they highlight the technical steps required to enable custom ringtones, wallpapers and more for your iPhone. They have not released a tool for general consumption -- yet --

+
diff --git a/htdocs/includes/iphone/samples/digg/iPhone_in_depth_the_Ars_Technica_review.html b/htdocs/includes/iphone/samples/digg/iPhone_in_depth_the_Ars_Technica_review.html new file mode 100644 index 00000000000..070f6e67553 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/iPhone_in_depth_the_Ars_Technica_review.html @@ -0,0 +1,5 @@ + +
+

iPhone in depth: the Ars Technica review

+

Our iPhone review is rather large because we unleashed three (and a half) reviewers on it, all coming from different backgrounds. We pooled our thoughts together, had a few fistfights and a squabble or two ("Keyboard sucks!" "Does not!"), and now present to you our full review. Check out the outline beforehand, or just jump on in.

+
diff --git a/htdocs/includes/iphone/samples/digg/index.html b/htdocs/includes/iphone/samples/digg/index.html new file mode 100644 index 00000000000..704117c1f9c --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/index.html @@ -0,0 +1,107 @@ + + + + + +iUI Digg Demo + + + + + + + + + + + +
+

+ +
+ + + + + diff --git a/htdocs/includes/iphone/samples/digg/page0.html b/htdocs/includes/iphone/samples/digg/page0.html new file mode 100644 index 00000000000..8760cf0e637 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/page0.html @@ -0,0 +1,42 @@ + +
  • + 118 + The Thermonuclear "Oops" List +
  • +
  • + 135 + Yeah baby, yeah! [pic] +
  • +
  • + 254 + Streamy -- The Digg Killer? +
  • +
  • + 250 + What Evolution Left Behind On Humans +
  • +
  • + 268 + Harvard Law: 'Universities Should Tell the RIAA to Take a Hike' +
  • +
  • + 130 + Under The Linux 2.6.22 Hood +
  • +
  • + 616 + Karma Kills [pic] +
  • +
  • + 340 + Bush on Health Care: It's All Your Fault +
  • +
  • + 104 + Canonical open-sources first Launchpad component +
  • +
  • + 316 + Moore accuses CNN of libel +
  • +
  • Get 10 More Stories...
  • diff --git a/htdocs/includes/iphone/samples/digg/page1.html b/htdocs/includes/iphone/samples/digg/page1.html new file mode 100644 index 00000000000..a2de38f5760 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/page1.html @@ -0,0 +1,42 @@ + +
  • + 283 + Baby Mammoth Discovery Unveiled +
  • +
  • + 235 + Firing people via IM - 14% of men said they would +
  • +
  • + 197 + Penguins sign Crosby to extension +
  • +
  • + 305 + GameTap brings 500 PC games to Intel Macs +
  • +
  • + 465 + TOP 5 Reasons Why Leopard's UI Sucks +
  • +
  • + 247 + Life Hacker: Build Advanced Gmail Filters and Persistent Searches +
  • +
  • + 522 + White House In "panic Mode" Over GOP Revolt +
  • +
  • + 600 + Anti-DRM T-Shirt Design Contest: The Winners are… +
  • +
  • + 407 + Rumor Smash: Actually, the iPhone Battery WON'T Die After 400 Charges +
  • +
  • + 793 + Senate panel cuts off funds for Cheney’s office. +
  • +
  • Get 10 More Stories...
  • diff --git a/htdocs/includes/iphone/samples/digg/page2.html b/htdocs/includes/iphone/samples/digg/page2.html new file mode 100644 index 00000000000..b3ca1b68b63 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/page2.html @@ -0,0 +1,42 @@ + +
  • + 459 + Why do “Journalists” insist on saying the iPhone costs $2000? +
  • +
  • + 462 + TSA Confiscates Water Bottle Yet Misses Bomb +
  • +
  • + 516 + 23-Year-Old Mark Zuckerberg Has Google Sweating +
  • +
  • + 157 + Miami Heat's Antoine Walker held at gunpoint in home robbery +
  • +
  • + 545 + Drinking may not be so bad, say scientists +
  • +
  • + 548 + The 10 Greatest Advancements in Fast Food +
  • +
  • + 441 + Which 'Springfield' will host the US 'Simpsons' Premier? +
  • +
  • + 268 + Mark Shuttleworth: "Gobuntu is... go" +
  • +
  • + 526 + Cheney is now less popular than Dan Quayle was as Vice President +
  • +
  • + 499 + War with Iran coming? US Navy sends third carrier to waters off Iran +
  • +
  • Get 10 More Stories...
  • diff --git a/htdocs/includes/iphone/samples/digg/page3.html b/htdocs/includes/iphone/samples/digg/page3.html new file mode 100644 index 00000000000..411b77b86b4 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/page3.html @@ -0,0 +1,42 @@ + +
  • + 448 + Your first girlfriend --and the other things search engines store about you +
  • +
  • + 332 + China executes ex-head of food and drug agency +
  • +
  • + 199 + Top 10 cars from the 60’s +
  • +
  • + 1213 + When NOT to hyphenate your name [pics] +
  • +
  • + 515 + Dr. Wright makes the Super Smash Bros Brawl Roster! +
  • +
  • + 861 + A letter from Ron Paul to his supporters +
  • +
  • + 484 + Might I inquire to ask, ehhh, "What’s Up Doc?" +
  • +
  • + 577 + Pope: Other Christians Not True Churches +
  • +
  • + 154 + Baseball Agent sentenced to 5 years in prison for smuggling Cubans to USA +
  • +
  • + 577 + HERE WE GO ! Senator (#1) Nipped By D.C. Madam Scandal : Who's Next? +
  • +
  • Get 10 More Stories...
  • diff --git a/htdocs/includes/iphone/samples/digg/page4.html b/htdocs/includes/iphone/samples/digg/page4.html new file mode 100644 index 00000000000..e301d32decd --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/page4.html @@ -0,0 +1,42 @@ + +
  • + 211 + Yeah baby, yeah! [pic] +
  • +
  • + 284 + Streamy -- The Digg Killer? +
  • +
  • + 290 + Harvard Law: 'Universities Should Tell the RIAA to Take a Hike' +
  • +
  • + 137 + Under The Linux 2.6.22 Hood +
  • +
  • + 105 + Canonical open-sources first Launchpad component +
  • +
  • + 310 + GameTap brings 500 PC games to Intel Macs +
  • +
  • + 470 + TOP 5 Reasons Why Leopard's UI Sucks +
  • +
  • + 250 + Life Hacker: Build Advanced Gmail Filters and Persistent Searches +
  • +
  • + 610 + Anti-DRM T-Shirt Design Contest: The Winners are… +
  • +
  • + 414 + Rumor Smash: Actually, the iPhone Battery WON'T Die After 400 Charges +
  • +
  • Get 10 More Stories...
  • diff --git a/htdocs/includes/iphone/samples/digg/page5.html b/htdocs/includes/iphone/samples/digg/page5.html new file mode 100644 index 00000000000..6dbf58b171e --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/page5.html @@ -0,0 +1,42 @@ + +
  • + 464 + Why do “Journalists” insist on saying the iPhone costs $2000? +
  • +
  • + 520 + 23-Year-Old Mark Zuckerberg Has Google Sweating +
  • +
  • + 268 + Mark Shuttleworth: "Gobuntu is... go" +
  • +
  • + 451 + Your first girlfriend --and the other things search engines store about you +
  • +
  • + 760 + iPhone File System Hacked, Custom Ringtones to Come Soon +
  • +
  • + 2014 + Digg iPhone Beta Live! +
  • +
  • + 522 + Ubuntu: Install applications from Internet with a single-click. +
  • +
  • + 258 + Macheist give out free Linkinus IRC program! +
  • +
  • + 575 + Ubuntu Graffiti on Brookyn Bridge (courtesy Graffiti Research Lab) +
  • +
  • + 397 + Eco-Tip: Make Your Lithium Batteries Last +
  • +
  • Get 10 More Stories...
  • diff --git a/htdocs/includes/iphone/samples/digg/page6.html b/htdocs/includes/iphone/samples/digg/page6.html new file mode 100644 index 00000000000..168caefaa98 --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/page6.html @@ -0,0 +1,42 @@ + +
  • + 239 + Btrfs - A new Linux filesystem by Oracle +
  • +
  • + 404 + JP Morgan retracts report: No to iPhone Nano +
  • +
  • + 1034 + Handsoap. Literally. Very Creepy [w/ pics] +
  • +
  • + 334 + Color Inspiration: 20 Creative Characters +
  • +
  • + 418 + Safari 3 VS Firefox 2 +
  • +
  • + 429 + Comes vs Microsoft Petition Shows How Microsoft Blocked Linux Sales [PDF] +
  • +
  • + 6236 + Will it Blend? - iPhone +
  • +
  • + 1223 + 6th Generation iPod Coming January 2008! +
  • +
  • + 508 + GIMP Tricks: Chocolate bar with GIMP +
  • +
  • + 292 + GBAX 2007 Coding Competition entries released for DS, PSP, GP2X and GP32 +
  • +
  • Get 10 More Stories...
  • diff --git a/htdocs/includes/iphone/samples/digg/page7.html b/htdocs/includes/iphone/samples/digg/page7.html new file mode 100644 index 00000000000..c374df48aea --- /dev/null +++ b/htdocs/includes/iphone/samples/digg/page7.html @@ -0,0 +1,37 @@ + +
  • + 556 + Google struggles to see no evil, speak no evil +
  • +
  • + 1223 + Next-gen iMacs to bundle NEW Apple keyboard +
  • +
  • + 439 + Content Producers: Write Articles, Not Blog Postings +
  • +
  • + 881 + Two of our three iPhones have faulty batteries (pics) +
  • +
  • + 1645 + iPhone Hackers: "we have owned the filesystem" +
  • +
  • + 956 + 10 Alternatives to iTunes for managing your iPod +
  • +
  • + 388 + Real World 2900 XT CrossFire - A Total Waste of Money +
  • +
  • + 1306 + Investors Digg Kevin Rose +
  • +
  • + 741 + iPhone in depth: the Ars Technica review +
  • diff --git a/htdocs/includes/iphone/samples/digg/shade-compact.gif b/htdocs/includes/iphone/samples/digg/shade-compact.gif new file mode 100644 index 00000000000..6af12dc8d0a Binary files /dev/null and b/htdocs/includes/iphone/samples/digg/shade-compact.gif differ diff --git a/htdocs/includes/iphone/samples/minimal/minimal.html b/htdocs/includes/iphone/samples/minimal/minimal.html new file mode 100644 index 00000000000..af82b2212e6 --- /dev/null +++ b/htdocs/includes/iphone/samples/minimal/minimal.html @@ -0,0 +1,21 @@ + + + + iUI Minimal Sample + + + + + + +
    +

    + +
    + +
    +
    + + + diff --git a/htdocs/includes/iphone/samples/minimal/minimal.xhtml b/htdocs/includes/iphone/samples/minimal/minimal.xhtml new file mode 100644 index 00000000000..af82b2212e6 --- /dev/null +++ b/htdocs/includes/iphone/samples/minimal/minimal.xhtml @@ -0,0 +1,21 @@ + + + + iUI Minimal Sample + + + + + + +
    +

    + +
    + +
    +
    + + + diff --git a/htdocs/includes/iphone/samples/music.html b/htdocs/includes/iphone/samples/music.html new file mode 100644 index 00000000000..5b6dc1b8406 --- /dev/null +++ b/htdocs/includes/iphone/samples/music.html @@ -0,0 +1,136 @@ + + + + +iUI Music Demo + + + + + + + + + +
    +

    + + Search +
    + + + + + + + + + + + +
    +

    If this weren't just a demo, you might be hearing a song...

    +
    + +
    +
    +

    Music Search

    + Cancel + Search + + + + + +
    +
    + +
    +

    Playback

    +
    +
    + +
    ONOFF
    +
    +
    + +
    ONOFF
    +
    +
    + +

    User

    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + + diff --git a/htdocs/includes/iphone/samples/musicx.html b/htdocs/includes/iphone/samples/musicx.html new file mode 100644 index 00000000000..c38e50e5fd0 --- /dev/null +++ b/htdocs/includes/iphone/samples/musicx.html @@ -0,0 +1,136 @@ + + + + +iUI Music Demo + + + + + + + + + +
    +

    + + Search +
    + + + + + + + + + + + +
    +

    If this weren't just a demo, you might be hearing a song...

    +
    + +
    +
    +

    Music Search

    + Cancel + Search + + + + + +
    +
    + +
    +

    Playback

    +
    +
    + +
    ONOFF
    +
    +
    + +
    ONOFF
    +
    +
    + +

    User

    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + + diff --git a/htdocs/includes/iphone/samples/orient.html b/htdocs/includes/iphone/samples/orient.html new file mode 100644 index 00000000000..4fff3740325 --- /dev/null +++ b/htdocs/includes/iphone/samples/orient.html @@ -0,0 +1,70 @@ + + + + Orientation + + + + + +

    Tracking Orientation

    + Load Events: unknown
    + Resize Events: unknown
    + Orient Events: unknown
    + Manual State: unknown
    + link out
    + Read window.orientation + + + diff --git a/htdocs/includes/iphone/samples/orientx.html b/htdocs/includes/iphone/samples/orientx.html new file mode 100644 index 00000000000..4fff3740325 --- /dev/null +++ b/htdocs/includes/iphone/samples/orientx.html @@ -0,0 +1,70 @@ + + + + Orientation + + + + + +

    Tracking Orientation

    + Load Events: unknown
    + Resize Events: unknown
    + Orient Events: unknown
    + Manual State: unknown
    + link out
    + Read window.orientation + + + diff --git a/htdocs/includes/iphone/samples/prefs.html b/htdocs/includes/iphone/samples/prefs.html new file mode 100644 index 00000000000..ee1ce44a23a --- /dev/null +++ b/htdocs/includes/iphone/samples/prefs.html @@ -0,0 +1,50 @@ + + + + + iUI Prefs Demo + + + + + + + + +
    +

    + +
    + +
    +

    Playback

    +
    +
    + +
    ONOFF
    +
    +
    + +
    ONOFF
    +
    +
    + +

    User

    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + + diff --git a/htdocs/includes/iphone/samples/prefsx.html b/htdocs/includes/iphone/samples/prefsx.html new file mode 100644 index 00000000000..ad1f2d3f6e9 --- /dev/null +++ b/htdocs/includes/iphone/samples/prefsx.html @@ -0,0 +1,50 @@ + + + + + iUI Prefs Demo + + + + + + + + +
    +

    + +
    + +
    +

    Playback

    +
    +
    + +
    ONOFF
    +
    +
    + +
    ONOFF
    +
    +
    + +

    User

    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + + diff --git a/htdocs/includes/iphone/samples/search.php b/htdocs/includes/iphone/samples/search.php new file mode 100644 index 00000000000..bfcb9fa7386 --- /dev/null +++ b/htdocs/includes/iphone/samples/search.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/htdocs/includes/iphone/samples/static.html b/htdocs/includes/iphone/samples/static.html new file mode 100644 index 00000000000..3d139b7dfac --- /dev/null +++ b/htdocs/includes/iphone/samples/static.html @@ -0,0 +1,13 @@ + + + + Static + + + + + +

    Simple Static Page

    + + diff --git a/htdocs/includes/iphone/samples/staticx.html b/htdocs/includes/iphone/samples/staticx.html new file mode 100644 index 00000000000..3d139b7dfac --- /dev/null +++ b/htdocs/includes/iphone/samples/staticx.html @@ -0,0 +1,13 @@ + + + + Static + + + + + +

    Simple Static Page

    + + diff --git a/htdocs/includes/iphone/samples/stats.php b/htdocs/includes/iphone/samples/stats.php new file mode 100644 index 00000000000..ecbd7f9f968 --- /dev/null +++ b/htdocs/includes/iphone/samples/stats.php @@ -0,0 +1,30 @@ + + + + + + +
    +

    Play Time

    +
    +
    + + 2 +
    +
    + + 8 +
    +
    + + 27 +
    +
    +
    + +
    +

    Better recharge soon!

    +
    diff --git a/htdocs/includes/iphone/samples/theaters/index.html b/htdocs/includes/iphone/samples/theaters/index.html new file mode 100644 index 00000000000..6a201c311f4 --- /dev/null +++ b/htdocs/includes/iphone/samples/theaters/index.html @@ -0,0 +1,36 @@ + + + + + + iUI Theaters + + + + + + + + +
    +

    + +
    + +
    +

    Find Movies in Your Area

    +
    +
    + + +
    +
    + + +
    +
    + Search +
    + + diff --git a/htdocs/includes/iphone/samples/theaters/search.php b/htdocs/includes/iphone/samples/theaters/search.php new file mode 100644 index 00000000000..35340175855 --- /dev/null +++ b/htdocs/includes/iphone/samples/theaters/search.php @@ -0,0 +1,48 @@ + + + + + +
    +

    Theater Information

    + +
    + +
    +

    Movie Information

    + +
    + diff --git a/htdocs/lib/security.lib.php b/htdocs/lib/security.lib.php index b76f659bd02..a5d24f82b10 100644 --- a/htdocs/lib/security.lib.php +++ b/htdocs/lib/security.lib.php @@ -332,25 +332,45 @@ function dol_loginfunction($langs,$conf,$mysoc) */ function dol_loginfunction2($langs,$conf,$mysoc) { + global $smarty; + $langcode=(empty($_GET["lang"])?'auto':$_GET["lang"]); $langs->setDefaultLang($langcode); $langs->load("main"); $langs->load("other"); + $smarty->assign('langs', $langs); + + $php_self = $_SERVER['PHP_SELF']; + $php_self.= $_SERVER["QUERY_STRING"]?'?'.$_SERVER["QUERY_STRING"]:''; + + $smarty->assign('php_self', $php_self); + if ($conf->browser->phone) { - $conf->css = "theme/phones/".$conf->browser->phone."/iui.css"; + if (file_exists(DOL_DOCUMENT_ROOT."/theme/phones/".$conf->browser->phone)) + { + $smarty->template_dir = DOL_DOCUMENT_ROOT."/theme/phones/".$conf->browser->phone."/default/templates/"; + } + else + { + $smarty->template_dir = DOL_DOCUMENT_ROOT."/theme/phones/other/default/templates/"; + } } else { $conf->css = "theme/".$conf->theme."/".$conf->theme.".css"; + $smarty->template_dir = DOL_DOCUMENT_ROOT."/theme/".$conf->theme."/templates/"; + // Si feuille de style en php existe - if (file_exists(DOL_DOCUMENT_ROOT.'/'.$conf->css.".php")) $conf->css.=".php"; + if (file_exists(DOL_DOCUMENT_ROOT.'/'.$conf->css.".php")) $conf->css.=".php?lang=".$langs->defaultlang; + $smarty->assign('conf_css', DOL_URL_ROOT.'/'.$conf->css); } + - header('Cache-Control: Public, must-revalidate'); - header("Content-type: text/html; charset=".$conf->file->character_set_client); + $smarty->assign('dol_url_root', DOL_URL_ROOT); + $smarty->assign('character_set_client', $conf->file->character_set_client); // Set cookie for timeout management $sessiontimeout='DOLSESSTIMEOUT_'.md5($_SERVER["SERVER_NAME"].$_SERVER["DOCUMENT_ROOT"]); @@ -359,75 +379,11 @@ function dol_loginfunction2($langs,$conf,$mysoc) if (! empty($_REQUEST["urlfrom"])) $_SESSION["urlfrom"]=$_REQUEST["urlfrom"]; else unset($_SESSION["urlfrom"]); - // Ce DTD est OK - print ''."\n"; - - // En tete html - print "\n"; - print "\n"; - print ''."\n"; // Evite indexation par robots - print "".$langs->trans("Login")."\n"; - - print ''."\n"; - - print ''."\n"; - print ''."\n"; - if (! empty($conf->global->MAIN_HTML_HEADER)) print $conf->global->MAIN_HTML_HEADER."\n"; - print ''."\n"; - print ''."\n"; - - // Body - print ''."\n\n"; - // Start Form - print '
    '."\n"; - - // Token field - print ''; - - // Table 1 + // Title $title='Dolibarr '.DOL_VERSION; if (! empty($conf->global->MAIN_APPLICATION_TITLE)) $title=$conf->global->MAIN_APPLICATION_TITLE; - print ''."\n";; - print ''."\n"; - print ''."\n"; - print '
    '."\n\n"; - - // Table 2 - print ''."\n"; - - print ''."\n"; - - print ''; + + $smarty->assign('title', $title); $demologin=''; $demopassword=''; @@ -461,11 +417,11 @@ function dol_loginfunction2($langs,$conf,$mysoc) } } - // Login field - print ''."\n"; - print ''."\n"; + // Login + $login = (!empty($lastuser)?$lastuser:(isset($_REQUEST["username"])?$_REQUEST["username"]:$demologin)); + $smarty->assign('login', $login); + $smarty->assign('password', $demopassword); + // Show logo (search in order: small company logo, large company logo, theme logo, common logo) $width=0; $urllogo=DOL_URL_ROOT.'/theme/login_logo.png'; @@ -482,27 +438,10 @@ function dol_loginfunction2($langs,$conf,$mysoc) { $urllogo=DOL_URL_ROOT.'/theme/dolibarr_logo.png'; } - $rowspan = 2; - if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY)) $rowspan++; - print ''; - print ''."\n"; - - if (! empty($conf->browser->phone)) print ''; // More space with phones - - // Password field - print ''."\n"; - print ''."\n"; - + + $smarty->assign('logo_url', $urllogo); + $smarty->assign('login_width', $width); + // Entity field if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY)) { @@ -513,39 +452,16 @@ function dol_loginfunction2($langs,$conf,$mysoc) $mc = new Multicompany($db); $mc->getEntities(); - if (! empty($conf->browser->phone)) print ''; // More space with phones - - print ''."\n"; - print ''."\n"; + $smarty->assign('entity', $mc->select_entities($mc->entities,$lastentity,'tabindex="3"')); } // Security graphical code if (function_exists("imagecreatefrompng") && ! empty($conf->global->MAIN_SECURITY_ENABLECAPTCHA)) { - //print "Info session: ".session_name().session_id();print_r($_SESSION); - print ''."\n"; - print ''; - print ''."\n"; + $smarty->assign('captcha', 1); } - - print ''."\n"; - - print ''; - + +/* if (empty($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK) || empty($conf->global->MAIN_HELPCENTER_DISABLELINK)) { if (! empty($conf->browser->phone)) print ''; // More space with phones @@ -566,24 +482,15 @@ function dol_loginfunction2($langs,$conf,$mysoc) print $langs->trans("NeedHelpCenter"); } print ')'; - print ''; } - - print ''."\n"; - - // Hidden fields - print ''."\n"; - - print '
    '."\n"; - +*/ // Message if (! empty($_SESSION["dol_loginmesg"])) { - print '
    '; - print $_SESSION["dol_loginmesg"]; + $smarty->assign('dol_loginmesg', $_SESSION["dol_loginmesg"]); $_SESSION["dol_loginmesg"]=""; - print '
    '."\n"; } +/* if (! empty($conf->global->MAIN_HOME)) { print '
    browser->phone)?' width="750"':'').'>
    '; @@ -596,34 +503,10 @@ function dol_loginfunction2($langs,$conf,$mysoc) print nl2br($conf->global->MAIN_HOME); print '

    '."\n"; } +*/ - // Google Adsense (ex: demo mode) - if (! empty($conf->global->MAIN_GOOGLE_AD_CLIENT) && ! empty($conf->global->MAIN_GOOGLE_AD_SLOT)) - { - print '
    '."\n"; - print ''."\n"; - print ''."\n"; - print '
    '."\n"; - } + $smarty->display('login.tpl'); - print "\n"; - print ''."\n"; - print ''."\n"; - print ''."\n"; - - if (! empty($conf->global->MAIN_HTML_FOOTER)) print $conf->global->MAIN_HTML_FOOTER."\n"; - - // Fin entete html - print "\n\n"; } /** diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 30448afb930..328f9edce49 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -593,7 +593,7 @@ else // Si utilisateur externe $conf->left_menu=$conf->global->MAIN_MENUFRONT_BARRELEFT; } - +/* // If there is at least one module using Smarty if (sizeof($conf->need_smarty) > 0) { @@ -616,6 +616,7 @@ if (sizeof($conf->need_smarty) > 0) dol_print_error('',"Library Smarty ".$smarty_libs." not found. Check parameter dolibarr_smarty_libs_dir in conf file."); } } +*/ // Si le login n'a pu etre recupere, on est identifie avec un compte qui n'existe pas. // Tentative de hacking ? diff --git a/htdocs/master.inc.php b/htdocs/master.inc.php index 09d27744824..1dd1f333205 100644 --- a/htdocs/master.inc.php +++ b/htdocs/master.inc.php @@ -417,4 +417,27 @@ if (! defined('MAGPIE_CACHE_DIR')) { define('MAGPIE_CACHE_DIR', $conf->exte if (! defined('MAIN_LABEL_MENTION_NPR') ) define('MAIN_LABEL_MENTION_NPR','NPR'); +// If there is at least one module using Smarty +if (sizeof($conf->need_smarty) > 0) +{ + // Usage of constats in conf.php file is no more required. + if (empty($dolibarr_smarty_libs_dir)) $dolibarr_smarty_libs_dir=DOL_DOCUMENT_ROOT.'/includes/smarty/libs/'; + if (empty($dolibarr_smarty_compile)) $dolibarr_smarty_compile=DOL_DATA_ROOT.'/smarty/templates/temp'; + if (empty($dolibarr_smarty_cache)) $dolibarr_smarty_cache=DOL_DATA_ROOT.'/smarty/cache/temp'; + + $smarty_libs = $dolibarr_smarty_libs_dir. "Smarty.class.php"; + if (file_exists ($smarty_libs)) + { + require_once($smarty_libs); + $smarty = new Smarty(); + $smarty->compile_dir = $dolibarr_smarty_compile; + $smarty->cache_dir = $dolibarr_smarty_cache; + //$smarty->config_dir = '/web/www.domain.com/smarty/configs'; + } + else + { + dol_print_error('',"Library Smarty ".$smarty_libs." not found. Check parameter dolibarr_smarty_libs_dir in conf file."); + } +} + ?> diff --git a/htdocs/multicompany/multicompany.class.php b/htdocs/multicompany/multicompany.class.php index 3120340537b..af4f89b9e2c 100644 --- a/htdocs/multicompany/multicompany.class.php +++ b/htdocs/multicompany/multicompany.class.php @@ -211,7 +211,7 @@ class Multicompany */ function select_entities($entities,$selected='',$option='') { - print ''; if (is_array($entities)) { @@ -219,15 +219,17 @@ class Multicompany { if ($entity['active'] == 1) { - print ''; + $return.= '