From: <txm...@us...> - 2012-11-19 20:05:19
|
Revision: 10258 http://sourceforge.net/p/xoops/svn/10258 Author: txmodxoops Date: 2012-11-19 20:05:16 +0000 (Mon, 19 Nov 2012) Log Message: ----------- Added alpha 1 Mobile for xoops 2.5.5 Added Paths: ----------- XoopsCore/tags/2.5mobile timgno/ XoopsCore/tags/2.5mobile timgno/htdocs/ XoopsCore/tags/2.5mobile timgno/htdocs/modules/ XoopsCore/tags/2.5mobile timgno/htdocs/modules/contact/ XoopsCore/tags/2.5mobile timgno/htdocs/modules/contact/templates/ XoopsCore/tags/2.5mobile timgno/htdocs/modules/contact/templates/contact_index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/jquery.mobile.css XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/mobile.css XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/js/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/js/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/js/mobile.js XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/plugins/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/plugins/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/theme.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/footer.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/header.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/metas.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/scripts.html Added: XoopsCore/tags/2.5mobile timgno/htdocs/modules/contact/templates/contact_index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/modules/contact/templates/contact_index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/modules/contact/templates/contact_index.html 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1,32 @@ +<div class="contact"> + <form id="contact_form" action="<{$xoops_url}>/modules/contact/index.php" method="POST"> + <div data-role="fieldcontain"> + <fieldset data-role="controlgroup" data-mini="true"> + <input name="name" id="name" placeholder="" value="Name" type="text" /> + </fieldset> + </div> + <div data-role="fieldcontain"> + <fieldset data-role="controlgroup" data-mini="true"> + <input name="email" id="email" placeholder="" value="Email" type="email" /> + </fieldset> + </div> + <div data-role="fieldcontain"> + <fieldset data-role="controlgroup" data-mini="true"> + <input name="url" id="url" placeholder="" value="Url" type="url" /> + </fieldset> + </div> + <div data-role="fieldcontain"> + <fieldset data-role="controlgroup" data-mini="true"> + <input name="location" id="location" placeholder="" value="Location" type="text" /> + </fieldset> + </div> + <div data-role="fieldcontain"> + <fieldset data-role="controlgroup"> + <textarea name="message" id="message" placeholder=""> + Enter a message + </textarea> + </fieldset> + </div> + <input id="submit_button" type="submit" data-inline="true" data-theme="b" data-icon="arrow-r" data-iconpos="left" value="Submit" data-mini="true" /> + </form> +</div> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/index.html 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/jquery.mobile.css =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/jquery.mobile.css (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/jquery.mobile.css 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1,92 @@ +.text-align-center { + text-align: center; +} +.text-align-right { + text-align: right; +} + +/** CSS for non-standard jQuery Mobile styles or Codiqa components **/ +.split-wrapper { + width: 100%; + min-height: 200px; + clear: both; +} +@media all and (min-width: 650px) { + .content-secondary { + text-align: left; + float: left; + width: 45%; + background: none; + padding: 1.5em 6% 3em 0; + margin: 0; + } + .content-secondary { + background: none; + border-top: none; + } + .content-primary { + width: 45%; + float: right; + margin-right: 1%; + padding-right: 1%; + } + .content-primary ul:first-child { + margin-top: 0; + } + .content-secondary ul.ui-listview, .content-secondary ul.ui-listview-inset { + margin: 0; + } + .content-secondary ul.ui-listview .ui-li-divider, .content-secondary ul.ui-listview .ui-li { + border-radius: 0px; + } + .content-secondary ul.ui-listview .ui-li { + border-left: 0; + border-right: 0; + } + .content-secondary h2 { + position: absolute; + left: -9999px; + } + .content-secondary .ui-li-divider { + padding-top: 1em; + padding-bottom: 1em; + } + .content-secondary { + margin: 0; + padding: 0; + } + +} +@media all and (min-width: 750px){ + .content-secondary { + width: 34%; + } + .content-primary { + width: 60%; + padding-right: 1%; + } +} + +@media all and (min-width: 1200px){ + .content-secondary { + width: 30%; + padding-right:6%; + margin: 0px 0 20px 5%; + } + .content-secondary ul { + margin: 0; + } + .content-secondary { + margin: 0; + padding: 0; + } + .content-primary { + width: 50%; + margin-right: 5%; + padding-right: 3%; + } + .content-primary { + width: 60%; + } +} + Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/mobile.css =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/mobile.css (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/mobile.css 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1,92 @@ +.text-align-center { + text-align: center; +} +.text-align-right { + text-align: right; +} + +/** CSS for non-standard jQuery Mobile styles or Codiqa components **/ +.split-wrapper { + width: 100%; + min-height: 200px; + clear: both; +} +@media all and (min-width: 650px) { + .content-secondary { + text-align: left; + float: left; + width: 45%; + background: none; + padding: 1.5em 6% 3em 0; + margin: 0; + } + .content-secondary { + background: none; + border-top: none; + } + .content-primary { + width: 45%; + float: right; + margin-right: 1%; + padding-right: 1%; + } + .content-primary ul:first-child { + margin-top: 0; + } + .content-secondary ul.ui-listview, .content-secondary ul.ui-listview-inset { + margin: 0; + } + .content-secondary ul.ui-listview .ui-li-divider, .content-secondary ul.ui-listview .ui-li { + border-radius: 0px; + } + .content-secondary ul.ui-listview .ui-li { + border-left: 0; + border-right: 0; + } + .content-secondary h2 { + position: absolute; + left: -9999px; + } + .content-secondary .ui-li-divider { + padding-top: 1em; + padding-bottom: 1em; + } + .content-secondary { + margin: 0; + padding: 0; + } + +} +@media all and (min-width: 750px){ + .content-secondary { + width: 34%; + } + .content-primary { + width: 60%; + padding-right: 1%; + } +} + +@media all and (min-width: 1200px){ + .content-secondary { + width: 30%; + padding-right:6%; + margin: 0px 0 20px 5%; + } + .content-secondary ul { + margin: 0; + } + .content-secondary { + margin: 0; + padding: 0; + } + .content-primary { + width: 50%; + margin-right: 5%; + padding-right: 3%; + } + .content-primary { + width: 60%; + } +} + Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/index.html 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/js/index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/js/index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/js/index.html 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/js/mobile.js =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/js/mobile.js (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/js/mobile.js 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1,275 @@ +(function($) { + $.widget('mobile.tabbar', $.mobile.navbar, { + _create: function() { + // Set the theme before we call the prototype, which will + // ensure buttonMarkup() correctly grabs the inheritied theme. + // We default to the "a" swatch if none is found + var theme = this.element.jqmData('theme') || "a"; + this.element.addClass('ui-footer ui-footer-fixed ui-bar-' + theme); + + // Make sure the page has padding added to it to account for the fixed bar + this.element.closest('[data-role="page"]').addClass('ui-page-footer-fixed'); + + + // Call the NavBar _create prototype + $.mobile.navbar.prototype._create.call(this); + }, + + // Set the active URL for the Tab Bar, and highlight that button on the bar + setActive: function(url) { + // Sometimes the active state isn't properly cleared, so we reset it ourselves + this.element.find('a').removeClass('ui-btn-active ui-state-persist'); + this.element.find('a[href="' + url + '"]').addClass('ui-btn-active ui-state-persist'); + } + }); + + $(document).bind('pagecreate create', function(e) { + return $(e.target).find(":jqmData(role='tabbar')").tabbar(); + }); + + $(":jqmData(role='page')").live('pageshow', function(e) { + // Grab the id of the page that's showing, and select it on the Tab Bar on the page + var tabBar, id = $(e.target).attr('id'); + + tabBar = $.mobile.activePage.find(':jqmData(role="tabbar")'); + if(tabBar.length) { + tabBar.tabbar('setActive', '#' + id); + } + }); + +var attachEvents = function() { + var hoverDelay = $.mobile.buttonMarkup.hoverDelay, hov, foc; + + $( document ).bind( { + "vmousedown vmousecancel vmouseup vmouseover vmouseout focus blur scrollstart": function( event ) { + var theme, + $btn = $( closestEnabledButton( event.target ) ), + evt = event.type; + + if ( $btn.length ) { + theme = $btn.attr( "data-" + $.mobile.ns + "theme" ); + + if ( evt === "vmousedown" ) { + if ( $.support.touch ) { + hov = setTimeout(function() { + $btn.removeClass( "ui-btn-up-" + theme ).addClass( "ui-btn-down-" + theme ); + }, hoverDelay ); + } else { + $btn.removeClass( "ui-btn-up-" + theme ).addClass( "ui-btn-down-" + theme ); + } + } else if ( evt === "vmousecancel" || evt === "vmouseup" ) { + $btn.removeClass( "ui-btn-down-" + theme ).addClass( "ui-btn-up-" + theme ); + } else if ( evt === "vmouseover" || evt === "focus" ) { + if ( $.support.touch ) { + foc = setTimeout(function() { + $btn.removeClass( "ui-btn-up-" + theme ).addClass( "ui-btn-hover-" + theme ); + }, hoverDelay ); + } else { + $btn.removeClass( "ui-btn-up-" + theme ).addClass( "ui-btn-hover-" + theme ); + } + } else if ( evt === "vmouseout" || evt === "blur" || evt === "scrollstart" ) { + $btn.removeClass( "ui-btn-hover-" + theme + " ui-btn-down-" + theme ).addClass( "ui-btn-up-" + theme ); + if ( hov ) { + clearTimeout( hov ); + } + if ( foc ) { + clearTimeout( foc ); + } + } + } + }, + "focusin focus": function( event ){ + $( closestEnabledButton( event.target ) ).addClass( $.mobile.focusClass ); + }, + "focusout blur": function( event ){ + $( closestEnabledButton( event.target ) ).removeClass( $.mobile.focusClass ); + } + }); + + attachEvents = null; +}; + +$.fn.buttonMarkup = function( options ) { + var $workingSet = this; + + // Enforce options to be of type string + options = ( options && ( $.type( options ) == "object" ) )? options : {}; + for ( var i = 0; i < $workingSet.length; i++ ) { + var el = $workingSet.eq( i ), + e = el[ 0 ], + o = $.extend( {}, $.fn.buttonMarkup.defaults, { + icon: options.icon !== undefined ? options.icon : el.jqmData( "icon" ), + iconpos: options.iconpos !== undefined ? options.iconpos : el.jqmData( "iconpos" ), + theme: options.theme !== undefined ? options.theme : el.jqmData( "theme" ) || $.mobile.getInheritedTheme( el, "c" ), + inline: options.inline !== undefined ? options.inline : el.jqmData( "inline" ), + shadow: options.shadow !== undefined ? options.shadow : el.jqmData( "shadow" ), + corners: options.corners !== undefined ? options.corners : el.jqmData( "corners" ), + iconshadow: options.iconshadow !== undefined ? options.iconshadow : el.jqmData( "iconshadow" ), + iconsize: options.iconsize !== undefined ? options.iconsize : el.jqmData( "iconsize" ), + mini: options.mini !== undefined ? options.mini : el.jqmData( "mini" ) + }, options ), + + // Classes Defined + innerClass = "ui-btn-inner", + textClass = "ui-btn-text", + buttonClass, iconClass, + // Button inner markup + buttonInner, + buttonText, + buttonIcon, + buttonElements; + + $.each(o, function(key, value) { + e.setAttribute( "data-" + $.mobile.ns + key, value ); + el.jqmData(key, value); + }); + + // Check if this element is already enhanced + buttonElements = $.data(((e.tagName === "INPUT" || e.tagName === "BUTTON") ? e.parentNode : e), "buttonElements"); + + if (buttonElements) { + e = buttonElements.outer; + el = $(e); + buttonInner = buttonElements.inner; + buttonText = buttonElements.text; + // We will recreate this icon below + $(buttonElements.icon).remove(); + buttonElements.icon = null; + } + else { + buttonInner = document.createElement( o.wrapperEls ); + buttonText = document.createElement( o.wrapperEls ); + } + buttonIcon = o.icon ? document.createElement( "span" ) : null; + + if ( attachEvents && !buttonElements) { + attachEvents(); + } + + // if not, try to find closest theme container + if ( !o.theme ) { + o.theme = $.mobile.getInheritedTheme( el, "c" ); + } + + buttonClass = "ui-btn ui-btn-up-" + o.theme; + buttonClass += o.inline ? " ui-btn-inline" : ""; + buttonClass += o.shadow ? " ui-shadow" : ""; + buttonClass += o.corners ? " ui-btn-corner-all" : ""; + + if ( o.mini !== undefined ) { + // Used to control styling in headers/footers, where buttons default to `mini` style. + buttonClass += o.mini ? " ui-mini" : " ui-fullsize"; + } + + if ( o.inline !== undefined ) { + // Used to control styling in headers/footers, where buttons default to `mini` style. + buttonClass += o.inline === false ? " ui-btn-block" : " ui-btn-inline"; + } + + + if ( o.icon ) { + o.icon = "ui-icon-" + o.icon; + o.iconpos = o.iconpos || "left"; + + iconClass = "ui-icon " + o.icon; + + if ( o.iconshadow ) { + iconClass += " ui-icon-shadow"; + } + + if ( o.iconsize ) { + iconClass += " ui-iconsize-" + o.iconsize; + } + } + + if ( o.iconpos ) { + buttonClass += " ui-btn-icon-" + o.iconpos; + + if ( o.iconpos == "notext" && !el.attr( "title" ) ) { + el.attr( "title", el.getEncodedText() ); + } + } + + innerClass += o.corners ? " ui-btn-corner-all" : ""; + + if ( o.iconpos && o.iconpos === "notext" && !el.attr( "title" ) ) { + el.attr( "title", el.getEncodedText() ); + } + + if ( buttonElements ) { + el.removeClass( buttonElements.bcls || "" ); + } + el.removeClass( "ui-link" ).addClass( buttonClass ); + + buttonInner.className = innerClass; + + buttonText.className = textClass; + if ( !buttonElements ) { + buttonInner.appendChild( buttonText ); + } + if ( buttonIcon ) { + buttonIcon.className = iconClass; + if ( !(buttonElements && buttonElements.icon) ) { + buttonIcon.appendChild( document.createTextNode("\u00a0") ); + buttonInner.appendChild( buttonIcon ); + } + } + + while ( e.firstChild && !buttonElements) { + buttonText.appendChild( e.firstChild ); + } + + if ( !buttonElements ) { + e.appendChild( buttonInner ); + } + + // Assign a structure containing the elements of this button to the elements of this button. This + // will allow us to recognize this as an already-enhanced button in future calls to buttonMarkup(). + buttonElements = { + bcls : buttonClass, + outer : e, + inner : buttonInner, + text : buttonText, + icon : buttonIcon + }; + + $.data(e, 'buttonElements', buttonElements); + $.data(buttonInner, 'buttonElements', buttonElements); + $.data(buttonText, 'buttonElements', buttonElements); + if (buttonIcon) { + $.data(buttonIcon, 'buttonElements', buttonElements); + } + } + + return this; +}; + +$.fn.buttonMarkup.defaults = { + corners: true, + shadow: true, + iconshadow: true, + iconsize: 18, + wrapperEls: "span" +}; + +function closestEnabledButton( element ) { + var cname; + + while ( element ) { + // Note that we check for typeof className below because the element we + // handed could be in an SVG DOM where className on SVG elements is defined to + // be of a different type (SVGAnimatedString). We only operate on HTML DOM + // elements, so we look for plain "string". + cname = ( typeof element.className === 'string' ) && (element.className + ' '); + if ( cname && cname.indexOf("ui-btn ") > -1 && cname.indexOf("ui-disabled ") < 0 ) { + break; + } + + element = element.parentNode; + } + + return element; +} + + +})(jQuery); Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/plugins/index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/plugins/index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/plugins/index.html 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/theme.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/theme.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/theme.html 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1,36 @@ +<!DOCTYPE html> +<html> + <head> + <{* Center blocks display order valid values are: lrc (left right / center) lcr (left center right) clr (center / left right) *}> + <{assign var=theme_top_order value=clr}> + <{assign var=theme_bottom_order value=clr}> + <{* Theme name *}> + <{assign var=theme_name value=$xoTheme->folderName}> + <{* Directory html blocks files or additional html files by include *}> + <{assign var=theme_tpl value=$xoTheme->folderName|cat:'/tpl'}> + <{* Directory html plugins files *}> + <{assign var=theme_plugin value=$xoTheme->folderName|cat:'/plugins'}> + <{* Metas, Titles, and Style Sheets *}> + <{includeq file="$theme_tpl/metas.html"}> + <{* Additionals Scripts *}> + <{includeq file="$theme_tpl/scripts.html"}> + </head> + </head> + <body> + <!-- Home --> + <div data-role="page" id="page1"> + <!-- Additionals Header --> + <{includeq file="$theme_tpl/header.html"}> + <div data-role="content"> + <a data-role="button" data-inline="true" data-theme="b" href="<{xoAppUrl user.php}>" data-icon="gear" data-iconpos="left">Login</a> + <a data-role="button" data-inline="true" data-theme="b" href="<{xoAppUrl modules/profile/register.php}>" data-icon="star" data-iconpos="left">Register</a> + <{if xoops_isadmin}> + <a data-role="button" data-inline="true" data-theme="b" href="<{xoAppUrl admin.php}>" data-icon="back" data-iconpos="left">Admin</a> + <{/if}> + <{if $xoops_contents && ($xoops_contents != ' ') }><div data-role="content"><{$xoops_contents}></div><{/if}> + </div> + <!-- Additionals Footer --> + <{includeq file="$theme_tpl/footer.html"}> + </div> + </body> +</html> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/footer.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/footer.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/footer.html 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1 @@ +<div id="footer" data-theme="a" data-role="footer" data-position="fixed"><{$xoops_footer}></div> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/header.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/header.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/header.html 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1,17 @@ + <div data-theme="a" data-role="header"> + <h3 id="welcome"><{$xoops_sitename}></h3> + <div data-role="navbar" data-iconpos="left"> + <ul> + <li> + <a href="<{xoAppUrl /}>" data-theme="" data-icon="home" class="ui-btn-active ui-state-persist"> + Home + </a> + </li> + <li> + <a href="<{xoAppUrl modules/contact/index.php}>" data-theme="c" data-icon="star"> + Contact + </a> + </li> + </ul> + </div> + </div> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/index.html 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/metas.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/metas.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/metas.html 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1,25 @@ +<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" /> +<title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> : <{/if}><{$xoops_sitename}></title> +<meta name="viewport" content="width=device-width, initial-scale=1" /> +<meta name="robots" content="<{$xoops_meta_robots}>" /> +<meta name="keywords" content="<{$xoops_meta_keywords}>" /> +<meta name="description" content="<{$xoops_meta_description}>" /> +<meta name="rating" content="<{$xoops_meta_rating}>" /> +<meta name="author" content="<{$xoops_meta_author}>" /> +<meta name="copyright" content="<{$xoops_meta_copyright}>" /> +<meta name="generator" content="XOOPS" /> +<{if $url}> + <meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" /> +<{/if}> +<{if $isMsie}> + <noscript> + <meta http-equiv="refresh" content="0; url=<{xoAppUrl . xoops_theme_select=mdefault}>" /> + </noscript> +<{/if}> +<link rel="alternate" type="application/rss+xml" title="<{$smarty.const.THEME_RSS}>" href="<{xoAppUrl backend.php}>" /> +<link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" /> +<link rel="icon" type="image/png" href="<{xoImgUrl icons/icon.png}>" /> +<link rel="stylesheet" type="text/css" media="screen" href="<{xoAppUrl xoops.css}>" /> +<link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/jquery.mobile/1.1.1/jquery.mobile-1.1.1.min.css" /> +<link rel="stylesheet" type="text/css" media="all" title="mobile" href="<{xoImgUrl css/mobile.css}>" /> +<{$xoops_module_header}> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/scripts.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/scripts.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/scripts.html 2012-11-19 20:05:16 UTC (rev 10258) @@ -0,0 +1,4 @@ +<!-- Under Construction --> +<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> +<script src="https://ajax.aspnetcdn.com/ajax/jquery.mobile/1.1.1/jquery.mobile-1.1.1.min.js"></script> +<script src="<{xoImgUrl js/mobile.js}>"></script> \ No newline at end of file |