Changeset 5656
- Timestamp:
- 03/27/08 17:53:40 (10 months ago)
- Location:
- trunk
- Files:
-
- 77 added
- 4 modified
-
interface/iphone (added)
-
interface/iphone/archive (added)
-
interface/iphone/archive/index.php (added)
-
interface/iphone/category (added)
-
interface/iphone/category/index.php (added)
-
interface/iphone/comment (added)
-
interface/iphone/comment/add (added)
-
interface/iphone/comment/add/index.php (added)
-
interface/iphone/comment/comment (added)
-
interface/iphone/comment/comment/add (added)
-
interface/iphone/comment/comment/add/index.php (added)
-
interface/iphone/comment/comment/index.php (added)
-
interface/iphone/comment/delete (added)
-
interface/iphone/comment/delete/action (added)
-
interface/iphone/comment/delete/action/index.php (added)
-
interface/iphone/comment/delete/index.php (added)
-
interface/iphone/comment/index.php (added)
-
interface/iphone/entry (added)
-
interface/iphone/entry/index.php (added)
-
interface/iphone/imageResizer (added)
-
interface/iphone/imageResizer/index.php (added)
-
interface/iphone/index.php (added)
-
interface/iphone/link (added)
-
interface/iphone/link/index.php (added)
-
interface/iphone/login (added)
-
interface/iphone/login/index.php (added)
-
interface/iphone/logout (added)
-
interface/iphone/logout/index.php (added)
-
interface/iphone/protected (added)
-
interface/iphone/protected/index.php (added)
-
interface/iphone/search (added)
-
interface/iphone/search/index.php (added)
-
interface/iphone/tag (added)
-
interface/iphone/tag/index.php (added)
-
interface/iphone/trackback (added)
-
interface/iphone/trackback/index.php (added)
-
lib/suri.php (modified) (1 diff)
-
lib/view/iphoneView.php (added)
-
plugins/FM_Markdown/ttml.php (modified) (8 diffs)
-
plugins/FM_TTML/ttml.php (modified) (8 diffs)
-
plugins/FM_Textile/ttml.php (modified) (8 diffs)
-
script/iphone (added)
-
script/iphone/iphone.js (added)
-
style/iphone (added)
-
style/iphone/image (added)
-
style/iphone/image/backButton.png (added)
-
style/iphone/image/backButton_New.png (added)
-
style/iphone/image/blueButton.png (added)
-
style/iphone/image/blueButton_New.png (added)
-
style/iphone/image/cancel.png (added)
-
style/iphone/image/cancel_down.png (added)
-
style/iphone/image/grayButton.png (added)
-
style/iphone/image/listArrow.png (added)
-
style/iphone/image/listArrowDot.png (added)
-
style/iphone/image/listArrowSel.png (added)
-
style/iphone/image/listArrowSel_New.png (added)
-
style/iphone/image/listGroup.png (added)
-
style/iphone/image/listGroup_Sub.png (added)
-
style/iphone/image/loading.gif (added)
-
style/iphone/image/loading_New.gif (added)
-
style/iphone/image/logoBacground.png (added)
-
style/iphone/image/logo_textcube_full.png (added)
-
style/iphone/image/next.png (added)
-
style/iphone/image/next_New.png (added)
-
style/iphone/image/noPostThumb.png (added)
-
style/iphone/image/pinstripes.png (added)
-
style/iphone/image/previous.png (added)
-
style/iphone/image/previous_New.png (added)
-
style/iphone/image/search_icon.png (added)
-
style/iphone/image/selection.png (added)
-
style/iphone/image/selection_New.png (added)
-
style/iphone/image/thumbBacground.png (added)
-
style/iphone/image/toggle.png (added)
-
style/iphone/image/toggleOn.png (added)
-
style/iphone/image/toolButton.png (added)
-
style/iphone/image/toolButton_New.png (added)
-
style/iphone/image/toolbar.png (added)
-
style/iphone/image/toolbar2.png (added)
-
style/iphone/image/top_color_line.png (added)
-
style/iphone/image/whiteButton.png (added)
-
style/iphone/iphone.css (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/suri.php
r5548 r5656 145 145 if (defined('__TEXTCUBE_MOBILE__')) { 146 146 $blogURL .= '/m'; 147 }else if (defined('__TEXTCUBE_IPHONE__')) { 148 $blogURL .= '/iphone'; 147 149 } 148 150 unset($url, $domain); -
trunk/plugins/FM_Markdown/ttml.php
r5285 r5656 18 18 $postfix = substr($content, $end + 4); 19 19 $content = $prefix; 20 if (defined('__TEXTCUBE_MOBILE__') ) {20 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 21 21 $content .= "<div>[$more | $less]<br />$full</div>"; 22 22 } else { … … 130 130 if (count($attributes) % 2 == 1) 131 131 array_pop($attributes); 132 if (defined('__TEXTCUBE_MOBILE__') ) {132 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 133 133 $images = array_slice($attributes, 1, count($attributes) - 2); 134 134 for ($i = 0; $i < count($images); $i++) { … … 258 258 } 259 259 } else if ($attributes[0] == 'iMazing') { 260 if (defined('__TEXTCUBE_MOBILE__') || ($bRssMode == true)) {260 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__') || ($bRssMode == true)) { 261 261 $images = array_slice($attributes, 1, count($attributes) - 3); 262 262 for ($i = 0; $i < count($images); $i += 2) { … … 297 297 } 298 298 } else if ($attributes[0] == 'Jukebox') { 299 if (defined('__TEXTCUBE_MOBILE__') ) {299 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 300 300 $sounds = array_slice($attributes, 1, count($attributes) - 3); 301 301 for ($i = 0; $i < count($sounds); $i += 2) { … … 358 358 list($newProperty, $onclickFlag) = FM_TTML_createNewProperty($attributes[1], $contentWidth, $attributes[2]); 359 359 360 if (defined('__TEXTCUBE_MOBILE__') ) {360 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 361 361 $buf = '<div>' . FM_TTML_getAttachmentBinder($attributes[1], $newProperty, $folderPath, $folderURL, 1, $useAbsolutePath) . "</div><div>$attributes[3]</div>"; 362 362 } else { … … 385 385 list($newProperty1, $onclickFlag1) = FM_TTML_createNewProperty($attributes[1], $eachImageWidth, $attributes[2]); 386 386 list($newProperty2, $onclickFlag2) = FM_TTML_createNewProperty($attributes[4], $eachImageWidth, $attributes[5]); 387 if (defined('__TEXTCUBE_MOBILE__') ) {387 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 388 388 $buf = '<div>' . FM_TTML_getAttachmentBinder($attributes[1], $newProperty1, $folderPath, $folderURL, 1, $useAbsolutePath, $bRssMode) . "</div><div>$attributes[3]</div>"; 389 389 $buf .= '<div>' . FM_TTML_getAttachmentBinder($attributes[4], $newProperty2, $folderPath, $folderURL, 1, $useAbsolutePath, $bRssMode) . "</div><div>$attributes[6]</div>"; … … 401 401 list($newProperty2, $onclickFlag2) = FM_TTML_createNewProperty($attributes[4], $eachImageWidth, $attributes[5]); 402 402 list($newProperty3, $onclickFlag3) = FM_TTML_createNewProperty($attributes[7], $eachImageWidth, $attributes[8]); 403 if (defined('__TEXTCUBE_MOBILE__') ) {403 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 404 404 $buf = '<div>' . FM_TTML_getAttachmentBinder($attributes[1], $newProperty1, $folderPath, $folderURL, 1, $useAbsolutePath, $bRssMode) . "</div><div>$attributes[3]</div>"; 405 405 $buf .= '<div>' . FM_TTML_getAttachmentBinder($attributes[4], $newProperty2, $folderPath, $folderURL, 1, $useAbsolutePath, $bRssMode) . "</div><div>$attributes[6]</div>"; … … 441 441 case 'jpg':case 'jpeg':case 'gif':case 'png':case 'bmp': 442 442 $bPassing = false; 443 if (defined('__TEXTCUBE_MOBILE__') ) {443 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 444 444 if (!is_null(getBlogSetting("resamplingDefault"))) { 445 445 $waterMarkOn = getBlogSetting("waterMarkDefault", "no"); -
trunk/plugins/FM_TTML/ttml.php
r5285 r5656 18 18 $postfix = substr($content, $end + 4); 19 19 $content = $prefix; 20 if (defined('__TEXTCUBE_MOBILE__') ) {20 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 21 21 $content .= "<div>[$more | $less]<br />$full</div>"; 22 22 } else { … … 130 130 if (count($attributes) % 2 == 1) 131 131 array_pop($attributes); 132 if (defined('__TEXTCUBE_MOBILE__') ) {132 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 133 133 $images = array_slice($attributes, 1, count($attributes) - 2); 134 134 for ($i = 0; $i < count($images); $i++) { … … 258 258 } 259 259 } else if ($attributes[0] == 'iMazing') { 260 if (defined('__TEXTCUBE_MOBILE__') || ($bRssMode == true)) {260 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__') || ($bRssMode == true)) { 261 261 $images = array_slice($attributes, 1, count($attributes) - 3); 262 262 for ($i = 0; $i < count($images); $i += 2) { … … 297 297 } 298 298 } else if ($attributes[0] == 'Jukebox') { 299 if (defined('__TEXTCUBE_MOBILE__') ) {299 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 300 300 $sounds = array_slice($attributes, 1, count($attributes) - 3); 301 301 for ($i = 0; $i < count($sounds); $i += 2) { … … 358 358 list($newProperty, $onclickFlag) = FM_TTML_createNewProperty($attributes[1], $contentWidth, $attributes[2]); 359 359 360 if (defined('__TEXTCUBE_MOBILE__') ) {360 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 361 361 $buf = '<div>' . FM_TTML_getAttachmentBinder($attributes[1], $newProperty, $folderPath, $folderURL, 1, $useAbsolutePath) . "</div><div>$attributes[3]</div>"; 362 362 } else { … … 385 385 list($newProperty1, $onclickFlag1) = FM_TTML_createNewProperty($attributes[1], $eachImageWidth, $attributes[2]); 386 386 list($newProperty2, $onclickFlag2) = FM_TTML_createNewProperty($attributes[4], $eachImageWidth, $attributes[5]); 387 if (defined('__TEXTCUBE_MOBILE__') ) {387 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 388 388 $buf = '<div>' . FM_TTML_getAttachmentBinder($attributes[1], $newProperty1, $folderPath, $folderURL, 1, $useAbsolutePath, $bRssMode) . "</div><div>$attributes[3]</div>"; 389 389 $buf .= '<div>' . FM_TTML_getAttachmentBinder($attributes[4], $newProperty2, $folderPath, $folderURL, 1, $useAbsolutePath, $bRssMode) . "</div><div>$attributes[6]</div>"; … … 401 401 list($newProperty2, $onclickFlag2) = FM_TTML_createNewProperty($attributes[4], $eachImageWidth, $attributes[5]); 402 402 list($newProperty3, $onclickFlag3) = FM_TTML_createNewProperty($attributes[7], $eachImageWidth, $attributes[8]); 403 if (defined('__TEXTCUBE_MOBILE__') ) {403 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 404 404 $buf = '<div>' . FM_TTML_getAttachmentBinder($attributes[1], $newProperty1, $folderPath, $folderURL, 1, $useAbsolutePath, $bRssMode) . "</div><div>$attributes[3]</div>"; 405 405 $buf .= '<div>' . FM_TTML_getAttachmentBinder($attributes[4], $newProperty2, $folderPath, $folderURL, 1, $useAbsolutePath, $bRssMode) . "</div><div>$attributes[6]</div>"; … … 441 441 case 'jpg':case 'jpeg':case 'gif':case 'png':case 'bmp': 442 442 $bPassing = false; 443 if (defined('__TEXTCUBE_MOBILE__') ) {443 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 444 444 if (!is_null(getBlogSetting("resamplingDefault"))) { 445 445 $waterMarkOn = getBlogSetting("waterMarkDefault", "no"); -
trunk/plugins/FM_Textile/ttml.php
r5285 r5656 18 18 $postfix = substr($content, $end + 4); 19 19 $content = $prefix; 20 if (defined('__TEXTCUBE_MOBILE__') ) {20 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 21 21 $content .= "<div>[$more | $less]<br />$full</div>"; 22 22 } else { … … 130 130 if (count($attributes) % 2 == 1) 131 131 array_pop($attributes); 132 if (defined('__TEXTCUBE_MOBILE__') ) {132 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 133 133 $images = array_slice($attributes, 1, count($attributes) - 2); 134 134 for ($i = 0; $i < count($images); $i++) { … … 258 258 } 259 259 } else if ($attributes[0] == 'iMazing') { 260 if (defined('__TEXTCUBE_MOBILE__') || ($bRssMode == true)) {260 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__') || ($bRssMode == true)) { 261 261 $images = array_slice($attributes, 1, count($attributes) - 3); 262 262 for ($i = 0; $i < count($images); $i += 2) { … … 297 297 } 298 298 } else if ($attributes[0] == 'Jukebox') { 299 if (defined('__TEXTCUBE_MOBILE__') ) {299 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 300 300 $sounds = array_slice($attributes, 1, count($attributes) - 3); 301 301 for ($i = 0; $i < count($sounds); $i += 2) { … … 358 358 list($newProperty, $onclickFlag) = FM_TTML_createNewProperty($attributes[1], $contentWidth, $attributes[2]); 359 359 360 if (defined('__TEXTCUBE_MOBILE__') ) {360 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 361 361 $buf = '<div>' . FM_TTML_getAttachmentBinder($attributes[1], $newProperty, $folderPath, $folderURL, 1, $useAbsolutePath) . "</div><div>$attributes[3]</div>"; 362 362 } else { … … 385 385 list($newProperty1, $onclickFlag1) = FM_TTML_createNewProperty($attributes[1], $eachImageWidth, $attributes[2]); 386 386 list($newProperty2, $onclickFlag2) = FM_TTML_createNewProperty($attributes[4], $eachImageWidth, $attributes[5]); 387 if (defined('__TEXTCUBE_MOBILE__') ) {387 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 388 388 $buf = '<div>' . FM_TTML_getAttachmentBinder($attributes[1], $newProperty1, $folderPath, $folderURL, 1, $useAbsolutePath, $bRssMode) . "</div><div>$attributes[3]</div>"; 389 389 $buf .= '<div>' . FM_TTML_getAttachmentBinder($attributes[4], $newProperty2, $folderPath, $folderURL, 1, $useAbsolutePath, $bRssMode) . "</div><div>$attributes[6]</div>"; … … 401 401 list($newProperty2, $onclickFlag2) = FM_TTML_createNewProperty($attributes[4], $eachImageWidth, $attributes[5]); 402 402 list($newProperty3, $onclickFlag3) = FM_TTML_createNewProperty($attributes[7], $eachImageWidth, $attributes[8]); 403 if (defined('__TEXTCUBE_MOBILE__') ) {403 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 404 404 $buf = '<div>' . FM_TTML_getAttachmentBinder($attributes[1], $newProperty1, $folderPath, $folderURL, 1, $useAbsolutePath, $bRssMode) . "</div><div>$attributes[3]</div>"; 405 405 $buf .= '<div>' . FM_TTML_getAttachmentBinder($attributes[4], $newProperty2, $folderPath, $folderURL, 1, $useAbsolutePath, $bRssMode) . "</div><div>$attributes[6]</div>"; … … 441 441 case 'jpg':case 'jpeg':case 'gif':case 'png':case 'bmp': 442 442 $bPassing = false; 443 if (defined('__TEXTCUBE_MOBILE__') ) {443 if (defined('__TEXTCUBE_MOBILE__') || defined('__TEXTCUBE_IPHONE__')) { 444 444 if (!is_null(getBlogSetting("resamplingDefault"))) { 445 445 $waterMarkOn = getBlogSetting("waterMarkDefault", "no");
