You can subscribe to this list here.
2012 |
Jan
|
Feb
(214) |
Mar
(139) |
Apr
(198) |
May
(187) |
Jun
(151) |
Jul
(210) |
Aug
(169) |
Sep
(58) |
Oct
(53) |
Nov
(54) |
Dec
(301) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2013 |
Jan
(348) |
Feb
(178) |
Mar
(219) |
Apr
(154) |
May
(117) |
Jun
(194) |
Jul
(61) |
Aug
(132) |
Sep
(121) |
Oct
(110) |
Nov
(11) |
Dec
(18) |
2014 |
Jan
(34) |
Feb
(50) |
Mar
(82) |
Apr
(98) |
May
(39) |
Jun
(111) |
Jul
(67) |
Aug
(36) |
Sep
(33) |
Oct
(26) |
Nov
(53) |
Dec
(44) |
2015 |
Jan
(29) |
Feb
(47) |
Mar
(25) |
Apr
(19) |
May
(23) |
Jun
(20) |
Jul
(49) |
Aug
(7) |
Sep
(10) |
Oct
(10) |
Nov
(4) |
Dec
(25) |
2016 |
Jan
(8) |
Feb
(7) |
Mar
(1) |
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(7) |
Dec
(5) |
2017 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
(15) |
Jun
|
Jul
(18) |
Aug
(24) |
Sep
|
Oct
(14) |
Nov
|
Dec
|
2018 |
Jan
|
Feb
(22) |
Mar
|
Apr
(11) |
May
(1) |
Jun
(17) |
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(6) |
Nov
(5) |
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <txm...@us...> - 2012-05-22 20:52:53
|
Revision: 9577 http://xoops.svn.sourceforge.net/xoops/?rev=9577&view=rev Author: txmodxoops Date: 2012-05-22 20:52:47 +0000 (Tue, 22 May 2012) Log Message: ----------- Updated Fixed bug in content with modules, top blocks hover Modified Paths: -------------- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/theme.html Modified: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/theme.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/theme.html 2012-05-22 20:34:35 UTC (rev 9576) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/theme.html 2012-05-22 20:52:47 UTC (rev 9577) @@ -46,6 +46,7 @@ <{* Start of blockcentertop *}> <{includeq file="$theme_tpl/theme_blockcentertop.html"}> <{* End of blockcentertop *}> + <div class="clear"></div> <{* Start of content *}> <{includeq file="$theme_tpl/theme_content.html"}> <{* End of content *}> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-05-22 20:34:45
|
Revision: 9576 http://xoops.svn.sourceforge.net/xoops/?rev=9576&view=rev Author: txmodxoops Date: 2012-05-22 20:34:35 +0000 (Tue, 22 May 2012) Log Message: ----------- Modified by timgno Added Paths: ----------- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style-noCol.css XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style-noLcol.css XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style-noRcol.css XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style.css XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/theme.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/xoops-style.css XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/ajax_indicator_01.gif XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/favicon.ico XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/favicon.png XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/index.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/block-title_bg.png XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/footer_bg.png XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/logo.png XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/menubar.png XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/theme.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/top-header_bg.png XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/xo-banner_bg.png XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/xoops-logo.png XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/xoops-logo.psd XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/index.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/js/ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/js/index.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/js/jq.init.mini.js XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/index.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/system/ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/system/index.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/system/system_redirect.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/system/system_siteclosed.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/plugins/ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/plugins/index.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/screenshot.gif XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/screenshot.png XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/theme.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_blockcenter_c.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_blockcenter_l.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_blockcenter_r.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_blockcenterbottom.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_blockcentertop.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_blockleft.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_blockright.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_content.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_footer.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_header.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_leftblocks.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_metas.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_rightblocks.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme_scripts.html XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/xo-info.php Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style-noCol.css =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style-noCol.css (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style-noCol.css 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1,17 @@ +#colmid { + left: 0px;/* Left column width */ + border-left: 0px solid #cccccc;/* Left column border */ +} + +#colright { + margin-left: 0px;/*Right column width + Left column width */ + border-left: 0px solid #cccccc;/* Right column border */ +} + +#col1pad { + margin: 0 10px 0 10px;/* Left Col width + Right Col + 10px margin*/ +} + +#col2 { + left: 0px;/* Right column width -1px margin */ +} \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style-noLcol.css =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style-noLcol.css (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style-noLcol.css 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1,16 @@ +#colmid { + left: 0px;/* Left column width */ + border-left: 0px solid #cccccc;/* Left column border */ +} + +#colright { + margin-left: -170px;/*Right column width + Left column width */ +} + +#col1pad { + margin: 0 10px 0 180px;/* Left Col width + Right Col + 10px margin*/ +} + +#col2 { + left: 0px;/* Right column width -1px margin */ +} \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style-noRcol.css =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style-noRcol.css (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style-noRcol.css 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1,16 @@ +#colmid { + left: 170px;/* Left column width */ +} + +#colright { + margin-left: -170px;/* Right column width + Left column width */ + border-left: 0px solid #cccccc;/* Right column border */ +} + +#col1pad { + margin: 0 10px 0 180px;/* Left Col width + Right col width + 10px margin*/ +} + +#col2 { + left: -1px;/* Right column width -1px margin */ +} \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style.css =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style.css (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/style.css 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1,100 @@ +@import url(xoops-style.css); + +body { + margin: 0; + padding: 0; + width: 100%; + background-color: #ffffff; + font-size: 9pt; + font-family: Verdana, Arial, Helvetica, sans-serif; + height: auto; +} + +#container { + width: 100%;/* width of whole page */ + overflow: hidden;/* This chops off any overhanging divs */ + background-color: #ffffff;/* Left column background colour */ +} + +#colleft { + float: left; + width: 15%; +} + +#colmid { + float: left; + width: 70%; +} + +#colright { + float: left; + width: 15%; +} +/* +#col2wrap { + width:100%; +} +#col2pad { + margin:0 1px 0 1px; + overflow:hidden; +} +*/ + +#col1{ + padding: 2px; + overflow: hidden; +} + +#col2 { + width: 100%; + overflow: hidden; + padding: 2px; +} + +#col3 { + padding: 2px; + overflow: hidden; +} + +#footer { + clear: both; + float: left; + width: 100%; + height: 100px; + padding: 0; + margin: 0; + text-align: center; + color: #E3E3E3; + background: #555555 url(../img/footer_bg.png) repeat-x; +} + +#footer a { + color: #A3A3A3; + background: transparent; + text-decoration: underline; +} + +#footer a:hover { + color: #C9C9C9; + background: transparent; + text-decoration: none; +} +/* Hack for floating content based on FabClearing by Fcaldera www.html.it*/ + +#centercolumn .blockContent:after { + content: "."; + display: block; + height: 0px; + clear: both; + visibility: hidden; +} +/*\*//*/ +#centercolumn .blockContent { + display: inline-block; +} +/**/ + +#centercolumn .blockContent { + clear: both;/* for Gecko */ + height: 1%;/* for IE */ +} \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/theme.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/theme.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/theme.html 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1,170 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> +<head> + <!-- Assign Theme name --> + <{assign var=theme_name value=$xoTheme->folderName}> + + <!-- Title and meta --> + <meta http-equiv="content-language" content="<{$xoops_langcode}>" /> + <meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" /> + <title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> - <{/if}><{$xoops_sitename}></title> + <meta name="robots" content="<{$xoops_meta_robots}>" /> + <meta name="keywords" content="<{if $xoops_dirname != system}><{$xoops_pagetitle}>, <{/if}><{$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" /> + <meta name="revisit-after" content="7 days" /> + + <!-- Rss --> + <link rel="alternate" type="application/rss+xml" title="" href="<{xoAppUrl backend.php}>" /> + + <!-- Favicon --> + <link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" /> + <link rel="icon" type="image/png" href="<{xoImgUrl icons/favicon.png}>" /> + + <!-- Sheet Css --> + <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoAppUrl xoops.css}>" /> + <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoImgUrl style.css}>" /> + <{* Code for different layout structure [1/2 or 3columns]- Allows 3 Columns by default *}> + <{if $xoops_showrblock == '' & $xoops_showlblock == ''}> + <style type="text/css"> @import url(<{xoImgUrl style-noCol.css}>);</style> + <{elseif $xoops_showrblock == 1 & $xoops_showlblock == ''}> + <style type="text/css"> @import url(<{xoImgUrl style-noLcol.css}>);</style> + <{elseif $xoops_showrblock == '' & $xoops_showlblock == 1}> + <style type="text/css"> @import url(<{xoImgUrl style-noRcol.css}>);</style> + <{/if}> + + <!-- customized header contents --> + <{$xoops_module_header}> + + <!-- Dublin Core MetaData [DCMI] Tags --> + <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" /> + <link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" /> + <meta name="DC.title" lang="<{$xoops_langcode}>" content="<{$xoops_pagetitle}> - <{$xoops_sitename}>" /> + <meta name="DC.creator" content="<{$xoops_sitename}>" /> + <meta name="DC.subject" lang="<{$xoops_langcode}>" content="<{$xoops_meta_keywords}>, <{$xoops_pagetitle}>" /> + <meta name="DC.description" lang="<{$xoops_langcode}>" content="<{$xoops_pagetitle}> - <{$xoops_meta_description}>" /> + <meta name="DC.publisher" content="<{$xoops_meta_author}>" /> + <meta name="DC.type" content="text" /> + <meta name="DC.format" content="text/html; charset=<{$xoops_charset}>" /> + <meta name="DC.identifier" scheme="DCTERMS.URI" content="<{$xoops_url}>" /> + <meta name="DC.language" scheme="DCTERMS.RFC1766" content="<{$xoops_langcode}>" /> + <meta name="DC.rights" content="<{$xoops_meta_copyright}>" /> + +</head> +<body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>"> + <div id="header"> + <div id="headerlogo"> + <a href="<{xoAppUrl /}>" title="<{$xoops_sitename}>"> + <img src="<{xoImgUrl xoops-logo.png}>" alt="<{$xoops_sitename}>" /> + </a> + </div> + <div id="headerbanner"><{$xoops_banner}></div> + </div> + <div id="headerbar"> </div> + <div id="colmask"> + <div id="colmid"> + <div id="colright"> + <div id="col1wrap"> + <div id="col1pad"> + <div id="col1"> + <div id="centercolumn"> + <!-- Display center blocks if any --> + <{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}> + <div id="centerCcolumn"> + <!-- Start center-center blocks loop --> + <{foreach item=block from=$xoBlocks.page_topcenter}> + <{includeq file="$theme_name/theme_blockcenter_c.html"}> + <{/foreach}> + <!-- End center-center blocks loop --> + </div> + <div id="centerLcolumn"> + <!-- Start center-left blocks loop --> + <{foreach item=block from=$xoBlocks.page_topleft}> + <{includeq file="$theme_name/theme_blockcenter_l.html"}> + <{/foreach}> + <!-- End center-left blocks loop --> + </div> + <div id="centerRcolumn"> + <!-- Start center-right blocks loop --> + <{foreach item=block from=$xoBlocks.page_topright}> + <{includeq file="$theme_name/theme_blockcenter_r.html"}> + <{/foreach}> + <!-- End center-right blocks loop --> + </div> + <{/if}> + <!-- End center top blocks loop --> + + <!-- Start content module page --> + <{if $xoops_contents && ($xoops_contents != ' ') }> + <div id="content"><{$xoops_contents}></div> + <{/if}> + <!-- End content module --> + + <!-- Start center bottom blocks loop --> + <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}> + <div class="clear"> </div> + <{if $xoBlocks.page_bottomcenter}> + <div id="bottomCcolumn"> + <{foreach from=$xoBlocks.page_bottomcenter item=block}> + <{include file="$theme_name/theme_blockcenter_c.html"}> + <{/foreach}> + </div> + <{/if}> + + <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}> + <div id="bottomLcolumn"> + <{foreach from=$xoBlocks.page_bottomleft item=block}> + <{include file="$theme_name/theme_blockcenter_l.html"}> + <{/foreach}> + </div> + + <div id="bottomRcolumn"> + <{foreach from=$xoBlocks.page_bottomright item=block}> + <{include file="$theme_name/theme_blockcenter_r.html"}> + <{/foreach}> + </div> + <{/if}> + <{/if}> + <!-- End center bottom blocks loop --> + </div> + </div> <!-- End of col1 --> + </div> + </div> + <div id="col2"> + <!-- Start left blocks loop --> + <{if $xoops_showlblock}> + <div id="leftcolumn"> + <{foreach item=block from=$xoBlocks.canvas_left}> + <{includeq file="$theme_name/theme_blockleft.html"}> + <{/foreach}> + </div> + <{/if}> + <!-- End left blocks loop --> + </div> + <div id="col3"> + <!-- Start right blocks loop --> + <{if $xoops_showrblock}> + <div id="rightcolumn"> + <{foreach item=block from=$xoBlocks.canvas_right}> + <{includeq file="$theme_name/theme_blockright.html"}> + <{/foreach}> + </div> + <{/if}> + <!-- End right blocks loop --> + </div> + </div> + </div> + </div> + <!-- Start footer --> + <div id="footer"> + <div id="footerbar"> + <{$xoops_footer}> + </div> + </div> + <!-- End footer --> + <!--{xo-logger-output}--> +</body> +</html> \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/xoops-style.css =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/xoops-style.css (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/css/xoops-style.css 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1,619 @@ +/*HTML ATTRIBUTES */ +a { + color: #666; + text-decoration: none; + font-weight: bold; + background-color: transparent; +} + +a:hover { + color: #ff6600; +} + +h1 { + font-size: 1.4em; +} + +h2 { + font-size: 1.3em; +} + +h3 { + font-size: 1.2em; +} + +h4 { + font-size: 1.1em; +} + +h5 { + font-size: 1em; +} + +ul { + margin: 2px; + padding: 2px; + list-style: disc inside; + text-align: left; +} + +ol { + margin: 2px; + padding: 2px; + list-style: decimal inside; + text-align: left; +} + +li { + margin-left: 2px; + color: #2A75C5; +} + +input.formButton {} + +fieldset { + border: 1px solid #cccccc; + margin-bottom: 10px; +} + +table { + width: 100%; +} + +table td { + padding: 0; + border-width: 0; + vertical-align: top; +} +/* HEADER */ + +#header { + float: left; + width: 100%; + padding: 0; + margin: 0; + height: 100px; + background: #2A75C5 url(../img/xo-banner_bg.png) repeat-x left top; + border-bottom: 1px solid #000000; +} + +#headertop { + background: #333 url(../img/top-header_bg.png) repeat-x left top; + height: 15px; +} + +#headerlogo { + float: left; + width: 250px; +} + +#headerlogo img { + padding: 0; +} + +#headerbanner { + float: right; + width: 60%; + text-align: right; + margin-left: -250px; +} +/* fix for banner */ + +#xo-bannerfix { +/*position: absolute;*/ +/* z-index:99;*/ + width: 480px; + height: 73px; + background: url(../img/bg-ad-top.png) no-repeat; + padding-top: 6px; + position: relative; + top: 7px; + right: 40px; + text-align: center; + margin: 0 0 0 auto; +} + +#xo-bannerfix object, #xo-bannerfix img { + display: block; + margin: 0 auto; + vertical-align: middle; +} + +#headerbar { + border-bottom: 1px solid #ddd; + background-image: url(../img/menubar.png); + width: 100%; + height: 30px; + float: left; +} +/* XOOPS STANTARD ELEMENTS*/ + +#leftcolumn {} + +#leftcolumn th { + background-color: #2A75C5; + color: #fff; + vertical-align: middle; +} + +#leftcolumn .blockTitle { + padding: 3px; + background: #ddd url(../img/block-title_bg.png) repeat-x; + color: #2A75C5; + font-weight: bold; +} + +#leftcolumn .blockContent { + padding: 3px; + line-height: 1.2em; +} + +#centercolumn { + font-size: 1em; + padding: 0; +} + +#centercolumn th { + background-color: #2A75C5; + color: #fff; + vertical-align: middle; +} + +#centerCcolumn, #bottomCcolumn { + padding: 0 5px; +} + +#centerCcolumn .blockTitle, #bottomCcolumn .blockTitle { + padding: 3px; + color: #2A75C5; + background: #ddd url(../img/block-title_bg.png) repeat-x; + font-weight: bold; + margin-top: 0; + margin-right: 0; + margin-left: 0; + font-size: 1.1em; +} + +#centerCcolumn .blockContent, #bottomCcolumn .blockContent { + border-left: 1px solid #ccc; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ddd; + padding: 3px; + margin-right: 0; + margin-left: 0; + margin-bottom: 2px; + line-height: 1.2em; +} + +#centerLcolumn, #bottomLcolumn { + float: left; + width: 48.5%; + padding: 0 3px 0 5px; +} + +#centerRcolumn, #bottomRcolumn { + float: right; + width: 48.5%; + padding: 0 5px 0 3px; + margin-left: -48%; +} + +#centerLcolumn .blockTitle, #bottomLcolumn .blockTitle, #centerRcolumn .blockTitle, #bottomRcolumn .blockTitle { + padding: 3px; + color: #2A75C5; + background: #ddd url(../img/block-title_bg.png) repeat-x; + font-weight: bold; + margin-top: 0; +} + +#centerLcolumn .blockContent, #centerRcolumn .blockContent, #bottomLcolumn .blockContent, #bottomRcolumn .blockContent { + border-left: 1px solid #ccc; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ddd; + padding: 3px; + margin-left: 2px; + margin-right: 3px; + margin-bottom: 2px; + line-height: 1.2em; +} + +#content { + text-align: left; + padding: 0 5px 5px 5px; +} + +#rightcolumn {} + +#rightcolumn th { + background-color: #2A75C5; + color: #fff; + vertical-align: middle; +} + +#rightcolumn .blockTitle { + padding: 3px; + background: #ddd url(../img/block-title_bg.png) repeat-x; + color: #2A75C5; + font-weight: bold; +} + +#rightcolumn .blockContent { + padding: 3px; + line-height: 1.2em; +} + +#footerbar { + background-image: url(hbar.gif); + font-size: .9em; + height: 18px; + padding-top: 5px; + text-align: center; +} + +#mainmenu a { + background-color: #e6e6e6; + display: block; + margin: 0; + padding: 4px; +} + +#mainmenu a:hover { + background-color: #fff; +} + +#mainmenu a.menuTop { + padding-left: 3px; + border-top: 1px solid #ccc; + border-right: 1px solid #aaa; + border-bottom: 1px solid #aaa; + border-left: 1px solid #ccc; +} + +#mainmenu a.menuMain { + padding-left: 3px; + border-right: 1px solid #aaa; + border-bottom: 1px solid #aaa; + border-left: 1px solid #ccc; +} + +#mainmenu a.menuSub { + padding-left: 9px; + border-right: 1px solid #aaa; + border-bottom: 1px solid #aaa; + border-left: 1px solid #ccc; +} + +#mainmenu a.maincurrent { + background-color: transparent; + color: #ff9900; +} + +#usermenu { + font-size: .9em; +} + +#usermenu a { + background-color: #e6e6e6; + display: block; + margin: 0 5px 0 5px; + padding: 2px; + border-right: 1px solid #aaa; + border-bottom: 1px solid #aaa; + border-left: 1px solid #ccc; + font-weight: normal; +} + +#usermenu a:hover { + background-color: #fff; +} + +#usermenu a.menuTop { + border-top: 1px solid #ccc; +} + +#usermenu a.highlight { + background-color: #fcc; +} + +caption { + font-weight: bold; +} + +th, thead { + background-color: #2A75C5; + padding: 2px; + color: #fff; + vertical-align: middle; +} + +.outer { + border: 1px solid #c0c0c0; +} + +.head { + background-color: #c2cdd6; + padding: 5px; + font-weight: bold; +} + +.even { + background-color: #dee3e7; + padding: 5px; +} + +.odd { + background-color: #E9E9E9; + padding: 5px; +} + +.foot { + background-color: #c2cdd6; + padding: 5px; + font-weight: bold; +} + +tr.even td { + background-color: #dee3e7; + padding: 5px; +} + +tr.odd td { + background-color: #E9E9E9; + padding: 5px; +} + +tr.foot td { + background-color: #c2cdd6; + padding: 5px; + color: inherit; + font-weight: bold; +} + +.errorMsg,.confirmMsg, .resultMsg { + padding: .8em; + text-align: center; + margin-bottom: 1em; + border: 2px solid #ddd; +} + +.errorMsg { + background-color: #FBE3E4; + color: #D12F19; + border-color: #FBC2C4; +} + +.confirmMsg { + background-color: #FFF6BF; + color: #817134; + border-color: #FFD324; +} + +.resultMsg { + background-color: #E6EFC2; + color: #529214; + border-color: #C6D880; +} + +.errorMsg a { + background-color: transparent; + color: #D12F19; +} + +.confirmMsg a { + background-color: transparent; + color: #817134; +} + +.successMsg a { + background-color: transparent; + color: #529214; +} + +.xoopsCode { + background: #fff; + border: 1px inset #000080; + font-family: "Courier New", Courier, monospace; + padding: 0 6px 6px 6px; + height: 200px; + overflow: auto; + font-size: .9em; +} + +.xoopsQuote { + background: #fff; + border: 1px inset #000080; + font-family: "Courier New", Courier, monospace; + padding: 0 6px 6px 6px; + font-size: .9em; +} + +blockquote { + font-style: italic; + line-height: 1.4em; +} + +.comTitle { + font-weight: bold; + margin-bottom: 2px; +} + +.comText { + padding: 2px; +} + +.comUserStat { + font-size: .9em; + color: #2A75C5; + font-weight: bold; + border: 1px solid #c0c0c0; + background-color: #fff; + margin: 2px; + padding: 2px; +} + +.comUserStatCaption { + font-weight: normal; +} + +.comUserStatus { + margin-left: 2px; + margin-top: 10px; + color: #2A75C5; + font-weight: bold; + font-size: .9em; +} + +.comUserRank { + margin: 2px; +} + +.comUserRankText { + font-size: .9em; + font-weight: bold; +} + +.comUserRankImg { + border: 0; +} + +.comUserName a { + color: #fff; +} + +.comUserImg { + margin: 2px; +} + +.comDate { + font-weight: normal; + font-style: italic; + font-size: .8em; +} + +.comDateCaption { + font-weight: bold; + font-style: normal; +} +/*============== Styles for system_siteclosed.html (override system module) =================*/ + +#xo-siteclose { + width: 400px; + margin: 100px auto; + background-color: #e2e2e2; + padding: 30px; + color: #000; + font-size: 1.2em; + font-weight: bold; + text-align: center; + border: 1px solid #666; +} + +#xo-userbar_siteclosed { + display: block; + background: #2A75C5 url(xo-banner_bg.png) repeat-x left top; + padding-top: 8px; + padding-right: 1em; + color: #fff; + font-size: .8em; + text-align: center; +} + +#xo-userbar_siteclosed form { + display: inline; + padding: 0; +} + +#xo-userbar_siteclosed input, #xo-userbar_siteclosed button { + width: 100px; + background-color: transparent; + color: #fff; + font-size: .9em; + margin: 2px; +} + +#xo-userbar_siteclosed input:hover {} +/*============== Styles for system_redirect.html (override system module) =================*/ + +#xo-redirect { + width: 780px; + margin: 50px auto; + padding: 1em; + font-weight: bold; + text-align: center; +} + +#xo-redirect .notreload { + height: 28px; + background-color: inherit; + padding-top: 2px; + color: #000; +} + +#xo-redirect .notreload a { + background-color: inherit; + color: #ff0000; + font-weight: bold; + text-decoration: none; +} + +#xo-redirect .message { + min-height: 60px; + background-color: #f3f3f3; + padding: 1em; + color: #333; + font-size: 1.2em; + text-align: center; + border: 1px solid #666; +} + +#xo-redirect .message img{ + padding: 1em; +} +/*============== Styles for pagenav =================*/ + +#xo-pagenav { + margin: 7px 0; + text-align: center; + font-size: 1.05em; +} + +#xo-pagenav a { + text-decoration: none; +} + +#xo-pagenav a:hover { + color: #fff; + background-color: #2A75C5; + border: 1px solid #fff; +} + +.xo-pagact { + margin: 0; + padding: .2em .5em; + color: #fff; + background-color: #2A75C5; + border: 1px solid #fff; +} + +.xo-counterpage, .xo-pagarrow { + margin: 0; + padding: .2em .5em; + color: #000; + background-color: #fff; + border: 1px solid #000; +} + +.xo-counterpage:hover {} + +.xo-pagarrow { + letter-spacing: 0.2em; +} +/*======= Tinymce background textarea ========*/ + +body.mceContentBody { + margin: 0; + padding: 0; + background-color: #fff; + background-image: none; + color: #000; +} \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/ajax_indicator_01.gif =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/ajax_indicator_01.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/favicon.ico =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/favicon.ico ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/favicon.png =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/favicon.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/index.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/index.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/icons/index.html 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/block-title_bg.png =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/block-title_bg.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/footer_bg.png =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/footer_bg.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/logo.png =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/logo.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/menubar.png =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/menubar.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/theme.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/theme.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/theme.html 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1,170 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> +<head> + <!-- Assign Theme name --> + <{assign var=theme_name value=$xoTheme->folderName}> + + <!-- Title and meta --> + <meta http-equiv="content-language" content="<{$xoops_langcode}>" /> + <meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" /> + <title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> - <{/if}><{$xoops_sitename}></title> + <meta name="robots" content="<{$xoops_meta_robots}>" /> + <meta name="keywords" content="<{if $xoops_dirname != system}><{$xoops_pagetitle}>, <{/if}><{$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" /> + <meta name="revisit-after" content="7 days" /> + + <!-- Rss --> + <link rel="alternate" type="application/rss+xml" title="" href="<{xoAppUrl backend.php}>" /> + + <!-- Favicon --> + <link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" /> + <link rel="icon" type="image/png" href="<{xoImgUrl icons/favicon.png}>" /> + + <!-- Sheet Css --> + <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoAppUrl xoops.css}>" /> + <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoImgUrl style.css}>" /> + <{* Code for different layout structure [1/2 or 3columns]- Allows 3 Columns by default *}> + <{if $xoops_showrblock == '' & $xoops_showlblock == ''}> + <style type="text/css"> @import url(<{xoImgUrl style-noCol.css}>);</style> + <{elseif $xoops_showrblock == 1 & $xoops_showlblock == ''}> + <style type="text/css"> @import url(<{xoImgUrl style-noLcol.css}>);</style> + <{elseif $xoops_showrblock == '' & $xoops_showlblock == 1}> + <style type="text/css"> @import url(<{xoImgUrl style-noRcol.css}>);</style> + <{/if}> + + <!-- customized header contents --> + <{$xoops_module_header}> + + <!-- Dublin Core MetaData [DCMI] Tags --> + <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" /> + <link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" /> + <meta name="DC.title" lang="<{$xoops_langcode}>" content="<{$xoops_pagetitle}> - <{$xoops_sitename}>" /> + <meta name="DC.creator" content="<{$xoops_sitename}>" /> + <meta name="DC.subject" lang="<{$xoops_langcode}>" content="<{$xoops_meta_keywords}>, <{$xoops_pagetitle}>" /> + <meta name="DC.description" lang="<{$xoops_langcode}>" content="<{$xoops_pagetitle}> - <{$xoops_meta_description}>" /> + <meta name="DC.publisher" content="<{$xoops_meta_author}>" /> + <meta name="DC.type" content="text" /> + <meta name="DC.format" content="text/html; charset=<{$xoops_charset}>" /> + <meta name="DC.identifier" scheme="DCTERMS.URI" content="<{$xoops_url}>" /> + <meta name="DC.language" scheme="DCTERMS.RFC1766" content="<{$xoops_langcode}>" /> + <meta name="DC.rights" content="<{$xoops_meta_copyright}>" /> + +</head> +<body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>"> + <div id="header"> + <div id="headerlogo"> + <a href="<{xoAppUrl /}>" title="<{$xoops_sitename}>"> + <img src="<{xoImgUrl xoops-logo.png}>" alt="<{$xoops_sitename}>" /> + </a> + </div> + <div id="headerbanner"><{$xoops_banner}></div> + </div> + <div id="headerbar"> </div> + <div id="colmask"> + <div id="colmid"> + <div id="colright"> + <div id="col1wrap"> + <div id="col1pad"> + <div id="col1"> + <div id="centercolumn"> + <!-- Display center blocks if any --> + <{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}> + <div id="centerCcolumn"> + <!-- Start center-center blocks loop --> + <{foreach item=block from=$xoBlocks.page_topcenter}> + <{includeq file="$theme_name/theme_blockcenter_c.html"}> + <{/foreach}> + <!-- End center-center blocks loop --> + </div> + <div id="centerLcolumn"> + <!-- Start center-left blocks loop --> + <{foreach item=block from=$xoBlocks.page_topleft}> + <{includeq file="$theme_name/theme_blockcenter_l.html"}> + <{/foreach}> + <!-- End center-left blocks loop --> + </div> + <div id="centerRcolumn"> + <!-- Start center-right blocks loop --> + <{foreach item=block from=$xoBlocks.page_topright}> + <{includeq file="$theme_name/theme_blockcenter_r.html"}> + <{/foreach}> + <!-- End center-right blocks loop --> + </div> + <{/if}> + <!-- End center top blocks loop --> + + <!-- Start content module page --> + <{if $xoops_contents && ($xoops_contents != ' ') }> + <div id="content"><{$xoops_contents}></div> + <{/if}> + <!-- End content module --> + + <!-- Start center bottom blocks loop --> + <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}> + <div class="clear"> </div> + <{if $xoBlocks.page_bottomcenter}> + <div id="bottomCcolumn"> + <{foreach from=$xoBlocks.page_bottomcenter item=block}> + <{include file="$theme_name/theme_blockcenter_c.html"}> + <{/foreach}> + </div> + <{/if}> + + <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}> + <div id="bottomLcolumn"> + <{foreach from=$xoBlocks.page_bottomleft item=block}> + <{include file="$theme_name/theme_blockcenter_l.html"}> + <{/foreach}> + </div> + + <div id="bottomRcolumn"> + <{foreach from=$xoBlocks.page_bottomright item=block}> + <{include file="$theme_name/theme_blockcenter_r.html"}> + <{/foreach}> + </div> + <{/if}> + <{/if}> + <!-- End center bottom blocks loop --> + </div> + </div> <!-- End of col1 --> + </div> + </div> + <div id="col2"> + <!-- Start left blocks loop --> + <{if $xoops_showlblock}> + <div id="leftcolumn"> + <{foreach item=block from=$xoBlocks.canvas_left}> + <{includeq file="$theme_name/theme_blockleft.html"}> + <{/foreach}> + </div> + <{/if}> + <!-- End left blocks loop --> + </div> + <div id="col3"> + <!-- Start right blocks loop --> + <{if $xoops_showrblock}> + <div id="rightcolumn"> + <{foreach item=block from=$xoBlocks.canvas_right}> + <{includeq file="$theme_name/theme_blockright.html"}> + <{/foreach}> + </div> + <{/if}> + <!-- End right blocks loop --> + </div> + </div> + </div> + </div> + <!-- Start footer --> + <div id="footer"> + <div id="footerbar"> + <{$xoops_footer}> + </div> + </div> + <!-- End footer --> + <!--{xo-logger-output}--> +</body> +</html> \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/top-header_bg.png =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/top-header_bg.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/xo-banner_bg.png =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/xo-banner_bg.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/xoops-logo.png =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/xoops-logo.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/xoops-logo.psd =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/img/xoops-logo.psd ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/index.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/index.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/index.html 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/js/index.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/js/index.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/js/index.html 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/js/jq.init.mini.js =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/js/jq.init.mini.js (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/js/jq.init.mini.js 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1,9 @@ +/* + * File jq.init.mini.js + * + * version: 1.0 + * author: TXMod Xoops - www.txmodxoops.org + * +$(document)["ready"](function (){$("button, input:button, input:submit, input:file, input:reset")["css"]("color","inherit")["button"]();$(".check")["css"]("color","#fff")["button"]();$(".radio")["css"]("color","#fff")["buttonset"]();$(".toolbar")["css"]("color","#000")["buttonset"]();$("#notifform")["hide"]();$("div#notifbox")["click"](function (){$(this)["next"]("#notifform")["slideToggle"]("slow");} );$(".slideTogglebox")["hide"]();$("#slideToggle")["click"](function (){$(".slideTogglebox")["slideToggle"]("slow");} );$(function (){$("ul.tabs")["tabs"]("div.panes \x3E div");} );$(function (){$("ul.tabs-block")["tabs"]("div.panes \x3E div");} );$(function (){$("ul.css-tabs")["tabs"]("div.css-panes \x3E div",{effect:"ajax"});} );$(function (){$("#nav ul")["tabs"]("#panes \x3E div",{effect:"fade",fadeOutSpeed:400});} );$(function (){$(".scrollable")["scrollable"]({circular:true,mousewheel:true})["navigator"]()["autoscroll"]({interval:3000});} );$(function (){$(".slidetabs")["tabs"](".images \x3E div",{effect:"fade",fadeOutSpeed:"slow",rotate:true})["slideshow"]({autoplay:true,interval:3000});} );} ); + */ +$(document).ready(function(){$("button, input:button, input:submit, input:file, input:reset").css("color","inherit").button();$("input[type:checkbox]").css("color","#fff").button();$("input[type:radio]").css("color","#fff").buttonset();$(".toolbar").css("color","#000").buttonset();$('#notifform').hide();$('div#notifbox').click(function(){$(this).next('#notifform').slideToggle('slow')});$('.slideTogglebox').hide();$("#slideToggle").click(function(){$('.slideTogglebox').slideToggle('slow')});$(function(){$("ul.tabs").tabs("div.panes > div")});$(function(){$("ul.tabs-block").tabs("div.panes > div")});$(function(){$("ul.css-tabs").tabs("div.css-panes > div",{effect:'ajax'})});$(function(){$("#nav ul").tabs("#panes > div",{effect:'fade',fadeOutSpeed:400})});$(function(){$(".scrollable").scrollable({circular:true,mousewheel:true,speed:1000,wheelSpeed:10}).navigator().autoscroll({interval:5000})});$(function(){$(".slidetabs").tabs(".images > div",{effect:'fade',fadeOutSpeed:"slow",rotate:true}).slideshow({autoplay:true,interval:3000})})}); \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/index.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/index.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/index.html 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/system/index.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/system/index.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/system/index.html 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/system/system_redirect.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/system/system_redirect.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/system/system_redirect.html 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1,55 @@ +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> +<head> +<!-- title and metas --> +<title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> : <{/if}><{$xoops_sitename}></title> +<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" /> +<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}> + +<!-- Force MSIE without javascript actived to take the default theme. not conforms to the standards but functional --> +<{if $isMsie}> + <noscript> + <meta http-equiv="refresh" content="0; url=<{xoAppUrl . xoops_theme_select=default}>" /> + </noscript> +<{/if}> + +<!-- path favicon --> +<link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" /> +<link rel="icon" type="image/png" href="<{xoImgUrl icons/favicon.png}>" /> + +<!-- include xoops.js and others via header.php --> +<{$xoops_module_header}> + +<!-- Xoops style sheet --> +<link rel="stylesheet" type="text/css" media="screen" href="<{xoAppUrl xoops.css}>" /> + +<!-- Theme style sheets --> +<link rel="stylesheet" type="text/css" media="screen" title="Color" href="<{xoImgUrl style.css}>" /> + +</head> +<body id="xo-refresh"> +<div id="xo-wrapper" class="container center"> + <div id="xo-redirect"> + <div class="message"> + <{$message}> + <br /> + <img src="<{xoImgUrl icons/ajax_indicator_01.gif}>" alt="<{$message}>"/> + </div> + <div class="notreload"> + <{$lang_ifnotreload}> + </div> + <{if $xoops_logdump != ''}><div><{$xoops_logdump}></div><{/if}> + </div> +</div> + +</body> +</html> \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/system/system_siteclosed.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/system/system_siteclosed.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/modules/system/system_siteclosed.html 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1,92 @@ +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> +<head> + <!-- title and metas --> + <title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> : <{/if}><{$xoops_sitename}></title> + <meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" /> + <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}> + + <!-- Force MSIE without javascript actived to take the default theme. not conforms to the standards but functional --> + <{if $isMsie}> + <noscript> + <meta http-equiv="refresh" content="0; url=<{xoAppUrl . xoops_theme_select=default}>" /> + </noscript> + <{/if}> + + <!-- path favicon --> + <link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" /> + <link rel="icon" type="image/png" href="<{xoImgUrl icons/favicon.png}>" /> + + <!-- include xoops.js and others via header.php --> + <{$xoops_module_header}> + + <!-- Xoops style sheet --> + <link rel="stylesheet" type="text/css" media="screen" href="<{xoAppUrl xoops.css}>" /> + + <!-- Theme style sheets --> + <link rel="stylesheet" type="text/css" media="screen" title="Color" href="<{xoImgUrl style.css}>" /> +</head> +<body> + +<div id="xo-canvas"<{if $columns_layout}> class="<{$columns_layout}>"<{/if}>> + <div class="xo-wrapper"> + <div id="xo-bgstatic" class="<{$xoops_dirname}>"></div> + <div id="xo-header" class="<{$xoops_dirname}>"> + <div id="xo-top"> + <!-- include du bloc Utilisateur dans le header --> + </div> + <!-- Start Header --> + <table cellspacing="0"> + <tr id="header"> + <td id="headerlogo"><a href="<{xoAppUrl /}>" title="<{$xoops_sitename}>"><img src="<{xoImgUrl xoops-logo.png}>" alt="<{$xoops_sitename}>" /></a></td> + <td id="headerbanner"><{$xoops_banner}></td> + <td id="xo-userbar_siteclosed"> + <!-- menu in anonymous mode --> + <form method="post" action="<{xoAppUrl /user.php op=login}>"> + <input name="uname" type="text" title="" /> + <input name="pass" type="password" title=""/> + <input type="hidden" name="xoops_redirect" value="<{$smarty.server.REQUEST_URI}>" /> + <{if $lang_siteclosemsg}> + <input type="hidden" name="xoops_login" value="1" /> + <{/if}> + <input type="hidden" name="op" value="login" /> + <input type="submit" value="<{$lang_login}>" /> + </form> + </td> + </tr> + <tr> + <td id="headerbar" colspan="3"> </td> + </tr> + </table> + <!-- End header --> + </div> + + <div id="xo-canvas-content"> + <div id="xo-page"> + <div id="xo-siteclose"><{$lang_siteclosemsg}></div> + </div> + </div> + + <!-- Start footer --> + <table cellspacing="0"> + <tr id="footerbar"> + <td><{$xoops_footer}></td> + </tr> + </table> + <!-- End footer --> + + <!--{xo-logger-output}--> + </div> +</div> + +</body> +</html> Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/plugins/index.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/plugins/index.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/plugins/index.html 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/screenshot.gif =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/screenshot.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/screenshot.png =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/screenshot.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/theme.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/theme.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/theme.html 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1,80 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> +<head> +<{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'}> +<{* Directory html js files *}> +<{assign var=theme_js value=$xoTheme->folderName|cat:'/js'}> +<{* Metas, Titles, and Style Sheets *}> +<{includeq file="$theme_tpl/theme_metas.html"}> +<{* Additionals Scripts *}> +<{includeq file="$theme_tpl/theme_scripts.html"}> +</head> +<body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>"> +<{* For google bots *}> +<noscript><h1><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}><{else}><{$xoops_sitename}><{/if}></h1></noscript> + <{* Start of header *}> + <{includeq file="$theme_tpl/theme_header.html"}> + <{* End of header *}> + <{* Start of colmask *}> + <div id="container"> + <{* Start of colleft *}> + <div id="colleft"> + <{* Start of col1 *}> + <div id="col1"> + <{includeq file="$theme_tpl/theme_leftblocks.html"}> + </div> + <{* End of col1 *}> + </div> + <{* End of colleft *}> + <{* Start of colmid *}> + <div id="colmid"> + <{* Start of col2wrap *}> + <div id="col2wrap"> + <{* Start of col2pad *}> + <div id="col2pad"> + <{* Start of col2 *}> + <div id="col2"> + <{* Start of centercolumn *}> + <div id="centercolumn"> + <{* Start of blockcentertop *}> + <{includeq file="$theme_tpl/theme_blockcentertop.html"}> + <{* End of blockcentertop *}> + <{* Start of content *}> + <{includeq file="$theme_tpl/theme_content.html"}> + <{* End of content *}> + <{* Start of blockcenterbottom *}> + <{includeq file="$theme_tpl/theme_blockcenterbottom.html"}> + <{* End of blockcenterbottom *}> + </div> + <{* End of centercolumn *}> + </div> + <{* End of col2 *}> + </div> + <{* End of col2pad *}> + </div> + </div> + <{* End of colmid *}> + <{* Start of colright *}> + <div id="colright"> + <{* End of col2wrap *}> + <{* Start of col3 *}> + <div id="col3"> + <{includeq file="$theme_tpl/theme_rightblocks.html"}> + </div> + <{* End of col3 *}> + </div> + <{* End of colright *}> + </div> + <{* End of colmask *}> + <{* Start of footer *}> + <{includeq file="$theme_tpl/theme_footer.html"}> + <{* End of footer *}> +</body> +</html> \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/themes/default-timgno/tpl/theme.html 2012-05-22 20:34:35 UTC (rev 9576) @@ -0,0 +1,170 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> +<head> + <!-- Assign Theme name --> + <{assign var=theme_name value=$xoTheme->folderName}> + + <!-- Title and meta --> + <meta http-equiv="content-language" content="<{$xoops_langcode}>" /> + <meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" /> + <title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> - <{/if}><{$xoops_sitename}></title> + <meta name="robots" content="<{$xoops_meta_robots}>" /> + <meta name="keywords" content="<{if $xoops_dirname != system}><{$xoops_pagetitle}>, <{/if}><{$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" /> + <meta name="revisit-after" content="7 days" /> + + <!-- Rss --> + <link rel="alternate" type="application/rss+xml" title="" href="<{xoAppUrl backend.php}>" /> + + <!-- Favicon --> + <link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" /> + <link rel="icon" type="image/png" href="<{xoImgUrl icons/favicon.png}>" /> + + <!-- Sheet Css --> + <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoAppUrl xoops.css}>" /> + <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoImgUrl style.css}>" /> + <{* Code for different layout structure [1/2 or 3columns]- Allows 3 Columns by default *}> + <{if $xoops_showrblock == '' & $xoops_showlblock == ''}> + <style type="text/css"> @import url(<{xoImgUrl style-noCol.css}>);</style> + <{elseif $xoops_showrblock == 1 & $xoops_showlblock == ''}> + <style type="text/css"> @import url(<{xoImgUrl style-noLcol.css}>);</style> + <{elseif $xoops_showrblock == '' & $xoops_showlblock == 1}> + <style type="text/css"> @import url(<{xoImgUrl style-noRcol.css}>);</style> + <{/if}> + + <!-- customized header contents --> + <{$xoops_module_header}> + + <!-- Dublin Core MetaData [DCMI] Tags --> + <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" /> + <link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" /> + <meta name="DC.title" lang="<{$xoops_langcode}>" content="<{$xoops_pagetitle}> - <{$xoops_s... [truncated message content] |
From: <be...@us...> - 2012-05-22 19:10:52
|
Revision: 9575 http://xoops.svn.sourceforge.net/xoops/?rev=9575&view=rev Author: beckmi Date: 2012-05-22 19:10:42 +0000 (Tue, 22 May 2012) Log Message: ----------- author credit updates Modified Paths: -------------- XoopsModules/defacer/trunk/defacer/admin/about.php XoopsModules/defacer/trunk/defacer/docs/credits.txt Modified: XoopsModules/defacer/trunk/defacer/admin/about.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/about.php 2012-05-22 19:00:18 UTC (rev 9574) +++ XoopsModules/defacer/trunk/defacer/admin/about.php 2012-05-22 19:10:42 UTC (rev 9575) @@ -1,5 +1,23 @@ <?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Defacer + * @since 1.0 + * @author trabis <lus...@gm...> + * @version $Id: admin_about.php 0 2009-06-11 18:47:04Z trabis $ + */ + include_once dirname(__FILE__) . '/admin_header.php'; xoops_cp_header(); Modified: XoopsModules/defacer/trunk/defacer/docs/credits.txt =================================================================== --- XoopsModules/defacer/trunk/defacer/docs/credits.txt 2012-05-22 19:00:18 UTC (rev 9574) +++ XoopsModules/defacer/trunk/defacer/docs/credits.txt 2012-05-22 19:10:42 UTC (rev 9575) @@ -1,6 +1,6 @@ Credits =============== -Originally developed by Herv\xE9 Thouzard (hervet), +Originally developed by Ricardo Costa (Trabis, www.xuups.com) Updated to XOOPS 2.5.0 Standard GUI by Michael Beck (Mamba), with contributions by Gregory Mage (Mage) \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-05-22 19:00:27
|
Revision: 9574 http://xoops.svn.sourceforge.net/xoops/?rev=9574&view=rev Author: beckmi Date: 2012-05-22 19:00:18 +0000 (Tue, 22 May 2012) Log Message: ----------- Updating to 1.1 Final release Modified Paths: -------------- XoopsModules/defacer/trunk/defacer/admin/about.php XoopsModules/defacer/trunk/defacer/admin/admin_about.php XoopsModules/defacer/trunk/defacer/admin/admin_functions.php XoopsModules/defacer/trunk/defacer/admin/admin_header.php XoopsModules/defacer/trunk/defacer/admin/admin_meta.php XoopsModules/defacer/trunk/defacer/admin/admin_page.php XoopsModules/defacer/trunk/defacer/admin/admin_permission.php XoopsModules/defacer/trunk/defacer/admin/admin_theme.php XoopsModules/defacer/trunk/defacer/admin/index.php XoopsModules/defacer/trunk/defacer/admin/menu.php XoopsModules/defacer/trunk/defacer/class/about.php XoopsModules/defacer/trunk/defacer/class/defacer.php XoopsModules/defacer/trunk/defacer/class/meta.php XoopsModules/defacer/trunk/defacer/class/object.php XoopsModules/defacer/trunk/defacer/class/page.php XoopsModules/defacer/trunk/defacer/class/permission.php XoopsModules/defacer/trunk/defacer/class/theme.php XoopsModules/defacer/trunk/defacer/docs/changelog.txt XoopsModules/defacer/trunk/defacer/docs/readme.txt XoopsModules/defacer/trunk/defacer/include/beforefooter.php XoopsModules/defacer/trunk/defacer/include/beforeheader.php XoopsModules/defacer/trunk/defacer/include/functions.php XoopsModules/defacer/trunk/defacer/language/english/about.php XoopsModules/defacer/trunk/defacer/language/english/admin.php XoopsModules/defacer/trunk/defacer/language/english/modinfo.php XoopsModules/defacer/trunk/defacer/preloads/core.php XoopsModules/defacer/trunk/defacer/xoops_version.php Modified: XoopsModules/defacer/trunk/defacer/admin/about.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/about.php 2012-05-22 11:21:46 UTC (rev 9573) +++ XoopsModules/defacer/trunk/defacer/admin/about.php 2012-05-22 19:00:18 UTC (rev 9574) @@ -1,12 +1,12 @@ -<?php - -include_once dirname(__FILE__) . '/admin_header.php'; - -xoops_cp_header(); - -$aboutAdmin = new ModuleAdmin(); - -echo $aboutAdmin->addNavigation('about.php'); -echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); - +<?php + +include_once dirname(__FILE__) . '/admin_header.php'; + +xoops_cp_header(); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); + include 'admin_footer.php'; \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/admin/admin_about.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/admin_about.php 2012-05-22 11:21:46 UTC (rev 9573) +++ XoopsModules/defacer/trunk/defacer/admin/admin_about.php 2012-05-22 19:00:18 UTC (rev 9574) @@ -1,27 +1,27 @@ -<?php -/* - You may not change or alter any portion of this comment or credits - of supporting developers from this source code or any supporting source code - which is considered copyrighted (c) material of the original comment or credit authors. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - */ - -/** - * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package Defacer - * @since 1.0 - * @author trabis <lus...@gm...> - * @version $Id: admin_about.php 0 2009-06-11 18:47:04Z trabis $ - */ - -include_once dirname(__FILE__) . '/admin_header.php'; -include_once dirname(dirname(__FILE__)) . '/class/about.php'; - -$aboutObj = new DefacerAbout(); -$aboutObj->render(); -include_once 'admin_footer.php'; +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Defacer + * @since 1.0 + * @author trabis <lus...@gm...> + * @version $Id: admin_about.php 0 2009-06-11 18:47:04Z trabis $ + */ + +include_once dirname(__FILE__) . '/admin_header.php'; +include_once dirname(dirname(__FILE__)) . '/class/about.php'; + +$aboutObj = new DefacerAbout(); +$aboutObj->render(); +include_once 'admin_footer.php'; ?> \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/admin/admin_functions.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/admin_functions.php 2012-05-22 11:21:46 UTC (rev 9573) +++ XoopsModules/defacer/trunk/defacer/admin/admin_functions.php 2012-05-22 19:00:18 UTC (rev 9574) @@ -1,76 +1,76 @@ -<?php -/* - You may not change or alter any portion of this comment or credits - of supporting developers from this source code or any supporting source code - which is considered copyrighted (c) material of the original comment or credit authors. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - */ - -/** - * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package Defacer - * @since 1.0 - * @author trabis <lus...@gm...> - * @author InstantZero <http://xoops.instant-zero.com/> - * @version $Id: admin_header.php 0 2009-06-11 18:47:04Z trabis $ - */ - -defined('XOOPS_ROOT_PATH') or die("XOOPS root path not defined"); - -include_once dirname(dirname(__FILE__)) . '/include/common.php'; - -function defacer_adminMenu($currentoption = 0, $breadcrumb = '') -{ - $defacer =& DefacerDefacer::getInstance(); - /* Nice buttons styles */ - echo " - <style type='text/css'> - #buttontop { float:left; width:100%; background: #e7e7e7; font-size:93%; line-height:normal; border-top: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; margin: 0; } - #buttonbar { float:left; width:100%; background: #e7e7e7 url('" . XOOPS_URL . "/modules/" . $defacer->getModule()->dirname() . "/images/bg.png') repeat-x left bottom; font-size:93%; line-height:normal; border-left: 1px solid black; border-right: 1px solid black; margin-bottom: 12px; } - #buttonbar ul { margin:0; margin-top: 15px; padding:10px 10px 0; list-style:none; } - #buttonbar li { display:inline; margin:0; padding:0; } - #buttonbar a { float:left; background:url('" . XOOPS_URL . "/modules/" . $defacer->getModule()->dirname() . "/images/left_both.png') no-repeat left top; margin:0; padding:0 0 0 9px; border-bottom:1px solid #000; text-decoration:none; } - #buttonbar a span { float:left; display:block; background:url('" . XOOPS_URL . "/modules/" . $defacer->getModule()->dirname() . "/images/right_both.png') no-repeat right top; padding:5px 15px 4px 6px; font-weight:bold; color:#765; } - /* Commented Backslash Hack hides rule from IE5-Mac \*/ - #buttonbar a span {float:none;} - /* End IE5-Mac hack */ - #buttonbar a:hover span { color:#333; } - #buttonbar #current a { background-position:0 -150px; border-width:0; } - #buttonbar #current a span { background-position:100% -150px; padding-bottom:5px; color:#333; } - #buttonbar a:hover { background-position:0% -150px; } - #buttonbar a:hover span { background-position:100% -150px; } - </style> - "; - - $tblColors = array('', '', '', '', ''); - if($currentoption >= 0) { - $tblColors[$currentoption] = 'current'; - } - - if (file_exists($filename = XOOPS_ROOT_PATH . '/modules/' . $defacer->getModule()->dirname() . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/modinfo.php')) { - include_once $filename; - } else { - include_once XOOPS_ROOT_PATH . '/modules/' . $defacer->getModule()->dirname() . '/language/english/modinfo.php'; - } - - echo "<div id='buttontop'>"; - echo "<table style=\"width: 100%; padding: 0; \" cellspacing=\"0\"><tr>"; - echo "<td style=\"width: 60%; font-size: 10px; text-align: left; color: #2F5376; padding: 0 6px; line-height: 18px;\"><a class=\"nobutton\" href=\"../../system/admin.php?fct=preferences&op=showmod&mod=" . $defacer->getModule()->mid() . "\">" . _AM_DEFACER_GENERALSET . "</a>"; - echo "<td style=\"width: 40%; font-size: 10px; text-align: right; color: #2F5376; padding: 0 6px; line-height: 18px;\"><b>" . $defacer->getModule()->name() . " " . _AM_DEFACER_MODULEADMIN . "</b> " . $breadcrumb . "</td>"; - echo "</tr></table>"; - echo "</div>"; - - echo "<div id='buttonbar'>"; - echo "<ul>"; - echo "<li id='" . $tblColors[0] . "'><a href=\"admin_page.php\"\"><span>" . _MI_DEFACER_PAGEMANAGER . "</span></a></li>\n"; - echo "<li id='" . $tblColors[1] . "'><a href=\"admin_theme.php\"\"><span>" . _MI_DEFACER_THEMEMANAGER . "</span></a></li>\n"; - echo "<li id='" . $tblColors[2] . "'><a href=\"admin_meta.php\"\"><span>" . _MI_DEFACER_METAMANAGER . "</span></a></li>\n"; - echo "<li id='" . $tblColors[3] . "'><a href=\"admin_permission.php\"\"><span>" . _MI_DEFACER_PERMISSIONMANAGER . "</span></a></li>\n"; - echo "<li id='" . $tblColors[4] . "'><a href=\"admin_about.php\"\"><span>" . _MI_DEFACER_ABOUT . "</span></a></li>\n"; - echo "</ul></div><div> </div>"; -} +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Defacer + * @since 1.0 + * @author trabis <lus...@gm...> + * @author InstantZero <http://xoops.instant-zero.com/> + * @version $Id: admin_header.php 0 2009-06-11 18:47:04Z trabis $ + */ + +defined('XOOPS_ROOT_PATH') or die("XOOPS root path not defined"); + +include_once dirname(dirname(__FILE__)) . '/include/common.php'; + +function defacer_adminMenu($currentoption = 0, $breadcrumb = '') +{ + $defacer =& DefacerDefacer::getInstance(); + /* Nice buttons styles */ + echo " + <style type='text/css'> + #buttontop { float:left; width:100%; background: #e7e7e7; font-size:93%; line-height:normal; border-top: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; margin: 0; } + #buttonbar { float:left; width:100%; background: #e7e7e7 url('" . XOOPS_URL . "/modules/" . $defacer->getModule()->dirname() . "/images/bg.png') repeat-x left bottom; font-size:93%; line-height:normal; border-left: 1px solid black; border-right: 1px solid black; margin-bottom: 12px; } + #buttonbar ul { margin:0; margin-top: 15px; padding:10px 10px 0; list-style:none; } + #buttonbar li { display:inline; margin:0; padding:0; } + #buttonbar a { float:left; background:url('" . XOOPS_URL . "/modules/" . $defacer->getModule()->dirname() . "/images/left_both.png') no-repeat left top; margin:0; padding:0 0 0 9px; border-bottom:1px solid #000; text-decoration:none; } + #buttonbar a span { float:left; display:block; background:url('" . XOOPS_URL . "/modules/" . $defacer->getModule()->dirname() . "/images/right_both.png') no-repeat right top; padding:5px 15px 4px 6px; font-weight:bold; color:#765; } + /* Commented Backslash Hack hides rule from IE5-Mac \*/ + #buttonbar a span {float:none;} + /* End IE5-Mac hack */ + #buttonbar a:hover span { color:#333; } + #buttonbar #current a { background-position:0 -150px; border-width:0; } + #buttonbar #current a span { background-position:100% -150px; padding-bottom:5px; color:#333; } + #buttonbar a:hover { background-position:0% -150px; } + #buttonbar a:hover span { background-position:100% -150px; } + </style> + "; + + $tblColors = array('', '', '', '', ''); + if($currentoption >= 0) { + $tblColors[$currentoption] = 'current'; + } + + if (file_exists($filename = XOOPS_ROOT_PATH . '/modules/' . $defacer->getModule()->dirname() . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/modinfo.php')) { + include_once $filename; + } else { + include_once XOOPS_ROOT_PATH . '/modules/' . $defacer->getModule()->dirname() . '/language/english/modinfo.php'; + } + + echo "<div id='buttontop'>"; + echo "<table style=\"width: 100%; padding: 0; \" cellspacing=\"0\"><tr>"; + echo "<td style=\"width: 60%; font-size: 10px; text-align: left; color: #2F5376; padding: 0 6px; line-height: 18px;\"><a class=\"nobutton\" href=\"../../system/admin.php?fct=preferences&op=showmod&mod=" . $defacer->getModule()->mid() . "\">" . _AM_DEFACER_GENERALSET . "</a>"; + echo "<td style=\"width: 40%; font-size: 10px; text-align: right; color: #2F5376; padding: 0 6px; line-height: 18px;\"><b>" . $defacer->getModule()->name() . " " . _AM_DEFACER_MODULEADMIN . "</b> " . $breadcrumb . "</td>"; + echo "</tr></table>"; + echo "</div>"; + + echo "<div id='buttonbar'>"; + echo "<ul>"; + echo "<li id='" . $tblColors[0] . "'><a href=\"admin_page.php\"\"><span>" . _MI_DEFACER_PAGEMANAGER . "</span></a></li>\n"; + echo "<li id='" . $tblColors[1] . "'><a href=\"admin_theme.php\"\"><span>" . _MI_DEFACER_THEMEMANAGER . "</span></a></li>\n"; + echo "<li id='" . $tblColors[2] . "'><a href=\"admin_meta.php\"\"><span>" . _MI_DEFACER_METAMANAGER . "</span></a></li>\n"; + echo "<li id='" . $tblColors[3] . "'><a href=\"admin_permission.php\"\"><span>" . _MI_DEFACER_PERMISSIONMANAGER . "</span></a></li>\n"; + echo "<li id='" . $tblColors[4] . "'><a href=\"admin_about.php\"\"><span>" . _MI_DEFACER_ABOUT . "</span></a></li>\n"; + echo "</ul></div><div> </div>"; +} ?> \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/admin/admin_header.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/admin_header.php 2012-05-22 11:21:46 UTC (rev 9573) +++ XoopsModules/defacer/trunk/defacer/admin/admin_header.php 2012-05-22 19:00:18 UTC (rev 9574) @@ -1,57 +1,57 @@ -<?php -/* - You may not change or alter any portion of this comment or credits - of supporting developers from this source code or any supporting source code - which is considered copyrighted (c) material of the original comment or credit authors. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - */ - -/** - * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package Defacer - * @since 1.0 - * @author trabis <lus...@gm...> - * @version $Id: admin_header.php 0 2009-06-11 18:47:04Z trabis $ - */ - -//require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; -//require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; -$path = dirname(dirname(dirname(dirname(__FILE__)))); -include_once $path . '/mainfile.php'; -include_once $path . '/include/cp_functions.php'; -require_once $path . '/include/cp_header.php'; -require_once $path . '/class/xoopsformloader.php'; - -include_once dirname(dirname(__FILE__)) . '/include/common.php'; -include_once dirname(__FILE__) . '/admin_functions.php'; - -if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { - include_once XOOPS_ROOT_PATH . '/class/template.php'; - $xoopsTpl = new XoopsTpl(); -} - -global $xoopsModule; - -$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); - -//if functions.php file exist -require_once dirname(dirname(__FILE__)) . '/include/functions.php'; - -// Load language files -xoops_loadLanguage('admin', $thisModuleDir); -xoops_loadLanguage('modinfo', $thisModuleDir); -xoops_loadLanguage('main', $thisModuleDir); - -$pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); -$pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); -$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); - -if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ - include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); - }else{ - redirect_header("../../../admin.php", 5, _AM_DEFACER_MODULEADMIN_MISSING, false); +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Defacer + * @since 1.0 + * @author trabis <lus...@gm...> + * @version $Id: admin_header.php 0 2009-06-11 18:47:04Z trabis $ + */ + +//require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; +//require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; +require_once $path . '/class/xoopsformloader.php'; + +include_once dirname(dirname(__FILE__)) . '/include/common.php'; +include_once dirname(__FILE__) . '/admin_functions.php'; + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once XOOPS_ROOT_PATH . '/class/template.php'; + $xoopsTpl = new XoopsTpl(); +} + +global $xoopsModule; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +//if functions.php file exist +require_once dirname(dirname(__FILE__)) . '/include/functions.php'; + +// Load language files +xoops_loadLanguage('admin', $thisModuleDir); +xoops_loadLanguage('modinfo', $thisModuleDir); +xoops_loadLanguage('main', $thisModuleDir); + +$pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); +$pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); +$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + +if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + }else{ + redirect_header("../../../admin.php", 5, _AM_DEFACER_MODULEADMIN_MISSING, false); } \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/admin/admin_meta.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/admin_meta.php 2012-05-22 11:21:46 UTC (rev 9573) +++ XoopsModules/defacer/trunk/defacer/admin/admin_meta.php 2012-05-22 19:00:18 UTC (rev 9574) @@ -1,236 +1,236 @@ -<?php -/* - You may not change or alter any portion of this comment or credits - of supporting developers from this source code or any supporting source code - which is considered copyrighted (c) material of the original comment or credit authors. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - */ - -/** - * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package Defacer - * @since 1.0 - * @author trabis <lus...@gm...> - * @version $Id: admin_meta.php 0 2009-06-11 18:47:04Z trabis $ - */ - -require dirname(__FILE__) . '/admin_header.php'; - -$actions = array('list', 'add', 'edit', 'editok', 'del', 'delok'); -$op = isset($_REQUEST['op']) && in_array($_REQUEST['op'], $actions) ? $_REQUEST['op'] : 'list'; - -$itemid = isset($_REQUEST['itemid']) ? intval($_REQUEST['itemid']) : 0; -$limit = isset($_REQUEST['limit']) ? intval($_REQUEST['limit']) : 15; -$start = isset($_REQUEST['start']) ? intval($_REQUEST['start']) : 0; - -$itemid = isset($_REQUEST['meta_id']) ? intval($_REQUEST['meta_id']) : $itemid; -$indexAdmin = new ModuleAdmin(); - -switch ($op) { - case 'list': - xoops_cp_header(); - echo $indexAdmin->addNavigation('admin_meta.php'); - //defacer_adminMenu(2); - echo defacer_index($start, $limit); - include_once 'admin_footer.php'; - break; - case 'add': - defacer_add(); - break; - case 'edit': - xoops_cp_header(); - echo $indexAdmin->addNavigation('admin_meta.php'); - //defacer_adminMenu(2); - echo defacer_form($itemid); - include_once 'admin_footer.php'; - break; - case 'editok': - defacer_edit($itemid); - break; - case 'del': - defacer_confirmdel($itemid); - break; - case 'delok': - defacer_del($itemid); - break; -} - -function defacer_index($start = 0, $limit = 0) -{ - global $xoopsTpl; - - $defacer =& DefacerDefacer::getInstance(); - - $count = $defacer->getHandler('meta')->getCount(); - $xoopsTpl->assign('count', $count); - - $criteria = new CriteriaCompo(); - $criteria->setStart($start); - $criteria->setLimit($limit); - $objs = $defacer->getHandler('meta')->getObjects($criteria); - - if ($count > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; - $nav = new XoopsPageNav($count, $limit, $start, 'start', 'op=list'); - $xoopsTpl->assign('pagenav', '<div style="float:left; padding-top:2px;" align="center">' . $nav->renderNav() . '</div>'); - } - - foreach ($objs as $obj) { - $item = $obj->getValues(); - - $page = $defacer->getHandler('page')->get($obj->getVar('meta_id')); - $item['module'] = $page->getVar('name'); - $item['meta_title'] = $page->getVar('page_title'); - $item['meta_url'] = $page->getVar('page_url'); - $item['meta_status'] = $page->getVar('page_status'); - - if (substr($page->getVar('page_url'), -1) == '*') { - $item['meta_vurl'] = 0; - } else { - if ($page->getVar('page_moduleid') == 1){ - $item['meta_vurl'] = XOOPS_URL . '/' . $page->getVar('page_url'); - } else { - $item['meta_vurl'] = XOOPS_URL . '/modules/' . $page->getVar('dirname') . '/' . $page->getVar('page_url'); - } - } - - $xoopsTpl->append('items', $item); - } - - $xoopsTpl->assign('form', defacer_form()); - - return $xoopsTpl->fetch('db:defacer_admin_meta.html'); -} - -function defacer_add() -{ - $defacer =& DefacerDefacer::getInstance(); - - if (!$GLOBALS['xoopsSecurity']->check()) { - redirect_header(basename(__FILE__), 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); - } - - $obj = $defacer->getHandler('meta')->create(); - $obj->setVars($_POST); - - if (!$defacer->getHandler('meta')->insert($obj)) { - $msg = _AM_DEFACER_ERROR; - } else { - $msg = _AM_DEFACER_DBUPDATED; - } - - redirect_header(basename(__FILE__) , 2, $msg); -} - -function defacer_edit($itemid) -{ - $defacer =& DefacerDefacer::getInstance(); - - if (!$GLOBALS['xoopsSecurity']->check()) { - redirect_header(basename(__FILE__), 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); - } - - $obj = $defacer->getHandler('meta')->get($itemid); - $obj->setVars($_POST); - - if (!$defacer->getHandler('meta')->insert($obj)) { - $msg = _AM_DEFACER_ERROR; - } else { - $msg = _AM_DEFACER_DBUPDATED; - } - - redirect_header(basename(__FILE__), 2, $msg); -} - -function defacer_del($itemid) -{ - $defacer =& DefacerDefacer::getInstance(); - - if (!$GLOBALS['xoopsSecurity']->check()) { - redirect_header(basename(__FILE__),1 , implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); - } - - if ($itemid <= 0) { - redirect_header(basename(__FILE__), 1); - } - - $obj = $defacer->getHandler('meta')->get($itemid); - if (!is_object($obj)) { - redirect_header(basename(__FILE__), 1); - } - - if (!$defacer->getHandler('meta')->delete($obj)) { - xoops_cp_header(); - xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('meta_id'))); - include_once 'admin_footer.php'; - exit(); - } - - redirect_header(basename(__FILE__), 2, _AM_DEFACER_DBUPDATED); -} - -function defacer_confirmdel($itemid) -{ - xoops_cp_header(); - xoops_confirm(array('op' => 'delok', 'itemid' => $itemid), basename(__FILE__), _AM_DEFACER_RUDEL); - include_once 'admin_footer.php'; -} - -function defacer_form($itemid = 0) -{ - $defacer =& DefacerDefacer::getInstance(); - $obj = $defacer->getHandler('meta')->get($itemid); - - if ($obj->isNew()) { - $ftitle = _EDIT; - } else { - $ftitle = _ADD; - } - - $form = new XoopsThemeForm($ftitle, 'meta_form', basename(__FILE__), 'post', true); - - $page_select = new XoopsFormSelect(_AM_DEFACER_PAGE, 'meta_id', $obj->getVar('meta_id', 'e')); - $page_select->customValidationCode[] = 'var value = document.getElementById(\'meta_id\').value; if (value == 0){alert("' . _AM_DEFACER_SELECTPAGE_ERR . '"); return false;}'; - - $criteria = new CriteriaCompo(new Criteria('page_status', 1)); - $criteria->setSort('name'); - $criteria->setOrder('ASC'); - $pageslist = $defacer->getHandler('page')->getList($criteria); - $list = array('0' => '--------------------------'); - $pageslist = $list + $pageslist; - $page_select->addOptionArray($pageslist); - $form->addElement($page_select, true); - - $form->addElement(new XoopsFormText(_AM_DEFACER_META_SITENAME, 'meta_sitename', 50, 50, $obj->getVar('meta_sitename', 'e'))); - $form->addElement(new XoopsFormText(_AM_DEFACER_META_SLOGAN, 'meta_slogan', 50, 50, $obj->getVar('meta_slogan', 'e'))); - $form->addElement(new XoopsFormText(_AM_DEFACER_META_PAGETITLE, 'meta_pagetitle', 50, 50, $obj->getVar('meta_pagetitle', 'e'))); - $form->addElement(new XoopsFormTextArea(_AM_DEFACER_META_KEYWORDS, 'meta_keywords' , $obj->getVar('meta_keywords', 'e'))); - $form->addElement(new XoopsFormTextArea(_AM_DEFACER_META_DESCRIPTION, 'meta_description' , $obj->getVar('meta_description', 'e'))); - - $tray = new XoopsFormElementTray('' ,''); - $tray->addElement(new XoopsFormButton('', 'defacer_button', _SUBMIT, 'submit')); - - $btn = new XoopsFormButton('', 'reset', _CANCEL, 'button'); - if (!$obj->isNew()) { - $btn->setExtra('onclick="document.location.href=\'' . basename(__FILE__) . '\'"'); - } else { - $btn->setExtra('onclick="document.getElementById(\'form\').style.display = \'none\'; return false;"'); - } - $tray->addElement($btn); - $form->addElement($tray); - - if (!$obj->isNew()) { - $form->addElement(new XoopsFormHidden('op', 'editok')); - $form->addElement(new XoopsFormHidden('itemid', $itemid)); - } else { - $form->addElement(new XoopsFormHidden('op', 'add')); - } - - return $form->render(); -} - +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Defacer + * @since 1.0 + * @author trabis <lus...@gm...> + * @version $Id: admin_meta.php 0 2009-06-11 18:47:04Z trabis $ + */ + +require dirname(__FILE__) . '/admin_header.php'; + +$actions = array('list', 'add', 'edit', 'editok', 'del', 'delok'); +$op = isset($_REQUEST['op']) && in_array($_REQUEST['op'], $actions) ? $_REQUEST['op'] : 'list'; + +$itemid = isset($_REQUEST['itemid']) ? intval($_REQUEST['itemid']) : 0; +$limit = isset($_REQUEST['limit']) ? intval($_REQUEST['limit']) : 15; +$start = isset($_REQUEST['start']) ? intval($_REQUEST['start']) : 0; + +$itemid = isset($_REQUEST['meta_id']) ? intval($_REQUEST['meta_id']) : $itemid; +$indexAdmin = new ModuleAdmin(); + +switch ($op) { + case 'list': + xoops_cp_header(); + echo $indexAdmin->addNavigation('admin_meta.php'); + //defacer_adminMenu(2); + echo defacer_index($start, $limit); + include_once 'admin_footer.php'; + break; + case 'add': + defacer_add(); + break; + case 'edit': + xoops_cp_header(); + echo $indexAdmin->addNavigation('admin_meta.php'); + //defacer_adminMenu(2); + echo defacer_form($itemid); + include_once 'admin_footer.php'; + break; + case 'editok': + defacer_edit($itemid); + break; + case 'del': + defacer_confirmdel($itemid); + break; + case 'delok': + defacer_del($itemid); + break; +} + +function defacer_index($start = 0, $limit = 0) +{ + global $xoopsTpl; + + $defacer =& DefacerDefacer::getInstance(); + + $count = $defacer->getHandler('meta')->getCount(); + $xoopsTpl->assign('count', $count); + + $criteria = new CriteriaCompo(); + $criteria->setStart($start); + $criteria->setLimit($limit); + $objs = $defacer->getHandler('meta')->getObjects($criteria); + + if ($count > $limit) { + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $nav = new XoopsPageNav($count, $limit, $start, 'start', 'op=list'); + $xoopsTpl->assign('pagenav', '<div style="float:left; padding-top:2px;" align="center">' . $nav->renderNav() . '</div>'); + } + + foreach ($objs as $obj) { + $item = $obj->getValues(); + + $page = $defacer->getHandler('page')->get($obj->getVar('meta_id')); + $item['module'] = $page->getVar('name'); + $item['meta_title'] = $page->getVar('page_title'); + $item['meta_url'] = $page->getVar('page_url'); + $item['meta_status'] = $page->getVar('page_status'); + + if (substr($page->getVar('page_url'), -1) == '*') { + $item['meta_vurl'] = 0; + } else { + if ($page->getVar('page_moduleid') == 1){ + $item['meta_vurl'] = XOOPS_URL . '/' . $page->getVar('page_url'); + } else { + $item['meta_vurl'] = XOOPS_URL . '/modules/' . $page->getVar('dirname') . '/' . $page->getVar('page_url'); + } + } + + $xoopsTpl->append('items', $item); + } + + $xoopsTpl->assign('form', defacer_form()); + + return $xoopsTpl->fetch('db:defacer_admin_meta.html'); +} + +function defacer_add() +{ + $defacer =& DefacerDefacer::getInstance(); + + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header(basename(__FILE__), 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + $obj = $defacer->getHandler('meta')->create(); + $obj->setVars($_POST); + + if (!$defacer->getHandler('meta')->insert($obj)) { + $msg = _AM_DEFACER_ERROR; + } else { + $msg = _AM_DEFACER_DBUPDATED; + } + + redirect_header(basename(__FILE__) , 2, $msg); +} + +function defacer_edit($itemid) +{ + $defacer =& DefacerDefacer::getInstance(); + + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header(basename(__FILE__), 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + $obj = $defacer->getHandler('meta')->get($itemid); + $obj->setVars($_POST); + + if (!$defacer->getHandler('meta')->insert($obj)) { + $msg = _AM_DEFACER_ERROR; + } else { + $msg = _AM_DEFACER_DBUPDATED; + } + + redirect_header(basename(__FILE__), 2, $msg); +} + +function defacer_del($itemid) +{ + $defacer =& DefacerDefacer::getInstance(); + + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header(basename(__FILE__),1 , implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + if ($itemid <= 0) { + redirect_header(basename(__FILE__), 1); + } + + $obj = $defacer->getHandler('meta')->get($itemid); + if (!is_object($obj)) { + redirect_header(basename(__FILE__), 1); + } + + if (!$defacer->getHandler('meta')->delete($obj)) { + xoops_cp_header(); + xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('meta_id'))); + include_once 'admin_footer.php'; + exit(); + } + + redirect_header(basename(__FILE__), 2, _AM_DEFACER_DBUPDATED); +} + +function defacer_confirmdel($itemid) +{ + xoops_cp_header(); + xoops_confirm(array('op' => 'delok', 'itemid' => $itemid), basename(__FILE__), _AM_DEFACER_RUDEL); + include_once 'admin_footer.php'; +} + +function defacer_form($itemid = 0) +{ + $defacer =& DefacerDefacer::getInstance(); + $obj = $defacer->getHandler('meta')->get($itemid); + + if ($obj->isNew()) { + $ftitle = _EDIT; + } else { + $ftitle = _ADD; + } + + $form = new XoopsThemeForm($ftitle, 'meta_form', basename(__FILE__), 'post', true); + + $page_select = new XoopsFormSelect(_AM_DEFACER_PAGE, 'meta_id', $obj->getVar('meta_id', 'e')); + $page_select->customValidationCode[] = 'var value = document.getElementById(\'meta_id\').value; if (value == 0){alert("' . _AM_DEFACER_SELECTPAGE_ERR . '"); return false;}'; + + $criteria = new CriteriaCompo(new Criteria('page_status', 1)); + $criteria->setSort('name'); + $criteria->setOrder('ASC'); + $pageslist = $defacer->getHandler('page')->getList($criteria); + $list = array('0' => '--------------------------'); + $pageslist = $list + $pageslist; + $page_select->addOptionArray($pageslist); + $form->addElement($page_select, true); + + $form->addElement(new XoopsFormText(_AM_DEFACER_META_SITENAME, 'meta_sitename', 50, 50, $obj->getVar('meta_sitename', 'e'))); + $form->addElement(new XoopsFormText(_AM_DEFACER_META_SLOGAN, 'meta_slogan', 50, 50, $obj->getVar('meta_slogan', 'e'))); + $form->addElement(new XoopsFormText(_AM_DEFACER_META_PAGETITLE, 'meta_pagetitle', 50, 50, $obj->getVar('meta_pagetitle', 'e'))); + $form->addElement(new XoopsFormTextArea(_AM_DEFACER_META_KEYWORDS, 'meta_keywords' , $obj->getVar('meta_keywords', 'e'))); + $form->addElement(new XoopsFormTextArea(_AM_DEFACER_META_DESCRIPTION, 'meta_description' , $obj->getVar('meta_description', 'e'))); + + $tray = new XoopsFormElementTray('' ,''); + $tray->addElement(new XoopsFormButton('', 'defacer_button', _SUBMIT, 'submit')); + + $btn = new XoopsFormButton('', 'reset', _CANCEL, 'button'); + if (!$obj->isNew()) { + $btn->setExtra('onclick="document.location.href=\'' . basename(__FILE__) . '\'"'); + } else { + $btn->setExtra('onclick="document.getElementById(\'form\').style.display = \'none\'; return false;"'); + } + $tray->addElement($btn); + $form->addElement($tray); + + if (!$obj->isNew()) { + $form->addElement(new XoopsFormHidden('op', 'editok')); + $form->addElement(new XoopsFormHidden('itemid', $itemid)); + } else { + $form->addElement(new XoopsFormHidden('op', 'add')); + } + + return $form->render(); +} + ?> \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/admin/admin_page.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/admin_page.php 2012-05-22 11:21:46 UTC (rev 9573) +++ XoopsModules/defacer/trunk/defacer/admin/admin_page.php 2012-05-22 19:00:18 UTC (rev 9574) @@ -1,292 +1,292 @@ -<?php -/* - You may not change or alter any portion of this comment or credits - of supporting developers from this source code or any supporting source code - which is considered copyrighted (c) material of the original comment or credit authors. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - */ - -/** - * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package Defacer - * @since 1.0 - * @author trabis <lus...@gm...> - * @version $Id: admin_page.php 0 2009-06-11 18:47:04Z trabis $ - */ - -require dirname(__FILE__) . '/admin_header.php'; - -$actions = array('list', 'add', 'edit', 'editok', 'del', 'delok', 'changestatus'); -$op = isset($_REQUEST['op']) && in_array($_REQUEST['op'], $actions) ? $_REQUEST['op'] : 'list'; - -$itemid = isset($_REQUEST['itemid']) ? intval($_REQUEST['itemid']) : 0; -$limit = isset($_REQUEST['limit']) ? intval($_REQUEST['limit']) : 15; -$start = isset($_REQUEST['start']) ? intval($_REQUEST['start']) : 0; -$query = isset($_REQUEST['query']) ? trim($_REQUEST['query']) : ''; - -$indexAdmin = new ModuleAdmin(); - - -switch ($op) { - case 'list': - xoops_cp_header(); - echo $indexAdmin->addNavigation('admin_page.php'); - //defacer_adminMenu(0); - echo defacer_index($start, $limit, $query); - include_once 'admin_footer.php'; - break; - case 'add': - defacer_add(); - break; - case 'edit': - xoops_cp_header(); - echo $indexAdmin->addNavigation('admin_page.php'); - //defacer_adminMenu(0); - echo defacer_form($itemid); - include_once 'admin_footer.php'; - break; - case 'editok': - defacer_edit($itemid); - break; - case 'del': - defacer_confirmdel($itemid); - break; - case 'delok': - defacer_del($itemid); - break; - case 'changestatus': - defacer_changestatus($itemid); - break; -} - -function defacer_index($start = 0, $limit = 0, $query = '') -{ - global $xoopsTpl; - - $defacer =& DefacerDefacer::getInstance(); - - $xoopsTpl->assign('query', $query); - - $criteria = new CriteriaCompo(); - if (!empty($query)) { - $myts =& MyTextSanitizer::getInstance(); - $criteria->add(new Criteria('page_title', $myts->addSlashes($query) . '%', 'LIKE')); - } - - $count = $defacer->getHandler('page')->getCount($criteria); - $xoopsTpl->assign('count', $count); - - $criteria->setStart($start); - $criteria->setLimit($limit); - $criteria->setSort('name'); - $criteria->setOrder('ASC'); - $objs = $defacer->getHandler('page')->getObjects($criteria); - - if ($count > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; - $nav = new XoopsPageNav($count, $limit, $start, 'start', 'op=list'); - $xoopsTpl->assign('pagenav', '<div style="float:left; padding-top:2px;" align="center">' . $nav->renderNav() . '</div>'); - } - - foreach ($objs as $obj) { - $item = $obj->getValues(); - - if (substr($obj->getVar('page_url'), -1) == '*'){ - $item['page_vurl'] = 0; - } else { - if ($obj->getVar('page_moduleid') == 1) { - $item['page_vurl'] = XOOPS_URL . '/' . $obj->getVar('page_url'); - } else { - $item['page_vurl'] = XOOPS_URL . '/modules/' . $obj->getVar('dirname') . '/' . $obj->getVar('page_url'); - } - } - - $xoopsTpl->append('items', $item); - } - - $xoopsTpl->assign('form', defacer_form()); - - return $xoopsTpl->fetch('db:defacer_admin_page.html'); -} - -function defacer_add() -{ - $defacer =& DefacerDefacer::getInstance(); - - if (!$GLOBALS['xoopsSecurity']->check()) { - redirect_header(basename(__FILE__), 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); - } - - if (!isset($_POST['page_moduleid']) || $_POST['page_moduleid'] == 0){ - $_POST['page_moduleid'] = 1; - } - - $obj = $defacer->getHandler('page')->create(); - $obj->setVars($_POST); - - if (!$defacer->getHandler('page')->insert($obj)) { - $msg = _AM_DEFACER_ERROR; - } else { - $msg = _AM_DEFACER_DBUPDATED; - } - - redirect_header(basename(__FILE__) , 2, $msg); -} - -function defacer_edit($itemid) -{ - $defacer =& DefacerDefacer::getInstance(); - - if (!$GLOBALS['xoopsSecurity']->check()) { - redirect_header(basename(__FILE__), 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); - } - - if (!isset($_POST['page_moduleid']) || $_POST['page_moduleid'] == 0){ - $_POST['page_moduleid'] = 1; - } - - $obj = $defacer->getHandler('page')->get($itemid); - $obj->setVars($_POST); - - if (!$defacer->getHandler('page')->insert($obj)) { - $msg = _AM_DEFACER_ERROR; - } else { - $msg = _AM_DEFACER_DBUPDATED; - } - - redirect_header(basename(__FILE__), 2, $msg); -} - -function defacer_del($itemid) -{ - $defacer =& DefacerDefacer::getInstance(); - - if (!$GLOBALS['xoopsSecurity']->check()) { - redirect_header(basename(__FILE__),1 , implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); - } - - if ($itemid <= 0) { - redirect_header(basename(__FILE__), 1); - } - - $obj = $defacer->getHandler('page')->get($itemid); - if (!is_object($obj)) { - redirect_header(basename(__FILE__), 1); - } - - if (!$defacer->getHandler('page')->delete($obj)) { - xoops_cp_header(); - xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('page_id'))); - include_once 'admin_footer.php'; - exit(); - } - - $obj = $defacer->getHandler('theme')->get($itemid); - if (is_object($obj) && !$defacer->getHandler('theme')->delete($obj)) { - xoops_cp_header(); - xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('theme_id'))); - include_once 'admin_footer.php'; - exit(); - } - - $obj = $defacer->getHandler('meta')->get($itemid); - if (is_object($obj) && !$defacer->getHandler('meta')->delete($obj)) { - xoops_cp_header(); - xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('meta_id'))); - include_once 'admin_footer.php'; - exit(); - } - - $obj = $defacer->getHandler('permission')->get($itemid); - if (is_object($obj) && !$defacer->getHandler('permission')->delete($obj)) { - xoops_cp_header(); - xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('permission_id'))); - include_once 'admin_footer.php'; - exit(); - } - - redirect_header(basename(__FILE__), 2, _AM_DEFACER_DBUPDATED); -} - -function defacer_confirmdel($itemid) -{ - xoops_cp_header(); - xoops_confirm(array('op' => 'delok', 'itemid' => $itemid), basename(__FILE__), _AM_DEFACER_RUDEL); - include_once 'admin_footer.php'; -} - -function defacer_changestatus($itemid) -{ - $defacer =& DefacerDefacer::getInstance(); - - $obj = $defacer->getHandler('page')->get($itemid); - $obj->setVar('page_status', !$obj->getVar('page_status')); - - if (!$defacer->getHandler('page')->insert($obj)) { - $msg = _AM_DEFACER_ERROR; - }else{ - $msg = _AM_DEFACER_DBUPDATED; - } - - redirect_header(basename(__FILE__), 2, $msg); -} - -function defacer_form($itemid = 0) -{ - $defacer =& DefacerDefacer::getInstance(); - $obj = $defacer->getHandler('page')->get($itemid); - - if ($obj->isNew()) { - $ftitle = _EDIT; - } else { - $ftitle = _ADD; - } - - $form = new XoopsThemeForm($ftitle, 'page_form', basename(__FILE__), 'post', true); - - $mid = new XoopsFormSelect(_AM_DEFACER_PAGE_MODULE, 'page_moduleid', $obj->getVar('page_moduleid', 'e')); - $mid->customValidationCode[] = 'var value = document.getElementById(\'page_moduleid\').value; if (value == 0){alert("' . _AM_DEFACER_SELECTMODULE_ERR . '"); return false;}'; - - $module_handler =& xoops_gethandler('module'); - $criteria = new CriteriaCompo(new Criteria('hasmain', 1)); - $criteria->add(new Criteria('isactive', 1)); - //$criteria->setSort('name'); - //$criteria->setOrder('ASC'); xoopsModule does not accpet this :( - $moduleslist = $module_handler->getList($criteria); - $module = $module_handler->get(1); - $list = array($module->getVar('mid') => $module->getVar('name')); - $moduleslist = $list + $moduleslist; - $mid->addOptionArray($moduleslist); - $form->addElement($mid, true); - - $form->addElement(new XoopsFormText(_AM_DEFACER_PAGE_TITLE, 'page_title', 50, 255, $obj->getVar('page_title', 'e')), true); - $furl = new XoopsFormText(_AM_DEFACER_PAGE_URL, 'page_url', 50, 255, $obj->getVar('page_url', 'e')); - $furl->setDescription(_AM_DEFACER_PAGE_URL_DESC); - $form->addElement($furl, true); - $form->addElement(new XoopsFormRadioYN(_AM_DEFACER_PAGE_DISPLAY, 'page_status', $obj->getVar('page_status', 'e'), _YES, _NO)); - - $tray = new XoopsFormElementTray('' ,''); - $tray->addElement(new XoopsFormButton('', 'defacer_button', _SUBMIT, 'submit')); - - $btn = new XoopsFormButton('', 'reset', _CANCEL, 'button'); - if (!$obj->isNew()) { - $btn->setExtra('onclick="document.location.href=\'' . basename(__FILE__) . '\'"'); - } else { - $btn->setExtra('onclick="document.getElementById(\'form\').style.display = \'none\'; return false;"'); - } - $tray->addElement($btn); - $form->addElement($tray); - - if (!$obj->isNew()) { - $form->addElement(new XoopsFormHidden('op', 'editok')); - $form->addElement(new XoopsFormHidden('itemid', $itemid)); - } else { - $form->addElement(new XoopsFormHidden('op', 'add')); - } - return $form->render(); -} +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Defacer + * @since 1.0 + * @author trabis <lus...@gm...> + * @version $Id: admin_page.php 0 2009-06-11 18:47:04Z trabis $ + */ + +require dirname(__FILE__) . '/admin_header.php'; + +$actions = array('list', 'add', 'edit', 'editok', 'del', 'delok', 'changestatus'); +$op = isset($_REQUEST['op']) && in_array($_REQUEST['op'], $actions) ? $_REQUEST['op'] : 'list'; + +$itemid = isset($_REQUEST['itemid']) ? intval($_REQUEST['itemid']) : 0; +$limit = isset($_REQUEST['limit']) ? intval($_REQUEST['limit']) : 15; +$start = isset($_REQUEST['start']) ? intval($_REQUEST['start']) : 0; +$query = isset($_REQUEST['query']) ? trim($_REQUEST['query']) : ''; + +$indexAdmin = new ModuleAdmin(); + + +switch ($op) { + case 'list': + xoops_cp_header(); + echo $indexAdmin->addNavigation('admin_page.php'); + //defacer_adminMenu(0); + echo defacer_index($start, $limit, $query); + include_once 'admin_footer.php'; + break; + case 'add': + defacer_add(); + break; + case 'edit': + xoops_cp_header(); + echo $indexAdmin->addNavigation('admin_page.php'); + //defacer_adminMenu(0); + echo defacer_form($itemid); + include_once 'admin_footer.php'; + break; + case 'editok': + defacer_edit($itemid); + break; + case 'del': + defacer_confirmdel($itemid); + break; + case 'delok': + defacer_del($itemid); + break; + case 'changestatus': + defacer_changestatus($itemid); + break; +} + +function defacer_index($start = 0, $limit = 0, $query = '') +{ + global $xoopsTpl; + + $defacer =& DefacerDefacer::getInstance(); + + $xoopsTpl->assign('query', $query); + + $criteria = new CriteriaCompo(); + if (!empty($query)) { + $myts =& MyTextSanitizer::getInstance(); + $criteria->add(new Criteria('page_title', $myts->addSlashes($query) . '%', 'LIKE')); + } + + $count = $defacer->getHandler('page')->getCount($criteria); + $xoopsTpl->assign('count', $count); + + $criteria->setStart($start); + $criteria->setLimit($limit); + $criteria->setSort('name'); + $criteria->setOrder('ASC'); + $objs = $defacer->getHandler('page')->getObjects($criteria); + + if ($count > $limit) { + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $nav = new XoopsPageNav($count, $limit, $start, 'start', 'op=list'); + $xoopsTpl->assign('pagenav', '<div style="float:left; padding-top:2px;" align="center">' . $nav->renderNav() . '</div>'); + } + + foreach ($objs as $obj) { + $item = $obj->getValues(); + + if (substr($obj->getVar('page_url'), -1) == '*'){ + $item['page_vurl'] = 0; + } else { + if ($obj->getVar('page_moduleid') == 1) { + $item['page_vurl'] = XOOPS_URL . '/' . $obj->getVar('page_url'); + } else { + $item['page_vurl'] = XOOPS_URL . '/modules/' . $obj->getVar('dirname') . '/' . $obj->getVar('page_url'); + } + } + + $xoopsTpl->append('items', $item); + } + + $xoopsTpl->assign('form', defacer_form()); + + return $xoopsTpl->fetch('db:defacer_admin_page.html'); +} + +function defacer_add() +{ + $defacer =& DefacerDefacer::getInstance(); + + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header(basename(__FILE__), 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + if (!isset($_POST['page_moduleid']) || $_POST['page_moduleid'] == 0){ + $_POST['page_moduleid'] = 1; + } + + $obj = $defacer->getHandler('page')->create(); + $obj->setVars($_POST); + + if (!$defacer->getHandler('page')->insert($obj)) { + $msg = _AM_DEFACER_ERROR; + } else { + $msg = _AM_DEFACER_DBUPDATED; + } + + redirect_header(basename(__FILE__) , 2, $msg); +} + +function defacer_edit($itemid) +{ + $defacer =& DefacerDefacer::getInstance(); + + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header(basename(__FILE__), 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + if (!isset($_POST['page_moduleid']) || $_POST['page_moduleid'] == 0){ + $_POST['page_moduleid'] = 1; + } + + $obj = $defacer->getHandler('page')->get($itemid); + $obj->setVars($_POST); + + if (!$defacer->getHandler('page')->insert($obj)) { + $msg = _AM_DEFACER_ERROR; + } else { + $msg = _AM_DEFACER_DBUPDATED; + } + + redirect_header(basename(__FILE__), 2, $msg); +} + +function defacer_del($itemid) +{ + $defacer =& DefacerDefacer::getInstance(); + + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header(basename(__FILE__),1 , implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); + } + + if ($itemid <= 0) { + redirect_header(basename(__FILE__), 1); + } + + $obj = $defacer->getHandler('page')->get($itemid); + if (!is_object($obj)) { + redirect_header(basename(__FILE__), 1); + } + + if (!$defacer->getHandler('page')->delete($obj)) { + xoops_cp_header(); + xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('page_id'))); + include_once 'admin_footer.php'; + exit(); + } + + $obj = $defacer->getHandler('theme')->get($itemid); + if (is_object($obj) && !$defacer->getHandler('theme')->delete($obj)) { + xoops_cp_header(); + xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('theme_id'))); + include_once 'admin_footer.php'; + exit(); + } + + $obj = $defacer->getHandler('meta')->get($itemid); + if (is_object($obj) && !$defacer->getHandler('meta')->delete($obj)) { + xoops_cp_header(); + xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('meta_id'))); + include_once 'admin_footer.php'; + exit(); + } + + $obj = $defacer->getHandler('permission')->get($itemid); + if (is_object($obj) && !$defacer->getHandler('permission')->delete($obj)) { + xoops_cp_header(); + xoops_error(sprintf(_AM_DEFACER_ERROR, $obj->getVar('permission_id'))); + include_once 'admin_footer.php'; + exit(); + } + + redirect_header(basename(__FILE__), 2, _AM_DEFACER_DBUPDATED); +} + +function defacer_confirmdel($itemid) +{ + xoops_cp_header(); + xoops_confirm(array('op' => 'delok', 'itemid' => $itemid), basename(__FILE__), _AM_DEFACER_RUDEL); + include_once 'admin_footer.php'; +} + +function defacer_changestatus($itemid) +{ + $defacer =& DefacerDefacer::getInstance(); + + $obj = $defacer->getHandler('page')->get($itemid); + $obj->setVar('page_status', !$obj->getVar('page_status')); + + if (!$defacer->getHandler('page')->insert($obj)) { + $msg = _AM_DEFACER_ERROR; + }else{ + $msg = _AM_DEFACER_DBUPDATED; + } + + redirect_header(basename(__FILE__), 2, $msg); +} + +function defacer_form($itemid = 0) +{ + $defacer =& DefacerDefacer::getInstance(); + $obj = $defacer->getHandler('page')->get($itemid); + + if ($obj->isNew()) { + $ftitle = _EDIT; + } else { + $ftitle = _ADD; + } + + $form = new XoopsThemeForm($ftitle, 'page_form', basename(__FILE__), 'post', true); + + $mid = new XoopsFormSelect(_AM_DEFACER_PAGE_MODULE, 'page_moduleid', $obj->getVar('page_moduleid', 'e')); + $mid->customValidationCode[] = 'var value = document.getElementById(\'page_moduleid\').value; if (value == 0){alert("' . _AM_DEFACER_SELECTMODULE_ERR . '"); return false;}'; + + $module_handler =& xoops_gethandler('module'); + $criteria = new CriteriaCompo(new Criteria('hasmain', 1)); + $criteria->add(new Criteria('isactive', 1)); + //$criteria->setSort('name'); + //$criteria->setOrder('ASC'); xoopsModule does not accpet this :( + $moduleslist = $module_handler->getList($criteria); + $module = $module_handler->get(1); + $list = array($module->getVar('mid') => $module->getVar('name')); + $moduleslist = $list + $moduleslist; + $mid->addOptionArray($moduleslist); + $form->addElement($mid, true); + + $form->addElement(new XoopsFormText(_AM_DEFACER_PAGE_TITLE, 'page_title', 50, 255, $obj->getVar('page_title', 'e')), true); + $furl = new XoopsFormText(_AM_DEFACER_PAGE_URL, 'page_url', 50, 255, $obj->getVar('page_url', 'e')); + $furl->setDescription(_AM_DEFACER_PAGE_URL_DESC); + $form->addElement($furl, true); + $form->addElement(new XoopsFormRadioYN(_AM_DEFACER_PAGE_DISPLAY, 'page_status', $obj->getVar('page_status', 'e'), _YES, _NO)); + + $tray = new XoopsFormElementTray('' ,''); + $tray->addElement(new XoopsFormButton('', 'defacer_button', _SUBMIT, 'submit')); + + $btn = new XoopsFormButton('', 'reset', _CANCEL, 'button'); + if (!$obj->isNew()) { + $btn->setExtra('onclick="document.location.href=\'' . basename(__FILE__) . '\'"'); + } else { + $btn->setExtra('onclick="document.getElementById(\'form\').style.display = \'none\'; return false;"'); + } + $tray->addElement($btn); + $form->addElement($tray); + + if (!$obj->isNew()) { + $form->addElement(new XoopsFormHidden('op', 'editok')); + $form->addElement(new XoopsFormHidden('itemid', $itemid)); + } else { + $form->addElement(new XoopsFormHidden('op', 'add')); + } + return $form->render(); +} ?> \ No newline at end of file Modified: XoopsModules/defacer/trunk/defacer/admin/admin_permission.php =================================================================== --- XoopsModules/defacer/trunk/defacer/admin/admin_permission.php 2012-05-22 11:21:46 UTC (rev 9573) +++ XoopsModules/defacer/trunk/defacer/admin/admin_permission.php 2012-05-22 19:00:18 UTC (rev 9574) @@ -1,238 +1,238 @@ -<?php -/* - You may not change or alter any portion of this comment or credits - of supporting developers from this source code or any supporting source code - which is considered copyrighted (c) material of the original comment or credit authors. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - */ - -/** - * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package Defacer - * @since 1.0 - * @author trabis <lus...@gm...> - * @version $Id: admin_permission.php 0 2009-06-11 18:47:04Z trabis $ - */ - -require dirname(__FILE__) . '/admin_header.php'; - -$actions = array('list', 'add', 'edit', 'editok', 'del', 'delok'); -$op = isset($_REQUEST['op']) && in_array($_REQUEST['op'], $actions) ? $_REQUEST['op'] : 'list'; - -$itemid = isset($_REQUEST['itemid']) ? intval($_REQUEST['itemid']) : 0; -$limit = isset($_REQUEST['limit']) ? intval($_REQUEST['limit']) : 15; -$start = isset($_REQUEST['start']) ? intval($_REQUEST['start']) : 0; - -$itemid = isset($_REQUEST['permission_id']) ? intval($_REQUEST['permission_id']) : $itemid; -$indexAdmin = new ModuleAdmin(); - -switch ($op) { - case 'list': - xoops_cp_header(); - echo $indexAdmin->addNavigation('admin_permission.php'); - //defacer_adminMenu(1); - echo defacer_index($start, $limit); - include_once 'admin_footer.php'; - break; - case 'add': - defacer_add(); - break; - case 'edit': - xoops_cp_header(); - echo $indexAdmin->addNavigation('admin_permission.php'); - //defacer_adminMenu(1); - echo defacer_form($itemid); - include_once 'admin_footer.php'; - break; - case 'editok': - defacer_edit($itemid); - break; - case 'del': - defacer_confirmdel($itemid); - break; - case 'delok': - defacer_del($itemid); - break; -} - -function defacer_index($start = 0, $limit = 0) -{ - global $xoopsTpl; - - $defacer =& DefacerDefacer::getInstance(); - - $grouplist_handler =& xoops_gethandler('group'); - $grouplist = $grouplist_handler->getObjects(null, true); - foreach (array_keys($grouplist) as $i) { - $groups[$i] = $grouplist[$i]->getVar('name'); - } - $xoopsTpl->assign('groups', $groups); - - $count = $defacer->getHandler('permission')->getCount(); - $xoopsTpl->assign('count', $count); - - $criteria = new CriteriaCompo(); - $criteria->setStart($start); - $criteria->setLimit($limit); - $objs = $defacer->getHandler('permission')->getObjects($criteria); - - if ($count > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; - $nav = new XoopsPageNav($count, $limit, $start, 'start', 'op=list'); - $xoopsTpl->assign('pagenav', '<div style="float:left; padding-top:2px;" align="center">' . $nav->renderNav() . '</div>'); - } - - foreach ($objs as $obj) { - $item = $obj->getValues(); - - ... [truncated message content] |
From: <be...@us...> - 2012-05-22 11:21:57
|
Revision: 9573 http://xoops.svn.sourceforge.net/xoops/?rev=9573&view=rev Author: beckmi Date: 2012-05-22 11:21:46 +0000 (Tue, 22 May 2012) Log Message: ----------- bug fix by panwac Modified Paths: -------------- XoopsModules/TDMStats/trunk/TDMStats/xoops_plugins/function.xoStats.php Modified: XoopsModules/TDMStats/trunk/TDMStats/xoops_plugins/function.xoStats.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/xoops_plugins/function.xoStats.php 2012-05-22 11:13:40 UTC (rev 9572) +++ XoopsModules/TDMStats/trunk/TDMStats/xoops_plugins/function.xoStats.php 2012-05-22 11:21:46 UTC (rev 9573) @@ -13,7 +13,7 @@ echo '<script type="text/Javascript"> istat = new Image(1,1); - istat.src = "'.XOOPS_URL.'/modules/TDMStats/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&page="+location.href+"&ismodule='.$ismodule.'"; + istat.src = "'.XOOPS_URL.'/modules/TDMStats/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&page="+location.href+"&ismodule='.$ismodule.'"; </script>'; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-05-22 11:13:52
|
Revision: 9572 http://xoops.svn.sourceforge.net/xoops/?rev=9572&view=rev Author: beckmi Date: 2012-05-22 11:13:40 +0000 (Tue, 22 May 2012) Log Message: ----------- fixing minor bugs as reported by Cesag Modified Paths: -------------- XoopsModules/news/branches/mamba/news/admin/groupperms.php XoopsModules/news/branches/mamba/news/admin/index.php XoopsModules/news/branches/mamba/news/archive.php XoopsModules/news/branches/mamba/news/blocks/news_block_tag.php XoopsModules/news/branches/mamba/news/class/class.newsstory.php XoopsModules/news/branches/mamba/news/include/install_function.php XoopsModules/news/branches/mamba/news/include/storyform.inc.php XoopsModules/news/branches/mamba/news/include/storyform.original.php XoopsModules/news/branches/mamba/news/language/english/admin.php XoopsModules/news/branches/mamba/news/language/english/modinfo.php XoopsModules/news/branches/mamba/news/language/english/newsletter.php XoopsModules/news/branches/mamba/news/submit.php XoopsModules/news/branches/mamba/news/xoops_version.php Modified: XoopsModules/news/branches/mamba/news/admin/groupperms.php =================================================================== --- XoopsModules/news/branches/mamba/news/admin/groupperms.php 2012-05-21 19:31:22 UTC (rev 9571) +++ XoopsModules/news/branches/mamba/news/admin/groupperms.php 2012-05-22 11:13:40 UTC (rev 9572) @@ -66,18 +66,7 @@ foreach ($alltopics as $topic_id => $topic) { $permform->addItem($topic_id, $topic['title'], $topic['pid']); } -//echo $permform->render(); -//echo "<br /><br /><br /><br />\n"; - -//check if topics exist before rendering the form -$result_view = $xoopsDB->query("SELECT topic_id, topic_title FROM " . $xoopsDB->prefix("topics") . " "); -if ($xoopsDB->getRowsNum($result_view)) { - echo $permform->render(); -} else { - //echo _AM_XFAQ_NOPERMSSET; -redirect_header("index.php?op=topicsmanager", 5, _AM_NEWS_NOPERMSSET, false); -} - - +echo $permform->render(); +echo "<br /><br /><br /><br />\n"; unset($permform); include 'admin_footer.php'; \ No newline at end of file Modified: XoopsModules/news/branches/mamba/news/admin/index.php =================================================================== --- XoopsModules/news/branches/mamba/news/admin/index.php 2012-05-21 19:31:22 UTC (rev 9571) +++ XoopsModules/news/branches/mamba/news/admin/index.php 2012-05-22 11:13:40 UTC (rev 9572) @@ -440,7 +440,7 @@ } $tbltopics = array(); $exportedstories = $story->NewsExport($timestamp1, $timestamp2, $topiclist, 0, $tbltopics); - $newsfile = XOOPS_ROOT_PATH.'/uploads/newsletter.txt'; + $newsfile = XOOPS_ROOT_PATH.'/uploads/news/letter.txt'; if(count($exportedstories)) { $fp = fopen($newsfile,'w'); if(!$fp) { @@ -466,7 +466,7 @@ fwrite($fp, $footer); } fclose($fp); - $newsfile=XOOPS_URL.'/uploads/newsletter.txt'; + $newsfile=XOOPS_URL.'/uploads/news/newsletter.txt'; printf(_AM_NEWS_NEWSLETTER_READY,$newsfile,XOOPS_URL.'/modules/news/admin/index.php?op=deletefile&type=newsletter'); } else { printf(_AM_NEWS_NOTHING); @@ -548,7 +548,7 @@ $tbltopics=array(); $exportedstories=$story->NewsExport($timestamp1, $timestamp2, $topiclist, $topicsexport, $tbltopics); if(count($exportedstories)) { - $xmlfile=XOOPS_ROOT_PATH.'/uploads/stories.xml'; + $xmlfile=XOOPS_ROOT_PATH.'/uploads/news/stories.xml'; $fp=fopen($xmlfile,'w'); if(!$fp) { redirect_header('index.php',4,sprintf(_AM_NEWS_EXPORT_ERROR,$xmlfile)); @@ -606,7 +606,7 @@ } fwrite($fp,news_utf8_encode("</news_stories>\n")); fclose($fp); - $xmlfile=XOOPS_URL.'/uploads/stories.xml'; + $xmlfile=XOOPS_URL.'/uploads/news/stories.xml'; printf(_AM_NEWS_EXPORT_READY,$xmlfile,XOOPS_URL.'/modules/news/admin/index.php?op=deletefile&type=xml'); } else { printf(_AM_NEWS_EXPORT_NOTHING); @@ -1381,7 +1381,7 @@ case 'deletefile': xoops_cp_header(); if($_GET['type']=='newsletter') { - $newsfile=XOOPS_ROOT_PATH.'/uploads/newsletter.txt'; + $newsfile=XOOPS_ROOT_PATH.'/uploads/news/newsletter.txt'; if(unlink($newsfile)) { redirect_header('index.php', 2, _AM_NEWS_DELETED_OK); } else { @@ -1389,7 +1389,7 @@ } } else { if($_GET['type']=='xml') { - $xmlfile=XOOPS_ROOT_PATH.'/uploads/stories.xml'; + $xmlfile=XOOPS_ROOT_PATH.'/uploads/news/stories.xml'; if(unlink($xmlfile)) { redirect_header( 'index.php', 2, _AM_NEWS_DELETED_OK ); } else { Modified: XoopsModules/news/branches/mamba/news/archive.php =================================================================== --- XoopsModules/news/branches/mamba/news/archive.php 2012-05-21 19:31:22 UTC (rev 9571) +++ XoopsModules/news/branches/mamba/news/archive.php 2012-05-22 11:13:40 UTC (rev 9572) @@ -83,7 +83,6 @@ include_once XOOPS_ROOT_PATH.'/modules/news/include/functions.php'; $lastyear = 0; $lastmonth = 0; -$this_year = 0; $months_arr = array(1 => _CAL_JANUARY, 2 => _CAL_FEBRUARY, 3 => _CAL_MARCH, 4 => _CAL_APRIL, 5 => _CAL_MAY, 6 => _CAL_JUNE, 7 => _CAL_JULY, 8 => _CAL_AUGUST, 9 => _CAL_SEPTEMBER, 10 => _CAL_OCTOBER, 11 => _CAL_NOVEMBER, 12 => _CAL_DECEMBER); Modified: XoopsModules/news/branches/mamba/news/blocks/news_block_tag.php =================================================================== --- XoopsModules/news/branches/mamba/news/blocks/news_block_tag.php 2012-05-21 19:31:22 UTC (rev 9571) +++ XoopsModules/news/branches/mamba/news/blocks/news_block_tag.php 2012-05-22 11:13:40 UTC (rev 9572) @@ -28,6 +28,8 @@ die('XOOPS root path not defined'); } +if(file_exists(XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php')) { + function news_tag_block_cloud_show($options) { require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; @@ -57,4 +59,5 @@ require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; return tag_block_top_edit($options); } +} ?> \ No newline at end of file Modified: XoopsModules/news/branches/mamba/news/class/class.newsstory.php =================================================================== --- XoopsModules/news/branches/mamba/news/class/class.newsstory.php 2012-05-21 19:31:22 UTC (rev 9571) +++ XoopsModules/news/branches/mamba/news/class/class.newsstory.php 2012-05-22 11:13:40 UTC (rev 9572) @@ -42,8 +42,8 @@ public $picture; public $topic_imgurl; public $topic_title; -// public $subtitle; -// public $pictureinfo; + public $subtitle; + public $pictureinfo; /** Modified: XoopsModules/news/branches/mamba/news/include/install_function.php =================================================================== --- XoopsModules/news/branches/mamba/news/include/install_function.php 2012-05-21 19:31:22 UTC (rev 9571) +++ XoopsModules/news/branches/mamba/news/include/install_function.php 2012-05-22 11:13:40 UTC (rev 9572) @@ -59,24 +59,24 @@ $dir = XOOPS_ROOT_PATH."/uploads/news"; if(!is_dir($dir)) - mkdir($dir, 0777); + mkdir($dir, 0777); chmod($dir, 0777); $dir = XOOPS_ROOT_PATH."/uploads/news/file"; if(!is_dir($dir)) - mkdir($dir, 0777); + mkdir($dir, 0777); chmod($dir, 0777); $dir = XOOPS_ROOT_PATH."/uploads/news/image"; if(!is_dir($dir)) - mkdir($dir, 0777); + mkdir($dir, 0777); chmod($dir, 0777); // Copy index.html files on uploads folders $indexFile = XOOPS_ROOT_PATH."/modules/news/include/index.html"; copy($indexFile, XOOPS_ROOT_PATH."/uploads/news/index.html"); - copy($indexFile, XOOPS_ROOT_PATH."/uploads/extgallery/file/index.html"); - copy($indexFile, XOOPS_ROOT_PATH."/uploads/extgallery/image/index.html"); + copy($indexFile, XOOPS_ROOT_PATH."/uploads/news/file/index.html"); + copy($indexFile, XOOPS_ROOT_PATH."/uploads/news/image/index.html"); return true; } Modified: XoopsModules/news/branches/mamba/news/include/storyform.inc.php =================================================================== --- XoopsModules/news/branches/mamba/news/include/storyform.inc.php 2012-05-21 19:31:22 UTC (rev 9571) +++ XoopsModules/news/branches/mamba/news/include/storyform.inc.php 2012-05-22 11:13:40 UTC (rev 9572) @@ -164,6 +164,7 @@ $sform->addElement($pictureTray); } } + $pictureinfo = ''; $sform->addElement(new XoopsFormFile(_NW_SELECT_IMAGE, 'attachedimage', $xoopsModuleConfig['maxuploadsize']), false); $sform->addElement(new XoopsFormText(_NW_SELECT_IMAGE_DESC, 'pictureinfo', 50, 255, $pictureinfo), false); } Modified: XoopsModules/news/branches/mamba/news/include/storyform.original.php =================================================================== --- XoopsModules/news/branches/mamba/news/include/storyform.original.php 2012-05-21 19:31:22 UTC (rev 9571) +++ XoopsModules/news/branches/mamba/news/include/storyform.original.php 2012-05-22 11:13:40 UTC (rev 9572) @@ -37,6 +37,9 @@ include_once XOOPS_ROOT_PATH.'/modules/news/include/functions.php'; include_once XOOPS_ROOT_PATH.'/modules/news/config.php'; +if (!isset($subtitle)) $subtitle=''; +if (!isset($pictureinfo)) $pictureinfo=''; + $sform = new XoopsThemeForm(_NW_SUBMITNEWS, "storyform", XOOPS_URL.'/modules/'.$xoopsModule->getVar('dirname').'/submit.php'); $sform->setExtra('enctype="multipart/form-data"'); $sform->addElement(new XoopsFormText(_NW_TITLE, 'title', 50, 255, $title), true); @@ -154,7 +157,7 @@ } } $sform->addElement(new XoopsFormFile(_NW_SELECT_IMAGE, 'attachedimage', $xoopsModuleConfig['maxuploadsize']), false); - $sform->addElement(new XoopsFormText(_NW_SELECT_IMAGE_DESC, 'pictureinfo', 50, 255, $pictureinfo), false); + $sform->addElement(new XoopsFormText(_NW_SELECT_IMAGE_DESC, 'pictureinfo', 50, 255, $pictureinfo), false); } Modified: XoopsModules/news/branches/mamba/news/language/english/admin.php =================================================================== --- XoopsModules/news/branches/mamba/news/language/english/admin.php 2012-05-21 19:31:22 UTC (rev 9571) +++ XoopsModules/news/branches/mamba/news/language/english/admin.php 2012-05-22 11:13:40 UTC (rev 9572) @@ -175,7 +175,7 @@ // Added in 1.3 RC2 define('_AM_NEWS_PLEASE_UPGRADE',"<a href='upgrade.php'><font color='#FF0000'>Please upgrade the module !</font></a>"); -// Added in version 1.50 +// Added in verisn 1.50 define('_AM_NEWS_NEWSLETTER_HEADER', "Header"); define('_AM_NEWS_NEWSLETTER_FOOTER', "Footer"); define('_AM_NEWS_NEWSLETTER_HTML_TAGS', "Remove html tags ?"); @@ -192,7 +192,7 @@ define('_AM_NEWS_META_KEYWORDS_FREQ1',"Words frequency's order"); define('_AM_NEWS_META_KEYWORDS_FREQ2',"Reverse order of words frequency"); -// Added in version 1.67 +// Added in verisn 1.67 // About.php define('_AM_NEWS_ABOUT_RELEASEDATE', "Released: "); define('_AM_NEWS_ABOUT_UPDATEDATE', "Updated: "); @@ -215,15 +215,12 @@ define ("_AM_NEWS_STATISTICS", "Statistics News"); define ("_AM_NEWS_THEREARE_STORIES", "There are <span class='red bold'>%s</span> News in the database"); define ("_AM_NEWS_THEREARE_STORIES_ONLINE", "There are <span class='red bold'>%s</span> News Online"); -define ("_AM_NEWS_THEREARE_STORIES_FILES", "There are <span class='red bold'>%s</span> Stories in the database"); -define ("_AM_NEWS_THEREARE_STORIES_FILES_ONLINE", "There are <span class='red bold'>%s</span> Stories online"); +define ("_AM_NEWS_THEREARE_STORIES_FILES", "There are <span class='red bold'>%s</span> Stories_files in the database"); +define ("_AM_NEWS_THEREARE_STORIES_FILES_ONLINE", "There are <span class='red bold'>%s</span> Stories_files online"); define ("_AM_NEWS_THEREARE_TOPICS", "There are <span class='red bold'>%s</span> Categories in the database"); define ("_AM_NEWS_THEREARE_TOPICS_ONLINE", "There are <span class='red bold'>%s</span> Categories Online"); define ("_AM_NEWS_THEREARE_STORIES_VOTEDATA", "There are <span class='red bold'>%s</span> Stories Viewed"); define ("_AM_NEWS_THEREARE_STORIES_IMPORTED", "There are <span class='red bold'>%s</span> Imported Stories"); define ("_AM_NEWS_THEREARE_STORIES_EXPORTED", "There are <span class='red bold'>%s</span> Stories exported"); -define("_AM_NEWS_NOPERMSSET","Permission cannot be set: There are no Topics created yet! Please create a Topic first."); - - ?> \ No newline at end of file Modified: XoopsModules/news/branches/mamba/news/language/english/modinfo.php =================================================================== --- XoopsModules/news/branches/mamba/news/language/english/modinfo.php 2012-05-21 19:31:22 UTC (rev 9571) +++ XoopsModules/news/branches/mamba/news/language/english/modinfo.php 2012-05-22 11:13:40 UTC (rev 9572) @@ -187,14 +187,14 @@ define("_MI_NEWS_ABOUT", "About"); define("_MI_NEWS_HOME", "Home"); define("_MI_NEWS_UPGRADE", "Upgrade"); -define("_MI_NEWS_DESCRIPTION", "With this Xoops module, you can create an unlimited number of news articles on your site. </br></br> -You can create all articles you want and organize them in topics.</br></br> -With a very powerfull permissions management, you can create groups authorized to submit articles and a group authorized to approve them and decide who can see what."); +define("_MI_NEWS_DESCRIPTION", "With this Xoops module, you can create an unlimited number of news articles on your site. <br /><br /> +You can create all articles you want and organize them in topics.<br /><br /> +With a very powerful permissions management, you can create groups authorized to submit articles and a group authorized to approve them and decide who can see what."); -define("_MI_NEWS_SHARE_ME","Display share icons ?"); +define("_MI_NEWS_SHARE_ME","Display share icons?"); define("_MI_NEWS_SHARE_ME_DSC","Share icons to facebook ,twitter , google buzz"); -define("_MI_NEWS_SHOWICONS","Display item icons ?"); -define("_MI_NEWS_SHOWICONS_DSC","Display print , PDF and email icons in buttom of each article"); +define("_MI_NEWS_SHOWICONS","Display item icons?"); +define("_MI_NEWS_SHOWICONS_DSC","Display icons for Print, PDF and Email at the bottom of each article"); //1.67 define("_MI_NEWS_FACEBOOKCOMMENTS","Use Facebook Comments ?"); define("_MI_NEWS_FACEBOOKCOMMENTS_DSC","Let your users use Facebook to add comments to your articles"); Modified: XoopsModules/news/branches/mamba/news/language/english/newsletter.php =================================================================== --- XoopsModules/news/branches/mamba/news/language/english/newsletter.php 2012-05-21 19:31:22 UTC (rev 9571) +++ XoopsModules/news/branches/mamba/news/language/english/newsletter.php 2012-05-22 11:13:40 UTC (rev 9572) @@ -1,5 +1,6 @@ <?php $newslettertemplate=<<<contentend + Title : %title% Topic : %topic_title% Publisher : %publisher% Modified: XoopsModules/news/branches/mamba/news/submit.php =================================================================== --- XoopsModules/news/branches/mamba/news/submit.php 2012-05-21 19:31:22 UTC (rev 9571) +++ XoopsModules/news/branches/mamba/news/submit.php 2012-05-22 11:13:40 UTC (rev 9572) @@ -160,7 +160,7 @@ $topicid = $story->topicid(); $notifypub = $story->notifypub(); $picture = $story->picture(); - $pictureinfo = $story->pictureinfo('Edit'); + $pictureinfo = $story->pictureinfo; $approve = 0; $published = $story->published(); if (isset($published) && $published > 0) { Modified: XoopsModules/news/branches/mamba/news/xoops_version.php =================================================================== --- XoopsModules/news/branches/mamba/news/xoops_version.php 2012-05-21 19:31:22 UTC (rev 9571) +++ XoopsModules/news/branches/mamba/news/xoops_version.php 2012-05-22 11:13:40 UTC (rev 9572) @@ -68,8 +68,8 @@ $modversion['tables'][3] = 'stories_votedata'; // Scripts to run upon installation or update -$modversion['onInstall']['file'] = "include/install_function.php"; -$modversion['onInstall']['func'] = "xoops_module_install_news"; +//$modversion['onInstall']['file'] = "include/install_function.php"; +//$modversion['onInstall']['func'] = "xoops_module_install_news"; //$modversion['onUpdate'] = "include/update.php"; // Admin things This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-05-21 19:31:33
|
Revision: 9571 http://xoops.svn.sourceforge.net/xoops/?rev=9571&view=rev Author: txmodxoops Date: 2012-05-21 19:31:22 +0000 (Mon, 21 May 2012) Log Message: ----------- Initial update to 2.6.0 Added Paths: ----------- XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/about.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/bbs.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/header.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/index.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/languages.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/menu.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/wizard.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/blocks/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/blocks/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/files.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/googleprovider.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/iobase.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/languages.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/provider.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/translator.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/css/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/css/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/docs/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/docs/changelog.txt XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/docs/credits.txt XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/docs/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/docs/install.txt XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/docs/lang_diff.txt XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/docs/licence.txt XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/docs/readme.txt XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/16/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/16/analysis.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/16/edit.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/16/export.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/16/import.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/16/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/16/traslate.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/32/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/32/dashboard.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/32/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/32/languages.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/32/translations.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/32/wizard.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/admin/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/admin/about.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/admin/help.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/admin/home.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/admin/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/admin/permissions.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/admin/xoopsmicrobutton.gif XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/deco/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/deco/about.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/deco/arrow.gif XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/deco/delete.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/deco/edit.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/deco/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/deco/index.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/deco/off.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/deco/on.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/deco/permissions.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/deco/pref.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/deco/update.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/icons/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/icons/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/icons/off.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/icons/on.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/languages.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/left_both.gif XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/menu/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/menu/bg.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/menu/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/menu/left_both.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/menu/right_both.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/right_both.gif XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/translations.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/wizard.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/images/xtransam_slogo.png XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/include/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/include/JSON.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/include/charset_utf-8.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/include/forms.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/include/functions.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/include/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/include/install.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/include/update.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/english/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/english/admin.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/english/google.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/english/help/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/english/help/help.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/english/help/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/english/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/english/modinfo.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/italian/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/italian/admin.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/italian/google.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/italian/help/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/italian/help/help.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/italian/help/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/italian/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/language/italian/modinfo.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/providers/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/providers/bing.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/providers/google.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/providers/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/providers/mymemory.php XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/sql/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/sql/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/sql/mysql.sql XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/templates/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/templates/admin/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/templates/admin/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/templates/admin/xtransam_about.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/templates/admin/xtransam_help.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/templates/blocks/ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/templates/blocks/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/templates/index.html XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/xoops_version.php Added: XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/about.php =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/about.php (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/about.php 2012-05-21 19:31:22 UTC (rev 9571) @@ -0,0 +1,34 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ + +/** + * Traslation Languages + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package xtransam + * @since 1.3.0 + * @author Mamba + * @author Simon Roberts <si...@ch...> + * @version $Id: about.php 8469 2011-12-12 14:13:34Z beckmi $ + * @version $Id: about.php 9400 2012-12-04 12:58:28Z timgno $ + */ + +include dirname(__FILE__) . '/header.php'; + +$xoops = Xoops::getInstance(); +$xoops->header(); + +$aboutAdmin = new XoopsModuleAdmin(); +$aboutAdmin->renderNavigation('about.php'); +$aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); + +$xoops->footer(); \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/bbs.php =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/bbs.php (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/bbs.php 2012-05-21 19:31:22 UTC (rev 9571) @@ -0,0 +1,238 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ + +/** + * Traslation Languages + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package xtransam + * @since 1.3.0 + * @author Simon Roberts <si...@ch...> + * @author Timgno <in...@tx...> + * @version $Id: index.php 9400 2012-04-28 12:53:34Z timgno $ + */ +include dirname(__FILE__) . '/header.php'; + +$xoops = Xoops::getInstance(); +$xoops->header(); + +include_once '../include/forms.php'; +define ("_CHARSET","UTF-8"); +define ("_CHARSET_ISO","ISO-8859-1"); +error_reporting(E_ALL); +global $xoopsDB, $xoopsModuleConfig; + + if (isset($_GET)) { + foreach ($_GET as $k => $v) { + ${$k} = $v; + } + } + + if (isset($_POST)) { + foreach ($_POST as $k => $v) { + ${$k} = $v; + } + } + + +ini_set("max_execution_time", "300"); + +switch ($op){ +case "deletebuffer": + $sql[0] = "DELETE FROM ".$xoopsDB->prefix('xtransam_files')." WHERE ioid = $id"; + $sql[1] = "DELETE FROM ".$xoopsDB->prefix('xtransam_translator')." WHERE ioid = $id"; + $sql[2] = "DELETE FROM ".$xoopsDB->prefix('xtransam_iobase')." WHERE id = $id"; + + foreach($sql as $fquestion) + $xoopsDB->queryF($fquestion); + + redirect_header("index.php", 4, _XT_IODELETED); + break; +case "save-languages": + $lang_handler = xoops_getmodulehandler('languages', 'xtransam'); + foreach($id as $key => $value) + { + switch($value){ + case "new": + $lang = $lang_handler->create(); + break; + default: + $lang = $lang_handler->get($value); + } + + if (!empty($name[$key])&&!empty($code[$key])) { + $lang->setVar('name', $name[$key]); + $lang->setVar('code', $code[$key]); + $lang->setVar('foldername', $folder[$key]); + $lang->setVar('provider', $provider[$key]); + @$lang_handler->insert($lang); + } + } + redirect_header("index.php?op=languages",2,_XT_LANGSAVEOK); + break; +case "languages": + languagesForm_display(); + break; +case "export": + global $xoopsUser; + + $io_handler = xoops_getmodulehandler('iobase', 'xtransam'); + $io = $io_handler->get($id); + $trans_handler = xoops_getmodulehandler('translator', 'xtransam'); + $lang_handler = xoops_getmodulehandler('languages', 'xtransam'); + $files_handler = xoops_getmodulehandler('files', 'xtransam'); + $criteria = new CriteriaCompo(new Criteria('ioid', $io->getVar('id'))); + $files = $files_handler->getObjects($criteria); + + $from_folder = $lang_handler->folder($io->getvar('languagefrom')); + $to_folder = $lang_handler->folder($io->getvar('languageto')); + + foreach($files as $file) { + $path = explode('/', $file->getVar('path')); + + foreach($path as $key => $value) + if (strtolower($value) == strtolower($from_folder)) { + $path[$key] = $to_folder; + } + + //$wpath = implode('/', $path).'/'; + $wpath = implode(DIRECTORY_SEPARATOR, $path); + mkdir($wpath, 0777); + + if($wpath!=$file->getVar('path')){ + $bfile = file($file->getVar('path').$file->getVar('filename')); + $criteria = new CriteriaCompo(new Criteria('ioid', $io->getVar('id'))); + $criteria->add(new Criteria('fileid', $file->getVar('id'))); + $trans = $trans_handler->getObjects($criteria); + // Changed & Added by TXMod Xoops + $bfile[1] = "\n// Translation done by xtransam & ".$xoopsUser->uname()." TXMod Xoops - ".date('Y-m-d H:i')."\n\n"; + + foreach($trans as $tran) { + $search = xtransam_convert_decode($tran->getVar('replacestr'), $tran->getVar('sm')); + $name = xtransam_convert_decode($tran->getVar('name'), $tran->getVar('sm')); + $translation = xtransam_convert_decode($tran->getVar('translation'), $tran->getVar('sm')); + + // Changed & Added by TXMod Xoops + //include_once '../include/charset_utf-8.php'; + //$translation = preg_replace($search, $replace, $translation); + $translation = str_replace('"', '\"', $translation); + $translation = str_replace('\"', "'", $translation); + $translation = str_replace('="', "='", $translation); + $translation = str_replace('">', "'>", $translation); + $translation = str_replace('È', 'E'', $translation); + $translation = str_replace('ì', 'ì', $translation); + $translation = str_replace('ò', 'ò', $translation); + $translation = str_replace('è', 'è', $translation); + $translation = str_replace('ù', 'ù', $translation); + $translation = str_replace('à', 'à', $translation); + $translation = str_replace('% S', '%s', $translation); + $translation = str_replace('%s ', '%s ', $translation); + $translation = str_replace('%s "', '%s"', $translation); + $translation = str_replace(' / ', '/', $translation); + + $replace = 'define("'.$name.'", "'.$translation.'");'; + $bfile[$tran->getVar('line')] = str_replace($search, $replace, $bfile[$tran->getVar('line')]); + } + @makeWritable($wpath, true); + if (file_exists($wpath.$file->getVar('filename'))) + unlink($wpath.$file->getVar('filename')); + $file = @fopen($wpath.$file->getVar('filename'), 'w'); + $buffer = implode('', $bfile); + fwrite($file, $buffer, strlen($buffer)); + fclose($file); + } + } + // Added by TXMod Xoops + if (file_exists($indexFile = XOOPS_ROOT_PATH."/modules/xtransam/language/index.html")) + copy($indexFile, $wpath."index.html"); + + redirect_header("index.php?op=bbs",2,_XT_EXPORTCOMPLETE); + break; +case "save": + $trans_handler = xoops_getmodulehandler('translator', 'xtransam'); + foreach($trans as $key => $value) { + $tran = $trans_handler->get($key); + $tran->setVar('translation', xtransam_convert_encode($value, $tran->getVar('sm'))); + $trans_handler->insert($tran); + } + redirect_header("index.php?op=manage&id=$id&fileid=$fileid",2,_XT_SAVECOMPLETE); + break; +case "manage": + managerForm_display($id, $fileid); + break; + +case "analysis": + $io_handler = xoops_getmodulehandler('iobase', 'xtransam'); + $files_handler = xoops_getmodulehandler('files', 'xtransam'); + $io = $io_handler->get($id); + @$files_handler->analysepath($io); + redirect_header("index.php?op=bbs",2,_XT_ANLYSISCOMPLETE); + break; + +case "import": + $io_handler = xoops_getmodulehandler('iobase', 'xtransam'); + $files_handler = xoops_getmodulehandler('files', 'xtransam'); + $io = $io_handler->get($id); + @$files_handler->importfiles($io); + redirect_header("index.php?op=bbs",2,_XT_IMPORTCOMPLETE); + break; + +case "translate": + $io_handler = xoops_getmodulehandler('iobase', 'xtransam'); + $io = $io_handler->get($id); + $trans_handler = xoops_getmodulehandler('translator', 'xtransam'); + $lang_handler = xoops_getmodulehandler('languages', 'xtransam'); + $criteria = new CriteriaCompo(new Criteria('ioid', $io->getVar('id'))); + if ($trans_handler->getCount($criteria)>0) { + $trans = $trans_handler->getObjects($criteria); + $start = time(); + foreach($trans as $tran) { + if ($tran->isempty()){ + $from = $lang_handler->code($io->getVar('languagefrom')); + $to = $lang_handler->code($io->getVar('languageto')); + $provider = $lang_handler->provider($tran->getVar('toid')); + if (strlen($provider)>0) { + $provider_handler = xoops_getmodulehandler($provider.'provider', 'xtransam'); + $translation = $provider_handler->translate($from,$to, xtransam_convert_decode($tran->getVar('orginal'), $tran->getVar('sm'))); + $tran->setVar('translation', xtransam_convert_encode($translation, $tran->getVar('sm'))); + if (strlen($translation)>0) + $tran->setVar('auto', 1); + else + $tran->setVar('auto', 0); + + $trans_handler->insert($tran); + } + if ($start+28<time()) + { + $restart++; + redirect_header("index.php?op=translate&id=$id&restart=$restart",2,sprintf(_XT_30SECONDSCONTINUING, $restart)); + } + } + } + } + redirect_header("index.php?op=bbs",2,_XT_TRANSLATIONCOMPLETE); + break; + +case "languages": + + break; +case "bbs": + translationForm_display(false); + break; + +case "wizard": +default: + wizardForm_display($step); + translationForm_display(true); + break; +} +$xoops->footer(); \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/header.php =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/header.php (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/header.php 2012-05-21 19:31:22 UTC (rev 9571) @@ -0,0 +1,26 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ + +/** + * Traslation Languages + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package xtransam + * @since 1.3.0 + * @author Taiwen Jiang <ph...@us...> + * @author Simon Roberts <si...@ch...> + * @version $Id: header.php 9400 2012-04-28 10:25:22Z timgno $ + */ +require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; + +$xoops = Xoops::getInstance(); +XoopsLoad::load('xtransam', 'xtransam'); \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/index.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/index.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/index.html 2012-05-21 19:31:22 UTC (rev 9571) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/index.php =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/index.php (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/index.php 2012-05-21 19:31:22 UTC (rev 9571) @@ -0,0 +1,263 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ + +/** + * Traslation Languages + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package xtransam + * @since 1.3.0 + * @author Simon Roberts <si...@ch...> + * @author Timgno <in...@tx...> + * @version $Id: index.php 9400 2012-04-28 12:53:34Z timgno $ + */ +include dirname(__FILE__) . '/header.php'; + +$xoops = Xoops::getInstance(); +$xoops->header(); + +$indexAdmin = new XoopsModuleAdmin(); +$indexAdmin->renderNavigation('index.php'); +$indexAdmin->renderIndex(); + +/*error_reporting(E_ALL); +global $xoopsDB, $xoopsModuleConfig; + +$op = isset($_REQUEST['op'])?$_REQUEST['op']:'dashboard'; + +switch ($op){ +case "deletebuffer": + $sql[0] = "DELETE FROM ".$xoopsDB->prefix('xtransam_files')." WHERE ioid = $id"; + $sql[1] = "DELETE FROM ".$xoopsDB->prefix('xtransam_translator')." WHERE ioid = $id"; + $sql[2] = "DELETE FROM ".$xoopsDB->prefix('xtransam_iobase')." WHERE id = $id"; + + foreach($sql as $fquestion) + $xoopsDB->queryF($fquestion); + + redirect_header("index.php", 4, _AM_XTRANSAM_IODELETED); + break; +case "save-languages": + $lang_handler = xoops_getmodulehandler('languages', 'xtransam'); + foreach($id as $key => $value) + { + switch($value){ + case "new": + $lang = $lang_handler->create(); + break; + default: + $lang = $lang_handler->get($value); + } + + if (!empty($name[$key])&&!empty($code[$key])) { + $lang->setVar('name', $name[$key]); + $lang->setVar('code', $code[$key]); + $lang->setVar('foldername', $folder[$key]); + $lang->setVar('providers', $providers[$key]); + @$lang_handler->insert($lang); + } + } + redirect_header("index.php?op=languages",2,_AM_XTRANSAM_LANGSAVEOK); + break; +case "languages": + + echo $indexAdmin->addNavigation('index.php?op=languages'); + languagesForm_display(); + include "admin_footer.php"; + + break; +case "export": + global $xoopsUser; + + $io_handler = xoops_getmodulehandler('iobase', 'xtransam'); + $io = $io_handler->get($id); + $trans_handler = xoops_getmodulehandler('translator', 'xtransam'); + $lang_handler = xoops_getmodulehandler('languages', 'xtransam'); + $files_handler = xoops_getmodulehandler('files', 'xtransam'); + $criteria = new CriteriaCompo(new Criteria('ioid', $io->getVar('id'))); + $files = $files_handler->getObjects($criteria); + + $from_folder = $lang_handler->folder($io->getvar('languagefrom')); + $to_folder = $lang_handler->folder($io->getvar('languageto')); + + // Changed by Chronolabs - Removed Code by Timgo - ansi conversion - 08/11/2011 + //include($GLOBALS['xoops']->path('modules'.DS.'xtransam'.DS.'include'.DS.'charset_utf-8.php')); + + foreach($files as $file) { + $path = array(); + foreach(explode('\\', $file->getVar('path')) as $nodea) + foreach(explode('/', $nodea) as $nodeb) + $path[] = $nodeb; + foreach($path as $key => $value) { + if (strtolower($value) == strtolower($from_folder)) { + $path[$key] = $to_folder; + } + $pdir = DS.$path[$key]; + mkdir($pdir, 0777); + } + $wpath = implode(DS, $path); + if($wpath!=$file->getVar('path')){ + $bfile = file($file->getVar('path').$file->getVar('filename')); + // Changed by TXMod Xoops back to Header + $bfile[] = "<?php\n\n// Translation done by XTransam & ".$GLOBALS['xoopsUser']->getVar('uname')." (".$GLOBALS['xoopsUser']->getVar('email').")\n// XTransam ".($GLOBALS['xtransamModule']->getVar('version')/100)." is written by Chronolabs Co-op & The XOOPS Project - File Dumped on ".date('Y-m-d H:i')."\n\n?>"; + $criteria = new CriteriaCompo(new Criteria('ioid', $io->getVar('id'))); + $criteria->add(new Criteria('fileid', $file->getVar('id'))); + $trans = $trans_handler->getObjects($criteria); + foreach($trans as $tran) { + $search = xtransam_convert_decode($tran->getVar('replacestr'), $tran->getVar('sm')); + $name = xtransam_convert_decode($tran->getVar('name'), $tran->getVar('sm')); + $translation = xtransam_convert_decode($tran->getVar('translation'), $tran->getVar('sm')); + *//*foreach($GLOBALS['charset_utf8'] as $search => $replace) + $translation = str_replace($search, $replace, $translation); + $translation = htmlspecialchars($translation, ENT_QUOTES); *//* + $trans = get_html_translation_table(HTML_ENTITIES); + $str = $translation; + $encoded = strtr($str, $trans); + //$translation = htmlentities($translation, ENT_COMPAT, "UTF-8"); + $replace = 'define("'.$name.'", "'.$encoded.'");'."\n"; + $bfile[$tran->getVar('line')] = $replace; + } + @makeWritable($wpath, true); + if (file_exists($wpath.$file->getVar('filename'))) + unlink($wpath.$file->getVar('filename')); + $file = @fopen($wpath.$file->getVar('filename'), 'w'); + $buffer = implode("", $bfile); + fwrite($file, $buffer, strlen($buffer)); + fclose($file); + } + // Changed by Chronolabs to be recursive + if (file_exists($indexFile = XOOPS_ROOT_PATH."modules/xtransam/language/index.html")) + copy($indexFile, $wpath."/index.html"); + } + redirect_header("index.php?op=bbs",2,_AM_XTRANSAM_EXPORTCOMPLETE); + break; +case "save": + $trans_handler = xoops_getmodulehandler('translator', 'xtransam'); + foreach($trans as $key => $value) { + $tran = $trans_handler->get($key); + $tran->setVar('translation', xtransam_convert_encode($value, $tran->getVar('sm'))); + $trans_handler->insert($tran); + } + redirect_header("index.php?op=manage&id=$id&fileid=$fileid",2,_AM_XTRANSAM_SAVECOMPLETE); + break; +case "manage": + + echo $indexAdmin->addNavigation('index.php?op=manage'); + //echo $indexAdmin->renderIndex(); + managerForm_display($id, $fileid); + + break; + +case "analysis": + $io_handler = xoops_getmodulehandler('iobase', 'xtransam'); + $files_handler = xoops_getmodulehandler('files', 'xtransam'); + $io = $io_handler->get($id); + @$files_handler->analysepath($io); + redirect_header("index.php?op=bbs",2,_AM_XTRANSAM_ANLYSISCOMPLETE); + break; + +case "import": + $io_handler = xoops_getmodulehandler('iobase', 'xtransam'); + $files_handler = xoops_getmodulehandler('files', 'xtransam'); + $io = $io_handler->get($id); + @$files_handler->importfiles($io); + redirect_header("index.php?op=bbs",2,_AM_XTRANSAM_IMPORTCOMPLETE); + break; + +case "translate": + + echo sprintf(_AM_XTRANSAM_TRANSLATION_IN_PROCESS, $GLOBALS['xtransamModuleConfig']['php_execute_for'], isset($restart)?$restart:1); + include "admin_footer.php"; + $io_handler = xoops_getmodulehandler('iobase', 'xtransam'); + $io = $io_handler->get($id); + $trans_handler = xoops_getmodulehandler('translator', 'xtransam'); + $lang_handler = xoops_getmodulehandler('languages', 'xtransam'); + $criteria = new CriteriaCompo(new Criteria('ioid', $io->getVar('id'))); + if ($trans_handler->getCount($criteria)>0) { + $trans = $trans_handler->getObjects($criteria); + $start = time(); + foreach($trans as $tran) { + if ($tran->isempty()){ + $from = $lang_handler->code($io->getVar('languagefrom')); + $to = $lang_handler->code($io->getVar('languageto')); + $GLOBALS['provider'] = $lang_handler->provider($tran->getVar('toid')); + if (strlen($GLOBALS['provider'])>0) { + $provider_handler = xoops_getmodulehandler('provider', 'xtransam'); + $translation = $provider_handler->provider->translate($from,$to, xtransam_convert_decode($tran->getVar('orginal'), $tran->getVar('sm'))); + $tran->setVar('translation', xtransam_convert_encode($translation, $tran->getVar('sm'))); + if (strlen($translation)>0) + $tran->setVar('auto', 1); + else + $tran->setVar('auto', 0); + + $trans_handler->insert($tran); + } + if ($start+$GLOBALS['xtransamModuleConfig']['php_execute_for']-3<time()) + { + $restart++; + redirect_header("index.php?op=translate&id=$id&restart=$restart"); + exit(0); + } + } + } + } + redirect_header("index.php?op=bbs",2,_AM_XTRANSAM_TRANSLATIONCOMPLETE); + break; + +case "bbs": + + echo $indexAdmin->addNavigation('index.php?op=bbs'); + //echo $indexAdmin->renderIndex(); + translationForm_display(false); + + break; + +case "wizard": + echo $indexAdmin->addNavigation('index.php?op=wizard'); + //echo $indexAdmin->renderIndex(); + wizardForm_display($step); + translationForm_display(true); + break; +case "dashboard": +default: + + $trans_handler = xoops_getmodulehandler('translator', 'xtransam'); + $lang_handler = xoops_getmodulehandler('languages', 'xtransam'); + $files_handler = xoops_getmodulehandler('files', 'xtransam'); + $iobase_handler = xoops_getmodulehandler('iobase', 'xtransam'); + + $indexAdmin->addInfoBox(_AM_XTRANSAM_ADMIN_NUMTRASL); + $indexAdmin->addInfoBoxLine(_AM_XTRANSAM_ADMIN_NUMTRASL, "<label>"._AM_XTRANSAM_THEREARE_NUMFILES."</label>", $files_handler->getCount(NULL), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_XTRANSAM_ADMIN_NUMTRASL, "<label>"._AM_XTRANSAM_THEREARE_NUMLINES."</label>", $trans_handler->getCount(NULL), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_XTRANSAM_ADMIN_NUMTRASL, "<label>"._AM_XTRANSAM_THEREARE_NUMPROJECTS."</label>", $iobase_handler->getCount(NULL), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_XTRANSAM_ADMIN_NUMTRASL, "<label>"._AM_XTRANSAM_THEREARE_NUMLANG."</label>", $lang_handler->getCount(NULL), 'Green'); + xoops_load('xoopscache'); + if (!class_exists('XoopsCache')) { + // XOOPS 2.4 Compliance + xoops_load('cache'); + if (!class_exists('XoopsCache')) { + include_once XOOPS_ROOT_PATH.DS.'class'.DS.'cache'.DS.'xoopscache.php'; + } + } + + if ($googlecodes = XoopsCache::read('xtransam_google_pause')) { + $indexAdmin->addInfoBoxLine(_AM_XTRANSAM_ADMIN_NUMTRASL, "<label>"._AM_XTRANSAM_THEREARE_GOOGLEAVAILABLE."</label>", _YES, 'Green'); + $indexAdmin->addInfoBoxLine(_AM_XTRANSAM_ADMIN_NUMTRASL, "<label>".sprintf(_AM_XTRANSAM_THEREARE_GOOGLEERROR, $googlecodes['code'], $googlecodes['message'])."</label>", '', 'Green'); + } else { + $indexAdmin->addInfoBoxLine(_AM_XTRANSAM_ADMIN_NUMTRASL, "<label>"._AM_XTRANSAM_THEREARE_GOOGLEAVAILABLE."</label>", _NO, 'Green'); + } + + echo $indexAdmin->addNavigation("index.php") ; + echo $indexAdmin->renderIndex(); + + break; +}*/ +$xoops->footer(); Added: XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/languages.php =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/languages.php (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/languages.php 2012-05-21 19:31:22 UTC (rev 9571) @@ -0,0 +1,91 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ + +/** + * Traslation Languages + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package xtransam + * @since 1.3.0 + * @author Simon Roberts <si...@ch...> + * @author Timgno <in...@tx...> + * @version $Id: index.php 9400 2012-04-28 12:53:34Z timgno $ + */ +include dirname(__FILE__) . '/header.php'; + +$xoops = Xoops::getInstance(); +$xoops->header(); + +include_once '../include/forms.php'; +define ("_CHARSET","UTF-8"); +define ("_CHARSET_ISO","ISO-8859-1"); +error_reporting(E_ALL); +global $xoopsDB, $xoopsModuleConfig; + + if (isset($_GET)) { + foreach ($_GET as $k => $v) { + ${$k} = $v; + } + } + + if (isset($_POST)) { + foreach ($_POST as $k => $v) { + ${$k} = $v; + } + } + + +ini_set("max_execution_time", "300"); + +switch ($op){ +case "save-languages": + $lang_handler = xoops_getmodulehandler('languages', 'xtransam'); + foreach($id as $key => $value) + { + switch($value){ + case "new": + $lang = $lang_handler->create(); + break; + default: + $lang = $lang_handler->get($value); + } + + if (!empty($name[$key])&&!empty($code[$key])) { + $lang->setVar('name', $name[$key]); + $lang->setVar('code', $code[$key]); + $lang->setVar('foldername', $folder[$key]); + $lang->setVar('provider', $provider[$key]); + @$lang_handler->insert($lang); + } + } + redirect_header("index.php?op=languages",2,_XT_LANGSAVEOK); + break; + +case "save": + $trans_handler = xoops_getmodulehandler('translator', 'xtransam'); + foreach($trans as $key => $value) { + $tran = $trans_handler->get($key); + $tran->setVar('translation', xtransam_convert_encode($value, $tran->getVar('sm'))); + $trans_handler->insert($tran); + } + redirect_header("index.php?op=manage&id=$id&fileid=$fileid",2,_XT_SAVECOMPLETE); + break; +case "languages": +default: + xoops_cp_header(); + adminMenu(3); + languagesForm_display(); + footer_adminMenu(); + xoops_cp_footer(); + break; +} +$xoops->footer(); \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/menu.php =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/menu.php (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/menu.php 2012-05-21 19:31:22 UTC (rev 9571) @@ -0,0 +1,37 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ +/** + * Traslation Languages + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package xtransam + * @since 1.3.0 + * @author Taiwen Jiang <ph...@us...> + * @author Simon Roberts <si...@ch...> + * @version $Id: menu.php 9400 2012-04-28 10:40:24Z timgno $ + */ +$adminmenu = array(); $i = 1; +$adminmenu[$i]["title"] = _MI_XTRANSAM_ADMENU1; +$adminmenu[$i]["link"] = 'admin/index.php'; +$adminmenu[$i]["icon"] = 'home.png'; $i++; +$adminmenu[$i]["title"] = _MI_XTRANSAM_ADMENU2; +$adminmenu[$i]["link"] = 'admin/index.php?op=wizard'; +$adminmenu[$i]["icon"] = 'wizard.png'; $i++; +$adminmenu[$i]["title"] = _MI_XTRANSAM_ADMENU3; +$adminmenu[$i]["link"] = 'admin/index.php?op=bbs'; +$adminmenu[$i]["icon"] = 'translations.png'; $i++; +$adminmenu[$i]["title"] = _MI_XTRANSAM_ADMENU4; +$adminmenu[$i]["link"] = 'admin/index.php?op=languages'; +$adminmenu[$i]["icon"] = 'languages.png'; $i++; +$adminmenu[$i]["title"] = _MI_XTRANSAM_ADMENU5; +$adminmenu[$i]["link"] = 'admin/about.php'; +$adminmenu[$i]["icon"] = 'about.png'; unset($i); \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/wizard.php =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/wizard.php (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/admin/wizard.php 2012-05-21 19:31:22 UTC (rev 9571) @@ -0,0 +1,243 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ + +/** + * Traslation Languages + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package xtransam + * @since 1.3.0 + * @author Simon Roberts <si...@ch...> + * @author Timgno <in...@tx...> + * @version $Id: index.php 9400 2012-04-28 12:53:34Z timgno $ + */ +include dirname(__FILE__) . '/header.php'; + +$xoops = Xoops::getInstance(); +$xoops->header(); + +include_once '../include/forms.php'; +define ("_CHARSET","UTF-8"); +define ("_CHARSET_ISO","ISO-8859-1"); +error_reporting(E_ALL); +global $xoopsDB, $xoopsModuleConfig; + + if (isset($_GET)) { + foreach ($_GET as $k => $v) { + ${$k} = $v; + } + } + + if (isset($_POST)) { + foreach ($_POST as $k => $v) { + ${$k} = $v; + } + } + + +ini_set("max_execution_time", "300"); + +switch ($op){ +case "deletebuffer": + $sql[0] = "DELETE FROM ".$xoopsDB->prefix('xtransam_files')." WHERE ioid = $id"; + $sql[1] = "DELETE FROM ".$xoopsDB->prefix('xtransam_translator')." WHERE ioid = $id"; + $sql[2] = "DELETE FROM ".$xoopsDB->prefix('xtransam_iobase')." WHERE id = $id"; + + foreach($sql as $fquestion) + $xoopsDB->queryF($fquestion); + + redirect_header("index.php", 4, _XT_IODELETED); + break; +case "save-languages": + $lang_handler = xoops_getmodulehandler('languages', 'xtransam'); + foreach($id as $key => $value) + { + switch($value){ + case "new": + $lang = $lang_handler->create(); + break; + default: + $lang = $lang_handler->get($value); + } + + if (!empty($name[$key])&&!empty($code[$key])) { + $lang->setVar('name', $name[$key]); + $lang->setVar('code', $code[$key]); + $lang->setVar('foldername', $folder[$key]); + $lang->setVar('provider', $provider[$key]); + @$lang_handler->insert($lang); + } + } + redirect_header("index.php?op=languages",2,_XT_LANGSAVEOK); + break; +case "languages": + xoops_cp_header(); + adminMenu(3); + languagesForm_display(); + footer_adminMenu(); + xoops_cp_footer(); + + break; +case "export": + global $xoopsUser; + + $io_handler = xoops_getmodulehandler('iobase', 'xtransam'); + $io = $io_handler->get($id); + $trans_handler = xoops_getmodulehandler('translator', 'xtransam'); + $lang_handler = xoops_getmodulehandler('languages', 'xtransam'); + $files_handler = xoops_getmodulehandler('files', 'xtransam'); + $criteria = new CriteriaCompo(new Criteria('ioid', $io->getVar('id'))); + $files = $files_handler->getObjects($criteria); + + $from_folder = $lang_handler->folder($io->getvar('languagefrom')); + $to_folder = $lang_handler->folder($io->getvar('languageto')); + + foreach($files as $file) { + $path = explode('/', $file->getVar('path')); + + foreach($path as $key => $value) + if (strtolower($value) == strtolower($from_folder)) { + $path[$key] = $to_folder; + } + + //$wpath = implode('/', $path).'/'; + $wpath = implode(DIRECTORY_SEPARATOR, $path); + mkdir($wpath, 0777); + + if($wpath!=$file->getVar('path')){ + $bfile = file($file->getVar('path').$file->getVar('filename')); + $criteria = new CriteriaCompo(new Criteria('ioid', $io->getVar('id'))); + $criteria->add(new Criteria('fileid', $file->getVar('id'))); + $trans = $trans_handler->getObjects($criteria); + // Changed & Added by TXMod Xoops + $bfile[1] = "\n// Translation done by xtransam & ".$xoopsUser->uname()." TXMod Xoops - ".date('Y-m-d H:i')."\n\n"; + + foreach($trans as $tran) { + $search = xtransam_convert_decode($tran->getVar('replacestr'), $tran->getVar('sm')); + $name = xtransam_convert_decode($tran->getVar('name'), $tran->getVar('sm')); + $translation = xtransam_convert_decode($tran->getVar('translation'), $tran->getVar('sm')); + + // Changed & Added by TXMod Xoops + //include_once '../include/charset_utf-8.php'; + //$translation = preg_replace($search, $replace, $translation); + $translation = str_replace('"', '\"', $translation); + $translation = str_replace('\"', "'", $translation); + $translation = str_replace('="', "='", $translation); + $translation = str_replace('">', "'>", $translation); + $translation = str_replace('È', 'E'', $translation); + $translation = str_replace('ì', 'ì', $translation); + $translation = str_replace('ò', 'ò', $translation); + $translation = str_replace('è', 'è', $translation); + $translation = str_replace('ù', 'ù', $translation); + $translation = str_replace('à', 'à', $translation); + $translation = str_replace('% S', '%s', $translation); + $translation = str_replace('%s ', '%s ', $translation); + $translation = str_replace('%s "', '%s"', $translation); + $translation = str_replace(' / ', '/', $translation); + + $replace = 'define("'.$name.'", "'.$translation.'");'; + $bfile[$tran->getVar('line')] = str_replace($search, $replace, $bfile[$tran->getVar('line')]); + } + @makeWritable($wpath, true); + if (file_exists($wpath.$file->getVar('filename'))) + unlink($wpath.$file->getVar('filename')); + $file = @fopen($wpath.$file->getVar('filename'), 'w'); + $buffer = implode('', $bfile); + fwrite($file, $buffer, strlen($buffer)); + fclose($file); + } + } + // Added by TXMod Xoops + if (file_exists($indexFile = XOOPS_ROOT_PATH."/modules/xtransam/language/index.html")) + copy($indexFile, $wpath."index.html"); + + redirect_header("index.php?op=bbs",2,_XT_EXPORTCOMPLETE); + break; +case "save": + $trans_handler = xoops_getmodulehandler('translator', 'xtransam'); + foreach($trans as $key => $value) { + $tran = $trans_handler->get($key); + $tran->setVar('translation', xtransam_convert_encode($value, $tran->getVar('sm'))); + $trans_handler->insert($tran); + } + redirect_header("index.php?op=manage&id=$id&fileid=$fileid",2,_XT_SAVECOMPLETE); + break; +case "manage": + managerForm_display($id, $fileid); + break; + +case "analysis": + $io_handler = xoops_getmodulehandler('iobase', 'xtransam'); + $files_handler = xoops_getmodulehandler('files', 'xtransam'); + $io = $io_handler->get($id); + @$files_handler->analysepath($io); + redirect_header("index.php?op=bbs",2,_XT_ANLYSISCOMPLETE); + break; + +case "import": + $io_handler = xoops_getmodulehandler('iobase', 'xtransam'); + $files_handler = xoops_getmodulehandler('files', 'xtransam'); + $io = $io_handler->get($id); + @$files_handler->importfiles($io); + redirect_header("index.php?op=bbs",2,_XT_IMPORTCOMPLETE); + break; + +case "translate": + $io_handler = xoops_getmodulehandler('iobase', 'xtransam'); + $io = $io_handler->get($id); + $trans_handler = xoops_getmodulehandler('translator', 'xtransam'); + $lang_handler = xoops_getmodulehandler('languages', 'xtransam'); + $criteria = new CriteriaCompo(new Criteria('ioid', $io->getVar('id'))); + if ($trans_handler->getCount($criteria)>0) { + $trans = $trans_handler->getObjects($criteria); + $start = time(); + foreach($trans as $tran) { + if ($tran->isempty()){ + $from = $lang_handler->code($io->getVar('languagefrom')); + $to = $lang_handler->code($io->getVar('languageto')); + $provider = $lang_handler->provider($tran->getVar('toid')); + if (strlen($provider)>0) { + $provider_handler = xoops_getmodulehandler($provider.'provider', 'xtransam'); + $translation = $provider_handler->translate($from,$to, xtransam_convert_decode($tran->getVar('orginal'), $tran->getVar('sm'))); + $tran->setVar('translation', xtransam_convert_encode($translation, $tran->getVar('sm'))); + if (strlen($translation)>0) + $tran->setVar('auto', 1); + else + $tran->setVar('auto', 0); + + $trans_handler->insert($tran); + } + if ($start+28<time()) + { + $restart++; + redirect_header("index.php?op=translate&id=$id&restart=$restart",2,sprintf(_XT_30SECONDSCONTINUING, $restart)); + } + } + } + } + redirect_header("index.php?op=bbs",2,_XT_TRANSLATIONCOMPLETE); + break; + +case "languages": + + break; +case "bbs": + translationForm_display(false); + break; + +case "wizard": +default: + wizardForm_display($step); + translationForm_display(true); + break; +} +$xoops->footer(); \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/blocks/index.html =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/blocks/index.html (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/blocks/index.html 2012-05-21 19:31:22 UTC (rev 9571) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/files.php =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/files.php (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/files.php 2012-05-21 19:31:22 UTC (rev 9571) @@ -0,0 +1,210 @@ +<?php +// $Autho: wishcraft $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2009 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// -- Author: Simon Roberts (si...@ch...) -- // +// ------------------------------------------------------------------------ // + +if (!defined('XOOPS_ROOT_PATH')) { + exit(); +} +/** + * Class for policies + * @author Simon Roberts <on...@xo...> + * @copyright copyright (c) 2009-2003 XOOPS.org + * @package kernel + */ +class XtransamFiles extends XoopsObject +{ + + function XtransamFiles($id = null) + { + $this->initVar('id', XOBJ_DTYPE_INT, null, false); + $this->initVar('ioid', XOBJ_DTYPE_INT); + $this->initVar('filename', XOBJ_DTYPE_TXTBOX, null, true, 255); + $this->initVar('path', XOBJ_DTYPE_TXTBOX, null, true, 255); + $this->initVar('imported', XOBJ_DTYPE_INT, 0); + } + +} + + +/** +* XOOPS policies handler class. +* This class is responsible for providing data access mechanisms to the data source +* of XOOPS user class objects. +* +* @author Simon Roberts <si...@ch...> +* @package kernel +*/ +class XtransamFilesHandler extends XoopsPersistableObjectHandler +{ + + var $db; + var $regex = '/define\((.*) \);|define \((.*) \);|define \((.*) \);|define \( ([\"\', \ta-zA-Z0-9_]+)\);|define\( (.*) \);|define\((.*)\);|define \((.*)\);|define \((.*)\);|define \( ([\"\', \ta-zA-Z0-9_]+)\);|define\( (.*)\);|define\((.*) \);|define \((.*) \);|define \((.*) \);|define \( (.*) \);|define\( (.*) \);/'; + var $seperator = array('", "', '","', '" , "', '" , "', '", "', '" , "', + '", \'', '",\'', '" , \'', '" , \'', '", \'', '" , \'' , + '\', \'', '\',\'', '\' , \'', '\' , \'', '\', \'', '\' , \'', + '\', "', '\',"', '\' , "', '\' , "', '\', "', '\' , "'); + + function __construct(&$db) + { + $this->db = $db; + parent::__construct($db, "xtransam_files", 'XtransamFiles', "id", "path"); + } + + function importfiles($io) + { + if (!is_a($io, 'XtransamIobase')) + return false; + + global $xoopsModuleConfig; + + $trans_handler = xoops_getmodulehandler('translator', 'xtransam'); + + $criteria = new CriteriaCompo(new Criteria('`ioid`', $io->getVar('id')), 'AND'); + $criteria->add(new Criteria('`imported`', 0), 'AND'); + $files = $this->getObjects($criteria); + + foreach ($files as $file) { + $content = file_get_contents($file->getVar('path').DS.$file->getVar('filename')); + $lines = explode("\n", $content); + foreach($lines as $key => $line) { + if (strpos(' '.$line,'define')>0) { + @preg_match_all($this->regex, $line, $matches); + + $def = array(); + foreach($matches as $match) + foreach($match as $result) { + if (!empty($result)&&substr($result,0,6)!='define') { + foreach($this->seperator as $sep) + if (strpos($result, $sep)>0) + if (count(explode($sep, $result))==2) + $result = explode($sep, $result); + + $def[0] = substr(trim($result[0]),1); + $def[1] = substr(trim($result[1]),0, strlen(trim($result[1]))-1); + } elseif (substr($result,0,6)=='define') { + $def[3] = $result; + } + } + + + if (!empty($def[0])&&!empty($def[1])) { + $trans = $trans_handler->create(); + $trans->setVar('ioid',$io->getVar('id')); + $trans->setVar('fromid',$io->getVar('languagefrom')); + $trans->setVar('toid',$io->getVar('languageto')); + $trans->setVar('fileid',$file->getVar('id')); + $trans->setVar('linetype','define'); + $trans->setVar('line', $key); + $trans->setVar('name',xtransam_convert_encode($def[0], $xoopsModuleConfig['store_method'])); + $trans->setVar('orginal',xtransam_convert_encode($def[1], $xoopsModuleConfig['store_method'])); + $trans->setVar('replacestr',xtransam_convert_encode($def[3], $xoopsModuleConfig['store_method'])); + $trans->setVar('sm', $xoopsModuleConfig['store_method']); + if (!$trans_handler->exists($trans)) + $trans_handler->insert($trans); + } + } + } + + $file->setVar('imported', '1'); + $this->insert($file); + + } + } + + + function analysepath($io) + { + if (!is_a($io, 'XtransamIobase')) + return false; + + switch ($io->getVar('point')) + { + case "core": + $files = $this->dirToArray(XOOPS_ROOT_PATH.DS.'language'.DS.$io->getVar('path'), true); + $path = XOOPS_ROOT_PATH.DS.'language'.DS.$io->getVar('path'); + break; + case "module": + $files = $this->dirToArray(XOOPS_ROOT_PATH.DS.'modules'.DS.$io->getVar('path'), true); + $path = XOOPS_ROOT_PATH.DS.'modules'.DS.$io->getVar('path'); + break; + } + + foreach($files as $key => $file) + { + if (file_exists($file)) { + $tfile = $this->create(); + $tfile->setVar('filename', basename($file)); + $tfile->setVar('path', str_replace(basename($file),'',$file)); + $tfile->setVar('ioid', $io->getVar('id')); + if (!$this->exists($tfile)) + @$this->insert($tfile); + } + } + + } + + private function dirToArray($directory, $recursive, $fileext = 'php') { + $array_items = array(); + if ($handle = opendir($directory)) { + while (false !== ($file = readdir($handle))) { + $filecomp = explode('.', $file); + if ($file != "." && $file != "..") { + if (is_dir($directory. "/" . $file)) { + if($recursive) { + $array_items = array_merge($array_items, $this->dirToArray($directory. "/" . $file, $recursive)); + } + $file = $directory . "/" . $file; + if (in_array($fileext, $filecomp)) + $array_items[] = preg_replace("/\/\//si", "/", $file); + } else { + $file = $directory . "/" . $file; + if (in_array($fileext, $filecomp)) + $array_items[] = preg_replace("/\/\//si", "/", $file); + } + } + } + closedir($handle); + } + return $array_items; + } + + function exists($file) + { + if (!is_a($file, 'XtransamFiles')) + return true; + + $criteria = new CriteriaCompo(new Criteria('`ioid`', $file->getVar('ioid')), 'AND'); + $criteria->add(new Criteria('`path`', $file->getVar('path')), 'AND'); + $criteria->add(new Criteria('`filename`', $file->getVar('filename')), 'AND'); + if ($this->getCount($criteria)>0) + return true; + else + return false; + } +} +?> \ No newline at end of file Added: XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/googleprovider.php =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/googleprovider.php (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/modules/xtransam/class/googleprovider.php 2012-05-21 19:31:22 UTC (rev 9571) @@ -0,0 +1,112 @@ +<?php +// $Autho: wishcraft $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2009 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// -- Author: Simon Roberts (si...@ch...) -- // +// ------------------------------------------------------------------------ // + +if (!defined('XOOPS_ROOT_PATH')) { + exit(); +} +/** + * Class for policies + * @author Simon Roberts <on...@xo...> + * @copyright copyright (c) 2009-2003 XOOPS.org + * @package kernel + */ +class XtransamGoogleprovider extends XoopsObject +{ + + function XtransamGoogleprovider($id = null) + { + + } + +} + + +/** +* XOOPS policies handler class. +* This class is responsible for providing data access mechanisms to the data source +* of XOOPS user class objects. +* +* @author Simon Roberts <si...@ch...> +* @package kernel +*/ +class XtransamGoogleproviderHandler extends XoopsPersistableObjectHandler +{ + + var $url = "http://ajax.googleapis.com/ajax/services/language/translate"; + var $retrieve = array('start' => '<textarea name=utrans wrap=SOFT dir="ltr" rows=5 id=suggestion>', + 'end' => '</textarea>'); + + function __construct(&$db) + { } + + function translate($fromcode, $tocode, $value) + { + + $response = $this->send_post($this->url, $value, $fromcode, $tocode, XOOPS_URL); + if (preg_match("/{\"translatedText\":\"([^\"]+)\"/i", $response, $matches)) { + return self::_unescapeUTF8EscapeSeq($this->clean($matches[1])); + } + } + + private function _unescapeUTF8EscapeSeq($str) { + return preg_replace_callback("/\\\u([0-9a-f]{4})/i", create_function('$matches', 'return html_entity_decode(\'&#x\'.$matches[1].\';\', ENT_NOQUOTES, \'UTF-8\');'), $str); + } + + private function clean($var) + { + $var = htmlspecialchars_decode($var); + $var = str_replace('% s', ' %s ', $var); + $var = str_replace('% u', ' %u ', $var); + $var = str_replace('% d', ' %d ', $var); + if (strpos($var, 'text/css')) ... [truncated message content] |
From: <ma...@us...> - 2012-05-21 07:14:39
|
Revision: 9570 http://xoops.svn.sourceforge.net/xoops/?rev=9570&view=rev Author: mageg Date: 2012-05-21 07:14:32 +0000 (Mon, 21 May 2012) Log Message: ----------- change userrank.html to help.html in userrank plugin Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/xoops_version.php Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/language/english/help/help.html Removed Paths: ------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/language/english/help/userrank.html Copied: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/language/english/help/help.html (from rev 9567, XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/language/english/help/userrank.html) =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/language/english/help/help.html (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/language/english/help/help.html 2012-05-21 07:14:32 UTC (rev 9570) @@ -0,0 +1,10 @@ +<p> +User Ranks allow you to give people some ‘<em>status</em>’ based on either their role or level of participation in the community. It is important to note that user ranks are functionally irrelevant - they *do not* confer any extra privileges or administrative rights at all – they are just titles. User access rights are actually controlled elsewhere (through the Groups section of the control panel). If you assign someone the Webmaster user rank but forget to also assign them to the Webmaster user group (a common mistake) they may look cool but they won’t be able to administer the site !<br /><br /> + +‘<em>Normal</em>’ ranks are assigned on the basis of the number of forum posts and comments a user has made. A user’s rank will change as they make enough posts to qualify for the next level. XOOPS ships with the following default ranks: Just popping in; Not too shy to talk; Quite a regular; Just can’t stay away; and Home away from home. +XOOPS also ships with two ‘<em>special ranks</em>’: Moderator and Webmaster. Special ranks differ in that they can be assigned to users irrespective of the number of posts they have made. A typical use of special ranks is to give recognition to people performing various administrative functions.<br /><br /> + +The ‘<em>edit</em>’ link allows you to change the name of a rank, to alter the minimum / maximum number of posts needed to qualify, to designate it as a ‘<em>special</em>’ rank (or not), and to upload a new rank image. You can remove unnecessary ranks (‘delete’ link). <br /><br /> + +You can create additional ranks through the form at the bottom of the user rank page. Simply assign a name, minimum and maximum number of posts (if desired), upload a rank image and assign it as either normal or special. +</p> \ No newline at end of file Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/language/english/help/userrank.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/language/english/help/userrank.html 2012-05-21 04:38:11 UTC (rev 9569) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/language/english/help/userrank.html 2012-05-21 07:14:32 UTC (rev 9570) @@ -1,10 +0,0 @@ -<p> -User Ranks allow you to give people some ‘<em>status</em>’ based on either their role or level of participation in the community. It is important to note that user ranks are functionally irrelevant - they *do not* confer any extra privileges or administrative rights at all – they are just titles. User access rights are actually controlled elsewhere (through the Groups section of the control panel). If you assign someone the Webmaster user rank but forget to also assign them to the Webmaster user group (a common mistake) they may look cool but they won’t be able to administer the site !<br /><br /> - -‘<em>Normal</em>’ ranks are assigned on the basis of the number of forum posts and comments a user has made. A user’s rank will change as they make enough posts to qualify for the next level. XOOPS ships with the following default ranks: Just popping in; Not too shy to talk; Quite a regular; Just can’t stay away; and Home away from home. -XOOPS also ships with two ‘<em>special ranks</em>’: Moderator and Webmaster. Special ranks differ in that they can be assigned to users irrespective of the number of posts they have made. A typical use of special ranks is to give recognition to people performing various administrative functions.<br /><br /> - -The ‘<em>edit</em>’ link allows you to change the name of a rank, to alter the minimum / maximum number of posts needed to qualify, to designate it as a ‘<em>special</em>’ rank (or not), and to upload a new rank image. You can remove unnecessary ranks (‘delete’ link). <br /><br /> - -You can create additional ranks through the form at the bottom of the user rank page. Simply assign a name, minimum and maximum number of posts (if desired), upload a rank image and assign it as either normal or special. -</p> \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/xoops_version.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/xoops_version.php 2012-05-21 04:38:11 UTC (rev 9569) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/xoops_version.php 2012-05-21 07:14:32 UTC (rev 9570) @@ -32,7 +32,7 @@ $modversion['license'] = 'GNU GPL 2.0'; $modversion['license_url'] = 'www.gnu.org/licenses/gpl-2.0.html/'; $modversion['official'] = 1; -$modversion['help'] = 'page=userrank'; +$modversion['help'] = 'page=help'; $modversion['image'] = 'images/logo.png'; $modversion['dirname'] = 'userrank'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-05-21 04:38:18
|
Revision: 9569 http://xoops.svn.sourceforge.net/xoops/?rev=9569&view=rev Author: beckmi Date: 2012-05-21 04:38:11 +0000 (Mon, 21 May 2012) Log Message: ----------- Changing _SEND to _SUBMIT Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/form/maintenance.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/form/maintenance.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/form/maintenance.php 2012-05-21 00:46:24 UTC (rev 9568) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/form/maintenance.php 2012-05-21 04:38:11 UTC (rev 9569) @@ -63,7 +63,7 @@ $this->addElement($tables_tray); $this->addElement(new XoopsFormHidden("op", "maintenance_save")); - $this->addElement(new XoopsFormButton("", "maintenance_save", _SEND, "submit")); + $this->addElement(new XoopsFormButton("", "maintenance_save", _SUBMIT, "submit")); } /** @@ -100,6 +100,6 @@ $this->addElement(new XoopsFormRadioYN(_AM_MAINTENANCE_DUMP_DROP, 'drop', 1, _YES, _NO)); $this->addElement(new XoopsFormHidden("op", "dump_save")); - $this->addElement(new XoopsFormButton("", "dump_save", _SEND, "submit")); + $this->addElement(new XoopsFormButton("", "dump_save", _SUBMIT, "submit")); } } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-05-21 00:46:35
|
Revision: 9568 http://xoops.svn.sourceforge.net/xoops/?rev=9568&view=rev Author: txmodxoops Date: 2012-05-21 00:46:24 +0000 (Mon, 21 May 2012) Log Message: ----------- added path Added Paths: ----------- XoopsModules/statistics/ XoopsModules/statistics/branches/ XoopsModules/statistics/branches/timgno/ XoopsModules/statistics/branches/timgno/1.0/ XoopsModules/statistics/releases/ XoopsModules/statistics/releases/0.6/ XoopsModules/statistics/releases/0.6/statistics/ XoopsModules/statistics/releases/0.6/statistics/admin/ XoopsModules/statistics/releases/0.6/statistics/admin/index.php XoopsModules/statistics/releases/0.6/statistics/admin/menu.php XoopsModules/statistics/releases/0.6/statistics/admin/upgrade.php XoopsModules/statistics/releases/0.6/statistics/bhits.php XoopsModules/statistics/releases/0.6/statistics/blocks/ XoopsModules/statistics/releases/0.6/statistics/blocks/hitcounter.php XoopsModules/statistics/releases/0.6/statistics/blocks/index.html XoopsModules/statistics/releases/0.6/statistics/blocks/referaccum.php XoopsModules/statistics/releases/0.6/statistics/blocks/refercounter.php XoopsModules/statistics/releases/0.6/statistics/class/ XoopsModules/statistics/releases/0.6/statistics/class/clsWhois.php XoopsModules/statistics/releases/0.6/statistics/hits.php XoopsModules/statistics/releases/0.6/statistics/images/ XoopsModules/statistics/releases/0.6/statistics/images/0.gif XoopsModules/statistics/releases/0.6/statistics/images/1.gif XoopsModules/statistics/releases/0.6/statistics/images/2.gif XoopsModules/statistics/releases/0.6/statistics/images/3.gif XoopsModules/statistics/releases/0.6/statistics/images/4.gif XoopsModules/statistics/releases/0.6/statistics/images/5.gif XoopsModules/statistics/releases/0.6/statistics/images/6.gif XoopsModules/statistics/releases/0.6/statistics/images/7.gif XoopsModules/statistics/releases/0.6/statistics/images/8.gif XoopsModules/statistics/releases/0.6/statistics/images/9.gif XoopsModules/statistics/releases/0.6/statistics/images/active.gif XoopsModules/statistics/releases/0.6/statistics/images/aix.gif XoopsModules/statistics/releases/0.6/statistics/images/altavista.gif XoopsModules/statistics/releases/0.6/statistics/images/apple.png XoopsModules/statistics/releases/0.6/statistics/images/arrowdn.gif XoopsModules/statistics/releases/0.6/statistics/images/arrowup.gif XoopsModules/statistics/releases/0.6/statistics/images/articles.gif XoopsModules/statistics/releases/0.6/statistics/images/authors.gif XoopsModules/statistics/releases/0.6/statistics/images/avant.gif XoopsModules/statistics/releases/0.6/statistics/images/be.gif XoopsModules/statistics/releases/0.6/statistics/images/bsd.gif XoopsModules/statistics/releases/0.6/statistics/images/comments.gif XoopsModules/statistics/releases/0.6/statistics/images/content.gif XoopsModules/statistics/releases/0.6/statistics/images/deepnet.gif XoopsModules/statistics/releases/0.6/statistics/images/dlcat.gif XoopsModules/statistics/releases/0.6/statistics/images/dlfiles.gif XoopsModules/statistics/releases/0.6/statistics/images/explorer.gif XoopsModules/statistics/releases/0.6/statistics/images/firefox.png XoopsModules/statistics/releases/0.6/statistics/images/index.html XoopsModules/statistics/releases/0.6/statistics/images/irix.gif XoopsModules/statistics/releases/0.6/statistics/images/konqueror.gif XoopsModules/statistics/releases/0.6/statistics/images/leftbar.gif XoopsModules/statistics/releases/0.6/statistics/images/link.gif XoopsModules/statistics/releases/0.6/statistics/images/link.png XoopsModules/statistics/releases/0.6/statistics/images/linux.gif XoopsModules/statistics/releases/0.6/statistics/images/lynx.gif XoopsModules/statistics/releases/0.6/statistics/images/mac.gif XoopsModules/statistics/releases/0.6/statistics/images/mainbar.gif XoopsModules/statistics/releases/0.6/statistics/images/mozilla.gif XoopsModules/statistics/releases/0.6/statistics/images/mozilla.png XoopsModules/statistics/releases/0.6/statistics/images/netscape.gif XoopsModules/statistics/releases/0.6/statistics/images/news.gif XoopsModules/statistics/releases/0.6/statistics/images/online.gif XoopsModules/statistics/releases/0.6/statistics/images/opera.gif XoopsModules/statistics/releases/0.6/statistics/images/os2.gif XoopsModules/statistics/releases/0.6/statistics/images/question.gif XoopsModules/statistics/releases/0.6/statistics/images/rightbar.gif XoopsModules/statistics/releases/0.6/statistics/images/sections.gif XoopsModules/statistics/releases/0.6/statistics/images/statistics.png XoopsModules/statistics/releases/0.6/statistics/images/sun.gif XoopsModules/statistics/releases/0.6/statistics/images/topics.gif XoopsModules/statistics/releases/0.6/statistics/images/users.gif XoopsModules/statistics/releases/0.6/statistics/images/waiting.gif XoopsModules/statistics/releases/0.6/statistics/images/webtv.gif XoopsModules/statistics/releases/0.6/statistics/images/windows.gif XoopsModules/statistics/releases/0.6/statistics/images/xoops.gif XoopsModules/statistics/releases/0.6/statistics/images/xoopsgallery.png XoopsModules/statistics/releases/0.6/statistics/include/ XoopsModules/statistics/releases/0.6/statistics/include/hitcounter.php XoopsModules/statistics/releases/0.6/statistics/include/statutils.php XoopsModules/statistics/releases/0.6/statistics/index.php XoopsModules/statistics/releases/0.6/statistics/language/ XoopsModules/statistics/releases/0.6/statistics/language/bulgarian/ XoopsModules/statistics/releases/0.6/statistics/language/bulgarian/admin.php XoopsModules/statistics/releases/0.6/statistics/language/bulgarian/blocks.php XoopsModules/statistics/releases/0.6/statistics/language/bulgarian/index.html XoopsModules/statistics/releases/0.6/statistics/language/bulgarian/main.php XoopsModules/statistics/releases/0.6/statistics/language/bulgarian/modinfo.php XoopsModules/statistics/releases/0.6/statistics/language/english/ XoopsModules/statistics/releases/0.6/statistics/language/english/admin.php XoopsModules/statistics/releases/0.6/statistics/language/english/blocks.php XoopsModules/statistics/releases/0.6/statistics/language/english/index.html XoopsModules/statistics/releases/0.6/statistics/language/english/main.php XoopsModules/statistics/releases/0.6/statistics/language/english/modinfo.php XoopsModules/statistics/releases/0.6/statistics/language/german/ XoopsModules/statistics/releases/0.6/statistics/language/german/admin.php XoopsModules/statistics/releases/0.6/statistics/language/german/blocks.php XoopsModules/statistics/releases/0.6/statistics/language/german/index.html XoopsModules/statistics/releases/0.6/statistics/language/german/main.php XoopsModules/statistics/releases/0.6/statistics/language/german/modinfo.php XoopsModules/statistics/releases/0.6/statistics/language/index.html XoopsModules/statistics/releases/0.6/statistics/language/italian/ XoopsModules/statistics/releases/0.6/statistics/language/italian/admin.php XoopsModules/statistics/releases/0.6/statistics/language/italian/blocks.php XoopsModules/statistics/releases/0.6/statistics/language/italian/index.html XoopsModules/statistics/releases/0.6/statistics/language/italian/main.php XoopsModules/statistics/releases/0.6/statistics/language/italian/modinfo.php XoopsModules/statistics/releases/0.6/statistics/language/nederlands/ XoopsModules/statistics/releases/0.6/statistics/language/nederlands/admin.php XoopsModules/statistics/releases/0.6/statistics/language/nederlands/blocks.php XoopsModules/statistics/releases/0.6/statistics/language/nederlands/index.html XoopsModules/statistics/releases/0.6/statistics/language/nederlands/main.php XoopsModules/statistics/releases/0.6/statistics/language/nederlands/modinfo.php XoopsModules/statistics/releases/0.6/statistics/language/portuguesebr/ XoopsModules/statistics/releases/0.6/statistics/language/portuguesebr/admin.php XoopsModules/statistics/releases/0.6/statistics/language/portuguesebr/blocks.php XoopsModules/statistics/releases/0.6/statistics/language/portuguesebr/index.html XoopsModules/statistics/releases/0.6/statistics/language/portuguesebr/main.php XoopsModules/statistics/releases/0.6/statistics/language/portuguesebr/modinfo.php XoopsModules/statistics/releases/0.6/statistics/language/spanish/ XoopsModules/statistics/releases/0.6/statistics/language/spanish/admin.php XoopsModules/statistics/releases/0.6/statistics/language/spanish/blocks.php XoopsModules/statistics/releases/0.6/statistics/language/spanish/index.html XoopsModules/statistics/releases/0.6/statistics/language/spanish/leeme.html XoopsModules/statistics/releases/0.6/statistics/language/spanish/main.php XoopsModules/statistics/releases/0.6/statistics/language/spanish/modinfo.php XoopsModules/statistics/releases/0.6/statistics/readme.html XoopsModules/statistics/releases/0.6/statistics/referdetail.php XoopsModules/statistics/releases/0.6/statistics/sql/ XoopsModules/statistics/releases/0.6/statistics/sql/index.html XoopsModules/statistics/releases/0.6/statistics/sql/mysql.sql XoopsModules/statistics/releases/0.6/statistics/sql/update0-1or0-2to0-3.sql XoopsModules/statistics/releases/0.6/statistics/sql/update0-3to0-4-5.sql XoopsModules/statistics/releases/0.6/statistics/sql/update0-4-5to0-6.sql XoopsModules/statistics/releases/0.6/statistics/statdetails.php XoopsModules/statistics/releases/0.6/statistics/templates/ XoopsModules/statistics/releases/0.6/statistics/templates/blocks/ XoopsModules/statistics/releases/0.6/statistics/templates/blocks/index.html XoopsModules/statistics/releases/0.6/statistics/templates/blocks/stats_hitcounter.html XoopsModules/statistics/releases/0.6/statistics/templates/blocks/stats_referaccum.html XoopsModules/statistics/releases/0.6/statistics/templates/blocks/stats_refercounter.html XoopsModules/statistics/releases/0.6/statistics/templates/d_statdetails.html XoopsModules/statistics/releases/0.6/statistics/templates/hits.html XoopsModules/statistics/releases/0.6/statistics/templates/index.html XoopsModules/statistics/releases/0.6/statistics/templates/m_statdetails.html XoopsModules/statistics/releases/0.6/statistics/templates/referdetail.html XoopsModules/statistics/releases/0.6/statistics/templates/statdetails.html XoopsModules/statistics/releases/0.6/statistics/templates/statistics.html XoopsModules/statistics/releases/0.6/statistics/templates/y_statdetails.html XoopsModules/statistics/releases/0.6/statistics/xoops_version.php XoopsModules/statistics/trunk/ XoopsModules/statistics/trunk/statistics/ XoopsModules/statistics/trunk/statistics/admin/ XoopsModules/statistics/trunk/statistics/admin/index.php XoopsModules/statistics/trunk/statistics/admin/menu.php XoopsModules/statistics/trunk/statistics/admin/upgrade.php XoopsModules/statistics/trunk/statistics/bhits.php XoopsModules/statistics/trunk/statistics/blocks/ XoopsModules/statistics/trunk/statistics/blocks/hitcounter.php XoopsModules/statistics/trunk/statistics/blocks/index.html XoopsModules/statistics/trunk/statistics/blocks/referaccum.php XoopsModules/statistics/trunk/statistics/blocks/refercounter.php XoopsModules/statistics/trunk/statistics/class/ XoopsModules/statistics/trunk/statistics/class/clsWhois.php XoopsModules/statistics/trunk/statistics/hits.php XoopsModules/statistics/trunk/statistics/images/ XoopsModules/statistics/trunk/statistics/images/0.gif XoopsModules/statistics/trunk/statistics/images/1.gif XoopsModules/statistics/trunk/statistics/images/2.gif XoopsModules/statistics/trunk/statistics/images/3.gif XoopsModules/statistics/trunk/statistics/images/4.gif XoopsModules/statistics/trunk/statistics/images/5.gif XoopsModules/statistics/trunk/statistics/images/6.gif XoopsModules/statistics/trunk/statistics/images/7.gif XoopsModules/statistics/trunk/statistics/images/8.gif XoopsModules/statistics/trunk/statistics/images/9.gif XoopsModules/statistics/trunk/statistics/images/active.gif XoopsModules/statistics/trunk/statistics/images/aix.gif XoopsModules/statistics/trunk/statistics/images/altavista.gif XoopsModules/statistics/trunk/statistics/images/apple.png XoopsModules/statistics/trunk/statistics/images/arrowdn.gif XoopsModules/statistics/trunk/statistics/images/arrowup.gif XoopsModules/statistics/trunk/statistics/images/articles.gif XoopsModules/statistics/trunk/statistics/images/authors.gif XoopsModules/statistics/trunk/statistics/images/avant.gif XoopsModules/statistics/trunk/statistics/images/be.gif XoopsModules/statistics/trunk/statistics/images/bsd.gif XoopsModules/statistics/trunk/statistics/images/comments.gif XoopsModules/statistics/trunk/statistics/images/content.gif XoopsModules/statistics/trunk/statistics/images/deepnet.gif XoopsModules/statistics/trunk/statistics/images/dlcat.gif XoopsModules/statistics/trunk/statistics/images/dlfiles.gif XoopsModules/statistics/trunk/statistics/images/explorer.gif XoopsModules/statistics/trunk/statistics/images/firefox.png XoopsModules/statistics/trunk/statistics/images/index.html XoopsModules/statistics/trunk/statistics/images/irix.gif XoopsModules/statistics/trunk/statistics/images/konqueror.gif XoopsModules/statistics/trunk/statistics/images/leftbar.gif XoopsModules/statistics/trunk/statistics/images/link.gif XoopsModules/statistics/trunk/statistics/images/link.png XoopsModules/statistics/trunk/statistics/images/linux.gif XoopsModules/statistics/trunk/statistics/images/lynx.gif XoopsModules/statistics/trunk/statistics/images/mac.gif XoopsModules/statistics/trunk/statistics/images/mainbar.gif XoopsModules/statistics/trunk/statistics/images/mozilla.gif XoopsModules/statistics/trunk/statistics/images/mozilla.png XoopsModules/statistics/trunk/statistics/images/netscape.gif XoopsModules/statistics/trunk/statistics/images/news.gif XoopsModules/statistics/trunk/statistics/images/online.gif XoopsModules/statistics/trunk/statistics/images/opera.gif XoopsModules/statistics/trunk/statistics/images/os2.gif XoopsModules/statistics/trunk/statistics/images/question.gif XoopsModules/statistics/trunk/statistics/images/rightbar.gif XoopsModules/statistics/trunk/statistics/images/sections.gif XoopsModules/statistics/trunk/statistics/images/statistics.png XoopsModules/statistics/trunk/statistics/images/sun.gif XoopsModules/statistics/trunk/statistics/images/topics.gif XoopsModules/statistics/trunk/statistics/images/users.gif XoopsModules/statistics/trunk/statistics/images/waiting.gif XoopsModules/statistics/trunk/statistics/images/webtv.gif XoopsModules/statistics/trunk/statistics/images/windows.gif XoopsModules/statistics/trunk/statistics/images/xoops.gif XoopsModules/statistics/trunk/statistics/images/xoopsgallery.png XoopsModules/statistics/trunk/statistics/include/ XoopsModules/statistics/trunk/statistics/include/hitcounter.php XoopsModules/statistics/trunk/statistics/include/statutils.php XoopsModules/statistics/trunk/statistics/index.php XoopsModules/statistics/trunk/statistics/language/ XoopsModules/statistics/trunk/statistics/language/bulgarian/ XoopsModules/statistics/trunk/statistics/language/bulgarian/admin.php XoopsModules/statistics/trunk/statistics/language/bulgarian/blocks.php XoopsModules/statistics/trunk/statistics/language/bulgarian/index.html XoopsModules/statistics/trunk/statistics/language/bulgarian/main.php XoopsModules/statistics/trunk/statistics/language/bulgarian/modinfo.php XoopsModules/statistics/trunk/statistics/language/english/ XoopsModules/statistics/trunk/statistics/language/english/admin.php XoopsModules/statistics/trunk/statistics/language/english/blocks.php XoopsModules/statistics/trunk/statistics/language/english/index.html XoopsModules/statistics/trunk/statistics/language/english/main.php XoopsModules/statistics/trunk/statistics/language/english/modinfo.php XoopsModules/statistics/trunk/statistics/language/german/ XoopsModules/statistics/trunk/statistics/language/german/admin.php XoopsModules/statistics/trunk/statistics/language/german/blocks.php XoopsModules/statistics/trunk/statistics/language/german/index.html XoopsModules/statistics/trunk/statistics/language/german/main.php XoopsModules/statistics/trunk/statistics/language/german/modinfo.php XoopsModules/statistics/trunk/statistics/language/index.html XoopsModules/statistics/trunk/statistics/language/italian/ XoopsModules/statistics/trunk/statistics/language/italian/admin.php XoopsModules/statistics/trunk/statistics/language/italian/blocks.php XoopsModules/statistics/trunk/statistics/language/italian/index.html XoopsModules/statistics/trunk/statistics/language/italian/main.php XoopsModules/statistics/trunk/statistics/language/italian/modinfo.php XoopsModules/statistics/trunk/statistics/language/nederlands/ XoopsModules/statistics/trunk/statistics/language/nederlands/admin.php XoopsModules/statistics/trunk/statistics/language/nederlands/blocks.php XoopsModules/statistics/trunk/statistics/language/nederlands/index.html XoopsModules/statistics/trunk/statistics/language/nederlands/main.php XoopsModules/statistics/trunk/statistics/language/nederlands/modinfo.php XoopsModules/statistics/trunk/statistics/language/portuguesebr/ XoopsModules/statistics/trunk/statistics/language/portuguesebr/admin.php XoopsModules/statistics/trunk/statistics/language/portuguesebr/blocks.php XoopsModules/statistics/trunk/statistics/language/portuguesebr/index.html XoopsModules/statistics/trunk/statistics/language/portuguesebr/main.php XoopsModules/statistics/trunk/statistics/language/portuguesebr/modinfo.php XoopsModules/statistics/trunk/statistics/language/spanish/ XoopsModules/statistics/trunk/statistics/language/spanish/admin.php XoopsModules/statistics/trunk/statistics/language/spanish/blocks.php XoopsModules/statistics/trunk/statistics/language/spanish/index.html XoopsModules/statistics/trunk/statistics/language/spanish/leeme.html XoopsModules/statistics/trunk/statistics/language/spanish/main.php XoopsModules/statistics/trunk/statistics/language/spanish/modinfo.php XoopsModules/statistics/trunk/statistics/readme.html XoopsModules/statistics/trunk/statistics/referdetail.php XoopsModules/statistics/trunk/statistics/sql/ XoopsModules/statistics/trunk/statistics/sql/index.html XoopsModules/statistics/trunk/statistics/sql/mysql.sql XoopsModules/statistics/trunk/statistics/sql/update0-1or0-2to0-3.sql XoopsModules/statistics/trunk/statistics/sql/update0-3to0-4-5.sql XoopsModules/statistics/trunk/statistics/sql/update0-4-5to0-6.sql XoopsModules/statistics/trunk/statistics/statdetails.php XoopsModules/statistics/trunk/statistics/templates/ XoopsModules/statistics/trunk/statistics/templates/blocks/ XoopsModules/statistics/trunk/statistics/templates/blocks/index.html XoopsModules/statistics/trunk/statistics/templates/blocks/stats_hitcounter.html XoopsModules/statistics/trunk/statistics/templates/blocks/stats_referaccum.html XoopsModules/statistics/trunk/statistics/templates/blocks/stats_refercounter.html XoopsModules/statistics/trunk/statistics/templates/d_statdetails.html XoopsModules/statistics/trunk/statistics/templates/hits.html XoopsModules/statistics/trunk/statistics/templates/index.html XoopsModules/statistics/trunk/statistics/templates/m_statdetails.html XoopsModules/statistics/trunk/statistics/templates/referdetail.html XoopsModules/statistics/trunk/statistics/templates/statdetails.html XoopsModules/statistics/trunk/statistics/templates/statistics.html XoopsModules/statistics/trunk/statistics/templates/y_statdetails.html XoopsModules/statistics/trunk/statistics/xoops_version.php Added: XoopsModules/statistics/releases/0.6/statistics/admin/index.php =================================================================== --- XoopsModules/statistics/releases/0.6/statistics/admin/index.php (rev 0) +++ XoopsModules/statistics/releases/0.6/statistics/admin/index.php 2012-05-21 00:46:24 UTC (rev 9568) @@ -0,0 +1,637 @@ +<?php +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------- // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // + +include '../../../include/cp_header.php'; +if ( file_exists("../language/".$xoopsConfig['language']."/main.php") ) { + include "../language/".$xoopsConfig['language']."/main.php"; +} else { + include "../language/english/main.php"; +} + +include_once "../class/clsWhois.php"; +include_once "../include/statutils.php"; + +function remoteAddr() +{ + global $xoopsDB; + + $result = $xoopsDB->queryF("select ip, date, hits from ".$xoopsDB->prefix("stats_ip")." order by date"); + $iplist = array(); + $i = 0; + while (list($ip,$date,$hits) = $xoopsDB->fetchRow($result)) + { + $iplist[$i]['ip'] = $ip; + $iplist[$i]['hits'] = $hits; + ereg( "([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})", $date, $regs ); + $iplist[$i]['ipyear'] = $regs[1]; + $iplist[$i]['ipmonth'] = $regs[2]; + $iplist[$i]['ipday'] = $regs[3]; + $iplist[$i]['iphour'] = $regs[4]; + $i++; + } + + echo "<h4 style='text-align:left;'>".STATS_REMOTEADDR_HEAD." - ".STATS_STDIP."</h4><br>\n"; + echo "<table><tr><td>\n"; + echo "<form action='index.php' method='post'>\n"; + echo "<input type='hidden' name='op' value='purge_ips'>\n"; + echo "<input type='submit' value='".STATS_IPPURGE."' name='selsubmit'>"; + echo "</form>\n"; + echo "</td><td>\n"; + echo "<form action='index.php' method='post'>\n"; + echo "<input type='hidden' name='op' value='unique_ips'>\n"; + echo "<input type='submit' value='".STATS_UNIQUEIP."' name='selsubmit'>"; + echo "</form>\n"; + echo "</td></tr></table>\n"; + echo "<table>\n"; + echo "<tr><th>".STATS_REMOTE_IP."</th><th>" + .STATS_REMOTE_DATE."</th><th>".STATS_REMOTE_HOUR."</th><th>" + .STATS_REMOTE_HITS."</th></tr>\n"; + foreach( $iplist as $item ) + { + echo "<tr><td><a href=\"index.php?op=reverseip&iplookup=".$item['ip']."\">".$item['ip']."</a></td>" + ."<td>".$item['ipmonth']."-".$item['ipday']."-".$item['ipyear']."</td><td>".$item['iphour']."</td><td>".$item['hits']."</td></tr>\n"; + } + + echo "</table>"; +} + +function uniqueRemoteAddr() +{ + global $xoopsDB; + + $result = $xoopsDB->queryF("SELECT ip, SUM(hits) as total from ".$xoopsDB->prefix('stats_ip')." group by ip order by total DESC"); + $iplist = array(); + $i = 0; + while (list($ip,$total) = $xoopsDB->fetchRow($result)) + { + $iplist[$i]['ip'] = $ip; + $iplist[$i]['hits'] = $total; + $i++; + } + + echo "<h4 style='text-align:left;'>".STATS_REMOTEADDR_HEAD." - ".STATS_UNIQUEIP."</h4><br>\n"; + echo "<table><tr><td>\n"; + echo "<form action='index.php' method='post'>\n"; + echo "<input type='hidden' name='op' value='purge_ips'>\n"; + echo "<input type='submit' value='".STATS_IPPURGE."' name='selsubmit'>"; + echo "</form>\n"; + echo "</td><td>\n"; + echo "<form action='index.php' method='post'>\n"; + echo "<input type='hidden' name='op' value='remote_addr'>\n"; + echo "<input type='submit' value='".STATS_STDIP."' name='selsubmit'>"; + echo "</form>\n"; + echo "</td></tr></table>\n"; + echo "<table>\n"; + echo "<tr><th>".STATS_REMOTE_IP."</th><th>" + .STATS_REMOTE_HITS."</th></tr>\n"; + foreach( $iplist as $item ) + { + echo "<tr><td><a href=\"index.php?op=reverseip&iplookup=".$item['ip']."\">".$item['ip']."</a></td>" + ."<td>".$item['hits']."</td></tr>\n"; + } + + echo "</table>"; +} + +function purgeRemoteAddr() +{ + global $xoopsDB; + + echo "<h4 style='text-align:left;'>".STATS_REMOTEADDR_HEAD."</h4><br>\n"; + + $result = $xoopsDB->queryF("truncate table ".$xoopsDB->prefix("stats_ip")); + if ($result) + { + echo STATS_REMOTEADDR_PURGE; + } + else + { + echo STATS_REMOTEADDR_NPURGE; + } +} + +function referDB( $orderby ) +{ + global $xoopsDB; + + // get the current referers + $result = $xoopsDB->queryF("select ip, refer, date, hits, referpath from ".$xoopsDB->prefix("stats_refer")." order by $orderby DESC"); + $referlist = array(); + $i = 0; + while (list($ip,$refer,$date,$hits,$referpath) = $xoopsDB->fetchRow($result)) + { + $referpathparts = explode("|", $referpath ); + + $referlist[$i]['ip'] = $ip; + $referlist[$i]['refer'] = $refer; + $referlist[$i]['referpath'] = $referpathparts[0]; + + if ( isset( $referpathparts[1] ) ) + $querystr = $referpathparts[1]; + else + $querystr = ""; + + $referlist[$i]['query'] = $querystr; + + if ( isset( $referpathparts[2] ) ) + $fragmentstr = $referpathparts[2]; + else + $fragmentstr = ""; + + $referlist[$i]['fragment'] = $fragmentstr; + + $referlist[$i]['hits'] = $hits; + ereg( "([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})", $date, $regs ); + $referlist[$i]['referyear'] = $regs[1]; + $referlist[$i]['refermonth'] = $regs[2]; + $referlist[$i]['referday'] = $regs[3]; + $referlist[$i]['referhour'] = $regs[4]; + $i++; + } + + // get any current blacklist + $result = $xoopsDB->queryF("select * from ".$xoopsDB->prefix("stats_refer_blacklist") ); + list( $id, $referer ) = $xoopsDB->fetchRow( $result ); + $referblacklist = unserialize( stripslashes( $referer )); + if ( !is_array( $referblacklist ) ) // something went wrong, or there is no data... + { + $referblacklist = array(); + } + + echo "<h4 style='text-align:left;'>".STATS_REFER_HEAD."</h4><br>\n"; + echo "<div style=\"font-size: x-small;\"><table cellspacing=\"0\" cellpadding=\"0\" border='1'><tr><td><form action='index.php' method='post'>\n"; + echo "<input type='hidden' name='op' value='purge_refer'>\n"; + echo "<input style=\"font-size: x-small;\" type='submit' value='".STATS_REFERPURGE."' name='selsubmit'>"; + echo "</form></td>\n"; + echo "<td><form action='index.php' method='post'>\n"; + echo STATS_STATSBL_INST."<input type='hidden' name='op' value='blacklist_refer'>\n"; + echo "<br><textarea name='bad_refer' id='bad_refer' rows='5' cols='50'>\n"; + + $rbldelimited = implode( "|", $referblacklist ); + echo $rbldelimited; + + echo "</textarea><br>\n"; + + echo STATS_STATSBL_HELP; + echo "<br><input style=\"font-size: x-small;\" type='submit' value='".STATS_REFERBLACKLIST."' name='selsubmit'>\n"; + echo "</form>\n"; + echo "<form action='index.php' method='post'>\n"; + echo "<input type='hidden' name='op' value='purge_blacklist'>\n"; + echo "<input style=\"font-size: x-small;\" type='submit' value='".STATS_PURGEBL."' name='purgesubmit'>"; + echo "</td></tr></table></div>\n"; + + // figure out which arrow image to display + $referimg = $orderby == "refer" ? "arrowup.gif" : "arrowdn.gif"; + $hitsimg = $orderby == "hits" ? "arrowup.gif" : "arrowdn.gif"; + $dateimg = $orderby == "date" ? "arrowup.gif" : "arrowdn.gif"; + + echo "<div style=\"font-size: xx-small;\"><table>\n"; + echo "<tr><th>".STATS_REMOTE_IP."</th><th>".STATS_REFER.": <A href=\"index.php?op=refer&orderby=refer\"><img src=\"../images/".$referimg."\"></a></th>" + ."<th>".STATS_XWHOIS."</th><th>".STATS_REFER_PATH."</th><th>\n" + .STATS_QUERYSTRING."</th><th>".STATS_FRAGMENTSTRING."</th><th>\n" + .STATS_REFER_DATE.": <a href=\"index.php?op=refer&orderby=date\"><img src=\"../images/".$dateimg."\"></a></th><th>".STATS_REFER_HOUR."</th><th>\n" + .STATS_REFER_HITS.": <a href=\"index.php?op=refer&orderby=hits\"><img src=\"../images/".$hitsimg."\"></a></th></tr>\n"; + foreach( $referlist as $item ) + { + $dn = explode(".", $item['refer']); + $name = $dn[1].".".$dn[2]; + + echo "<tr><td align='left'><a href=\"index.php?op=reverseip&iplookup=".$item['ip']."\">".$item['ip']."</a></td>" + ."<td align='right'><a href='http://".$item['refer']."' target='_new'>".$item['refer']."</a></td>\n" + ."<td><a href=\"index.php?op=xwhois&dnslookup=".$name."&orderby=".$orderby."\">".STATS_XWHOIS."</a></td>\n" + ."<td><a href='http://".$item['refer'].$item['referpath']."' target='_new'>".$item['referpath']."</a></td>\n" + ."<td>".$item['query']."</td><td>".$item['fragment']."</td>\n" + ."<td>".$item['refermonth']."-".$item['referday']."-".$item['referyear']."</td>\n" + ."<td>".$item['referhour']."</td><td>".$item['hits']."</td></tr>\n"; + } + + echo "</table></div>"; +} + +function purgeReferDB() +{ + global $xoopsDB; + + echo "<h4 style='text-align:left;'>".STATS_REFER_HEAD."</h4><br>\n"; + + $result = $xoopsDB->queryF("truncate table ".$xoopsDB->prefix("stats_refer")); + if ($result) + { + echo STATS_REFER_PURGE; + } + else + { + echo STATS_REFER_NPURGE; + } +} + +function purgeBlacklist() +{ + global $xoopsDB; + + echo "<h4 style='text-align:left;'>".STATS_PURGEBL."</h4><br>\n"; + + $result = $xoopsDB->queryF("truncate table ".$xoopsDB->prefix("stats_refer_blacklist")); + if ($result) + { + echo STATS_BLACKLIST_PURGE; + } + else + { + echo STATS_BLACKLIST_NPURGE; + } +} + +function blacklistReferDB( $blr ) +{ + global $xoopsDB; + + // truncate table first + $result = $xoopsDB->queryF("truncate table ".$xoopsDB->prefix("stats_refer_blacklist")); + + echo "<h4 style='text-align:left;'>".STATS_BLACKLIST_CREATED."</h4><br>\n"; + + $rbl = explode( '|', $blr ); + // insert into database table + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("stats_refer_blacklist")." (referer) VALUES ('".addslashes(serialize($rbl))."')"); + + if ( $result ) + { + foreach( $rbl as $item ) + { + echo STATS_BLACKLISTED.$item."<br />"; + } + } +} + +function userScreen() +{ + global $xoopsDB; + + $result = $xoopsDB->queryF("select id, hits from ".$xoopsDB->prefix("stats_userscreen") ); + $usWidth = array(); + $i = 0; + while( list( $id, $hits ) = $xoopsDB->fetchRow( $result ) ) + { + switch( $id ) + { + case "1": + $usWidth[$i]['id'] = "640"; + break; + + case "2": + $usWidth[$i]['id'] = "800"; + break; + + case "3": + $usWidth[$i]['id'] = "1024"; + break; + + case "4": + $usWidth[$i]['id'] = "1152"; + break; + + case "5": + $usWidth[$i]['id'] = "1280"; + break; + + case "6": + $usWidth[$i]['id'] = "1600"; + break; + + default: + $usWidth[$i]['id'] = STATS_SW_UNKNOWN; + break; + } + $usWidth[$i]['hits'] = $hits; + $i++; + } + + $result = $xoopsDB->queryF("select id, hits from ".$xoopsDB->prefix("stats_usercolor") ); + $usColor = array(); + $i = 0; + while( list( $id, $hits ) = $xoopsDB->fetchRow( $result ) ) + { + switch( $id ) + { + case "1": + $usColor[$i]['id'] = "8"; + break; + + case "2": + $usColor[$i]['id'] = "16"; + break; + + case "3": + $usColor[$i]['id'] = "24"; + break; + + case "4": + $usColor[$i]['id'] = "32"; + break; + + default: + $usColor[$i]['id'] = STATS_SC_UNKNOWN; + break; + } + $usColor[$i]['hits'] = $hits; + $i++; + } + + echo "<table width=\"100%\" cellpadding=\"1\" cellspacing=\"1\" border=\"0\"><tr><th colspan=\"2\">".STATS_USERSCREEN_HEAD."</th></tr><tr><td align=\"center\" valign=\"top\" width=\"50%\">\n"; + echo "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">\n" + ."<tr><th width=\"50%\">".STATS_SW_HEAD."</th><th width=\"50%\">".STATS_SCREEN_HITS."</th></tr>\n"; + foreach( $usWidth as $current ) + { + echo "<tr><td>".$current['id']."</td><td>".$current['hits']."</td></tr>\n"; + } + echo "</table></td><td align=\"center\" valign=\"top\" width=\"50%\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">\n"; + echo "<tr><th width=\"50%\">".STATS_SC_HEAD."</th><th width=\"50%\">".STATS_SCREEN_HITS."</th></tr>\n"; + foreach( $usColor as $current ) + { + echo "<tr><td>".$current['id']."</td><td>".$current['hits']."</td></tr>\n"; + } + echo "</table>\n"; + echo "</td></tr>\n"; + echo "<tr><td>\n"; + echo "<form action='index.php' method='post'>\n"; + echo "<input type='hidden' name='op' value='purge_userscreen'>\n"; + echo "<input style=\"font-size: x-small;\" type='submit' value='".STATS_SCREEN_PURGE."' name='selsubmit'>"; + echo "</form>\n"; + echo "</td></tr>\n"; + echo "</table>\n"; +} + +function purgeUserScreen() +{ + global $xoopsDB; + + echo "<h4 style='text-align:left;'>".STATS_SCREEN_PURGE."</h4><br>\n"; + + $result_one = $xoopsDB->queryF("truncate table ".$xoopsDB->prefix("stats_usercolor")); + $result_two = $xoopsDB->queryF("truncate table ".$xoopsDB->prefix("stats_userscreen")); + if ($result_one && $result_two) + { + echo STATS_USERSCREEN_PURGE; + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("stats_userscreen")." VALUES (1, 0)"); + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("stats_userscreen")." VALUES (2, 0)"); + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("stats_userscreen")." VALUES (3, 0)"); + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("stats_userscreen")." VALUES (4, 0)"); + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("stats_userscreen")." VALUES (5, 0)"); + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("stats_userscreen")." VALUES (6, 0)"); + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("stats_userscreen")." VALUES (7, 0)"); + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("stats_usercolor")." VALUES (1, 0)"); + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("stats_usercolor")." VALUES (2, 0)"); + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("stats_usercolor")." VALUES (3, 0)"); + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("stats_usercolor")." VALUES (4, 0)"); + $result = $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("stats_usercolor")." VALUES (5, 0)"); + } + else + { + echo STATS_USERSCREEN_NPURGE; + } +} + +function statsreverselookup($ip) +{ + $whois = new xWhois(); + + $d = $whois->reverselookup( $ip ); + + echo "<table width='100%' cellpadding='0' cellspacing='0'>\n" + ."<tr><th>".STATS_REVERSELOOKUP."$ip</th></tr>\n" + ."<tr><td>".$d."</td></tr></table>\n"; +} + +function statsdnslookup( $domainname ) +{ + $whois = new xWhois(); + + $d = $whois->lookup( $domainname ); + + echo "<table width='100%' cellpadding='0' cellspacing='0'>\n" + ."<tr><th>".STATS_DNSLOOKUP."$ip</th></tr>\n" + ."<tr><td>".$d."</td></tr></table>\n"; +} + +if(!isset($_POST['op'])) +{ + $op = isset($_GET['op']) ? $_GET['op'] : ""; +} +else +{ + $op = $_POST['op']; +} + +xoops_cp_header(); + +switch( $op ) +{ + case INFO_CREDITS: + phpcredits(CREDITS_ALL - CREDITS_FULLPAGE); + echo "<hr><a href=\"index.php\">".STATS_ADMINHEAD."</a>\n"; + break; + + case INFO_GENERAL: + case INFO_CONFIGURATION: + case INFO_MODULES: + case INFO_ENVIRONMENT: + case INFO_VARIABLES: + case INFO_LICENSE: + case INFO_ALL: + ob_start(); + + phpinfo($op); + + $php_info = ob_get_contents(); + ob_end_clean(); + + $php_info = str_replace("<html><body>", "", $php_info); + $php_info = str_replace("</body></html>", "", $php_info); + + $offset = strpos($php_info, "<table"); + + print substr($php_info, $offset); + echo "<hr><a href=\"index.php\">".STATS_ADMINHEAD."</a>\n"; + break; + + case 'reverseip': + if(!isset($_POST['iplookup'])) + { + $iplookup = isset($_GET['iplookup']) ? $_GET['iplookup'] : ""; + } + else + { + $iplookup = $_POST['iplookup']; + } + + if( $iplookup != "" ) + { + statsreverselookup( $iplookup ); + } + remoteAddr(); + echo "<hr><a href=\"index.php\">".STATS_ADMINHEAD."</a>\n"; + break; + + case 'xwhois': + if(!isset($_POST['dnslookup'])) + { + $dnslookup = isset($_GET['dnslookup']) ? $_GET['dnslookup'] : ""; + } + else + { + $dnslookup = $_POST['dnslookup']; + } + + if( $dnslookup != "" ) + { + statsdnslookup( $dnslookup ); + } + + if(!isset($_POST['orderby'])) + { + $orderby = isset($_GET['orderby']) ? $_GET['orderby'] : "date"; + } + else + { + $orderby = $_POST['orderby']; + } + + referDB($orderby); + echo "<hr><a href=\"index.php\">".STATS_ADMINHEAD."</a>\n"; + break; + + case 'unique_ips': + uniqueRemoteAddr(); + echo "<hr><a href=\"index.php\">".STATS_ADMINHEAD."</a>\n"; + break; + + case 'remote_addr': + remoteAddr(); + echo "<hr><a href=\"index.php\">".STATS_ADMINHEAD."</a>\n"; + break; + + case 'purge_ips': + if(isset($_POST['confirm']) && $_POST['confirm'] == "purge_ips" ) + { + purgeRemoteAddr(); + } + else + { + $hidden = array( confirm => 'purge_ips', + op => 'purge_ips' ); + xoops_confirm( $hidden, "index.php", STATS_REMOTEADDR_PURGESURE, STATS_IPPURGE ); + } + echo "<hr><a href=\"index.php\">".STATS_ADMINHEAD."</a>\n"; + break; + + case 'refer': + if(!isset($_POST['orderby'])) + { + $orderby = isset($_GET['orderby']) ? $_GET['orderby'] : "date"; + } + else + { + $orderby = $_POST['orderby']; + } + + referDB( $orderby ); + echo "<hr><a href=\"index.php\">".STATS_ADMINHEAD."</a>\n"; + break; + + case 'purge_refer': + if(isset($_POST['confirm']) && $_POST['confirm'] == "purge_refer" ) + { + purgeReferDB(); + } + else + { + $hidden = array( confirm => 'purge_refer', + op => 'purge_refer' ); + xoops_confirm( $hidden, "index.php", STATS_REFER_PURGESURE, STATS_REFERPURGE ); + } + echo "<hr><a href=\"index.php\">".STATS_ADMINHEAD."</a>\n"; + break; + + case 'blacklist_refer': + if ( isset( $_POST['bad_refer']) && $_POST['bad_refer'] != "" ) + { + $hidden = array( confirm => 'blacklist_refer', + op => 'blacklist_refer', + blr => $_POST['bad_refer'] ); + xoops_confirm( $hidden, "index.php", STATS_REFER_BLSURE, STATS_REFERBLACKLIST ); + } + elseif ( isset($_POST['confirm']) && $_POST['confirm'] == "blacklist_refer") + { + blacklistReferDB( $_POST['blr']); + } + else + { + referDB(); + } + echo "<hr><a href=\"index.php\">".STATS_ADMINHEAD."</a>\n"; + break; + + case 'purge_blacklist': + if(isset($_POST['confirm']) && $_POST['confirm'] == "purge_blacklist" ) + { + purgeBlacklist(); + } + else + { + $hidden = array( confirm => 'purge_blacklist', + op => 'purge_blacklist' ); + xoops_confirm( $hidden, "index.php", STATS_REFER_PURGEBL, STATS_PURGEBL ); + } + echo "<hr><a href=\"index.php\">".STATS_ADMINHEAD."</a>\n"; + break; + + case 'userscreen': + userScreen(); + echo "<hr><a href=\"index.php\">".STATS_ADMINHEAD."</a>\n"; + break; + + case 'purge_userscreen': + if(isset($_POST['confirm']) && $_POST['confirm'] == "purge_userscreen" ) + { + purgeUserScreen(); + } + else + { + $hidden = array( confirm => 'purge_userscreen', + op => 'purge_userscreen' ); + xoops_confirm( $hidden, "index.php", STATS_REFER_PURGEUS, STATS_SCREEN_PURGE ); + } + echo "<hr><a href=\"index.php\">".STATS_ADMINHEAD."</a>\n"; + break; + + default: + stats_adminmenu( STATS_ADMINHEAD ); + break; +} + +xoops_cp_footer(); +?> Added: XoopsModules/statistics/releases/0.6/statistics/admin/menu.php =================================================================== --- XoopsModules/statistics/releases/0.6/statistics/admin/menu.php (rev 0) +++ XoopsModules/statistics/releases/0.6/statistics/admin/menu.php 2012-05-21 00:46:24 UTC (rev 9568) @@ -0,0 +1,51 @@ +<?php +// $Id: menu.php, 2004/12/09 seventhseal Exp $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // + +$adminmenu[1]['title'] = _MI_STATISTICS_ADMENU2; +$adminmenu[1]['link'] = "admin/index.php?op=".INFO_GENERAL; +$adminmenu[2]['title'] = _MI_STATISTICS_ADMENU3; +$adminmenu[2]['link'] = "admin/index.php?op=".INFO_CREDITS; +$adminmenu[3]['title'] = _MI_STATISTICS_ADMENU4; +$adminmenu[3]['link'] = "admin/index.php?op=".INFO_CONFIGURATION; +$adminmenu[4]['title'] = _MI_STATISTICS_ADMENU5; +$adminmenu[4]['link'] = "admin/index.php?op=".INFO_MODULES; +$adminmenu[5]['title'] = _MI_STATISTICS_ADMENU6; +$adminmenu[5]['link'] = "admin/index.php?op=".INFO_ENVIRONMENT; +$adminmenu[6]['title'] = _MI_STATISTICS_ADMENU7; +$adminmenu[6]['link'] = "admin/index.php?op=".INFO_VARIABLES; +$adminmenu[7]['title'] = _MI_STATISTICS_ADMENU8; +$adminmenu[7]['link'] = "admin/index.php?op=".INFO_LICENSE; +$adminmenu[8]['title'] = _MI_STATISTICS_ADMENU9; +$adminmenu[8]['link'] = "admin/index.php?op=".INFO_ALL; +$adminmenu[9]['title'] = _MI_STATISTICS_ADMENU10; +$adminmenu[9]['link'] = "admin/index.php?op=remote_addr"; +$adminmenu[10]['title'] = _MI_STATISTICS_ADMENU11; +$adminmenu[10]['link'] = "admin/index.php?op=refer"; +$adminmenu[11]['title'] = _MI_STATISTICS_ADMENU12; +$adminmenu[11]['link'] = "admin/index.php?op=userscreen"; + +?> Added: XoopsModules/statistics/releases/0.6/statistics/admin/upgrade.php =================================================================== --- XoopsModules/statistics/releases/0.6/statistics/admin/upgrade.php (rev 0) +++ XoopsModules/statistics/releases/0.6/statistics/admin/upgrade.php 2012-05-21 00:46:24 UTC (rev 9568) @@ -0,0 +1,282 @@ +<?php +// $Id$ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // + +include_once '../../../include/cp_header.php'; +xoops_cp_header(); + +function TableExists($tablename) +{ + global $xoopsDB; + $result=$xoopsDB->queryF("SHOW TABLES LIKE '$tablename'"); + return($xoopsDB->getRowsNum($result) > 0); +} + +function FieldExists($fieldname,$table) +{ + global $xoopsDB; + $result=$xoopsDB->queryF("SHOW COLUMNS FROM $table LIKE '$fieldname'"); + return($xoopsDB->getRowsNum($result) > 0); +} + +function AddField($field, $table) +{ + global $xoopsDB; + $result=$xoopsDB->queryF("ALTER TABLE " . $table . " ADD $field;"); + return $result; +} + +if (is_object($xoopsUser) && $xoopsUser->isAdmin($xoopsModule->mid())) +{ + $errors=0; + $warning = 0; + // 1) Create, if it does not exists + if(!TableExists($xoopsDB->prefix('stats_refer_blacklist'))) + { + + $sql = "CREATE TABLE ".$xoopsDB->prefix('stats_refer_blacklist')." ( + `id` INT( 3 ) NOT NULL AUTO_INCREMENT , + `referer` VARCHAR( 255 ) NOT NULL, + PRIMARY KEY (id) + ) ENGINE=MyISAM"; + + if (!$xoopsDB->queryF($sql)) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED1; + $errors++; + } + } + else + { + $sql = "TRUNCATE TABLE ".$xoopsDB->prefix('stats_refer_blacklist'); + + if (!$xoopsDB->queryF($sql)) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED10; + $errors++; + } + else + { + $sql = "INSERT INTO ".$xoopsDB->prefix('stats_refer_blacklist')." VALUES (1, 'a:101:{i:0;s:11:\"bergvall.nu\";i:1;" + ."s:15:\"allnetgoods.com\";i:2;s:23:\"100-online-gambling.com\";i:3;s:8:\"amkf.com\";i:4;s:18:\"keytomarketing.com\";i:5;s" + .":18:\"dental[A-Za-z0-9]*\";i:6;s:9:\"paint.com\";i:7;s:6:\"7h.com\";i:8;s:7:\"dad.com\";i:9;s:8:\"ds4a.com\";i:10;s" + .":7:\"9cy.com\";i:11;s:10:\"palajo.com\";i:12;s:9:\"imals.com\";i:13;s:15:\"bigsitecity.com\";i:14;s:8:\"hamj.com\";i:15;s" + .":9:\"iemkt.com\";i:16;s:11:\"sidelog.com\";i:17;s:8:\"zuvl.com\";i:18;s:9:\"dfing.com\";i:19;s:10:\"gasvac.com\";i:20;s" + .":10:\"gasvac.net\";i:21;s:9:\"lojka.com\";i:22;s:9:\"aubek.com\";i:23;s:12:\"maclenet.com\";i:24;s:15:\"gay[A-Za-z0-9]*\";i:25;s" + .":9:\"jsvan.com\";i:26;s:11:\"tellima.com\";i:27;s:7:\"jixx.de\";i:28;s:17:\"detox[A-Za-z0-9]*\";i:29;s:16" + .":\"drug[A-Za-z0-9]*\";i:30;s:15:\"buy[A-Za-z0-9]*\";i:31;s:15:\"ass[A-Za-z0-9]*\";i:32;s:7:\"move.to\";i:33;s:13" + .":\"fullspeed.com\";i:34;s:18:\"viagra[A-Za-z0-9]*\";i:35;s:14:\"givemepink.com\";i:36;s:17:\"sperm[A-Za-z0-9]*\";i:37;s:16" + .":\"fuck[A-Za-z0-9]*\";i:38;s:11:\"shemale.com\";i:39;s:16:\"cock[A-Za-z0-9]*\";i:40;s:7:\"jixx.de\";i:41;s:16" + .":\"plugherholes.com\";i:42;s:18:\"hentai[A-Za-z0-9]*\";i:43;s:9:\"pagina.de\";i:44;s:19:\"shemale[A-Za-z0-9]*\";i:45;s:17" + .":\"bitch[A-Za-z0-9]*\";i:46;s:19:\"bondage[A-Za-z0-9]*\";i:47;s:19:\"blowjob[A-Za-z0-9]*\";i:48;s:17:\"semen[A-Za-z0-9]*\";i:49;s:15" + .":\"cum[A-Za-z0-9]*\";i:50;s:19:\"bondage[A-Za-z0-9]*\";i:51;s:7:\"3333.ws\";i:52;s:15:\"ebony-white.com\";i:53;s:19" + .":\"thebest[A-Za-z0-9]*\";i:54;s:17:\"nice-[A-Za-z0-9]*\";i:55;s:15:\"ime[A-Za-z0-9]*\";i:56;s:14:\"bjsandwich.com\";i:57;s" + .":16:\"bdsm[A-Za-z0-9]*\";i:58;s:17:\"gooey[A-Za-z0-9]*\";i:59;s:11:\"21ebony.com\";i:60;s:6:\"olo.cc\";i:61;s:18" + .":\"18inch[A-Za-z0-9]*\";i:62;s:23:\"allinternal[A-Za-z0-9]*\";i:63;s:25:\"furniturefind[A-Za-z0-9]*\";i:64;s:17" + .":\"poker[A-Za-z0-9]*\";i:65;s:7:\"2rx.biz\";i:66;s:7:\"0me.com\";i:67;s:15:\"ads[A-Za-z0-9]*\";i:68;s:16:\"diet[A-Za-z0-9]*\";i" + .":69;s:20:\"ringtone[A-Za-z0-9]*\";i:70;s:8:\"a1a1.com\";i:71;s:8:\"b1b1.com\";i:72;s:16:\"shit[A-Za-z0-9]*\";i:73;s:15" + .":\"sex[A-Za-z0-9]*\";i:74;s:16:\"porn[A-Za-z0-9]*\";i:75;s:18:\"ambien[A-Za-z0-9]*\";i:76;s:6:\"get.to\";i:77;s:17" + .":\"xanax[A-Za-z0-9]*\";i:78;s:19:\"vicodin[A-Za-z0-9]*\";i:79;s:22:\"alprazolam[A-Za-z0-9]*\";i:80;s:5:\"go.to\";i:81;s:15" + .":\"circleofsex.net\";i:82;s:20:\"fioricet[A-Za-z0-9]*\";i:83;s:23:\"phentermine[A-Za-z0-9]*\";i:84;s:7:\"come.to\";i:85;s" + .":7:\"drop.to\";i:86;s:9:\"mysite.de\";i:87;s:23:\"hydrocodone[A-Za-z0-9]*\";i:88;s:6:\"hey.to\";i:89;s:18" + .":\"cialis[A-Za-z0-9]*\";i:90;s:23:\"bikinibabes[A-Za-z0-9]*\";i:91;s:19:\"wrongsideoftown.com\";i:92;s:8:\"babes.tv\";i:93" + .";s:6:\"v3.com\";i:94;s:16:\"myphotoalbum.com\";i:95;s:12:\"hotgames.com\";i:96;s:14:\"myblogsite.com\";i:97;s:15" + .":\"fortunecity.com\";i:98;s:14:\"dreambabes.com\";i:99;s:6:\"lol.to\";i:100;s:8:\"blogs.it\";}')"; + + if (!$xoopsDB->queryF($sql)) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED11; + $errors++; + } + } + } + + if(!TableExists($xoopsDB->prefix('stats_userscreen'))) + { + + $sql = "CREATE TABLE ".$xoopsDB->prefix('stats_userscreen')." ( + `id` INT( 1 ) NOT NULL, + `hits` INT( 5 ) NOT NULL, + PRIMARY KEY (id) + ) ENGINE=MyISAM"; + + if (!$xoopsDB->queryF($sql)) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED3; + $errors++; + } + else + { + $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('stats_userscreen')." VALUES (1, 0)"); + $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('stats_userscreen')." VALUES (2, 0)"); + $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('stats_userscreen')." VALUES (3, 0)"); + $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('stats_userscreen')." VALUES (4, 0)"); + $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('stats_userscreen')." VALUES (5, 0)"); + $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('stats_userscreen')." VALUES (6, 0)"); + $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('stats_userscreen')." VALUES (7, 0)"); + } + } + + if(!TableExists($xoopsDB->prefix('stats_usercolor'))) + { + $sql = "CREATE TABLE ".$xoopsDB->prefix('stats_usercolor')." ( + `id` INT( 1 ) NOT NULL, + `hits` INT( 5 ) NOT NULL, + PRIMARY KEY (id) + ) ENGINE=MyISAM"; + + if (!$xoopsDB->queryF($sql)) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED4; + $errors++; + } + else + { + $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('stats_usercolor')." VALUES (1, 0)"); + $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('stats_usercolor')." VALUES (2, 0)"); + $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('stats_usercolor')." VALUES (3, 0)"); + $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('stats_usercolor')." VALUES (4, 0)"); + $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix('stats_usercolor')." VALUES (5, 0)"); + } + } + + if(!TableExists($xoopsDB->prefix('stats_blockedyear'))) + { + $sql = "CREATE TABLE ".$xoopsDB->prefix('stats_blockedyear')." ( + `year` smallint(6) NOT NULL default '0', + `hits` bigint(20) NOT NULL default '0' + ) ENGINE=MyISAM"; + + if (!$xoopsDB->queryF($sql)) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED6; + $errors++; + } + } + + if(!TableExists($xoopsDB->prefix('stats_blockedmonth'))) + { + $sql = "CREATE TABLE ".$xoopsDB->prefix('stats_blockedmonth')." ( + `year` smallint(6) NOT NULL default '0', + `month` tinyint(4) NOT NULL default '0', + `hits` bigint(20) NOT NULL default '0' + ) ENGINE=MyISAM"; + + if (!$xoopsDB->queryF($sql)) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED7; + $errors++; + } + } + + if(!TableExists($xoopsDB->prefix('stats_blockeddate'))) + { + $sql = "CREATE TABLE ".$xoopsDB->prefix('stats_blockeddate')." ( + `year` smallint(6) NOT NULL default '0', + `month` tinyint(4) NOT NULL default '0', + `date` tinyint(4) NOT NULL default '0', + `hits` bigint(20) NOT NULL default '0' + ) ENGINE=MyISAM"; + + if (!$xoopsDB->queryF($sql)) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED8; + $errors++; + } + } + + if(!TableExists($xoopsDB->prefix('stats_blockedhour'))) + { + $sql = "CREATE TABLE ".$xoopsDB->prefix('stats_blockedhour')." ( + `year` smallint(6) NOT NULL default '0', + `month` tinyint(4) NOT NULL default '0', + `date` tinyint(4) NOT NULL default '0', + `hour` tinyint(4) NOT NULL default '0', + `hits` int(11) NOT NULL default '0' + ) ENGINE=MyISAM"; + + if (!$xoopsDB->queryF($sql)) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED9; + $errors++; + } + } + + // 2) Change some fields + if (!FieldExists('referpath',$xoopsDB->prefix('stats_refer'))) + { + $sql="ALTER TABLE ".$xoopsDB->prefix('stats_refer')." ADD `referpath` VARCHAR(150) NOT NULL"; + $result=$xoopsDB->queryF($sql); + if (!$result) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED2; + $warning++; + } + } + + $sql="INSERT INTO ".$xoopsDB->prefix('counter')." VALUES ('browser', 'Deepnet', 0)"; + $result=$xoopsDB->queryF($sql); + if (!$result) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED5; + $errors++; + } + $sql="INSERT INTO ".$xoopsDB->prefix('counter')." VALUES ('browser', 'Avant', 0)"; + $result=$xoopsDB->queryF($sql); + if (!$result) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED5; + $errors++; + } + $sql="INSERT INTO ".$xoopsDB->prefix('counter')." VALUES ('totalblocked', 'hits', 0 )"; + $result=$xoopsDB->queryF($sql); + if (!$result) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED5; + $errors++; + } + $sql="INSERT INTO ".$xoopsDB->prefix('counter')." VALUES ('blocked', 'bots', 0)"; + $result=$xoopsDB->queryF($sql); + if (!$result) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED5; + $errors++; + } + $sql="INSERT INTO ".$xoopsDB->prefix('counter')." VALUES ('blocked', 'referers', 0)"; + $result=$xoopsDB->queryF($sql); + if (!$result) { + echo '<br />' . _STATS_UPGRADEFAILED.' '._STATS_UPGRADEFAILED5; + $errors++; + } + + if (!FieldExists('ip',$xoopsDB->prefix('stats_refer'))) { + AddField("'ip' VARCHAR(20) NOT NULL",$xoopsDB->prefix('stats_refer')); + } + + // At the end, if there was errors, show them or redirect user to the module's upgrade page + if($errors) { + echo "<H1>" . _STATS_UPGRADEFAILED . "</H1>"; + echo "<br />" . _STATS_UPGRADEFAILED0; + } + else if($warning) { + echo "<H1>" . _STATS_UPGRADEFAILEDWWARN . "</H1>"; + echo "<br />" . _STATS_UPGRADECOMPLETEWITHWARN; + } + else + { + echo _STATS_UPGRADECOMPLETE." - <a href='".XOOPS_URL."/modules/system/admin.php?fct=modulesadmin&op=update&module=statistics'>"._AM_NEWS_UPDATEMODULE."</a>"; + } +} else { + printf("<H2>%s</H2>\n",_STATS_UPGR_ACCESS_ERROR); +} +xoops_cp_footer(); +?> Added: XoopsModules/statistics/releases/0.6/statistics/bhits.php =================================================================== --- XoopsModules/statistics/releases/0.6/statistics/bhits.php (rev 0) +++ XoopsModules/statistics/releases/0.6/statistics/bhits.php 2012-05-21 00:46:24 UTC (rev 9568) @@ -0,0 +1,85 @@ +<?php + +include_once "../../mainfile.php"; +$xoopsOption['template_main'] = 'hits.html'; +include XOOPS_ROOT_PATH."/header.php"; +include_once "include/statutils.php"; + +$now = date("d-m-Y"); +$dot = explode ("-",$now); +$nowdate = $dot[0]; +$nowmonth = $dot[1]; +$nowyear = $dot[2]; + +$xoopsTpl->assign('lang_stat_hitdetail', STATS_BHITDETAIL ); +$xoopsTpl->assign('lang_stat_thissite', $_SERVER['HTTP_HOST']); + +$result = $xoopsDB->queryF("select count from ".$xoopsDB->prefix("counter")." where type='totalblocked'"); +list($count) = $xoopsDB->fetchRow($result); +$xoopsTpl->assign('lang_stat_recvtotal', $count); + +$xoopsTpl->assign('lang_stat_werereceived', STATS_WERERECEIVED ); +$xoopsTpl->assign('lang_stat_pageviews', STATS_BLOCKEDREQUESTS ); +$xoopsTpl->assign('lang_stat_todayis', STATS_TODAYIS ); +$xoopsTpl->assign('lang_stat_nowdate', "$nowmonth/$nowdate/$nowyear" ); + +$result = $xoopsDB->queryF("select year, month, hits from ".$xoopsDB->prefix("stats_blockedmonth")." order by hits DESC limit 0,1"); +list($year, $month, $hits) = $xoopsDB->fetchRow($result); +$month = getMonth( $month ); +$xoopsTpl->assign('lang_stat_mostmonth', STATS_MOSTMONTH ); +$xoopsTpl->assign('lang_stat_mmdata', "$month $year ($hits ".STATS_HITS.")" ); + +$result = $xoopsDB->queryF("select year, month, date, hits from ".$xoopsDB->prefix("stat... [truncated message content] |
From: <ma...@us...> - 2012-05-20 19:28:13
|
Revision: 9567 http://xoops.svn.sourceforge.net/xoops/?rev=9567&view=rev Author: mageg Date: 2012-05-20 19:28:06 +0000 (Sun, 20 May 2012) Log Message: ----------- Update insertBreak in themform.php and modification in the system module Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/form/preference.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/modinfo.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/xoops_version.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php 2012-05-20 18:45:14 UTC (rev 9566) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php 2012-05-20 19:28:06 UTC (rev 9567) @@ -37,14 +37,14 @@ */ public function insertBreak($extra = '', $class = '') { - $class = ($class != '') ? " class='" . preg_replace('/[^A-Za-z0-9\s\s_-]/i', '', $class) . "'" : ''; + $class = ($class != '' ? " class='" . $class . "'" : ''); // Fix for $extra tag not showing if ($extra) { - $value = '<tr><td colspan="2" ' . $class . '>' . $extra . '</td></tr>'; + $value = '<div' . $class . '>' . $extra . '</div>'; $ele = new XoopsFormRaw($value); $this->addElement($ele); } else { - $value = '<tr><td colspan="2" ' . $class . '> </td></tr>'; + $value = '<div' . $class . '> </div>'; $ele = new XoopsFormRaw($value); $this->addElement($ele); } Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin.php 2012-05-20 18:45:14 UTC (rev 9566) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin.php 2012-05-20 19:28:06 UTC (rev 9567) @@ -120,7 +120,7 @@ $admin_dir = XOOPS_ROOT_PATH . '/modules/system/admin'; $dirlist = XoopsLists::getDirListAsArray($admin_dir); - $inactive_section = array('blocksadmin', 'groups', 'modulesadmin', 'preferences', 'tplsets'); + $inactive_section = array('blocksadmin', 'groups', 'modulesadmin', 'preferences', 'tplsets', 'plugins'); foreach ($dirlist as $directory) { if (file_exists($file = $admin_dir . '/' . $directory . '/xoops_version.php')) { require $file; @@ -150,19 +150,8 @@ $menu['used'] = true; } switch ($directory) { - case 'avatars': - $avatar_handler = $xoops->getHandlerAvatar(); - $avatar = $avatar_handler->getCount(); - $menu['infos'] = sprintf(_AM_SYSTEM_AVATAR_INFO, $avatar); - break; - case 'banners': - $banner_handler = $xoops->getHandlerBanner(); - $banner = $banner_handler->getCount(); - $menu['infos'] = sprintf(_AM_SYSTEM_BANNER_INFO, $banner); - break; case 'comments': $comment_handler = $xoops->getHandlerComment(); - ; $comment = $comment_handler->getCount(); $menu['infos'] = sprintf(_AM_SYSTEM_COMMENT_INFO, $comment); break; @@ -176,16 +165,6 @@ $img = $imgcat_handler->getCount(); $menu['infos'] = sprintf(_AM_SYSTEM_IMG_INFO, $img); break; - case 'smilies': - $smilies_Handler = $xoops->getHandlerSmilies(); - $smilies = $smilies_Handler->getCount(); - $menu['infos'] = sprintf(_AM_SYSTEM_SMILIES_INFO, $smilies); - break; - case 'userrank': - $userrank_Handler = $xoops->getHandlerRanks(); - $userrank = $userrank_Handler->getCount(); - $menu['infos'] = sprintf(_AM_SYSTEM_RANKS_INFO, $userrank); - break; case 'users': $member_handler = $xoops->getHandlerUser(); $member = $member_handler->getCount(); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/form/preference.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/form/preference.php 2012-05-20 18:45:14 UTC (rev 9566) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/form/preference.php 2012-05-20 19:28:06 UTC (rev 9567) @@ -343,7 +343,7 @@ case 'line_break': $myts = MyTextSanitizer::getInstance(); - $this->insertBreak('<center>' . $title . '</center>', $myts->htmlspecialchars($obj[$i]->getConfValueForOutput())); + $this->insertBreak($title, $myts->htmlspecialchars($obj[$i]->getConfValueForOutput())); break; case 'textbox': Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/modinfo.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/modinfo.php 2012-05-20 18:45:14 UTC (rev 9566) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/modinfo.php 2012-05-20 19:28:06 UTC (rev 9567) @@ -51,32 +51,23 @@ define("_MI_SYSTEM_PREFERENCE_BREADCRUMB","Breadcrumb"); define("_MI_SYSTEM_PREFERENCE_BREAK_ACTIVE","Active Section"); -define("_MI_SYSTEM_PREFERENCE_ACTIVE_AVATARS","Active Avatars"); -define("_MI_SYSTEM_PREFERENCE_ACTIVE_BANNERS","Active Banners"); + define("_MI_SYSTEM_PREFERENCE_ACTIVE_BLOCKSADMIN",""); define("_MI_SYSTEM_PREFERENCE_ACTIVE_COMMENTS","Active Comments"); define("_MI_SYSTEM_PREFERENCE_ACTIVE_FILEMANAGER","Active File Manager"); define("_MI_SYSTEM_PREFERENCE_ACTIVE_GROUPS",""); define("_MI_SYSTEM_PREFERENCE_ACTIVE_IMAGES","Active Images Manager"); -define("_MI_SYSTEM_PREFERENCE_ACTIVE_MAILUSERS","Active Mail Users"); define("_MI_SYSTEM_PREFERENCE_ACTIVE_MODULESADMIN",""); define("_MI_SYSTEM_PREFERENCE_ACTIVE_PREFERENCES",""); -define("_MI_SYSTEM_PREFERENCE_ACTIVE_SMILIES","Active Smilies"); define("_MI_SYSTEM_PREFERENCE_ACTIVE_TPLSETS",""); -define("_MI_SYSTEM_PREFERENCE_ACTIVE_USERRANK","Active User Ranks"); define("_MI_SYSTEM_PREFERENCE_ACTIVE_USERS","Active Users"); -define("_MI_SYSTEM_PREFERENCE_ACTIVE_MAINTENANCE","Active Maintenance"); define("_MI_SYSTEM_PREFERENCE_ACTIVE_PLUGINS","Plugins"); define("_MI_SYSTEM_PREFERENCE_ACTIVE_THEMES","Themes"); define("_MI_SYSTEM_PREFERENCE_BREAK_PAGER","Number of rows to display in the administration"); -define("_MI_SYSTEM_PREFERENCE_AVATARS_PAGER","Number of avatars to display per page"); -define("_MI_SYSTEM_PREFERENCE_BANNERS_PAGER","Number of banners to display per page"); define("_MI_SYSTEM_PREFERENCE_COMMENTS_PAGER","Number of comments to display per page"); define("_MI_SYSTEM_PREFERENCE_GROUPS_PAGER","Number of groups to display per page"); define("_MI_SYSTEM_PREFERENCE_IMAGES_PAGER","Number of images to display per page"); -define("_MI_SYSTEM_PREFERENCE_SMILIES_PAGER","Number of smilies to display per page"); -define("_MI_SYSTEM_PREFERENCE_USERRANKS_PAGER","Number of ranks to display per page"); define("_MI_SYSTEM_PREFERENCE_USERS_PAGER","Number of users to display per page"); define("_MI_SYSTEM_PREFERENCE_BREAK_EDITOR","Editor Settings"); @@ -89,5 +80,4 @@ define("_MI_SYSTEM_PREFERENCE_ANONPOST",""); define("_MI_SYSTEM_PREFERENCE_REDIRECT",""); -define("_MI_SYSTEM_PREFERENCE_JQUERY_THEME", "jQuery theme"); -?> \ No newline at end of file +define("_MI_SYSTEM_PREFERENCE_JQUERY_THEME", "jQuery theme"); \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/xoops_version.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/xoops_version.php 2012-05-20 18:45:14 UTC (rev 9566) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/xoops_version.php 2012-05-20 19:28:06 UTC (rev 9567) @@ -197,7 +197,7 @@ $modversion['config'][$i]['description'] = ''; $modversion['config'][$i]['formtype'] = 'line_break'; $modversion['config'][$i]['valuetype'] = 'textbox'; -$modversion['config'][$i]['default'] = 'head'; +$modversion['config'][$i]['default'] = 'textcenter'; $i++; $modversion['config'][$i]['name'] = 'usetips'; $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_TIPS'; @@ -241,22 +241,8 @@ $modversion['config'][$i]['description'] = ''; $modversion['config'][$i]['formtype'] = 'line_break'; $modversion['config'][$i]['valuetype'] = 'textbox'; -$modversion['config'][$i]['default'] = 'head'; +$modversion['config'][$i]['default'] = 'txtcenter'; $i++; -$modversion['config'][$i]['name'] = 'active_avatars'; -$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_AVATARS'; -$modversion['config'][$i]['description'] = ''; -$modversion['config'][$i]['formtype'] = 'yesno'; -$modversion['config'][$i]['valuetype'] = 'int'; -$modversion['config'][$i]['default'] = '1'; -$i++; -$modversion['config'][$i]['name'] = 'active_banners'; -$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_BANNERS'; -$modversion['config'][$i]['description'] = ''; -$modversion['config'][$i]['formtype'] = 'yesno'; -$modversion['config'][$i]['valuetype'] = 'int'; -$modversion['config'][$i]['default'] = '1'; -$i++; $modversion['config'][$i]['name'] = 'active_blocksadmin'; $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_BLOCKSADMIN'; $modversion['config'][$i]['description'] = ''; @@ -292,20 +278,6 @@ $modversion['config'][$i]['valuetype'] = 'int'; $modversion['config'][$i]['default'] = '1'; $i++; -$modversion['config'][$i]['name'] = 'active_mailusers'; -$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_MAILUSERS'; -$modversion['config'][$i]['description'] = ''; -$modversion['config'][$i]['formtype'] = 'yesno'; -$modversion['config'][$i]['valuetype'] = 'int'; -$modversion['config'][$i]['default'] = '1'; -$i++; -$modversion['config'][$i]['name'] = 'active_maintenance'; -$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_MAINTENANCE'; -$modversion['config'][$i]['description'] = ''; -$modversion['config'][$i]['formtype'] = 'yesno'; -$modversion['config'][$i]['valuetype'] = 'int'; -$modversion['config'][$i]['default'] = '1'; -$i++; $modversion['config'][$i]['name'] = 'active_modulesadmin'; $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_MODULESADMIN'; $modversion['config'][$i]['description'] = ''; @@ -320,13 +292,6 @@ $modversion['config'][$i]['valuetype'] = 'int'; $modversion['config'][$i]['default'] = 1; $i++; -$modversion['config'][$i]['name'] = 'active_smilies'; -$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_SMILIES'; -$modversion['config'][$i]['description'] = ''; -$modversion['config'][$i]['formtype'] = 'yesno'; -$modversion['config'][$i]['valuetype'] = 'int'; -$modversion['config'][$i]['default'] = '1'; -$i++; $modversion['config'][$i]['name'] = 'active_tplsets'; $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_TPLSETS'; $modversion['config'][$i]['description'] = ''; @@ -334,13 +299,6 @@ $modversion['config'][$i]['valuetype'] = 'int'; $modversion['config'][$i]['default'] = 1; $i++; -$modversion['config'][$i]['name'] = 'active_userrank'; -$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_USERRANK'; -$modversion['config'][$i]['description'] = ''; -$modversion['config'][$i]['formtype'] = 'yesno'; -$modversion['config'][$i]['valuetype'] = 'int'; -$modversion['config'][$i]['default'] = '1'; -$i++; $modversion['config'][$i]['name'] = 'active_users'; $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_USERS'; $modversion['config'][$i]['description'] = ''; @@ -351,9 +309,9 @@ $modversion['config'][$i]['name'] = 'active_plugins'; $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_PLUGINS'; $modversion['config'][$i]['description'] = ''; -$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['formtype'] = 'hidden'; $modversion['config'][$i]['valuetype'] = 'int'; -$modversion['config'][$i]['default'] = '1'; +$modversion['config'][$i]['default'] = 1; $i++; $modversion['config'][$i]['name'] = 'active_themes'; $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_THEMES'; @@ -367,22 +325,8 @@ $modversion['config'][$i]['description'] = ''; $modversion['config'][$i]['formtype'] = 'line_break'; $modversion['config'][$i]['valuetype'] = 'textbox'; -$modversion['config'][$i]['default'] = 'head'; +$modversion['config'][$i]['default'] = 'txtcenter'; $i++; -$modversion['config'][$i]['name'] = 'avatars_pager'; -$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_AVATARS_PAGER'; -$modversion['config'][$i]['description'] = ''; -$modversion['config'][$i]['formtype'] = 'textbox'; -$modversion['config'][$i]['valuetype'] = 'int'; -$modversion['config'][$i]['default'] = 10; -$i++; -$modversion['config'][$i]['name'] = 'banners_pager'; -$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_BANNERS_PAGER'; -$modversion['config'][$i]['description'] = ''; -$modversion['config'][$i]['formtype'] = 'textbox'; -$modversion['config'][$i]['valuetype'] = 'int'; -$modversion['config'][$i]['default'] = 10; -$i++; $modversion['config'][$i]['name'] = 'comments_pager'; $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_COMMENTS_PAGER'; $modversion['config'][$i]['description'] = ''; @@ -404,20 +348,6 @@ $modversion['config'][$i]['valuetype'] = 'int'; $modversion['config'][$i]['default'] = 15; $i++; -$modversion['config'][$i]['name'] = 'smilies_pager'; -$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_SMILIES_PAGER'; -$modversion['config'][$i]['description'] = ''; -$modversion['config'][$i]['formtype'] = 'textbox'; -$modversion['config'][$i]['valuetype'] = 'int'; -$modversion['config'][$i]['default'] = 20; -$i++; -$modversion['config'][$i]['name'] = 'userranks_pager'; -$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_USERRANKS_PAGER'; -$modversion['config'][$i]['description'] = ''; -$modversion['config'][$i]['formtype'] = 'textbox'; -$modversion['config'][$i]['valuetype'] = 'int'; -$modversion['config'][$i]['default'] = 20; -$i++; $modversion['config'][$i]['name'] = 'users_pager'; $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_USERS_PAGER'; $modversion['config'][$i]['description'] = ''; @@ -430,7 +360,7 @@ $modversion['config'][$i]['description'] = ''; $modversion['config'][$i]['formtype'] = 'line_break'; $modversion['config'][$i]['valuetype'] = 'textbox'; -$modversion['config'][$i]['default'] = 'head'; +$modversion['config'][$i]['default'] = 'txtcenter'; $i++; $editors = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/class/xoopseditor'); $modversion['config'][$i]['name'] = 'blocks_editor'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-05-20 18:45:20
|
Revision: 9566 http://xoops.svn.sourceforge.net/xoops/?rev=9566&view=rev Author: mageg Date: 2012-05-20 18:45:14 +0000 (Sun, 20 May 2012) Log Message: ----------- Change in the plugin maintenance. For the part dump modules and plugins are displayed if they have a sql table. Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/form/maintenance.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/form/maintenance.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/form/maintenance.php 2012-05-20 16:39:23 UTC (rev 9565) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/form/maintenance.php 2012-05-20 18:45:14 UTC (rev 9566) @@ -80,12 +80,20 @@ $select_tables1->addOptionArray($maintenance->displayTables(true)); $dump_tray->addElement($select_tables1, false); $ele = new XoopsFormSelect(' ' . _AM_MAINTENANCE_OR . ' ', 'dump_modules', '', 7, true); - /* @var $module_handler XoopsModuleHandler */ + $module_list = XoopsLists::getModulesList(); $module_handler = $xoops->getHandlerModule(); - $criteria = new CriteriaCompo(new Criteria('hasmain', 1)); - $criteria->add(new Criteria('isactive', 1)); - $moduleslist = $module_handler->getNameList($criteria, true); - $ele->addOptionArray($moduleslist); + foreach ($module_list as $file) { + if (file_exists(XOOPS_ROOT_PATH . '/modules/' . $file . '/xoops_version.php')) { + clearstatcache(); + $file = trim($file); + $module = $module_handler->create(); + $module->loadInfo($file); + if ($module->getInfo('tables') && $xoops->isActiveModule($file)) { + $ele->addOption($module->getInfo('dirname'), $module->getInfo('name')); + } + unset($module); + } + } $dump_tray->addElement($ele); $this->addElement($dump_tray); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <for...@us...> - 2012-05-20 16:39:29
|
Revision: 9565 http://xoops.svn.sourceforge.net/xoops/?rev=9565&view=rev Author: forxoops Date: 2012-05-20 16:39:23 +0000 (Sun, 20 May 2012) Log Message: ----------- change constant language error Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/menu.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/menu.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/menu.php 2012-05-20 15:17:23 UTC (rev 9564) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/menu.php 2012-05-20 16:39:23 UTC (rev 9565) @@ -34,6 +34,6 @@ $adminmenu[$i]['link'] = "admin/dump.php"; $adminmenu[$i]['icon'] = 'dump.png'; $i++; -$adminmenu[$i]['title'] = _MI_SMILIES_ABOUT; +$adminmenu[$i]['title'] = _MI_MAINTENANCE_ABOUT; $adminmenu[$i]['link'] = 'admin/about.php'; $adminmenu[$i]['icon'] = 'about.png'; \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ce...@us...> - 2012-05-20 15:17:30
|
Revision: 9564 http://xoops.svn.sourceforge.net/xoops/?rev=9564&view=rev Author: cesag Date: 2012-05-20 15:17:23 +0000 (Sun, 20 May 2012) Log Message: ----------- Updated by comparing the corrected files in English (Smallworld). Modified Paths: -------------- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/help/help.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/js/jquery.countdown.js XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_attencionneeded.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_complaint.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_newcomment.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_register.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/help/help.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/jquery.countdown.js XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_attencionneeded.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_complaint.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_newcomment.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_register.html Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/help/help.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/help/help.html 2012-05-20 14:18:58 UTC (rev 9563) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/help/help.html 2012-05-20 15:17:23 UTC (rev 9564) @@ -32,6 +32,7 @@ <li>S'il n'y a aucune erreur jQuery, videz le cache -> mettez à jour le module Smallworld dans la partie administration des modules.</li> <li>Si la page est encore blanche, allez au module Protector -> Préférences et écrivez smallworld dans le champ "Modules à exclure du contrôle DoS (F5)/Crawler".</li> </ul> + <br /> <h4 class="odd">Tutoriel</h4> <p class="even">Il n'y a aucun tutoriel disponible pour le moment</p> <h4 class="odd">Questions</h4> Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/js/jquery.countdown.js =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/js/jquery.countdown.js 2012-05-20 14:18:58 UTC (rev 9563) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/js/jquery.countdown.js 2012-05-20 15:17:23 UTC (rev 9564) @@ -20,4 +20,4 @@ whichLabels: null, timeSeparator: ':', isRTL: false}; xoops_smallworld.countdown.setDefaults(xoops_smallworld.countdown.regional['fr']); -})(jQuery); +}); Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_attencionneeded.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_attencionneeded.html 2012-05-20 14:18:58 UTC (rev 9563) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_attencionneeded.html 2012-05-20 15:17:23 UTC (rev 9564) @@ -5,15 +5,16 @@ a {text-decoration: none;color: #1f1f1f;} a:hover {text-decoration: none; color: #5d8ba6;} h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} - img.left {top: 0;float:left;display: block;margin:0;padding:0;margin-right:20px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} - #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0 1px 2px 0 #b7b7b7;-moz-box-shadow: 0 1px 2px 0 #b7b7b7;box-shadow: 0 1px 2px 0 #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist p {margin: 0;} #newslist h4 {margin-bottom: 8px;line-height: 1;} #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} #news h2 {float: left;margin-top: 10px;} - .greeting {margin:0 0 0 25px;} - .infotext {margin:10px 0 0 25px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} .title2 {margin-bottom: 12px;margin-top: 2px;} .title {margin-bottom: 12px;margin-top: 4px;} </style> Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_complaint.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_complaint.html 2012-05-20 14:18:58 UTC (rev 9563) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_complaint.html 2012-05-20 15:17:23 UTC (rev 9564) @@ -5,15 +5,16 @@ a {text-decoration: none;color: #1f1f1f;} a:hover {text-decoration: none; color: #5d8ba6;} h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} - img.left {top: 0;float:left;display: block;margin:0;padding:0;margin-right:20px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} - #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0 1px 2px 0 #b7b7b7;-moz-box-shadow: 0 1px 2px 0 #b7b7b7;box-shadow: 0 1px 2px 0 #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist p {margin: 0;} #newslist h4 {margin-bottom: 8px;line-height: 1;} #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} #news h2 {float: left;margin-top: 10px;} - .greeting {margin:0 0 0 25px;} - .infotext {margin:10px 0 0 25px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} .title2 {margin-bottom: 12px;margin-top: 2px;} .title {margin-bottom: 12px;margin-top: 4px;} </style> Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_newcomment.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_newcomment.html 2012-05-20 14:18:58 UTC (rev 9563) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_newcomment.html 2012-05-20 15:17:23 UTC (rev 9564) @@ -5,15 +5,16 @@ a {text-decoration: none;color: #1f1f1f;} a:hover {text-decoration: none; color: #5d8ba6;} h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} - img.left {top: 0;float:left;display: block;margin:0;padding:0;margin-right:20px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} - #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0 1px 2px 0 #b7b7b7;-moz-box-shadow: 0 1px 2px 0 #b7b7b7;box-shadow: 0 1px 2px 0 #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist p {margin: 0;} #newslist h4 {margin-bottom: 8px;line-height: 1;} #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} #news h2 {float: left;margin-top: 10px;} - .greeting {margin:0 0 0 25px;} - .infotext {margin:10px 0 0 25px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} .title2 {margin-bottom: 12px;margin-top: 2px;} .title {margin-bottom: 12px;margin-top: 4px;} </style> Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_register.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_register.html 2012-05-20 14:18:58 UTC (rev 9563) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_register.html 2012-05-20 15:17:23 UTC (rev 9564) @@ -7,13 +7,14 @@ h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} - #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0 1px 2px 0px #b7b7b7;-moz-box-shadow: 0 1px 2px 0px #b7b7b7;box-shadow: 0 1px 2px 0 #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist p {margin: 0;} #newslist h4 {margin-bottom: 8px;line-height: 1;} #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} #news h2 {float: left;margin-top: 10px;} - .greeting {margin:0 0 0 25px;} - .infotext {margin:10px 0 0 25px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} .title2 {margin-bottom: 12px;margin-top: 2px;} .title {margin-bottom: 12px;margin-top: 4px;} </style> Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/help/help.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/help/help.html 2012-05-20 14:18:58 UTC (rev 9563) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/help/help.html 2012-05-20 15:17:23 UTC (rev 9564) @@ -32,6 +32,7 @@ <li>S'il n'y a aucune erreur jQuery, videz le cache -> mettez à jour le module Smallworld dans la partie administration des modules.</li> <li>Si la page est encore blanche, allez au module Protector -> Préférences et écrivez smallworld dans le champ "Modules à exclure du contrôle DoS (F5)/Crawler".</li> </ul> + <br /> <h4 class="odd">Tutoriel</h4> <p class="even">Il n'y a aucun tutoriel disponible pour le moment</p> <h4 class="odd">Questions</h4> Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/jquery.countdown.js =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/jquery.countdown.js 2012-05-20 14:18:58 UTC (rev 9563) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/jquery.countdown.js 2012-05-20 15:17:23 UTC (rev 9564) @@ -20,4 +20,4 @@ whichLabels: null, timeSeparator: ':', isRTL: false}; xoops_smallworld.countdown.setDefaults(xoops_smallworld.countdown.regional['fr']); -})(jQuery); +}); Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_attencionneeded.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_attencionneeded.html 2012-05-20 14:18:58 UTC (rev 9563) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_attencionneeded.html 2012-05-20 15:17:23 UTC (rev 9564) @@ -5,15 +5,16 @@ a {text-decoration: none;color: #1f1f1f;} a:hover {text-decoration: none; color: #5d8ba6;} h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} - img.left {top: 0;float:left;display: block;margin:0;padding:0;margin-right:20px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} - #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0 1px 2px 0 #b7b7b7;-moz-box-shadow: 0 1px 2px 0 #b7b7b7;box-shadow: 0 1px 2px 0 #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist p {margin: 0;} #newslist h4 {margin-bottom: 8px;line-height: 1;} #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} #news h2 {float: left;margin-top: 10px;} - .greeting {margin:0 0 0 25px;} - .infotext {margin:10px 0 0 25px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} .title2 {margin-bottom: 12px;margin-top: 2px;} .title {margin-bottom: 12px;margin-top: 4px;} </style> Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_complaint.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_complaint.html 2012-05-20 14:18:58 UTC (rev 9563) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_complaint.html 2012-05-20 15:17:23 UTC (rev 9564) @@ -5,15 +5,16 @@ a {text-decoration: none;color: #1f1f1f;} a:hover {text-decoration: none; color: #5d8ba6;} h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} - img.left {top: 0;float:left;display: block;margin:0;padding:0;margin-right:20px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} - #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0 1px 2px 0 #b7b7b7;-moz-box-shadow: 0 1px 2px 0 #b7b7b7;box-shadow: 0 1px 2px 0 #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist p {margin: 0;} #newslist h4 {margin-bottom: 8px;line-height: 1;} #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} #news h2 {float: left;margin-top: 10px;} - .greeting {margin:0 0 0 25px;} - .infotext {margin:10px 0 0 25px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} .title2 {margin-bottom: 12px;margin-top: 2px;} .title {margin-bottom: 12px;margin-top: 4px;} </style> Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_newcomment.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_newcomment.html 2012-05-20 14:18:58 UTC (rev 9563) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_newcomment.html 2012-05-20 15:17:23 UTC (rev 9564) @@ -5,15 +5,16 @@ a {text-decoration: none;color: #1f1f1f;} a:hover {text-decoration: none; color: #5d8ba6;} h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} - img.left {top: 0;float:left;display: block;margin:0;padding:0;margin-right:20px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} - #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0 1px 2px 0 #b7b7b7;-moz-box-shadow: 0 1px 2px 0 #b7b7b7;box-shadow: 0 1px 2px 0 #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist p {margin: 0;} #newslist h4 {margin-bottom: 8px;line-height: 1;} #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} #news h2 {float: left;margin-top: 10px;} - .greeting {margin:0 0 0 25px;} - .infotext {margin:10px 0 0 25px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} .title2 {margin-bottom: 12px;margin-top: 2px;} .title {margin-bottom: 12px;margin-top: 4px;} </style> Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_register.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_register.html 2012-05-20 14:18:58 UTC (rev 9563) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_register.html 2012-05-20 15:17:23 UTC (rev 9564) @@ -7,13 +7,14 @@ h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} - #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0 1px 2px 0px #b7b7b7;-moz-box-shadow: 0 1px 2px 0px #b7b7b7;box-shadow: 0 1px 2px 0 #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + #newslist p {margin: 0;} #newslist h4 {margin-bottom: 8px;line-height: 1;} #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} #news h2 {float: left;margin-top: 10px;} - .greeting {margin:0 0 0 25px;} - .infotext {margin:10px 0 0 25px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} .title2 {margin-bottom: 12px;margin-top: 2px;} .title {margin-bottom: 12px;margin-top: 4px;} </style> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ce...@us...> - 2012-05-20 14:19:08
|
Revision: 9563 http://xoops.svn.sourceforge.net/xoops/?rev=9563&view=rev Author: cesag Date: 2012-05-20 14:18:58 +0000 (Sun, 20 May 2012) Log Message: ----------- Language corrections(Smallworld module) Modified Paths: -------------- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/admin.php XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/help/help.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/js/jquery.ui.datepicker-language.js XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/js/variables.js XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_attencionneeded.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_complaint.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_newcomment.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_register.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/main.php XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/modinfo.php XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/admin.php XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/help/help.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/jquery.countdown.js XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/jquery.ui.datepicker-language.js XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/variables.js XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_attencionneeded.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_complaint.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_newcomment.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/mailTpl/mail_register.html XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/main.php XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/modinfo.php Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/admin.php =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/admin.php 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/admin.php 2012-05-20 14:18:58 UTC (rev 9563) @@ -79,4 +79,14 @@ define('_AM_SMALLWORLD_STATS_IMG','Icône'); define('_AM_SMALLWORLD_SP','<img style="margin: 0pt 5px 0pt 0pt; vertical-align: middle;" src="../images/sp.png" height="30px" width="30px"> <a style="position: relative; margin: 0px;vertical-align: middle;" href="javascript:void(0);" id="smallworldDonate">Si vous aimez ce module et le travail effectué, vous pouvez me garder éveillé en m\'offrant un café</a>'); -define('_AM_SMALLWORLD_FOOTER', "<div class='center smallsmall italic pad5'>Le module SmallWorld est suivi par <a class='tooltip' rel='external' href='http://culex.dk/' title='Visitez mon site internet'>Culex</a></div>"); \ No newline at end of file +define('_AM_SMALLWORLD_FOOTER', "<div class='center smallsmall italic pad5'>Le module SmallWorld est suivi par <a class='tooltip' rel='external' href='http://culex.dk/' title='Visitez mon site internet'>Culex</a></div>"); + +/** + * @translation Communauté Francophone des Utilisateurs de Xoops + * @specification _LANGCODE: fr + * @specification _CHARSET: UTF-8 sans Bom + * + * @Translator Cesag + * + * @version $Id $ +**/ \ No newline at end of file Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/help/help.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/help/help.html 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/help/help.html 2012-05-20 14:18:58 UTC (rev 9563) @@ -1,75 +1,40 @@ <div id="help-template" class="outer"> - <h1 class="head">Aide : - <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/smallworld/admin/index.php" - title="Retour à l'administration de SmallWorld"> SmallWorld - <img src="<{xoAdminIcons home.png}>" - alt="Retour à l'administration de SmallWorld"/> - </a></h1> - - <h4 class="odd">Description</h4> - - <p class="even">Smallworld est un système de Réseau Social. Inspiré par les didacticiels de Srinivas Tamada sur Facebook - script. Le système de base a été réécrit, adapté et développé en grande partie par Culex pour Xoops. - Le module est doté de votes "j'aime"/"je n'aime pas", signets, système de murs, gallerie d'images et utilise Xim (module de discussion) si il est installé. - L'administration propose la suppression des utilisateurs, l'interdiction d'utilisateurs pendant un temps. Un compte à rebours est affiché côté utilisateur pour préciser quand il peut à nouveau utiliser son compte. - Il y a beaucoup d'autres options. Le module est entièrement compatible pour la version XOOPS 2.5.0 et supérieur.<br/> <br/> - Smallworld est distribué sous les termes de la licence publique générale de GNU (GPL) et est libre d'être utilisé et modifié. Il - est libre de redistribution tant que vous respectez les termes de la distribution GPL.</p> - - <h4 class="odd">Installation/Désinstallation</h4> <br/> - - Aucune mesure spéciale n'est nécessaire, suivez la procédure d'installation standard - extraire le dossier smallworld dans le - répertoire .../modules. Installez le module dans la partie administration -> Modules.<br/> <br/> - - Vérifiez si la version téléchargée de Smallworld est la dernière version réalisée. - Activez les cookies et le JavaScript de votre navigateur.<br/> <br/> - <b>Installation chez un hébergeur</b> - <ul> - <li>Téléchargez le dossier dézippé Smallworld vers votre répertoire de module.</li> - <li>Installation à l'aide de l'installation de module XOOPS comme toute autre installation de module.</li> + <h1 class="head">Aide : <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/smallworld/admin/index.php" title="Retour à l'administration de SmallWorld"> SmallWorld <img src="<{xoAdminIcons home.png}>" alt="Retour à l'administration de SmallWorld"/></a></h1> + <h4 class="odd">Description</h4> + <p class="even">Smallworld est un système de Réseau Social. Inspiré par les didacticiels de Srinivas Tamada sur Facebook script. Le système de base a été réécrit, adapté et développé en grande partie par Culex pour Xoops. Le module est doté de votes "j'aime"/"je n'aime pas", signets, système de murs, gallerie d'images et utilise Xim (module de discussion) si il est installé. L'administration propose la suppression des utilisateurs, l'interdiction d'utilisateurs pendant un temps. Un compte à rebours est affiché côté utilisateur pour préciser quand il peut à nouveau utiliser son compte. Il y a beaucoup d'autres options. Le module est entièrement compatible pour la version XOOPS 2.5.0 et supérieur.</p> + <p>Smallworld est distribué sous les termes de la licence publique générale de GNU (GPL) et est libre d'être utilisé et modifié. Il est libre de redistribution tant que vous respectez les termes de la distribution GPL.</p> + <h4 class="odd">Installation/Désinstallation</h4> + <p>Aucune mesure spéciale n'est nécessaire, suivez la procédure d'installation standard - extraire le dossier smallworld dans le répertoire .../modules. Installez le module dans la partie administration -> Modules.</p> + <p>Vérifiez si la version téléchargée de Smallworld est la dernière version réalisée. + Activez les cookies et le JavaScript de votre navigateur.</p> + <h5>Installation chez un hébergeur</h5> + <ul> + <li>Téléchargez le dossier dézippé Smallworld vers votre répertoire de module.</li> + <li>Installation à l'aide de l'installation de module XOOPS comme toute autre installation de module.</li> <li>Rendez le block visible pour les groupes d'utilisateurs que vous souhaitez (administrateurs/modérateurs etc...).</li> - </ul> - - <b>Mise à niveau depuis une version précédente</b> - <ul> - <li>Assurez-vous que vous utilisez la version la plus récente</li> - <li>Lisez le fichier "readme.txt" dans le dossier "docs"</li> - <li>Faire éventuellement une sauvegarde de vos tables</li> - </ul> - Des instructions détaillées sur l'installation de modules sont disponibles dans le - <a href="http://goo.gl/adT2i">Manuel des opérations de XOOPS</a> <br/> <br/> - - - <h4 class="odd">Opérations</h4> <br/> - - Des instructions détaillées sur la configuration des droits d'accès pour les groupes d'utilisateurs sont disponibles dans le - <a href="http://goo.gl/adT2i">Manuel des opérations de XOOPS</a><br/> <br/> - - <h4 class="odd">Résolution de problèmes</h4> <br/> - - <b>J'obtiens une page blanche, je ne peux pas cliquer sur le nom d'utilisateur, le bloc n'est pas visible...</b><br/> <br/> - <ul> - <li>Assurez-vous que votre version de Xoops est supérieure à 2.5.0. Les anciennes versions de Xoops n'ont pas les prérequis nécessaires. - </li> - <li>Activez le débogage (mode debug) et regardez si des erreurs s'affichent.</li> - <li>À l'aide de FireFox, cliquez avec le bouton droit sur l'écran, choisissez "inspecter l'élément", choisissez la console dans les onglets et vérifiez - s'il y a des erreurs. - </li> - <li>Si il n'y a pas d'erreurs, utilisez Firebug (cliquez droit -> inspecter l'élément -> console) et regardez si il y a des erreurs jQuery. - </li> - <li>S'il n'y a aucune erreur jQuery, videz le cache -> mettez à jour le module Smallworld dans la partie administration des modules.</li> - <li>Si la page est encore blanche, allez au module Protector -> Préférences et écrivez smallworld dans le champ - "Modules à exclure du contrôle DoS (F5)/Crawler". - </li> - </ul> - <br/> - - <h4 class="odd">Tutoriel</h4> - - <p class="even">Il n'y a aucun tutoriel disponible pour le moment</p> - - <h4 class="odd">Questions</h4> - - <p class="even">Si vous rencontrez encore des erreurs ou avez des questions, veuillez les publier sur le <a href="http://www.frxoops.org/modules/newbb">Forum de support Xoops</a></p> + </ul> + <h5>Mise à niveau depuis une version précédente</h5> + <ul> + <li>Assurez-vous que vous utilisez la version la plus récente</li> + <li>Lisez le fichier "readme.txt" dans le dossier "docs"</li> + <li>Faire éventuellement une sauvegarde de vos tables</li> + </ul> + <p>Des instructions détaillées sur l'installation de modules sont disponibles dans le <a href="http://goo.gl/adT2i">Manuel des opérations de XOOPS</a> </p> + <h4 class="odd">Opérations</h4> + <p>Des instructions détaillées sur la configuration des droits d'accès pour les groupes d'utilisateurs sont disponibles dans le <a href="http://goo.gl/adT2i" rel="external">Manuel des opérations de XOOPS</a></p> + <h4 class="odd">Résolution de problèmes</h4> + <h5>J'obtiens une page blanche, je ne peux pas cliquer sur le nom d'utilisateur, le bloc n'est pas visible...</h5> + <ul> + <li>Assurez-vous que votre version de Xoops est supérieure à 2.5.0. Les anciennes versions de Xoops n'ont pas les prérequis nécessaires.</li> + <li>Activez le débogage (mode debug) et regardez si des erreurs s'affichent.</li> + <li>À l'aide de FireFox, cliquez avec le bouton droit sur l'écran, choisissez "inspecter l'élément", choisissez la console dans les onglets et vérifiez s'il y a des erreurs.</li> + <li>Si il n'y a pas d'erreurs, utilisez Firebug (cliquez droit -> inspecter l'élément -> console) et regardez si il y a des erreurs jQuery.</li> + <li>S'il n'y a aucune erreur jQuery, videz le cache -> mettez à jour le module Smallworld dans la partie administration des modules.</li> + <li>Si la page est encore blanche, allez au module Protector -> Préférences et écrivez smallworld dans le champ "Modules à exclure du contrôle DoS (F5)/Crawler".</li> + </ul> + <h4 class="odd">Tutoriel</h4> + <p class="even">Il n'y a aucun tutoriel disponible pour le moment</p> + <h4 class="odd">Questions</h4> + <p class="even">Si vous rencontrez encore des erreurs ou avez des questions, veuillez les publier sur le <a href="http://www.frxoops.org/modules/newbb" rel="external">Forum de support Xoops</a></p> <!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> </div> \ No newline at end of file Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/js/jquery.ui.datepicker-language.js =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/js/jquery.ui.datepicker-language.js 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/js/jquery.ui.datepicker-language.js 2012-05-20 14:18:58 UTC (rev 9563) @@ -21,4 +21,4 @@ showMonthAfterYear: false, yearSuffix: ''}; xoops_smallworld.datepicker.setDefaults(xoops_smallworld.datepicker.regional['fr-FR']); -}); +}); \ No newline at end of file Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/js/variables.js =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/js/variables.js 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/js/variables.js 2012-05-20 14:18:58 UTC (rev 9563) @@ -4,7 +4,7 @@ var language = 'fr'; var countryshort = 'fr'; -var countrylong = 'france'; +var countrylong = 'France'; var _smallworldContinueToReg = "S'enregistrer"; var _smallworldCancel = "Annuler"; Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_attencionneeded.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_attencionneeded.html 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_attencionneeded.html 2012-05-20 14:18:58 UTC (rev 9563) @@ -5,29 +5,28 @@ a {text-decoration: none;color: #1f1f1f;} a:hover {text-decoration: none; color: #5d8ba6;} h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} - img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} + img.left {top: 0;float:left;display: block;margin:0;padding:0;margin-right:20px;} #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} - #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} - + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0 1px 2px 0 #b7b7b7;-moz-box-shadow: 0 1px 2px 0 #b7b7b7;box-shadow: 0 1px 2px 0 #b7b7b7;padding: 15px;display: block;overflow: hidden;} #newslist p {margin: 0;} #newslist h4 {margin-bottom: 8px;line-height: 1;} #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} #news h2 {float: left;margin-top: 10px;} - .greeting {margin:0px 0px 0px 25px;} - .infotext {margin:10px 0px 0px 25px;} + .greeting {margin:0 0 0 25px;} + .infotext {margin:10px 0 0 25px;} .title2 {margin-bottom: 12px;margin-top: 2px;} .title {margin-bottom: 12px;margin-top: 4px;} </style> </head> <body> -<!-- Début du format conteneur (wrapper en anglais) --> - <div id="wrapper"> - <br> - <p class="greeting">Bonjour <{$toUser}>,</p> - <p class="infotext">Mise à jour le <{$date}>. Vérifiez votre profil sur <{$sitename}>.<br><br>Cliquez sur le lien ci-dessous pour aller directement à la page d'accueil : <br><br><{$link}></p> - <br> - </div> + <!-- Début du format conteneur (wrapper en anglais) --> + <div id="wrapper"> + <br /> + <p class="greeting">Bonjour <{$toUser}>,</p> + <p class="infotext">Mise à jour le <{$date}>. Vérifiez votre profil sur <{$sitename}>.<br /><br />Cliquez sur le lien ci-dessous pour aller directement à la page d'accueil : <br /><br /><{$link}></p> + <br /> + </div> <!-- Fin du format conteneur --> -<!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> </body> -</html> \ No newline at end of file +</html> +<!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> \ No newline at end of file Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_complaint.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_complaint.html 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_complaint.html 2012-05-20 14:18:58 UTC (rev 9563) @@ -5,43 +5,42 @@ a {text-decoration: none;color: #1f1f1f;} a:hover {text-decoration: none; color: #5d8ba6;} h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} - img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} + img.left {top: 0;float:left;display: block;margin:0;padding:0;margin-right:20px;} #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} - #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} - + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0 1px 2px 0 #b7b7b7;-moz-box-shadow: 0 1px 2px 0 #b7b7b7;box-shadow: 0 1px 2px 0 #b7b7b7;padding: 15px;display: block;overflow: hidden;} #newslist p {margin: 0;} #newslist h4 {margin-bottom: 8px;line-height: 1;} #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} #news h2 {float: left;margin-top: 10px;} - .greeting {margin:0px 0px 0px 25px;} - .infotext {margin:10px 0px 0px 25px;} + .greeting {margin:0 0 0 25px;} + .infotext {margin:10px 0 0 25px;} .title2 {margin-bottom: 12px;margin-top: 2px;} .title {margin-bottom: 12px;margin-top: 4px;} </style> </head> <body> -<!-- Début du format conteneur (Wrapper en anglais) --> - <div id="wrapper"> - <br> - <p class="greeting">Bonjour Administrateur,</p> - <p class="infotext"><{$sendername}> a trouvé quelque chose qui requiert votre attention sur <{$sitename}></p> - <div id="news"> - <!-- Début de la navigation des nouvelles (news en anglais) --> - <div id="newslist"> - <ul> - <!-- Début de l'entête N°1 --> - <li> - <span style="font-size:11px">Il semble que c'est un message écrit par <{$against}> et <{$sendername}> l'a signalé à <{$time}> (temps du serveur)</h4> - <h4 class="title"><span style="font-size:11px"><{$link}></span></h4> - </li> - <!-- Fin de l'entête N°1 --> - </ul> - </div> - </div> - <!-- Fin de la navigation des nouvelles --> - <br> - </div> + <!-- Début du format conteneur (Wrapper en anglais) --> + <div id="wrapper"> + <br /> + <p class="greeting">Bonjour Administrateur,</p> + <p class="infotext"><{$sendername}> a trouvé quelque chose qui requiert votre attention sur <{$sitename}></p> + <div id="news"> + <!-- Début de la navigation des nouvelles (news en anglais) --> + <div id="newslist"> + <ul> + <!-- Début de l'entête N°1 --> + <li> + <span style="font-size:11px">Il semble que c'est un message écrit par <{$against}> et <{$sendername}> l'a signalé à <{$time}> (temps du serveur)</h4> + <h4 class="title"><span style="font-size:11px"><{$link}></span></h4> + </li> + <!-- Fin de l'entête N°1 --> + </ul> + </div> + </div> + <!-- Fin de la navigation des nouvelles --> + <br /> + </div> <!-- Fin du format conteneur --> -<!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> </body> -</html> \ No newline at end of file +</html> +<!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> \ No newline at end of file Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_newcomment.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_newcomment.html 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_newcomment.html 2012-05-20 14:18:58 UTC (rev 9563) @@ -5,52 +5,51 @@ a {text-decoration: none;color: #1f1f1f;} a:hover {text-decoration: none; color: #5d8ba6;} h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} - img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} + img.left {top: 0;float:left;display: block;margin:0;padding:0;margin-right:20px;} #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} - #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} - + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0 1px 2px 0 #b7b7b7;-moz-box-shadow: 0 1px 2px 0 #b7b7b7;box-shadow: 0 1px 2px 0 #b7b7b7;padding: 15px;display: block;overflow: hidden;} #newslist p {margin: 0;} #newslist h4 {margin-bottom: 8px;line-height: 1;} #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} #news h2 {float: left;margin-top: 10px;} - .greeting {margin:0px 0px 0px 25px;} - .infotext {margin:10px 0px 0px 25px;} + .greeting {margin:0 0 0 25px;} + .infotext {margin:10px 0 0 25px;} .title2 {margin-bottom: 12px;margin-top: 2px;} .title {margin-bottom: 12px;margin-top: 4px;} </style> </head> <body> -<!-- Début du format conteneur (Wrapper en anglais) --> - <div id="wrapper"> - <br> - <p class="greeting">Bonjour <{$recievename}>,</p> - <p class="infotext"><{$sendname}> a écrit un commentaire sur votre mur. Vous pouvez le voir sur <{$sitename}></p> - <div id="news"> - <!-- Début de la navigation des nouvelles (news en anglais) --> - <div id="newslist"> - <ul> - <!-- Début de l'entête N°1 --> - <li><{$to_avatarlink}> - <h4 class="title"><{$ownernameurl}> <span style="font-size:11px">Message initial:</span></h4> - <p><{$ownermessage}></p> - </li> - <!-- Fin de l'entête N°1 --> - - <!-- Début de l'entête N°2 --> - <li style="margin-left:25px;width:780px"><{$from_avatarlink}> - <h4 class="title2"><{$sendnameurl}> <span style="font-size:11px"> a répondu le (<{$itemtextdate}> temps du serveur)</span></h4> - <p><{$itemtext}></p> - </li> - <!-- Fin de l'entête N°2 --> - </ul> - </div> - </div> - <!-- Fin de la navigation des nouvelles --> - <br> - <p align="center"><{$replylink}></p> - <br/> - </div> -<!-- Fin du format conteneur --> -<!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> + <!-- Début du format conteneur (Wrapper en anglais) --> + <div id="wrapper"> + <br /> + <p class="greeting">Bonjour <{$recievename}>,</p> + <p class="infotext"><{$sendname}> a écrit un commentaire sur votre mur. Vous pouvez le voir sur <{$sitename}></p> + <div id="news"> + <!-- Début de la navigation des nouvelles (news en anglais) --> + <div id="newslist"> + <ul> + <!-- Début de l'entête N°1 --> + <li><{$to_avatarlink}> + <h4 class="title"><{$ownernameurl}> <span style="font-size:11px">Message initial:</span></h4> + <p><{$ownermessage}></p> + </li> + <!-- Fin de l'entête N°1 --> + + <!-- Début de l'entête N°2 --> + <li style="margin-left:25px;width:780px"><{$from_avatarlink}> + <h4 class="title2"><{$sendnameurl}> <span style="font-size:11px"> a répondu le (<{$itemtextdate}> temps du serveur)</span></h4> + <p><{$itemtext}></p> + </li> + <!-- Fin de l'entête N°2 --> + </ul> + </div> + </div> + <!-- Fin de la navigation des nouvelles --> + <br /> + <p align="center"><{$replylink}></p> + <br/> + </div> + <!-- Fin du format conteneur --> </body> -</html> \ No newline at end of file +</html> +<!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> \ No newline at end of file Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_register.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_register.html 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/mailTpl/mail_register.html 2012-05-20 14:18:58 UTC (rev 9563) @@ -7,40 +7,39 @@ h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} - #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} - + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0 1px 2px 0px #b7b7b7;-moz-box-shadow: 0 1px 2px 0px #b7b7b7;box-shadow: 0 1px 2px 0 #b7b7b7;padding: 15px;display: block;overflow: hidden;} #newslist p {margin: 0;} #newslist h4 {margin-bottom: 8px;line-height: 1;} #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} #news h2 {float: left;margin-top: 10px;} - .greeting {margin:0px 0px 0px 25px;} - .infotext {margin:10px 0px 0px 25px;} + .greeting {margin:0 0 0 25px;} + .infotext {margin:10px 0 0 25px;} .title2 {margin-bottom: 12px;margin-top: 2px;} .title {margin-bottom: 12px;margin-top: 4px;} </style> </head> <body> -<!-- Début du format conteneur (Wrapper en anglais) --> - <div id="wrapper"> - <br> - <p class="greeting">Bonjour Administrateur,</p> - <p class="infotext"><{$registername}> s'est inscrit sur <{$sitename}></p> - <div id="news"> - <!-- Début de la navigation des nouvelles (news en anglais) --> - <div id="newslist"> - <ul> - <!-- Début de l'entête N°1 --> - <li><{$registerlink}> - <h4 class="title"><{$registerurl}> <span style="font-size:11px">Cliquez sur le pseudonyme pour voir son profil</span></h4> - </li> - <!-- Fin de l'entête N°1 --> - </ul> - </div> - </div> - <!-- Fin de la navigation des nouvelles --> - <br> - </div> -<!-- Fin du format conteneur --> -<!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> + <!-- Début du format conteneur (Wrapper en anglais) --> + <div id="wrapper"> + <br /> + <p class="greeting">Bonjour Administrateur,</p> + <p class="infotext"><{$registername}> s'est inscrit sur <{$sitename}></p> + <div id="news"> + <!-- Début de la navigation des nouvelles (news en anglais) --> + <div id="newslist"> + <ul> + <!-- Début de l'entête N°1 --> + <li><{$registerlink}> + <h4 class="title"><{$registerurl}> <span style="font-size:11px">Cliquez sur le pseudonyme pour voir son profil</span></h4> + </li> + <!-- Fin de l'entête N°1 --> + </ul> + </div> + </div> + <!-- Fin de la navigation des nouvelles --> + <br /> + </div> + <!-- Fin du format conteneur --> </body> -</html> \ No newline at end of file +</html> +<!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> \ No newline at end of file Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/main.php =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/main.php 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/main.php 2012-05-20 14:18:58 UTC (rev 9563) @@ -101,9 +101,9 @@ /*--------------------- Messages and boxes -----------------------------*/ define("_SMALLWORLD_NOTYETUSER_GREETING","Bienvenue"); define("_SMALLWORLD_NOTYETUSER_BOXTEXT","Afin d'utiliser ce module, vous devez remplir un formulaire de profil supplémentaire. - <br><br>Cliquez sur S'enregister pour continuer l'enregistrement ou cliquez sur Annuler<br>pour revenir à la page d'accueil."); + <br /><br />Cliquez sur S'enregister pour continuer l'enregistrement ou cliquez sur Annuler<br />pour revenir à la page d'accueil."); define("_SMALLWORLD_NOTYETREGISTERED_TITLE","Continuez pour terminer l'enregistrement"); -define ("_SMALLWORLD_TEXTBEFORESUBMIT","Continuez en cliquant sur Enregistrer pour enregistrer vos informations dans la base de données.<br><br>Après cela, vous serez en mesure de visiter votre page, <br>et les pages des autres utilisateurs.<br><br>En vous remerciant d'avoir pris le temps de remplir ce formulaire."); +define ("_SMALLWORLD_TEXTBEFORESUBMIT","Continuez en cliquant sur Enregistrer pour enregistrer vos informations dans la base de données.<br /><br />Après cela, vous serez en mesure de visiter votre page, <br />et les pages des autres utilisateurs.<br /><br />En vous remerciant d'avoir pris le temps de remplir ce formulaire."); define("_SMALLWORLD_FRIENDSINVITATIONS","Ajouter en ami"); define("_SMALLWORLD_DATERECIEVED","Date"); define("_SMALLWORLD_ACCEPT","Accepter"); @@ -245,12 +245,12 @@ define("_SMALLWORLD_MORE"," .. tous les détails"); /*-------------- Upload form --------------------*/ -define('_SMALLWORLD_UPLOAD_HOWTO','Toutes les images de votre album sont affichées ici. Vous pouvez utiliser cet outil pour télécharger ou supprimer des images<br><br>Cliquez sur les fichiers de téléchargement vert, Sélectionnez vos images à télécharger : <br> 1) Une par une à l\'aide des - src="images/icon_start.PNG" style="display: inline-block;height:13px;"/>icônes.<br> 2)Sélectionnez-en plusieurs en parcourant ou * en faisant glisser les fichiers sur le téléchargement vert (* ne fonctionne pas sous IE) et cliquez sur Démarrer <br> Remarque :. Si vous choisissez d\'autres types de fichiers autres que des fichiers d\'image, le script échouera. La taille de l\'image peut aller jusqu\'à 5 Mo <br> '); +define('_SMALLWORLD_UPLOAD_HOWTO','Toutes les images de votre album sont affichées ici. Vous pouvez utiliser cet outil pour télécharger ou supprimer des images.<br /><br />Cliquez sur le bouton vert "Envoi d‘images" et sélectionnez vos images à télécharger  : <br /> 1) Soit une par une à l‘aide des icônes de flèche. <img src="images/icon_start.png" style="display: inline-block;height:13px;"/><br /> 2) Soit en en séléctionnant plusieurs (CTRL ou Shift du clavier + clic de la souris puis le bouton "Ouvrir") ou simplement en faisant glisser les fichiers sur le bouton vert (ne fonctionne pas sous IE ni Opera) et cliquez sur "Tout envoyer".<br /> Remarque : Si vous choisissez d‘autres types de fichiers que des fichiers d‘images, le script échouera. La taille de l‘image peut aller jusqu‘à 5 Mo.<br /> '); define('_SMALLWORLD_UPLOADTITLE','Titre de l\'image'); define('_SMALLWORLD_UPLOADDESC','Description de l\'image'); define('_SMALLWORLD_UPLOAD_TITLE','Télécharger les images vers votre album d\'images'); define('_SMALLWORLD_UPLOADTEXT','Démarrer le téléchargement'); -define('_SMALLWORLD_UPLOADFILESTEXT','Sélectionnez une ou plusieurs images'); +define('_SMALLWORLD_UPLOADFILESTEXT',"Envoi d'images"); define('_SMALLWORLD_IMGDESCRIPTION','Description de l\'image'); define('_SMALLWORLD_IMGTITLE','Titre de l\'image'); define('_SMALLWORLD_IMAGE_EDIT_TITLE','Modifier la description'); @@ -286,12 +286,12 @@ define("_SMALLWORLD_JSON_CANCEL_ADDFRIEND","Vous avez annulé votre demande d'ami pour "); define("_SMALLWORLD_JSON_DELETE_FRIEND_START","Suppression faite "); define("_SMALLWORLD_JSON_DELETE_FRIEND_END"," de cette personne en tant qu'ami."); -define("_SMALLWORLD_JSON_REQUEST_PENDING","<br><br>Demande d'amitié en attente d'approbation."); +define("_SMALLWORLD_JSON_REQUEST_PENDING","<br /><br />Demande d'amitié en attente d'approbation."); define ("_SMALLWORLD_JSON_FOLLOWINGFRIEND","Suivi activé concernant : "); -define ("_SMALLWORLD_JSON_FOLLOWINGFRIEND_DESC","<br><br>Tous les messages qu'il ou elle écrit dans son mur apparaîtront également sur le vôtre."); +define ("_SMALLWORLD_JSON_FOLLOWINGFRIEND_DESC","<br /><br />Tous les messages qu'il ou elle écrit dans son mur apparaîtront également sur le vôtre."); define ("_SMALLWORLD_JSON_UNFOLLOWINGFRIEND","Vous ne suivez plus : "); -define ("_SMALLWORLD_JSON_UNFOLLOWINGFRIEND_DESC","<br><br>Les messages de son mur n'apparaîtront plus dans le vôtre."); +define ("_SMALLWORLD_JSON_UNFOLLOWINGFRIEND_DESC","<br /><br />Les messages de son mur n'apparaîtront plus dans le vôtre."); define("_SMALLWORLD_JSON_ADDFR_TEXT","Ajouter en ami"); define("_SMALLWORLD_JSON_CANCELFR_TEXT","Annuler la demande d'ami"); @@ -360,7 +360,7 @@ define("_SMALLWORLD_MAIL_NEWFRIENDFOLLOWER", "Nouvelle demande d'ami ou nouvel utilisateur qui vous suit à "); /* ------------ Inspection & countdown ---------------- */ -define("_SMALLWORLD_INSPEC_DESC","L'Administrateur a suspendu ce compte afin effectuer un contrôle.<br/><br/>Temps estimé de l'inspection :"); +define("_SMALLWORLD_INSPEC_DESC","L'Administrateur a suspendu ce compte afin effectuer un contrôle.<br /><br />Temps estimé de l'inspection :"); define("_SMALLWORLD_INSPEC_DESC2","Revenez à ce moment là."); define("_SMALLWORLD_BDAY_TODAY","Aujourd'hui"); define("_SMALLWORLD_BDAY_ISIN","Anniversaire dans : "); @@ -370,7 +370,7 @@ define("_SMALLWORLD_SHARELINK","Partager"); define("_SMALLWORLD_SHAREBOX_TITLE","Partage / Signet"); define("_SMALLWORLD_UPDATEONSITEMETA"," mise à jour sur - "); -define("_SMALLWORLD_BOOKMARK_NOPERM_MESSAGE","Signet illégal. Vous n'avez pas la permission de partager !<br><br>Veuillez créer un profil<br><br><a href='register.php'>Inscrivez-vous ici</a>"); +define("_SMALLWORLD_BOOKMARK_NOPERM_MESSAGE","Signet illégal. Vous n'avez pas la permission de partager !<br /><br />Veuillez créer un profil<br /><br /><a href='register.php'>Inscrivez-vous ici</a>"); /* ------------- Statistics and about ------------------- */ define("_SMALLWORLD_STATS_NEWESTUSERS","Nouveaux utilisateurs"); @@ -383,5 +383,14 @@ /* ----------------- donate link -------------- */ define("_SMALLWORLD_DONATETEXT"," Offrez-moi un café ici "); -//Traduit par Cesag (frxoops.org) le 5 Mai 2012 + +/** + * @translation Communauté Francophone des Utilisateurs de Xoops + * @specification _LANGCODE: fr + * @specification _CHARSET: UTF-8 sans Bom + * + * @Translator Cesag + * + * @version $Id $ +**/ ?> \ No newline at end of file Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/modinfo.php =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/modinfo.php 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french/modinfo.php 2012-05-20 14:18:58 UTC (rev 9563) @@ -42,26 +42,26 @@ // Use validation define("_MI_SMALLWORLD_VALIDATIONSTRENGHT","Validation par étapes"); -define("_MI_SMALLWORLD_VALIDATIONSTRENGHT_DESC","Demander la validation pour l'enregistrement et les modifications du profil.<br><br>Les options sont :<br><br>Non : Pas besoin de validation<br>Oui : Les champs les plus * importants * doivent être validés."); +define("_MI_SMALLWORLD_VALIDATIONSTRENGHT_DESC","Demander la validation pour l'enregistrement et les modifications du profil.<br /><br />Les options sont :<br /><br />Non : Pas besoin de validation<br />Oui : Les champs les plus * importants * doivent être validés."); // Smallworld take-over user name links ? define ("_MI_SMALLWORLD_TAKEOVERLINKS","Convertir les liens des noms d'utilisateurs pour Smallworld"); -define ("_MI_SMALLWORLD_TAKEOVERLINKS_DESC","Smallworld utilisera un petit javascript pour modifier les liens au chargement et les pointer vers le profil utilisateur, plutôt que vers userinfo.php<br><br>La valeur par défaut est 'non'."); +define ("_MI_SMALLWORLD_TAKEOVERLINKS_DESC","Smallworld utilisera un petit javascript pour modifier les liens au chargement et les pointer vers le profil utilisateur, plutôt que vers userinfo.php<br /><br />La valeur par défaut est 'non'."); define ("_MI_SMALLWORLD_USERSOWNMSGCOUNTS","Vérifier le nombre de messages des utilisateurs ? "); -define ("_MI_SMALLWORLD_USERSOWNMSGCOUNTS_DESC","Toutes les 10 secondes, les messages des utilisateurs qui vous suivent sont comptés et un bouton d'actualisation s'affichera, si le résultat n'est pas 0.<br>Si vous choisissez Oui, ce bouton s'affichera aussi lorsque vous écrirez ou supprimerez des messages."); +define ("_MI_SMALLWORLD_USERSOWNMSGCOUNTS_DESC","Toutes les 10 secondes, les messages des utilisateurs qui vous suivent sont comptés et un bouton d'actualisation s'affichera, si le résultat n'est pas 0.<br />Si vous choisissez Oui, ce bouton s'affichera aussi lorsque vous écrirez ou supprimerez des messages."); define ("_MI_SMALLWORLD_BOOKMARSAVATARS","Utiliser le logo de Smallworld lors de la création de signets ? "); -define ("_MI_SMALLWORLD_BOOKMARKSAVATARS_DESC","Quand les messages sont publics et que vous souhaitez partager sur les réseaux sociaux, vous pouvez décider d'utiliser l'image du logo Smallworld ou<br>« non » = affichage de l'avatar des utilisateurs. <br > La valeur par défaut est «oui» = logo Smallworld."); +define ("_MI_SMALLWORLD_BOOKMARKSAVATARS_DESC","Quand les messages sont publics et que vous souhaitez partager sur les réseaux sociaux, vous pouvez décider d'utiliser l'image du logo Smallworld ou<br />« non » = affichage de l'avatar des utilisateurs. <br > La valeur par défaut est «oui» = logo Smallworld."); define ("_MI_SMALLWORLD_USEMAILNOTIFICATION","Notifications par courrier électronique ? "); -define ("_MI_SMALLWORLD_USEMAILNOTIFICATION_DESC","Quand un nouvel utilisateur s'inscrit, un message est envoyé à l'Administrateur par courrier éléctronique.<br>Quand un commentaire a été ajouté à un message dont un utilisateur a participé, un courrier électronique lui est envoyé.<br><br>La valeur par défaut est 'Oui'."); +define ("_MI_SMALLWORLD_USEMAILNOTIFICATION_DESC","Quand un nouvel utilisateur s'inscrit, un message est envoyé à l'Administrateur par courrier éléctronique.<br />Quand un commentaire a été ajouté à un message dont un utilisateur a participé, un courrier électronique lui est envoyé.<br /><br />La valeur par défaut est 'Oui'."); // Select fields & Mandetory fields define ('_MI_SMALLWORLD_VIEWFIELDS','Champs pour l\'enregistrement et le profil'); -define ('_MI_SMALLWORLD_VIEWFIELDS_DESC','Sélectionnez les champs à utiliser dans le formulaire d\'inscription, qui seront ensuite affichés dans le profil.<br> Utilisez la touche CTRL du clavier et cliquez avec la souris pour en sélectionner plusieurs.'); +define ('_MI_SMALLWORLD_VIEWFIELDS_DESC','Sélectionnez les champs à utiliser dans le formulaire d\'inscription, qui seront ensuite affichés dans le profil.<br /> Utilisez la touche CTRL du clavier et cliquez avec la souris pour en sélectionner plusieurs.'); define ('_MI_SMALLWORLD_VERIFYFIELDS','Vérifier les champs lors de l\'enregistrement.'); -define ('_MI_SMALLWORLD_VERIFYFIELDS_DESC','Sélectionnez les champs qui seront obligatoires (*) dans le formulaire d\'inscription.<br> Utilisez la touche CTRL du clavier et cliquez avec la souris pour en sélectionner plusieurs.'); +define ('_MI_SMALLWORLD_VERIFYFIELDS_DESC','Sélectionnez les champs qui seront obligatoires (*) dans le formulaire d\'inscription.<br /> Utilisez la touche CTRL du clavier et cliquez avec la souris pour en sélectionner plusieurs.'); define ('_MI_SMALLWORLD_REALNAME','Nom de famille'); define ('_MI_SMALLWORLD_GENDER','Sexe'); @@ -89,5 +89,14 @@ define ('_MI_SMALLWORLD_ABOUTME','À propos de moi'); define ('_MI_SMALLWORLD_EDUCATION','Education'); define ('_MI_SMALLWORLD_EMPLOYMENT','Emploi'); -//Traduit par Cesag (frxoops.org) le 5 Mai 2012 + +/** + * @translation Communauté Francophone des Utilisateurs de Xoops + * @specification _LANGCODE: fr + * @specification _CHARSET: UTF-8 sans Bom + * + * @Translator Cesag + * + * @version $Id $ +**/ ?> \ No newline at end of file Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/admin.php =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/admin.php 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/admin.php 2012-05-20 14:18:58 UTC (rev 9563) @@ -79,4 +79,14 @@ define('_AM_SMALLWORLD_STATS_IMG','Ic\xF4ne'); define('_AM_SMALLWORLD_SP','<img style="margin: 0pt 5px 0pt 0pt; vertical-align: middle;" src="../images/sp.png" height="30px" width="30px"> <a style="position: relative; margin: 0px;vertical-align: middle;" href="javascript:void(0);" id="smallworldDonate">Si vous aimez ce module et le travail effectu\xE9, vous pouvez me garder \xE9veill\xE9 en m\'offrant un caf\xE9</a>'); -define('_AM_SMALLWORLD_FOOTER', "<div class='center smallsmall italic pad5'>Le module SmallWorld est suivi par <a class='tooltip' rel='external' href='http://culex.dk/' title='Visitez mon site internet'>Culex</a></div>"); \ No newline at end of file +define('_AM_SMALLWORLD_FOOTER', "<div class='center smallsmall italic pad5'>Le module SmallWorld est suivi par <a class='tooltip' rel='external' href='http://culex.dk/' title='Visitez mon site internet'>Culex</a></div>"); + +/** + * @translation Communaut\xE9 Francophone des Utilisateurs de Xoops + * @specification _LANGCODE: fr + * @specification _CHARSET: ISO-8859-1 + * + * @Translator Cesag + * + * @version $Id $ +**/ \ No newline at end of file Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/help/help.html =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/help/help.html 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/help/help.html 2012-05-20 14:18:58 UTC (rev 9563) @@ -1,75 +1,40 @@ <div id="help-template" class="outer"> - <h1 class="head">Aide : - <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/smallworld/admin/index.php" - title="Retour \xE0 l'administration de SmallWorld"> SmallWorld - <img src="<{xoAdminIcons home.png}>" - alt="Retour \xE0 l'administration de SmallWorld"/> - </a></h1> - - <h4 class="odd">Description</h4> - - <p class="even">Smallworld est un syst\xE8me de R\xE9seau Social. Inspir\xE9 par les didacticiels de Srinivas Tamada sur Facebook - script. Le syst\xE8me de base a \xE9t\xE9 r\xE9\xE9crit, adapt\xE9 et d\xE9velopp\xE9 en grande partie par Culex pour Xoops. - Le module est dot\xE9 de votes "j'aime"/"je n'aime pas", signets, syst\xE8me de murs, gallerie d'images et utilise Xim (module de discussion) si il est install\xE9. - L'administration propose la suppression des utilisateurs, l'interdiction d'utilisateurs pendant un temps. Un compte \xE0 rebours est affich\xE9 c\xF4t\xE9 utilisateur pour pr\xE9ciser quand il peut \xE0 nouveau utiliser son compte. - Il y a beaucoup d'autres options. Le module est enti\xE8rement compatible pour la version XOOPS 2.5.0 et sup\xE9rieur.<br/> <br/> - Smallworld est distribu\xE9 sous les termes de la licence publique g\xE9n\xE9rale de GNU (GPL) et est libre d'\xEAtre utilis\xE9 et modifi\xE9. Il - est libre de redistribution tant que vous respectez les termes de la distribution GPL.</p> - - <h4 class="odd">Installation/D\xE9sinstallation</h4> <br/> - - Aucune mesure sp\xE9ciale n'est n\xE9cessaire, suivez la proc\xE9dure d'installation standard - extraire le dossier smallworld dans le - r\xE9pertoire .../modules. Installez le module dans la partie administration -> Modules.<br/> <br/> - - V\xE9rifiez si la version t\xE9l\xE9charg\xE9e de Smallworld est la derni\xE8re version r\xE9alis\xE9e. - Activez les cookies et le JavaScript de votre navigateur.<br/> <br/> - <b>Installation chez un h\xE9bergeur</b> - <ul> - <li>T\xE9l\xE9chargez le dossier d\xE9zipp\xE9 Smallworld vers votre r\xE9pertoire de module.</li> - <li>Installation \xE0 l'aide de l'installation de module XOOPS comme toute autre installation de module.</li> - <li>Rendez le block visible pour les groupes d'utilisateurs que vous souhaitez (administrateurs/mod\xE9rateurs etc...).</li> - </ul> - - <b>Mise \xE0 niveau depuis une version pr\xE9c\xE9dente</b> - <ul> - <li>Assurez-vous que vous utilisez la version la plus r\xE9cente</li> - <li>Lisez le fichier "readme.txt" dans le dossier "docs"</li> - <li>Faire \xE9ventuellement une sauvegarde de vos tables</li> - </ul> - Des instructions d\xE9taill\xE9es sur l'installation de modules sont disponibles dans le - <a href="http://goo.gl/adT2i">Manuel des op\xE9rations de XOOPS</a> <br/> <br/> - - - <h4 class="odd">Op\xE9rations</h4> <br/> - - Des instructions d\xE9taill\xE9es sur la configuration des droits d'acc\xE8s pour les groupes d'utilisateurs sont disponibles dans le - <a href="http://goo.gl/adT2i">Manuel des op\xE9rations de XOOPS</a><br/> <br/> - - <h4 class="odd">R\xE9solution de probl\xE8mes</h4> <br/> - - <b>J'obtiens une page blanche, je ne peux pas cliquer sur le nom d'utilisateur, le bloc n'est pas visible...</b><br/> <br/> - <ul> - <li>Assurez-vous que votre version de Xoops est sup\xE9rieure \xE0 2.5.0. Les anciennes versions de Xoops n'ont pas les pr\xE9requis n\xE9cessaires. - </li> - <li>Activez le d\xE9bogage (mode debug) et regardez si des erreurs s'affichent.</li> - <li>\xC0 l'aide de FireFox, cliquez avec le bouton droit sur l'\xE9cran, choisissez "inspecter l'\xE9l\xE9ment", choisissez la console dans les onglets et v\xE9rifiez - s'il y a des erreurs. - </li> - <li>Si il n'y a pas d'erreurs, utilisez Firebug (cliquez droit -> inspecter l'\xE9l\xE9ment -> console) et regardez si il y a des erreurs jQuery. - </li> - <li>S'il n'y a aucune erreur jQuery, videz le cache -> mettez \xE0 jour le module Smallworld dans la partie administration des modules.</li> - <li>Si la page est encore blanche, allez au module Protector -> Pr\xE9f\xE9rences et \xE9crivez smallworld dans le champ - "Modules \xE0 exclure du contr\xF4le DoS (F5)/Crawler". - </li> - </ul> - <br/> - - <h4 class="odd">Tutoriel</h4> - - <p class="even">Il n'y a aucun tutoriel disponible pour le moment</p> - - <h4 class="odd">Questions</h4> - - <p class="even">Si vous rencontrez encore des erreurs ou avez des questions, veuillez les publier sur le <a href="http://www.frxoops.org/modules/newbb">Forum de support Xoops</a></p> + <h1 class="head">Aide : <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/smallworld/admin/index.php" title="Retour à l'administration de SmallWorld"> SmallWorld <img src="<{xoAdminIcons home.png}>" alt="Retour à l'administration de SmallWorld"/></a></h1> + <h4 class="odd">Description</h4> + <p class="even">Smallworld est un système de Réseau Social. Inspiré par les didacticiels de Srinivas Tamada sur Facebook script. Le système de base a été réécrit, adapté et développé en grande partie par Culex pour Xoops. Le module est doté de votes "j'aime"/"je n'aime pas", signets, système de murs, gallerie d'images et utilise Xim (module de discussion) si il est installé. L'administration propose la suppression des utilisateurs, l'interdiction d'utilisateurs pendant un temps. Un compte à rebours est affiché côté utilisateur pour préciser quand il peut à nouveau utiliser son compte. Il y a beaucoup d'autres options. Le module est entièrement compatible pour la version XOOPS 2.5.0 et supérieur.</p> + <p>Smallworld est distribué sous les termes de la licence publique générale de GNU (GPL) et est libre d'être utilisé et modifié. Il est libre de redistribution tant que vous respectez les termes de la distribution GPL.</p> + <h4 class="odd">Installation/Désinstallation</h4> + <p>Aucune mesure spéciale n'est nécessaire, suivez la procédure d'installation standard - extraire le dossier smallworld dans le répertoire .../modules. Installez le module dans la partie administration -> Modules.</p> + <p>Vérifiez si la version téléchargée de Smallworld est la dernière version réalisée. + Activez les cookies et le JavaScript de votre navigateur.</p> + <h5>Installation chez un hébergeur</h5> + <ul> + <li>Téléchargez le dossier dézippé Smallworld vers votre répertoire de module.</li> + <li>Installation à l'aide de l'installation de module XOOPS comme toute autre installation de module.</li> + <li>Rendez le block visible pour les groupes d'utilisateurs que vous souhaitez (administrateurs/modérateurs etc...).</li> + </ul> + <h5>Mise à niveau depuis une version précédente</h5> + <ul> + <li>Assurez-vous que vous utilisez la version la plus récente</li> + <li>Lisez le fichier "readme.txt" dans le dossier "docs"</li> + <li>Faire éventuellement une sauvegarde de vos tables</li> + </ul> + <p>Des instructions détaillées sur l'installation de modules sont disponibles dans le <a href="http://goo.gl/adT2i">Manuel des opérations de XOOPS</a> </p> + <h4 class="odd">Opérations</h4> + <p>Des instructions détaillées sur la configuration des droits d'accès pour les groupes d'utilisateurs sont disponibles dans le <a href="http://goo.gl/adT2i" rel="external">Manuel des opérations de XOOPS</a></p> + <h4 class="odd">Résolution de problèmes</h4> + <h5>J'obtiens une page blanche, je ne peux pas cliquer sur le nom d'utilisateur, le bloc n'est pas visible...</h5> + <ul> + <li>Assurez-vous que votre version de Xoops est supérieure à 2.5.0. Les anciennes versions de Xoops n'ont pas les prérequis nécessaires.</li> + <li>Activez le débogage (mode debug) et regardez si des erreurs s'affichent.</li> + <li>À l'aide de FireFox, cliquez avec le bouton droit sur l'écran, choisissez "inspecter l'élément", choisissez la console dans les onglets et vérifiez s'il y a des erreurs.</li> + <li>Si il n'y a pas d'erreurs, utilisez Firebug (cliquez droit -> inspecter l'élément -> console) et regardez si il y a des erreurs jQuery.</li> + <li>S'il n'y a aucune erreur jQuery, videz le cache -> mettez à jour le module Smallworld dans la partie administration des modules.</li> + <li>Si la page est encore blanche, allez au module Protector -> Préférences et écrivez smallworld dans le champ "Modules à exclure du contrôle DoS (F5)/Crawler".</li> + </ul> + <h4 class="odd">Tutoriel</h4> + <p class="even">Il n'y a aucun tutoriel disponible pour le moment</p> + <h4 class="odd">Questions</h4> + <p class="even">Si vous rencontrez encore des erreurs ou avez des questions, veuillez les publier sur le <a href="http://www.frxoops.org/modules/newbb" rel="external">Forum de support Xoops</a></p> <!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> </div> \ No newline at end of file Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/jquery.countdown.js =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/jquery.countdown.js 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/jquery.countdown.js 2012-05-20 14:18:58 UTC (rev 9563) @@ -1,4 +1,4 @@ -/* http://keith-wood.name/countdown.html +/* http://keith-wood.name/countdown.html Countdown for jQuery v1.5.10. Written by Keith Wood (kbwood{at}iinet.com.au) January 2008. Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and @@ -10,12 +10,12 @@ http://keith-wood.name/countdown.html#l10nPkgs */ -/* Traduction fran\xE7aise de l'extension jQuery "countdown" +/* Traduction française de l'extension jQuery "countdown" par Cesag (frxoops.org) le 5 Mai 2012. */ (function(xoops_smallworld) { xoops_smallworld.countdown.regional['fr'] = { - labels: ['Ann\xE9es', 'Mois', 'Semaines', 'Jours', 'Heures', 'Minutes', 'Secondes'], - labels1: ['Ann\xE9e', 'Mois', 'Semaine', 'Jour', 'Heure', 'Minute', 'Seconde'], + labels: ['Années', 'Mois', 'Semaines', 'Jours', 'Heures', 'Minutes', 'Secondes'], + labels1: ['Année', 'Mois', 'Semaine', 'Jour', 'Heure', 'Minute', 'Seconde'], compactLabels: ['a', 'm', 's', 'j'], // Textes compacts pour les compteurs whichLabels: null, timeSeparator: ':', isRTL: false}; Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/jquery.ui.datepicker-language.js =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/jquery.ui.datepicker-language.js 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/jquery.ui.datepicker-language.js 2012-05-20 14:18:58 UTC (rev 9563) @@ -1,16 +1,16 @@ -/* Localisation fran\xE7aise pour l'extension de l'interface utilisateur jQuery "datepicker" (s\xE9lectionneur de dates). - Ecrit par Stuart et adapt\xE9 par Culex <cu...@cu...>. Traduit par Cesag (frxoops.org) le 5 Mai 2012 */ +/* Localisation française pour l'extension de l'interface utilisateur jQuery "datepicker" (sélectionneur de dates). + Ecrit par Stuart et adapté par Culex <cu...@cu...>. Traduit par Cesag (frxoops.org) le 5 Mai 2012 */ jQuery(function(xoops_smallworld){ xoops_smallworld.datepicker.regional['fr-FR'] = { closeText: 'Fermer', closeStatus: 'Fermer sans modifications', - prevText: '<Pr\xE9c\xE9dent', prevStatus: 'Voir le mois dernier', + prevText: '<Précédent', prevStatus: 'Voir le mois dernier', prevJumpText: '<<', prevJumpStatus: '', nextText: '<Suivant', currentText: 'Aujourd\'hui', currentStatus: 'Afficher le mois en cours', - monthNames: ['Janvier','F\xE9vrier','Mars','Avril','Mai','Juin', - 'Juillet','Ao\xFBt','Septembre','Octobre','Novembre','D\xE9cembre'], - monthNamesShort: ['Jan','F\xE9v','Mar','Avr','Mai','Juin', - 'Jui','Ao\xFB','Sep','Oct','Nov','D\xE9c'], + monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', + 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], + monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Juin', + 'Jui','Aoû','Sep','Oct','Nov','Déc'], dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], @@ -21,4 +21,4 @@ showMonthAfterYear: false, yearSuffix: ''}; xoops_smallworld.datepicker.setDefaults(xoops_smallworld.datepicker.regional['fr-FR']); -}); +}); \ No newline at end of file Modified: XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/variables.js =================================================================== --- XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/variables.js 2012-05-20 12:51:19 UTC (rev 9562) +++ XoopsLanguages/french/modules/smallworld/smallworld 1.15/smallworld/language/french_iso/js/variables.js 2012-05-20 14:18:58 UTC (rev 9563) @@ -1,10 +1,10 @@ -/* Divers codes de langue \xE0 inclure dans l'ent\xEAte -Voir ceci pour vos param\xE8tres : https://spreadsheets.google.com/spreadsheet/pub?key=0Ah0xU81penP1cDlwZHdzYWkyaERNc0xrWHNvTTA1S1E&gid=1 +/* Divers codes de langue à inclure dans l'entête +Voir ceci pour vos paramètres : https://spreadsheets.google.com/spreadsheet/pub?key=0Ah0xU81penP1cDlwZHdzYWkyaERNc0xrWHNvTTA1S1E&gid=1 Traduit par Cesag (frxoops.org) le 5 Mai 2012 */ var language = 'fr'; var countryshort = 'fr'; -var countrylong = 'france'; +var countrylong = 'France'; var _smallworldContinueToReg = "S'enregistrer"; var _smallworldCancel = "Annuler"; @@ -13,51 +13,51 @@ var _smallworldCommentsMoreMore = "..Afficher"; var _smallworldCommentsMoreLess = "..Cacher"; -var SmallworldGenderError = "S\xE9lectionnez votre sexe"; +var SmallworldGenderError = "Sélectionnez votre sexe"; var SmallworldBirthdayError = "Renseignez votre date anniversaire"; -var SmallworldEmailError = "Renseignez votre adresse \xE9lectronique"; +var SmallworldEmailError = "Renseignez votre adresse électronique"; -var SmallworldSavedSuccesMsg = "Enregistr\xE9 avec succ\xE8s"; +var SmallworldSavedSuccesMsg = "Enregistré avec succès"; -var SmallworldConfirmBtnFI = "\xCAtes-vous s\xFBr ?"; +var SmallworldConfirmBtnFI = "Êtes-vous sûr ?"; var SmallworldConfirmBtnYes = 'Oui !'; var SmallworldConfirmBtnNo = 'Non !'; var smallworldNewMessages = "Vous avez de nouveaux messages +"; -var smallworldDeletedMessages = "Les messages ont \xE9t\xE9 supprim\xE9s. Le compteur est maintenant -"; +var smallworldDeletedMessages = "Les messages ont été supprimés. Le compteur est maintenant -"; //Validation var SmallworldValidationBackButton = "Retour"; // Bouton de retour var SmallworldValidationForwardButton = "Suivant"; // Bouton suivant -var SmallworldValidationNameErrorMsg = "Veuillez \xE9crire votre nom de famille"; // Champ du nom r\xE9el -var SmallworldValidationGenderErrorMsg = "S\xE9lectionnez un sexe valide"; // Choix du sexe -var SmallworldValidationIntingenderErrorMsg = "Veuillez en cocher au moins un. La valeur par d\xE9faut est \xAB aucun \xB... [truncated message content] |
From: <ma...@us...> - 2012-05-20 12:51:26
|
Revision: 9562 http://xoops.svn.sourceforge.net/xoops/?rev=9562&view=rev Author: mageg Date: 2012-05-20 12:51:19 +0000 (Sun, 20 May 2012) Log Message: ----------- update userrank with new form Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/admin/userrank.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/templates/admin/userrank.html Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/admin/userrank.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/admin/userrank.php 2012-05-20 12:46:50 UTC (rev 9561) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/admin/userrank.php 2012-05-20 12:51:19 UTC (rev 9562) @@ -53,7 +53,7 @@ $xoops->theme->addScript('media/xoops/xoops.js'); $admin_page->addTips(_AM_USERRANK_TIPS); - $admin_page->addItemButton(_AM_USERRANK_ADD, './userrank.php?op=userrank_new', 'icon-add'); + $admin_page->addItemButton(_AM_USERRANK_ADD, './userrank.php?op=userrank_new', 'add'); $admin_page->renderTips(); $admin_page->renderButton(); @@ -94,28 +94,28 @@ // New userrank case 'userrank_new': $admin_page->addTips(sprintf(_AM_USERRANK_TIPS_FORM1, implode(', ', $mimetypes)) . sprintf(_AM_USERRANK_TIPS_FORM2, $upload_size / 1000)); - $admin_page->addItemButton(_AM_USERRANK_LIST, './userrank.php', 'list'); + $admin_page->addItemButton(_AM_USERRANK_LIST, './userrank.php', 'application-view-detail'); $admin_page->renderTips(); $admin_page->renderButton(); // Create form $obj = $userrank_Handler->create(); $form = $xoops->getModuleForm($obj, 'ranks'); - // Assign form - $xoops->tpl->assign('form', $form->render()); + $form->render(); + $xoops->tpl->assign('form', true); break; // Edit userrank case 'userrank_edit': $admin_page->addTips(sprintf(_AM_USERRANK_TIPS_FORM1, implode(', ', $mimetypes)) . sprintf(_AM_USERRANK_TIPS_FORM2, $upload_size / 1000)); $admin_page->addItemButton(_AM_USERRANK_ADD, './userrank.php?op=userrank_new', 'add'); - $admin_page->addItemButton(_AM_USERRANK_LIST, './userrank.php', 'list'); + $admin_page->addItemButton(_AM_USERRANK_LIST, './userrank.php', 'application-view-detail'); $admin_page->renderTips(); $admin_page->renderButton(); // Create form $obj = $userrank_Handler->get($system->cleanVars($_REQUEST, 'rank_id', 0, 'int')); $form = $xoops->getModuleForm($obj, 'ranks'); - // Assign form - $xoops->tpl->assign('form', $form->render()); + $form->render(); + $xoops->tpl->assign('form', true); break; // Save rank Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/templates/admin/userrank.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/templates/admin/userrank.html 2012-05-20 12:46:50 UTC (rev 9561) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/templates/admin/userrank.html 2012-05-20 12:51:19 UTC (rev 9562) @@ -52,6 +52,6 @@ <{/if}> <!--Display rank form (add,edit)--> <{if $form}> -<div class="spacer"><{$form}></div> +<{includeq file="module:system|system_form.html"}> <{/if}> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-05-20 12:46:57
|
Revision: 9561 http://xoops.svn.sourceforge.net/xoops/?rev=9561&view=rev Author: mageg Date: 2012-05-20 12:46:50 +0000 (Sun, 20 May 2012) Log Message: ----------- The description is no longer displayed with the title to the preferences of modules / plugins Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/form/preference.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/form/preference.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/form/preference.php 2012-05-20 12:36:17 UTC (rev 9560) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/form/preference.php 2012-05-20 12:46:50 UTC (rev 9561) @@ -39,7 +39,7 @@ { $xoops = Xoops::getInstance(); $config_handler = $xoops->getHandlerConfig(); - + parent::__construct(constant($obj->getVar('confcat_name')), 'pref_form', 'admin.php?fct=preferences', 'post', true); $criteria = new CriteriaCompo(); @@ -48,7 +48,7 @@ $config = $config_handler->getConfigs($criteria); $count = count($config); for ($i = 0; $i < $count; $i++) { - + $title = constant($config[$i]->getVar('conf_title')); $desc = ($config[$i]->getVar('conf_desc') != '') ? constant($config[$i]->getVar('conf_desc')) : ''; @@ -263,9 +263,8 @@ } $count = count($obj); for ($i = 0; $i < $count; $i++) { - $title = (!defined($obj[$i]->getVar('conf_desc')) || constant($obj[$i]->getVar('conf_desc')) == '') - ? constant($obj[$i]->getVar('conf_title')) - : constant($obj[$i]->getVar('conf_title')) . '<br /><br /><span style="font-weight:normal;">' . constant($obj[$i]->getVar('conf_desc')) . '</span>'; + $title = constant($obj[$i]->getVar('conf_title')); + $desc = ($obj[$i]->getVar('conf_desc') != '') ? constant($obj[$i]->getVar('conf_desc')) : ''; switch ($obj[$i]->getVar('conf_formtype')) { case 'textarea': @@ -357,6 +356,7 @@ $hidden = new XoopsFormHidden('conf_ids[]', $obj[$i]->getVar('conf_id')); if (isset($ele)) { $this->addElement($ele); + $ele->setDescription($desc); $this->addElement($hidden); unset($ele); unset($hidden); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-05-20 12:36:23
|
Revision: 9560 http://xoops.svn.sourceforge.net/xoops/?rev=9560&view=rev Author: mageg Date: 2012-05-20 12:36:17 +0000 (Sun, 20 May 2012) Log Message: ----------- correction of an error in Protector Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/class/form/center.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/class/form/center.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/class/form/center.php 2012-05-20 12:29:38 UTC (rev 9559) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/class/form/center.php 2012-05-20 12:36:17 UTC (rev 9560) @@ -54,7 +54,8 @@ $this->addElement($group1_ips); $formTicket = new xoopsGTicket; $this->addElement(new XoopsFormHidden("action", "update_ips")); - $this->addElement($formTicket->getTicketXoopsForm(__LINE__, 1800, 'protector_admin')); + $ticket = $formTicket->getTicketXoopsForm(__LINE__, 1800, 'protector_admin'); + $this->addElement($ticket); $this->addElement(new XoopsFormButton('', "submit_prefip", _SUBMIT, "submit")); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-05-20 12:29:44
|
Revision: 9559 http://xoops.svn.sourceforge.net/xoops/?rev=9559&view=rev Author: mageg Date: 2012-05-20 12:29:38 +0000 (Sun, 20 May 2012) Log Message: ----------- update userrank Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/language/english/help/userrank.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/templates/admin/userrank.html Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/language/english/help/userrank.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/language/english/help/userrank.html 2012-05-20 05:24:22 UTC (rev 9558) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/language/english/help/userrank.html 2012-05-20 12:29:38 UTC (rev 9559) @@ -1,20 +1,10 @@ -<div id="help-template" class="outer"> - <h1 class="head">Help: - <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/userrank/admin/index.php" title="Back to the administration of Ranks"> - Ranks <img src="<{xoAdminIcons home.png}>"alt="Back to the administration of Ranks"/> - </a> - </h1> - <!-- ===== Help Content ======= --> - <h4 class="odd">Description</h4> - <p class="even"> - User Ranks allow you to give people some ‘<em>status</em>’ based on either their role or level of participation in the community. It is important to note that user ranks are functionally irrelevant - they *do not* confer any extra privileges or administrative rights at all – they are just titles. User access rights are actually controlled elsewhere (through the Groups section of the control panel). If you assign someone the Webmaster user rank but forget to also assign them to the Webmaster user group (a common mistake) they may look cool but they won’t be able to administer the site !<br /><br /> +<p> +User Ranks allow you to give people some ‘<em>status</em>’ based on either their role or level of participation in the community. It is important to note that user ranks are functionally irrelevant - they *do not* confer any extra privileges or administrative rights at all – they are just titles. User access rights are actually controlled elsewhere (through the Groups section of the control panel). If you assign someone the Webmaster user rank but forget to also assign them to the Webmaster user group (a common mistake) they may look cool but they won’t be able to administer the site !<br /><br /> - ‘<em>Normal</em>’ ranks are assigned on the basis of the number of forum posts and comments a user has made. A user’s rank will change as they make enough posts to qualify for the next level. XOOPS ships with the following default ranks: Just popping in; Not too shy to talk; Quite a regular; Just can’t stay away; and Home away from home. - XOOPS also ships with two ‘<em>special ranks</em>’: Moderator and Webmaster. Special ranks differ in that they can be assigned to users irrespective of the number of posts they have made. A typical use of special ranks is to give recognition to people performing various administrative functions.<br /><br /> +‘<em>Normal</em>’ ranks are assigned on the basis of the number of forum posts and comments a user has made. A user’s rank will change as they make enough posts to qualify for the next level. XOOPS ships with the following default ranks: Just popping in; Not too shy to talk; Quite a regular; Just can’t stay away; and Home away from home. +XOOPS also ships with two ‘<em>special ranks</em>’: Moderator and Webmaster. Special ranks differ in that they can be assigned to users irrespective of the number of posts they have made. A typical use of special ranks is to give recognition to people performing various administrative functions.<br /><br /> - The ‘<em>edit</em>’ link allows you to change the name of a rank, to alter the minimum / maximum number of posts needed to qualify, to designate it as a ‘<em>special</em>’ rank (or not), and to upload a new rank image. You can remove unnecessary ranks (‘delete’ link). <br /><br /> +The ‘<em>edit</em>’ link allows you to change the name of a rank, to alter the minimum / maximum number of posts needed to qualify, to designate it as a ‘<em>special</em>’ rank (or not), and to upload a new rank image. You can remove unnecessary ranks (‘delete’ link). <br /><br /> - You can create additional ranks through the form at the bottom of the user rank page. Simply assign a name, minimum and maximum number of posts (if desired), upload a rank image and assign it as either normal or special. - </p> - <!-- ===== Help Content ======= --> -</div> \ No newline at end of file +You can create additional ranks through the form at the bottom of the user rank page. Simply assign a name, minimum and maximum number of posts (if desired), upload a rank image and assign it as either normal or special. +</p> \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/templates/admin/userrank.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/templates/admin/userrank.html 2012-05-20 05:24:22 UTC (rev 9558) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/templates/admin/userrank.html 2012-05-20 12:29:38 UTC (rev 9559) @@ -29,13 +29,13 @@ <td class="txtcenter"><{$userrank.rank_max}></td> <td class="xo-actions txtcenter"> <img id="loading_sml<{$userrank.rank_id}>" src="<{xoAppUrl media/xoops/images/spinner.gif}>" style="display:none;" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /> - <img class="cursorpointer tooltip" id="sml<{$userrank.rank_id}>" onclick="Xoops.changeStatus( 'userrank.php', { op: 'userrank_update_special', rank_id: <{$userrank.rank_id}> }, 'sml<{$userrank.rank_id}>' )" src="<{if $userrank.rank_special}><{xoAdminIcons success.png}><{else}><{xoAdminIcons cancel.png}><{/if}>" alt="<{if $userrank.rank_special}><{$smarty.const._AM_USERRANK_OFF}><{else}><{$smarty.const._AM_USERRANK_ON}><{/if}>" title="<{if $userrank.rank_special}><{$smarty.const._AM_USERRANK_OFF}><{else}><{$smarty.const._AM_USERRANK_ON}><{/if}>" /> + <img class="cursorpointer xo-tooltip" id="sml<{$userrank.rank_id}>" onclick="Xoops.changeStatus( 'userrank.php', { op: 'userrank_update_special', rank_id: <{$userrank.rank_id}> }, 'sml<{$userrank.rank_id}>' )" src="<{if $userrank.rank_special}><{xoAdminIcons success.png}><{else}><{xoAdminIcons cancel.png}><{/if}>" alt="<{if $userrank.rank_special}><{$smarty.const._AM_USERRANK_OFF}><{else}><{$smarty.const._AM_USERRANK_ON}><{/if}>" title="<{if $userrank.rank_special}><{$smarty.const._AM_USERRANK_OFF}><{else}><{$smarty.const._AM_USERRANK_ON}><{/if}>" /> </td> <td class="xo-actions txtcenter"> - <a class="tooltip" href="./userrank.php?op=userrank_edit&rank_id=<{$userrank.rank_id}>" title="<{$smarty.const._AM_USERRANK_EDIT}>"> + <a class="xo-tooltip" href="./userrank.php?op=userrank_edit&rank_id=<{$userrank.rank_id}>" title="<{$smarty.const._AM_USERRANK_EDIT}>"> <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._AM_USERRANK_EDIT}>" /> </a> - <a class="tooltip" href="./userrank.php?op=userrank_delete&rank_id=<{$userrank.rank_id}>" title="<{$smarty.const._AM_USERRANK_DELETE}>"> + <a class="xo-tooltip" href="./userrank.php?op=userrank_delete&rank_id=<{$userrank.rank_id}>" title="<{$smarty.const._AM_USERRANK_DELETE}>"> <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._AM_USERRANK_DELETE}>" /> </a> </td> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-05-20 05:24:28
|
Revision: 9558 http://xoops.svn.sourceforge.net/xoops/?rev=9558&view=rev Author: beckmi Date: 2012-05-20 05:24:22 +0000 (Sun, 20 May 2012) Log Message: ----------- - Converting link button to icon - changing hardcoded date format to localized format Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/dump.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/templates/admin/maintenance_dump.html Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/dump.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/dump.php 2012-05-20 04:37:58 UTC (rev 9557) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/dump.php 2012-05-20 05:24:22 UTC (rev 9558) @@ -81,8 +81,8 @@ $db = XoopsDatabaseFactory::getDatabaseConnection(); $dump = new Maintenance(); $sql_text = "# \n"; - $sql_text .= "# Dump SQL, Generate by Xoops \n"; - $sql_text .= "# Date : " . date('d-m-Y / H:i') . " \n"; + $sql_text .= "# Dump SQL, Generated by XOOPS \n"; + $sql_text .= "# Date : " . date(_MEDIUMDATESTRING) . " \n"; $sql_text .= "# \n\n"; if ($dump_tables != false) { $result_module = array(); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/templates/admin/maintenance_dump.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/templates/admin/maintenance_dump.html 2012-05-20 04:37:58 UTC (rev 9557) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/templates/admin/maintenance_dump.html 2012-05-20 05:24:22 UTC (rev 9558) @@ -83,7 +83,7 @@ <{if $write}> <li class="green"> <span class="ico ico-tick"></span> <{$smarty.const._AM_MAINTENANCE_DUMP_FILE_CREATED}> - <a class="btn btn-success btn-mini" href="<{$xoops_url}>/modules/maintenance/dump/<{$file_name}>" target="_blanck" ><i class="icon-download icon-white"></i> <{$smarty.const._AM_MAINTENANCE_DUMP_DOWNLOAD}></a> + <a class="btn btn-success btn-mini" href="<{$xoops_url}>/modules/maintenance/dump/<{$file_name}>" target="_blank" ><i class="icon-download icon-white"></i> <{$smarty.const._AM_MAINTENANCE_DUMP_DOWNLOAD}></a> </li> <{else}> <li class="red"> @@ -116,9 +116,13 @@ <{$file_arr.size}> </td> <td class="xo-actions txtcenter span2"> - <a class="btn btn-success btn-mini" href="<{$xoops_url}>/modules/maintenance/dump/<{$file_arr.name}>" target="_blanck" ><i class="icon-download icon-white"></i> <{$smarty.const._AM_MAINTENANCE_DUMP_DOWNLOAD}></a> +<!-- <a class="btn btn-success btn-mini" href="<{$xoops_url}>/modules/maintenance/dump/<{$file_arr.name}>" target="_blank" ><i class="icon-download icon-white"></i> <{$smarty.const._AM_MAINTENANCE_DUMP_DOWNLOAD}></a> +--> + <a href="<{$xoops_url}>/modules/maintenance/dump/<{$file_arr.name}>" title="<{$smarty.const._AM_MAINTENANCE_DUMP_DOWNLOAD}>"> + <img src="<{xoModuleIcons16 download.png}>" alt="<{$smarty.const._AM_MAINTENANCE_DUMP_DOWNLOAD}>"> + <a href="dump.php?op=dump_delete&filename=<{$file_arr.name}>" title="<{$smarty.const._AM_MAINTENANCE_DELETE}>"> - <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._AM_MAINTENANCE_DELETE}>"> + <img src="<{xoModuleIcons16 delete.png}>" alt="<{$smarty.const._AM_MAINTENANCE_DELETE}>"> </a> </td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-05-20 04:38:04
|
Revision: 9557 http://xoops.svn.sourceforge.net/xoops/?rev=9557&view=rev Author: beckmi Date: 2012-05-20 04:37:58 +0000 (Sun, 20 May 2012) Log Message: ----------- Changing _GO to _SUBMIT Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/form/preference.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/form/preference.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/form/preference.php 2012-05-20 04:31:40 UTC (rev 9556) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/form/preference.php 2012-05-20 04:37:58 UTC (rev 9557) @@ -229,7 +229,7 @@ unset($hidden); } $this->addElement(new XoopsFormHidden('op', 'save')); - $this->addElement(new XoopsFormButton('', 'button', _GO, 'submit')); + $this->addElement(new XoopsFormButton('', 'button', _SUBMIT, 'submit')); } /** @@ -363,6 +363,6 @@ } } $this->addElement(new XoopsFormHidden('op', 'save')); - $this->addElement(new XoopsFormButton('', 'button', _GO, 'submit')); + $this->addElement(new XoopsFormButton('', 'button', _SUBMIT, 'submit')); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-05-20 04:31:47
|
Revision: 9556 http://xoops.svn.sourceforge.net/xoops/?rev=9556&view=rev Author: beckmi Date: 2012-05-20 04:31:40 +0000 (Sun, 20 May 2012) Log Message: ----------- Updating English language files Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/admin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/help/help.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/modinfo.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/admin.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/admin.php 2012-05-20 03:42:36 UTC (rev 9555) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/admin.php 2012-05-20 04:31:40 UTC (rev 9556) @@ -47,29 +47,29 @@ define("_AM_MAINTENANCE_CENTER_TABLES_DESC", "ANALYZE TABLE analyzes and stores the key distribution for a table. During the analysis, the table is locked with a read lock.<br /> CHECK TABLE checks a table or tables for errors.<br /> -OPTIMIZE TABLE to reclaim the unused space and to defragment the data file.<br /> +OPTIMIZE TABLE reclaims the unused space and to defragment the data file.<br /> REPAIR TABLE repairs a possibly corrupted table."); define("_AM_MAINTENANCE_CENTER_REPAIR","Repair"); define("_AM_MAINTENANCE_CENTER_SESSION","Empty the sessions table"); define("_AM_MAINTENANCE_CENTER_SIZE","Size"); -define("_AM_MAINTENANCE_CENTER_SIZE_SUFFIX","[Ko]"); +define("_AM_MAINTENANCE_CENTER_SIZE_SUFFIX","[KB]"); define("_AM_MAINTENANCE_CENTER_SMARTY_CACHE","Smarty cache"); define("_AM_MAINTENANCE_CENTER_SMARTY_COMPILE","Smarty compile"); -define("_AM_MAINTENANCE_CENTER_XOOPS_CACHE","Xoops cache"); +define("_AM_MAINTENANCE_CENTER_XOOPS_CACHE","XOOPS cache"); //dump.php define("_AM_MAINTENANCE_DUMP_DELETED","File deleted"); define("_AM_MAINTENANCE_DUMP_DELETEALL","Delete all files"); -define("_AM_MAINTENANCE_DUMP_DELETEDALL","Deleted all files"); +define("_AM_MAINTENANCE_DUMP_DELETEDALL","All files are deleted"); define("_AM_MAINTENANCE_DUMP_DOWNLOAD","Download"); define("_AM_MAINTENANCE_DUMP_DROP","Add command DROP TABLE IF EXISTS 'tables' in the dump"); define("_AM_MAINTENANCE_DUMP_ERROR_TABLES_OR_MODULES", "You must select the tables or modules"); define("_AM_MAINTENANCE_DUMP_FILES","Files"); define("_AM_MAINTENANCE_DUMP_FILE_CREATED", "File created"); define("_AM_MAINTENANCE_DUMP_FILE_NOTCREATED", "File not created"); -define("_AM_MAINTENANCE_DUMP_FORM","Dump form"); +define("_AM_MAINTENANCE_DUMP_FORM","Create new Dump"); define("_AM_MAINTENANCE_DUMP_LIST", "List of files"); -define("_AM_MAINTENANCE_DUMP_NB_RECORDS", "Numbers of records"); +define("_AM_MAINTENANCE_DUMP_NB_RECORDS", "Number of records"); define("_AM_MAINTENANCE_DUMP_NOFILE","No file"); define("_AM_MAINTENANCE_DUMP_NO_TABLES", "No tables"); define("_AM_MAINTENANCE_DUMP_STRUCTURES", "Structures"); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/help/help.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/help/help.html 2012-05-20 03:42:36 UTC (rev 9555) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/help/help.html 2012-05-20 04:31:40 UTC (rev 9556) @@ -1,7 +1,7 @@ <!-- ===== Help Content ======= --> <h4>Description</h4> <p> -Maintenance provides several basic functions to help you in mantaining your XOOPS installation and keep it healthy:<br /><br /> +Maintenance provides several basic functions to help you in maintaining your XOOPS installation and keep it healthy:<br /><br /> - clean cache folder<br /> - empty the session table<br /> Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/modinfo.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/modinfo.php 2012-05-20 03:42:36 UTC (rev 9555) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/modinfo.php 2012-05-20 04:31:40 UTC (rev 9556) @@ -25,6 +25,6 @@ define("_MI_MAINTENANCE_DESC", "Plugins for maintenance"); // Menu define("_MI_MAINTENANCE_INDEX", "Home"); -define("_MI_MAINTENANCE_CENTER", "Maintenance center"); -define("_MI_MAINTENANCE_DUMP", "Dump center"); +define("_MI_MAINTENANCE_CENTER", "Maintenance"); +define("_MI_MAINTENANCE_DUMP", "Dump"); define("_MI_MAINTENANCE_ABOUT", "About"); \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-05-20 03:42:42
|
Revision: 9555 http://xoops.svn.sourceforge.net/xoops/?rev=9555&view=rev Author: beckmi Date: 2012-05-20 03:42:36 +0000 (Sun, 20 May 2012) Log Message: ----------- Fixing wrong links to Maintenance class Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/preferences/main.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/preferences/main.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/preferences/main.php 2012-05-20 03:27:30 UTC (rev 9554) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/preferences/main.php 2012-05-20 03:42:36 UTC (rev 9555) @@ -164,8 +164,8 @@ // Clean cached files, may take long time // User reigister_shutdown_function to keep running after connection closes so that cleaning cached files can be finished // Cache management should be performed on a separate page - require_once $xoops->path('modules/system/class/maintenance.php'); - $maintenance = new SystemMaintenance(); + require_once $xoops->path('modules/maintenance/class/maintenance.php'); + $maintenance = new Maintenance(); $options = array(1); //1 goes for cache //register_shutdown_function( array( &$xoopsTpl, 'clear_all_cache' ) ); register_shutdown_function(array(&$maintenance, 'CleanCache'), $options); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-05-20 03:27:36
|
Revision: 9554 http://xoops.svn.sourceforge.net/xoops/?rev=9554&view=rev Author: beckmi Date: 2012-05-20 03:27:30 +0000 (Sun, 20 May 2012) Log Message: ----------- Updating English language files Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/admin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/help/help.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/modinfo.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/admin.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/admin.php 2012-05-20 03:10:24 UTC (rev 9553) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/admin.php 2012-05-20 03:27:30 UTC (rev 9554) @@ -35,9 +35,9 @@ define("_AM_AVATARS_NBNOTDISPLAY_C","There are %s custom avatars not visible"); define("_AM_AVATARS_NBNOTDISPLAY_S","There are %s system avatars not visible"); define("_AM_AVATARS_OFF","Display in the form "); -define("_AM_AVATARS_ON","Does not display in the form"); +define("_AM_AVATARS_ON","Do not display in the form"); define("_AM_AVATARS_SAVE","Avatar saved"); -define("_AM_AVATARS_SUREDEL","Are you sure you want to delete this avatar?"); +define("_AM_AVATARS_SUREDEL","Are you sure to delete this avatar?"); define("_AM_AVATARS_WEIGHT","Display order in avatar manager:"); define("_AM_AVATARS_UPLOADS","Upload"); define("_AM_AVATARS_USERS","Users using this avatar"); @@ -46,5 +46,5 @@ define("_AM_AVATARS_SYSTEM_TIPS","<ul><li>Add, update or delete system avatars</li></ul>"); define("_AM_AVATARS_CUSTOM_TIPS","<ul><li>Add, update or delete custom avatars</li></ul>"); define("_AM_AVATARS_TIPS_FORM1","<ul><li>Authorized mime types: %s</li>"); -define("_AM_AVATARS_TIPS_FORM2","<li>Max uploaded files size: %s ko</li>"); +define("_AM_AVATARS_TIPS_FORM2","<li>Max uploaded files size (KB): %s</li>"); define("_AM_AVATARS_TIPS_FORM3","<li>Max Pixels: %s x %s (width x height)</li></ul>"); \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/help/help.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/help/help.html 2012-05-20 03:10:24 UTC (rev 9553) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/help/help.html 2012-05-20 03:27:30 UTC (rev 9554) @@ -11,5 +11,5 @@ Custom Avatars are images directly uploaded by a user. For a user to be able to upload an avatar, the correct option must be configured in the User Info Settings of the Site Preferences. <br/><br/> <h4>Edit and delete Avatars</h4><br/> -The Site administrator can edit the name and the display order of all the System Avatars, as well as deleting anyone of them. Note that if the Site administrator deleted an avatar that is used by a user, this user will lose his avatar. +The Site administrator can edit the name and the display order of all the System Avatars, as well as deleting any of them. Note that if the Site administrator has deleted an avatar that is used by a user, this user will lose his avatar and will need to upload a new one. <!-- ===== Help Content ======= --> \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/modinfo.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/modinfo.php 2012-05-20 03:10:24 UTC (rev 9553) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/modinfo.php 2012-05-20 03:27:30 UTC (rev 9554) @@ -21,7 +21,7 @@ */ // Info module define("_MI_AVATARS_NAME", "Avatars"); -define("_MI_AVATARS_DESC", "Plugins for managing avatars"); +define("_MI_AVATARS_DESC", "Plugin for managing avatars"); // Menu define("_MI_AVATARS_INDEX", "Home"); define("_MI_AVATARS_SYSTEM", "System avatars"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-05-20 03:10:30
|
Revision: 9553 http://xoops.svn.sourceforge.net/xoops/?rev=9553&view=rev Author: beckmi Date: 2012-05-20 03:10:24 +0000 (Sun, 20 May 2012) Log Message: ----------- Adding a screenshot, so it's visible in Install Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/themes/default/screenshot.png Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/themes/default/screenshot.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/themes/default/screenshot.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |