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) |
From: <be...@us...> - 2012-02-19 12:12:17
|
Revision: 9024 http://xoops.svn.sourceforge.net/xoops/?rev=9024&view=rev Author: beckmi Date: 2012-02-19 12:12:07 +0000 (Sun, 19 Feb 2012) Log Message: ----------- Updated TinyMCE to 3.4.8 Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.5/docs/changelog.250.txt XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin.js XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin.js XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/js/media.js XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/js/table.js XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/tiny_mce.js Modified: XoopsCore/branches/2.5.x/2.5.5/docs/changelog.250.txt =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/docs/changelog.250.txt 2012-02-19 11:38:10 UTC (rev 9023) +++ XoopsCore/branches/2.5.x/2.5.5/docs/changelog.250.txt 2012-02-19 12:12:07 UTC (rev 9024) @@ -1,7 +1,7 @@ XOOPS 2.5.x Changelog (Language changes: see: /docs/lang_diff.txt) =============================== -2011/11/21: Version 2.5.5 Beta +2011/02/19: Version 2.5.5 Beta =============================== Security fixes: - XSS (Cross Site Scripting) vulnerability in PM module and tinymce (High-Tech Bridge Security Research Lab/trabis) @@ -16,11 +16,21 @@ - /class/object.php deprecated message, should be /class/xoopsobject.php (mamba/trabis) - /class/module.php deprecated message, should be /class/xoopsmodule.php (mamba) - /class/user.php deprecated message, should be /class/xoopsuser.php (mamba) + - Fixed bug ID: 3443381 (mage) + - Fixed bug ID: 3201929 (mage) + - Fixed bug ID: 3432275 (mage) + - fixed bug (Incorrect value for setOrder() in modulesadmin/main.php - ID: 3461539) (mage) + - Fixed bug "When deleting client, it doesn't delete finished banners - ID: 3469896" (mage) + + + Improved: - Add key 'uid' on 'groups_users_link' table to allow joining 'users' table with better performance (trabis) + - Add Comments, Templates, and Uninstall links to Module's Admin (mamba) Updated: - - updated TinyMCE to 3.4.7 (mamba) + - updated TinyMCE to 3.4.8 (mamba) + - updated jQuery to 1.71 (mamba) =============================== 2011/11/20: Version 2.5.4 Final Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt 2012-02-19 11:38:10 UTC (rev 9023) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt 2012-02-19 12:12:07 UTC (rev 9024) @@ -1,3 +1,27 @@ +Version 3.4.8 (2012-02-02) + Fixed bug in IE where selected text ending with space cannot be formatted then formatted again to get original text. + Fixed bug in IE where images larger than editor area were being deselected when toolbar buttons are clicked. + Fixed bug where wrong text align buttons are active when multiple block elements are selected. + Fixed bug where selected link not showing in target field of link dialog in some selection cases. + Use settings for remove_trailing_br so this can be turned off instead of hard coding the value. + Fixed bug in IE where the media plugin displayed null text when some values aren't filled in. + Added API method 'onSetAttrib' that fires when the attribute value on a node changes. + Fix font size dropdown value not being updated when text already has a font size in the advanced template. + Fixed bug in IE where IE doesn't use ARIA attributes properly on options - causing labels to be read out 2 times. + Fixed bug where caret cannot be placed after table if table is at end of document in IE. + Fixed bug where adding range isn't always successful so we need to check range count otherwise an exception can occur. + Added spacebar onclick handler to toolbar buttons to ensure that the accessibility behaviour works correctly. + Fixed bug where a stranded bullet point would get created in WebKit. + Fixed bug where selecting text in a blockquote and pressing backspace toggles the style. + Fixed bug where pressing enter from a heading in IE, the resulting P tag below it shares the style property. + Fix white space in between spans from being deleted. + Fixed bug where scrollbars where visible in the character map dialog on Gecko. + Fixed issue with missing translation for one of the emoticons. + Fixed bug where dots in id:s where causing problems. Patch provided by Abhishek Dev. + Fixed bug where urls with an at sign in the path wouldn't be parsed correctly. Patch contributed by Jason Grout. + Fixed bug where Opera would remove the first character of a inline formatted word if you pressed backspace. + Fixed bugs with the autoresize plugin on various browsers and removed the need for the throbber. + Fixed performance issue where the contextmenu plugin would try to remove the menu even if it was removed. Patch contributed by mhu. Version 3.4.7 (2011-11-03) Modified the caret formatting behavior to word similar to common desktop wordprocessors like Word or Libre Office. Fixed bug in Webkit - Cursor positioning does not work vertically within a table cell with multiple lines of text. Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js 2012-02-19 11:38:10 UTC (rev 9023) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js 2012-02-19 12:12:07 UTC (rev 9024) @@ -54,6 +54,13 @@ document.getElementById('popupurl').style.width = '180px'; elm = inst.dom.getParent(elm, "A"); + if (elm == null) { + var prospect = inst.dom.create("p", null, inst.selection.getContent()); + if (prospect.childNodes.length === 1) { + elm = prospect.firstChild; + } + } + if (elm != null && elm.nodeName == "A") action = "update"; @@ -503,7 +510,7 @@ var targets = tinyMCEPopup.getParam('theme_advanced_link_targets', '').split(';'); var html = ''; - html += '<select id="' + elm_id + '" name="' + elm_id + '" onf2ocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="this.form.' + target_form_element + '.value='; + html += '<select id="' + elm_id + '" name="' + elm_id + '" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="this.form.' + target_form_element + '.value='; html += 'this.options[this.selectedIndex].value;">'; html += '<option value="_self">' + tinyMCEPopup.getLang('advlink_dlg.target_same') + '</option>'; html += '<option value="_blank">' + tinyMCEPopup.getLang('advlink_dlg.target_blank') + ' (_blank)</option>'; Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin.js =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin.js 2012-02-19 11:38:10 UTC (rev 9023) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin.js 2012-02-19 12:12:07 UTC (rev 9024) @@ -1 +1 @@ -(function(){tinymce.create("tinymce.plugins.AutoResizePlugin",{init:function(a,c){var d=this,e=0;if(a.getParam("fullscreen_is_enabled")){return}function b(){var i=a.getDoc(),f=i.body,k=i.documentElement,h=tinymce.DOM,j=d.autoresize_min_height,g;g=tinymce.isIE?f.scrollHeight:i.body.offsetHeight;if(g>d.autoresize_min_height){j=g}if(d.autoresize_max_height&&g>d.autoresize_max_height){j=d.autoresize_max_height;a.getBody().style.overflowY="auto"}else{a.getBody().style.overflowY="hidden"}if(j!==e){h.setStyle(h.get(a.id+"_ifr"),"height",j+"px");e=j}if(d.throbbing){a.setProgressState(false);a.setProgressState(true)}}d.editor=a;d.autoresize_min_height=parseInt(a.getParam("autoresize_min_height",a.getElement().offsetHeight));d.autoresize_max_height=parseInt(a.getParam("autoresize_max_height",0));a.onInit.add(function(f){f.dom.setStyle(f.getBody(),"paddingBottom",f.getParam("autoresize_bottom_margin",50)+"px")});a.onChange.add(b);a.onSetContent.add(b);a.onPaste.add(b);a.onKeyUp.add(b);a.onPostRender.add(b);if(a.getParam("autoresize_on_init",true)){a.onInit.add(function(g,f){g.setProgressState(true);d.throbbing=true;g.getBody().style.overflowY="hidden"});a.onLoadContent.add(function(g,f){b();setTimeout(function(){b();g.setProgressState(false);d.throbbing=false},1250)})}a.addCommand("mceAutoResize",b)},getInfo:function(){return{longname:"Auto Resize",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autoresize",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("autoresize",tinymce.plugins.AutoResizePlugin)})(); \ No newline at end of file +(function(){tinymce.create("tinymce.plugins.AutoResizePlugin",{init:function(a,c){var d=this,e=0;if(a.getParam("fullscreen_is_enabled")){return}function b(){var j,i=a.getDoc(),f=i.body,l=i.documentElement,h=tinymce.DOM,k=d.autoresize_min_height,g;g=tinymce.isIE?f.scrollHeight:(tinymce.isWebKit&&f.clientHeight==0?0:f.offsetHeight);if(g>d.autoresize_min_height){k=g}if(d.autoresize_max_height&&g>d.autoresize_max_height){k=d.autoresize_max_height;f.style.overflowY="auto";l.style.overflowY="auto"}else{f.style.overflowY="hidden";l.style.overflowY="hidden";f.scrollTop=0}if(k!==e){j=k-e;h.setStyle(h.get(a.id+"_ifr"),"height",k+"px");e=k;if(tinymce.isWebKit&&j<0){b()}}}d.editor=a;d.autoresize_min_height=parseInt(a.getParam("autoresize_min_height",a.getElement().offsetHeight));d.autoresize_max_height=parseInt(a.getParam("autoresize_max_height",0));a.onInit.add(function(f){f.dom.setStyle(f.getBody(),"paddingBottom",f.getParam("autoresize_bottom_margin",50)+"px")});a.onChange.add(b);a.onSetContent.add(b);a.onPaste.add(b);a.onKeyUp.add(b);a.onPostRender.add(b);if(a.getParam("autoresize_on_init",true)){a.onLoad.add(b);a.onLoadContent.add(b)}a.addCommand("mceAutoResize",b)},getInfo:function(){return{longname:"Auto Resize",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autoresize",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("autoresize",tinymce.plugins.AutoResizePlugin)})(); \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js 2012-02-19 11:38:10 UTC (rev 9023) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js 2012-02-19 12:12:07 UTC (rev 9024) @@ -1 +1 @@ -(function(){var a=tinymce.dom.Event,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.ContextMenu",{init:function(e){var h=this,f,d,i;h.editor=e;d=e.settings.contextmenu_never_use_native;h.onContextMenu=new tinymce.util.Dispatcher(this);f=e.onContextMenu.add(function(j,k){if((i!==0?i:k.ctrlKey)&&!d){return}a.cancel(k);if(k.target.nodeName=="IMG"){j.selection.select(k.target)}h._getMenu(j).showMenu(k.clientX||k.pageX,k.clientY||k.pageY);a.add(j.getDoc(),"click",function(l){g(j,l)});j.nodeChanged()});e.onRemove.add(function(){if(h._menu){h._menu.removeAll()}});function g(j,k){i=0;if(k&&k.button==2){i=k.ctrlKey;return}if(h._menu){h._menu.removeAll();h._menu.destroy();a.remove(j.getDoc(),"click",g)}}e.onMouseDown.add(g);e.onKeyDown.add(g);e.onKeyDown.add(function(j,k){if(k.shiftKey&&!k.ctrlKey&&!k.altKey&&k.keyCode===121){a.cancel(k);f(j,k)}})},getInfo:function(){return{longname:"Contextmenu",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/contextmenu",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_getMenu:function(e){var g=this,d=g._menu,j=e.selection,f=j.isCollapsed(),h=j.getNode()||e.getBody(),i,k;if(d){d.removeAll();d.destroy()}k=b.getPos(e.getContentAreaContainer());d=e.controlManager.createDropMenu("contextmenu",{offset_x:k.x+e.getParam("contextmenu_offset_x",0),offset_y:k.y+e.getParam("contextmenu_offset_y",0),constrain:1,keyboard_focus:true});g._menu=d;d.add({title:"advanced.cut_desc",icon:"cut",cmd:"Cut"}).setDisabled(f);d.add({title:"advanced.copy_desc",icon:"copy",cmd:"Copy"}).setDisabled(f);d.add({title:"advanced.paste_desc",icon:"paste",cmd:"Paste"});if((h.nodeName=="A"&&!e.dom.getAttrib(h,"name"))||!f){d.addSeparator();d.add({title:"advanced.link_desc",icon:"link",cmd:e.plugins.advlink?"mceAdvLink":"mceLink",ui:true});d.add({title:"advanced.unlink_desc",icon:"unlink",cmd:"UnLink"})}d.addSeparator();d.add({title:"advanced.image_desc",icon:"image",cmd:e.plugins.advimage?"mceAdvImage":"mceImage",ui:true});d.addSeparator();i=d.addMenu({title:"contextmenu.align"});i.add({title:"contextmenu.left",icon:"justifyleft",cmd:"JustifyLeft"});i.add({title:"contextmenu.center",icon:"justifycenter",cmd:"JustifyCenter"});i.add({title:"contextmenu.right",icon:"justifyright",cmd:"JustifyRight"});i.add({title:"contextmenu.full",icon:"justifyfull",cmd:"JustifyFull"});g.onContextMenu.dispatch(g,d,h,f);return d}});tinymce.PluginManager.add("contextmenu",tinymce.plugins.ContextMenu)})(); \ No newline at end of file +(function(){var a=tinymce.dom.Event,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.ContextMenu",{init:function(e){var h=this,f,d,i;h.editor=e;d=e.settings.contextmenu_never_use_native;h.onContextMenu=new tinymce.util.Dispatcher(this);f=e.onContextMenu.add(function(j,k){if((i!==0?i:k.ctrlKey)&&!d){return}a.cancel(k);if(k.target.nodeName=="IMG"){j.selection.select(k.target)}h._getMenu(j).showMenu(k.clientX||k.pageX,k.clientY||k.pageY);a.add(j.getDoc(),"click",function(l){g(j,l)});j.nodeChanged()});e.onRemove.add(function(){if(h._menu){h._menu.removeAll()}});function g(j,k){i=0;if(k&&k.button==2){i=k.ctrlKey;return}if(h._menu){h._menu.removeAll();h._menu.destroy();a.remove(j.getDoc(),"click",g);h._menu=null}}e.onMouseDown.add(g);e.onKeyDown.add(g);e.onKeyDown.add(function(j,k){if(k.shiftKey&&!k.ctrlKey&&!k.altKey&&k.keyCode===121){a.cancel(k);f(j,k)}})},getInfo:function(){return{longname:"Contextmenu",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/contextmenu",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_getMenu:function(e){var g=this,d=g._menu,j=e.selection,f=j.isCollapsed(),h=j.getNode()||e.getBody(),i,k;if(d){d.removeAll();d.destroy()}k=b.getPos(e.getContentAreaContainer());d=e.controlManager.createDropMenu("contextmenu",{offset_x:k.x+e.getParam("contextmenu_offset_x",0),offset_y:k.y+e.getParam("contextmenu_offset_y",0),constrain:1,keyboard_focus:true});g._menu=d;d.add({title:"advanced.cut_desc",icon:"cut",cmd:"Cut"}).setDisabled(f);d.add({title:"advanced.copy_desc",icon:"copy",cmd:"Copy"}).setDisabled(f);d.add({title:"advanced.paste_desc",icon:"paste",cmd:"Paste"});if((h.nodeName=="A"&&!e.dom.getAttrib(h,"name"))||!f){d.addSeparator();d.add({title:"advanced.link_desc",icon:"link",cmd:e.plugins.advlink?"mceAdvLink":"mceLink",ui:true});d.add({title:"advanced.unlink_desc",icon:"unlink",cmd:"UnLink"})}d.addSeparator();d.add({title:"advanced.image_desc",icon:"image",cmd:e.plugins.advimage?"mceAdvImage":"mceImage",ui:true});d.addSeparator();i=d.addMenu({title:"contextmenu.align"});i.add({title:"contextmenu.left",icon:"justifyleft",cmd:"JustifyLeft"});i.add({title:"contextmenu.center",icon:"justifycenter",cmd:"JustifyCenter"});i.add({title:"contextmenu.right",icon:"justifyright",cmd:"JustifyRight"});i.add({title:"contextmenu.full",icon:"justifyfull",cmd:"JustifyFull"});g.onContextMenu.dispatch(g,d,h,f);return d}});tinymce.PluginManager.add("contextmenu",tinymce.plugins.ContextMenu)})(); \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm 2012-02-19 11:38:10 UTC (rev 9023) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm 2012-02-19 12:12:07 UTC (rev 9024) @@ -30,7 +30,7 @@ <td><a class="emoticon_link" role="button" title="{#emotions_dlg.surprised}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-surprised.gif','emotions_dlg.surprised');"><img src="img/smiley-surprised.gif" width="18" height="18" border="0" alt="{#emotions_dlg.surprised}. {#emotions_dlg.usage}" /></a></td> </tr> <tr> - <td><a class="emoticon_link" role="button" title="{#emotions_dlg.tongue-out}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-tongue-out.gif','emotions_dlg.tongue_out');"><img src="img/smiley-tongue-out.gif" width="18" height="18" border="0" alt="{#emotions_dlg.tongue-out}. {#emotions_dlg.usage}" /></a></td> + <td><a class="emoticon_link" role="button" title="{#emotions_dlg.tongue_out}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-tongue-out.gif','emotions_dlg.tongue_out');"><img src="img/smiley-tongue-out.gif" width="18" height="18" border="0" alt="{#emotions_dlg.tongue-out}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.undecided}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-undecided.gif','emotions_dlg.undecided');"><img src="img/smiley-undecided.gif" width="18" height="18" border="0" alt="{#emotions_dlg.undecided}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.wink}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-wink.gif','emotions_dlg.wink');"><img src="img/smiley-wink.gif" width="18" height="18" border="0" alt="{#emotions_dlg.wink}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.yell}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-yell.gif','emotions_dlg.yell');"><img src="img/smiley-yell.gif" width="18" height="18" border="0" alt="{#emotions_dlg.yell}. {#emotions_dlg.usage}" /></a></td> Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin.js =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin.js 2012-02-19 11:38:10 UTC (rev 9023) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin.js 2012-02-19 12:12:07 UTC (rev 9024) @@ -1 +1 @@ -(function(){var e=tinymce.each,r=tinymce.dom.Event,g;function p(t,s){while(t&&(t.nodeType===8||(t.nodeType===3&&/^[ \t\n\r]*$/.test(t.nodeValue)))){t=s(t)}return t}function b(s){return p(s,function(t){return t.previousSibling})}function i(s){return p(s,function(t){return t.nextSibling})}function d(s,u,t){return s.dom.getParent(u,function(v){return tinymce.inArray(t,v)!==-1})}function n(s){return s&&(s.tagName==="OL"||s.tagName==="UL")}function c(u,v){var t,w,s;t=b(u.lastChild);while(n(t)){w=t;t=b(w.previousSibling)}if(w){s=v.create("li",{style:"list-style-type: none;"});v.split(u,w);v.insertAfter(s,w);s.appendChild(w);s.appendChild(w);u=s.previousSibling}return u}function m(t,s,u){t=a(t,s,u);return o(t,s,u)}function a(u,s,v){var t=b(u.previousSibling);if(t){return h(t,u,s?t:false,v)}else{return u}}function o(u,t,v){var s=i(u.nextSibling);if(s){return h(u,s,t?s:false,v)}else{return u}}function h(u,s,t,v){if(l(u,s,!!t,v)){return f(u,s,t)}else{if(u&&u.tagName==="LI"&&n(s)){u.appendChild(s)}}return s}function l(u,t,s,v){if(!u||!t){return false}else{if(u.tagName==="LI"&&t.tagName==="LI"){return t.style.listStyleType==="none"||j(t)}else{if(n(u)){return(u.tagName===t.tagName&&(s||u.style.listStyleType===t.style.listStyleType))||q(t)}else{return v&&u.tagName==="P"&&t.tagName==="P"}}}}function q(t){var s=i(t.firstChild),u=b(t.lastChild);return s&&u&&n(t)&&s===u&&(n(s)||s.style.listStyleType==="none"||j(s))}function j(u){var t=i(u.firstChild),s=b(u.lastChild);return t&&s&&t===s&&n(t)}function f(w,v,s){var u=b(w.lastChild),t=i(v.firstChild);if(w.tagName==="P"){w.appendChild(w.ownerDocument.createElement("br"))}while(v.firstChild){w.appendChild(v.firstChild)}if(s){w.style.listStyleType=s.style.listStyleType}v.parentNode.removeChild(v);h(u,t,false);return w}function k(t,u){var s;if(!u.is(t,"li,ol,ul")){s=u.getParent(t,"li");if(s){t=s}}return t}tinymce.create("tinymce.plugins.Lists",{init:function(y){var v="TABBING";var s="EMPTY";var I="ESCAPE";var z="PARAGRAPH";var M="UNKNOWN";var x=M;function E(T){return T.keyCode===tinymce.VK.TAB&&!(T.altKey||T.ctrlKey)&&(y.queryCommandState("InsertUnorderedList")||y.queryCommandState("InsertOrderedList"))}function D(){var T=y.selection.getRng();var U=T.startContainer;if(U.nodeType==3){return(T.endOffset==U.nodeValue.length)}else{if(U.nodeType==1){return T.endOffset==U.childNodes.length}}return false}function N(){var U=y.selection.getNode();var T=U.tagName==="P"&&U.parentNode.tagName==="LI"&&U.parentNode.lastChild===U;return y.selection.isCollapsed()&&T&&D()}function w(){var T=B();var V=T.parentNode.parentNode;var U=T.parentNode.lastChild===T;return U&&!t(V)&&O(T)}function t(T){if(n(T)){return T.parentNode&&T.parentNode.tagName==="LI"}else{return T.tagName==="LI"}}function F(){return y.selection.isCollapsed()&&O(B())}function B(){var T=y.selection.getStart();return((T.tagName=="BR"||T.tagName=="")&&T.parentNode.tagName=="LI")?T.parentNode:T}function O(T){var U=T.childNodes.length;if(T.tagName==="LI"){return U==0?true:U==1&&(T.firstChild.tagName==""||T.firstChild.tagName=="BR"||H(T))}return false}function H(T){var U=tinymce.grep(T.parentNode.childNodes,function(X){return X.tagName=="LI"});var V=T==U[U.length-1];var W=T.firstChild;return tinymce.isIE9&&V&&(W.nodeValue==String.fromCharCode(160)||W.nodeValue==String.fromCharCode(32))}function S(T){return T.keyCode===tinymce.VK.ENTER}function A(T){return S(T)&&!T.shiftKey}function L(T){if(E(T)){return v}else{if(A(T)&&w()){return I}else{if(A(T)&&F()){return s}else{if(A(T)&&N()){return z}else{return M}}}}}function C(T,U){if(x==v||x==s||tinymce.isGecko&&x==I){r.cancel(U)}}function J(V,X){if(x==z){var W=V.selection.getNode();var U=V.dom.create("li");var T=V.dom.getParent(W,"li");V.dom.insertAfter(U,T);if(tinyMCE.isIE8){U.appendChild(V.dom.create(" "));V.selection.setCursorLocation(U,1)}else{if(tinyMCE.isGecko){setTimeout(function(){var Y=V.getDoc().createTextNode("\uFEFF");U.appendChild(Y);V.selection.setCursorLocation(U,0)},0)}else{V.selection.setCursorLocation(U,0)}}r.cancel(X)}}function u(W,Y){var ab;if(!tinymce.isGecko){return}var U=W.selection.getStart();if(Y.keyCode!=tinymce.VK.BACKSPACE||U.tagName!=="IMG"){return}function V(af){var ag=af.firstChild;var ae=null;do{if(!ag){break}if(ag.tagName==="LI"){ae=ag}}while(ag=ag.nextSibling);return ae}function ad(af,ae){while(af.childNodes.length>0){ae.appendChild(af.childNodes[0])}}ab=U.parentNode.previousSibling;if(!ab){return}var Z;if(ab.tagName==="UL"||ab.tagName==="OL"){Z=ab}else{if(ab.previousSibling&&(ab.previousSibling.tagName==="UL"||ab.previousSibling.tagName==="OL")){Z=ab.previousSibling}else{return}}var ac=V(Z);var T=W.dom.createRng();T.setStart(ac,1);T.setEnd(ac,1);W.selection.setRng(T);W.selection.collapse(true);var X=W.selection.getBookmark();var aa=U.parentNode.cloneNode(true);if(aa.tagName==="P"||aa.tagName==="DIV"){ad(aa,ac)}else{ac.appendChild(aa)}U.parentNode.parentNode.removeChild(U.parentNode);W.selection.moveToBookmark(X)}function G(T){var U=y.dom.getParent(T,"ol,ul");if(U!=null){var V=U.lastChild;V.appendChild(y.getDoc().createElement(""));y.selection.setCursorLocation(V,0)}}this.ed=y;y.addCommand("Indent",this.indent,this);y.addCommand("Outdent",this.outdent,this);y.addCommand("InsertUnorderedList",function(){this.applyList("UL","OL")},this);y.addCommand("InsertOrderedList",function(){this.applyList("OL","UL")},this);y.onInit.add(function(){y.editorCommands.addCommands({outdent:function(){var U=y.selection,V=y.dom;function T(W){W=V.getParent(W,V.isBlock);return W&&(parseInt(y.dom.getStyle(W,"margin-left")||0,10)+parseInt(y.dom.getStyle(W,"padding-left")||0,10))>0}return T(U.getStart())||T(U.getEnd())||y.queryCommandState("InsertOrderedList")||y.queryCommandState("InsertUnorderedList")}},"state")});y.onKeyUp.add(function(U,V){if(x==v){U.execCommand(V.shiftKey?"Outdent":"Indent",true,null);x=M;return r.cancel(V)}else{if(x==s){var T=B();var X=U.settings.list_outdent_on_enter===true||V.shiftKey;U.execCommand(X?"Outdent":"Indent",true,null);if(tinymce.isIE){G(T)}return r.cancel(V)}else{if(x==I){if(tinymce.isIE8){var W=U.getDoc().createTextNode("\uFEFF");U.selection.getNode().appendChild(W)}else{if(tinymce.isIE9||tinymce.isGecko){U.execCommand("Outdent");return r.cancel(V)}}}}}});function K(U,T){var V=y.getDoc().createTextNode("\uFEFF");U.insertBefore(V,T);y.selection.setCursorLocation(V,0);y.execCommand("mceRepaint")}function Q(U,W){if(S(W)){var T=B();if(T){var V=T.parentNode;var X=V&&V.parentNode;if(X&&X.nodeName=="LI"&&X.firstChild==V&&T==V.firstChild){K(X,V)}}}}function R(U,W){if(S(W)){var T=B();if(U.dom.select("ul li",T).length===1){var V=T.firstChild;K(T,V)}}}function P(U,Y){function V(ac,Z){var ab=[];var ad=new tinymce.dom.TreeWalker(Z,ac);for(var aa=ad.current();aa;aa=ad.next()){if(U.dom.is(aa,"ol,ul,li")){ab.push(aa)}}return ab}if(Y.keyCode==tinymce.VK.BACKSPACE){var T=B();if(T){var X=U.dom.getParent(T,"ol,ul");if(X&&X.firstChild===T){var W=V(X,T);U.execCommand("Outdent",false,W);U.undoManager.add();return r.cancel(Y)}}}}y.onKeyDown.add(function(T,U){x=L(U)});y.onKeyDown.add(C);y.onKeyDown.add(u);y.onKeyDown.add(J);if(tinymce.isGecko){y.onKeyUp.add(Q)}if(tinymce.isIE8){y.onKeyUp.add(R)}if(tinymce.isGecko||tinymce.isWebKit){y.onKeyDown.add(P)}},applyList:function(y,v){var C=this,z=C.ed,I=z.dom,s=[],H=false,u=false,w=false,B,G=z.selection.getSelectedBlocks();function E(t){if(t&&t.tagName==="BR"){I.remove(t)}}function F(M){var N=I.create(y),t;function L(O){if(O.style.marginLeft||O.style.paddingLeft){C.adjustPaddingFunction(false)(O)}}if(M.tagName==="LI"){}else{if(M.tagName==="P"||M.tagName==="DIV"||M.tagName==="BODY"){K(M,function(P,O){J(P,O,M.tagName==="BODY"?null:P.parentNode);t=P.parentNode;L(t);E(O)});if(t){if(t.tagName==="LI"&&(M.tagName==="P"||G.length>1)){I.split(t.parentNode.parentNode,t.parentNode)}m(t.parentNode,true)}return}else{t=I.create("li");I.insertAfter(t,M);t.appendChild(M);L(M);M=t}}I.insertAfter(N,M);N.appendChild(M);m(N,true);s.push(M)}function J(P,L,N){var t,O=P,M;while(!I.isBlock(P.parentNode)&&P.parentNode!==I.getRoot()){P=I.split(P.parentNode,P.previousSibling);P=P.nextSibling;O=P}if(N){t=N.cloneNode(true);P.parentNode.insertBefore(t,P);while(t.firstChild){I.remove(t.firstChild)}t=I.rename(t,"li")}else{t=I.create("li");P.parentNode.insertBefore(t,P)}while(O&&O!=L){M=O.nextSibling;t.appendChild(O);O=M}if(t.childNodes.length===0){t.innerHTML='<br _mce_bogus="1" />'}F(t)}function K(Q,T){var N,R,O=3,L=1,t="br,ul,ol,p,div,h1,h2,h3,h4,h5,h6,table,blockquote,address,pre,form,center,dl";function P(X,U){var V=I.createRng(),W;g.keep=true;z.selection.moveToBookmark(g);g.keep=false;W=z.selection.getRng(true);if(!U){U=X.parentNode.lastChild}V.setStartBefore(X);V.setEndAfter(U);return !(V.compareBoundaryPoints(O,W)>0||V.compareBoundaryPoints(L,W)<=0)}function S(U){if(U.nextSibling){return U.nextSibling}if(!I.isBlock(U.parentNode)&&U.parentNode!==I.getRoot()){return S(U.parentNode)}}N=Q.firstChild;var M=false;e(I.select(t,Q),function(U){if(U.hasAttribute&&U.hasAttribute("_mce_bogus")){return true}if(P(N,U)){I.addClass(U,"_mce_tagged_br");N=S(U)}});M=(N&&P(N,undefined));N=Q.firstChild;e(I.select(t,Q),function(V){var U=S(V);if(V.hasAttribute&&V.hasAttribute("_mce_bogus")){return true}if(I.hasClass(V,"_mce_tagged_br")){T(N,V,R);R=null}else{R=V}N=U});if(M){T(N,undefined,R)}}function D(t){K(t,function(M,L,N){J(M,L);E(L);E(N)})}function A(t){if(tinymce.inArray(s,t)!==-1){return}if(t.parentNode.tagName===v){I.split(t.parentNode,t);F(t);o(t.parentNode,false)}s.push(t)}function x(M){var O,N,L,t;if(tinymce.inArray(s,M)!==-1){return}M=c(M,I);while(I.is(M.parentNode,"ol,ul,li")){I.split(M.parentNode,M)}s.push(M);M=I.rename(M,"p");L=m(M,false,z.settings.force_br_newlines);if(L===M){O=M.firstChild;while(O){if(I.isBlock(O)){O=I.split(O.parentNode,O);t=true;N=O.nextSibling&&O.nextSibling.firstChild}else{N=O.nextSibling;if(t&&O.tagName==="BR"){I.remove(O)}t=false}O=N}}}e(G,function(t){t=k(t,I);if(t.tagName===v||(t.tagName==="LI"&&t.parentNode.tagName===v)){u=true}else{if(t.tagName===y||(t.tagName==="LI"&&t.parentNode.tagName===y)){H=true}else{w=true}}});if(w&&!H||u||G.length===0){B={LI:A,H1:F,H2:F,H3:F,H4:F,H5:F,H6:F,P:F,BODY:F,DIV:G.length>1?F:D,defaultAction:D,elements:this.selectedBlocks()}}else{B={defaultAction:x,elements:this.selectedBlocks()}}this.process(B)},indent:function(){var u=this.ed,w=u.dom,x=[];function s(z){var y=w.create("li",{style:"list-style-type: none;"});w.insertAfter(y,z);return y}function t(B){var y=s(B),D=w.getParent(B,"ol,ul"),C=D.tagName,E=w.getStyle(D,"list-style-type"),A={},z;if(E!==""){A.style="list-style-type: "+E+";"}z=w.create(C,A);y.appendChild(z);return z}function v(z){if(!d(u,z,x)){z=c(z,w);var y=t(z);y.appendChild(z);m(y.parentNode,false);m(y,false);x.push(z)}}this.process({LI:v,defaultAction:this.adjustPaddingFunction(true),elements:this.selectedBlocks()})},outdent:function(y,x){var w=this,u=w.ed,z=u.dom,s=[];function A(t){var C,B,D;if(!d(u,t,s)){if(z.getStyle(t,"margin-left")!==""||z.getStyle(t,"padding-left")!==""){return w.adjustPaddingFunction(false)(t)}D=z.getStyle(t,"text-align",true);if(D==="center"||D==="right"){z.setStyle(t,"text-align","left");return}t=c(t,z);C=t.parentNode;B=t.parentNode.parentNode;if(B.tagName==="P"){z.split(B,t.parentNode)}else{z.split(C,t);if(B.tagName==="LI"){z.split(B,t)}else{if(!z.is(B,"ol,ul")){z.rename(t,"p")}}}s.push(t)}}var v=x&&tinymce.is(x,"array")?x:this.selectedBlocks();this.process({LI:A,defaultAction:this.adjustPaddingFunction(false),elements:v});e(s,m)},process:function(y){var F=this,w=F.ed.selection,z=F.ed.dom,E,u;function B(t){var s=tinymce.grep(t.childNodes,function(H){return !(H.nodeName==="BR"||H.nodeName==="SPAN"&&z.getAttrib(H,"data-mce-type")=="bookmark"||H.nodeType==3&&(H.nodeValue==String.fromCharCode(160)||H.nodeValue==""))});return s.length===0}function x(s){z.removeClass(s,"_mce_act_on");if(!s||s.nodeType!==1||E.length>1&&B(s)){return}s=k(s,z);var t=y[s.tagName];if(!t){t=y.defaultAction}t(s)}function v(s){F.splitSafeEach(s.childNodes,x)}function C(s,t){return t>=0&&s.hasChildNodes()&&t<s.childNodes.length&&s.childNodes[t].tagName==="BR"}function D(){var t=w.getNode();var s=z.getParent(t,"td");return s!==null}E=y.elements;u=w.getRng(true);if(!u.collapsed){if(C(u.endContainer,u.endOffset-1)){u.setEnd(u.endContainer,u.endOffset-1);w.setRng(u)}if(C(u.startContainer,u.startOffset)){u.setStart(u.startContainer,u.startOffset+1);w.setRng(u)}}if(tinymce.isIE8){var G=F.ed.selection.getNode();if(G.tagName==="LI"&&!(G.parentNode.lastChild===G)){var A=F.ed.getDoc().createTextNode("\uFEFF");G.appendChild(A)}}g=w.getBookmark();y.OL=y.UL=v;F.splitSafeEach(E,x);w.moveToBookmark(g);g=null;if(!D()){F.ed.execCommand("mceRepaint")}},splitSafeEach:function(t,s){if(tinymce.isGecko&&(/Firefox\/[12]\.[0-9]/.test(navigator.userAgent)||/Firefox\/3\.[0-4]/.test(navigator.userAgent))){this.classBasedEach(t,s)}else{e(t,s)}},classBasedEach:function(v,u){var w=this.ed.dom,s,t;e(v,function(x){w.addClass(x,"_mce_act_on")});s=w.select("._mce_act_on");while(s.length>0){t=s.shift();w.removeClass(t,"_mce_act_on");u(t);s=w.select("._mce_act_on")}},adjustPaddingFunction:function(u){var s,v,t=this.ed;s=t.settings.indentation;v=/[a-z%]+/i.exec(s);s=parseInt(s,10);return function(w){var y,x;y=parseInt(t.dom.getStyle(w,"margin-left")||0,10)+parseInt(t.dom.getStyle(w,"padding-left")||0,10);if(u){x=y+s}else{x=y-s}t.dom.setStyle(w,"padding-left","");t.dom.setStyle(w,"margin-left",x>0?x+v:"")}},selectedBlocks:function(){var s=this.ed;var t=s.selection.getSelectedBlocks();return t.length==0?[s.dom.getRoot()]:t},getInfo:function(){return{longname:"Lists",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/lists",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("lists",tinymce.plugins.Lists)}()); \ No newline at end of file +(function(){var e=tinymce.each,r=tinymce.dom.Event,g;function p(t,s){while(t&&(t.nodeType===8||(t.nodeType===3&&/^[ \t\n\r]*$/.test(t.nodeValue)))){t=s(t)}return t}function b(s){return p(s,function(t){return t.previousSibling})}function i(s){return p(s,function(t){return t.nextSibling})}function d(s,u,t){return s.dom.getParent(u,function(v){return tinymce.inArray(t,v)!==-1})}function n(s){return s&&(s.tagName==="OL"||s.tagName==="UL")}function c(u,v){var t,w,s;t=b(u.lastChild);while(n(t)){w=t;t=b(w.previousSibling)}if(w){s=v.create("li",{style:"list-style-type: none;"});v.split(u,w);v.insertAfter(s,w);s.appendChild(w);s.appendChild(w);u=s.previousSibling}return u}function m(t,s,u){t=a(t,s,u);return o(t,s,u)}function a(u,s,v){var t=b(u.previousSibling);if(t){return h(t,u,s?t:false,v)}else{return u}}function o(u,t,v){var s=i(u.nextSibling);if(s){return h(u,s,t?s:false,v)}else{return u}}function h(u,s,t,v){if(l(u,s,!!t,v)){return f(u,s,t)}else{if(u&&u.tagName==="LI"&&n(s)){u.appendChild(s)}}return s}function l(u,t,s,v){if(!u||!t){return false}else{if(u.tagName==="LI"&&t.tagName==="LI"){return t.style.listStyleType==="none"||j(t)}else{if(n(u)){return(u.tagName===t.tagName&&(s||u.style.listStyleType===t.style.listStyleType))||q(t)}else{return v&&u.tagName==="P"&&t.tagName==="P"}}}}function q(t){var s=i(t.firstChild),u=b(t.lastChild);return s&&u&&n(t)&&s===u&&(n(s)||s.style.listStyleType==="none"||j(s))}function j(u){var t=i(u.firstChild),s=b(u.lastChild);return t&&s&&t===s&&n(t)}function f(w,v,s){var u=b(w.lastChild),t=i(v.firstChild);if(w.tagName==="P"){w.appendChild(w.ownerDocument.createElement("br"))}while(v.firstChild){w.appendChild(v.firstChild)}if(s){w.style.listStyleType=s.style.listStyleType}v.parentNode.removeChild(v);h(u,t,false);return w}function k(t,u){var s;if(!u.is(t,"li,ol,ul")){s=u.getParent(t,"li");if(s){t=s}}return t}tinymce.create("tinymce.plugins.Lists",{init:function(y){var v="TABBING";var s="EMPTY";var I="ESCAPE";var z="PARAGRAPH";var M="UNKNOWN";var x=M;function E(U){return U.keyCode===tinymce.VK.TAB&&!(U.altKey||U.ctrlKey)&&(y.queryCommandState("InsertUnorderedList")||y.queryCommandState("InsertOrderedList"))}function D(){var U=y.selection.getRng();var V=U.startContainer;if(V.nodeType==3){return(U.endOffset==V.nodeValue.length)}else{if(V.nodeType==1){return U.endOffset==V.childNodes.length}}return false}function N(){var V=y.selection.getNode();var U=V.tagName==="P"&&V.parentNode.tagName==="LI"&&V.parentNode.lastChild===V;return y.selection.isCollapsed()&&U&&D()}function w(){var U=B();var W=U.parentNode.parentNode;var V=U.parentNode.lastChild===U;return V&&!t(W)&&P(U)}function t(U){if(n(U)){return U.parentNode&&U.parentNode.tagName==="LI"}else{return U.tagName==="LI"}}function F(){return y.selection.isCollapsed()&&P(B())}function B(){var U=y.selection.getStart();return((U.tagName=="BR"||U.tagName=="")&&U.parentNode.tagName=="LI")?U.parentNode:U}function P(U){var V=U.childNodes.length;if(U.tagName==="LI"){return V==0?true:V==1&&(U.firstChild.tagName==""||U.firstChild.tagName=="BR"||H(U))}return false}function H(U){var V=tinymce.grep(U.parentNode.childNodes,function(Y){return Y.tagName=="LI"});var W=U==V[V.length-1];var X=U.firstChild;return tinymce.isIE9&&W&&(X.nodeValue==String.fromCharCode(160)||X.nodeValue==String.fromCharCode(32))}function T(U){return U.keyCode===tinymce.VK.ENTER}function A(U){return T(U)&&!U.shiftKey}function L(U){if(E(U)){return v}else{if(A(U)&&w()){return I}else{if(A(U)&&F()){return s}else{if(A(U)&&N()){return z}else{return M}}}}}function C(U,V){if(x==v||x==s||tinymce.isGecko&&x==I){r.cancel(V)}}function J(W,Y){if(x==z){var X=W.selection.getNode();var V=W.dom.create("li");var U=W.dom.getParent(X,"li");W.dom.insertAfter(V,U);if(tinyMCE.isIE8){V.appendChild(W.dom.create(" "));W.selection.setCursorLocation(V,1)}else{if(tinyMCE.isGecko){setTimeout(function(){var Z=W.getDoc().createTextNode("\uFEFF");V.appendChild(Z);W.selection.setCursorLocation(V,0)},0)}else{W.selection.setCursorLocation(V,0)}}r.cancel(Y)}}function u(X,Z){var ac;if(!tinymce.isGecko){return}var V=X.selection.getStart();if(Z.keyCode!=tinymce.VK.BACKSPACE||V.tagName!=="IMG"){return}function W(ag){var ah=ag.firstChild;var af=null;do{if(!ah){break}if(ah.tagName==="LI"){af=ah}}while(ah=ah.nextSibling);return af}function ae(ag,af){while(ag.childNodes.length>0){af.appendChild(ag.childNodes[0])}}ac=V.parentNode.previousSibling;if(!ac){return}var aa;if(ac.tagName==="UL"||ac.tagName==="OL"){aa=ac}else{if(ac.previousSibling&&(ac.previousSibling.tagName==="UL"||ac.previousSibling.tagName==="OL")){aa=ac.previousSibling}else{return}}var ad=W(aa);var U=X.dom.createRng();U.setStart(ad,1);U.setEnd(ad,1);X.selection.setRng(U);X.selection.collapse(true);var Y=X.selection.getBookmark();var ab=V.parentNode.cloneNode(true);if(ab.tagName==="P"||ab.tagName==="DIV"){ae(ab,ad)}else{ad.appendChild(ab)}V.parentNode.parentNode.removeChild(V.parentNode);X.selection.moveToBookmark(Y)}function G(U){var V=y.dom.getParent(U,"ol,ul");if(V!=null){var W=V.lastChild;W.appendChild(y.getDoc().createElement(""));y.selection.setCursorLocation(W,0)}}this.ed=y;y.addCommand("Indent",this.indent,this);y.addCommand("Outdent",this.outdent,this);y.addCommand("InsertUnorderedList",function(){this.applyList("UL","OL")},this);y.addCommand("InsertOrderedList",function(){this.applyList("OL","UL")},this);y.onInit.add(function(){y.editorCommands.addCommands({outdent:function(){var V=y.selection,W=y.dom;function U(X){X=W.getParent(X,W.isBlock);return X&&(parseInt(y.dom.getStyle(X,"margin-left")||0,10)+parseInt(y.dom.getStyle(X,"padding-left")||0,10))>0}return U(V.getStart())||U(V.getEnd())||y.queryCommandState("InsertOrderedList")||y.queryCommandState("InsertUnorderedList")}},"state")});y.onKeyUp.add(function(V,W){if(x==v){V.execCommand(W.shiftKey?"Outdent":"Indent",true,null);x=M;return r.cancel(W)}else{if(x==s){var U=B();var Y=V.settings.list_outdent_on_enter===true||W.shiftKey;V.execCommand(Y?"Outdent":"Indent",true,null);if(tinymce.isIE){G(U)}return r.cancel(W)}else{if(x==I){if(tinymce.isIE8){var X=V.getDoc().createTextNode("\uFEFF");V.selection.getNode().appendChild(X)}else{if(tinymce.isIE9||tinymce.isGecko){V.execCommand("Outdent");return r.cancel(W)}}}}}});function K(V,U){var W=y.getDoc().createTextNode("\uFEFF");V.insertBefore(W,U);y.selection.setCursorLocation(W,0);y.execCommand("mceRepaint")}function R(V,X){if(T(X)){var U=B();if(U){var W=U.parentNode;var Y=W&&W.parentNode;if(Y&&Y.nodeName=="LI"&&Y.firstChild==W&&U==W.firstChild){K(Y,W)}}}}function S(V,X){if(T(X)){var U=B();if(V.dom.select("ul li",U).length===1){var W=U.firstChild;K(U,W)}}}function Q(V,Z){function W(ad,aa){var ac=[];var ae=new tinymce.dom.TreeWalker(aa,ad);for(var ab=ae.current();ab;ab=ae.next()){if(V.dom.is(ab,"ol,ul,li")){ac.push(ab)}}return ac}if(Z.keyCode==tinymce.VK.BACKSPACE){var U=B();if(U){var Y=V.dom.getParent(U,"ol,ul");if(Y&&Y.firstChild===U){var X=W(Y,U);V.execCommand("Outdent",false,X);V.undoManager.add();return r.cancel(Z)}}}}function O(V,X){var U=B();if(X.keyCode===tinymce.VK.BACKSPACE&&V.dom.is(U,"li")&&U.parentNode.firstChild!==U){if(V.dom.select("ul,ol",U).length===1){var Z=U.previousSibling;V.dom.remove(V.dom.select("br",U));V.dom.remove(U,true);var W=tinymce.grep(Z.childNodes,function(aa){return aa.nodeType===3});if(W.length===1){var Y=W[0];V.selection.setCursorLocation(Y,Y.length)}V.undoManager.add();return r.cancel(X)}}}y.onKeyDown.add(function(U,V){x=L(V)});y.onKeyDown.add(C);y.onKeyDown.add(u);y.onKeyDown.add(J);if(tinymce.isGecko){y.onKeyUp.add(R)}if(tinymce.isIE8){y.onKeyUp.add(S)}if(tinymce.isGecko||tinymce.isWebKit){y.onKeyDown.add(Q)}if(tinymce.isWebKit){y.onKeyDown.add(O)}},applyList:function(y,v){var C=this,z=C.ed,I=z.dom,s=[],H=false,u=false,w=false,B,G=z.selection.getSelectedBlocks();function E(t){if(t&&t.tagName==="BR"){I.remove(t)}}function F(M){var N=I.create(y),t;function L(O){if(O.style.marginLeft||O.style.paddingLeft){C.adjustPaddingFunction(false)(O)}}if(M.tagName==="LI"){}else{if(M.tagName==="P"||M.tagName==="DIV"||M.tagName==="BODY"){K(M,function(P,O){J(P,O,M.tagName==="BODY"?null:P.parentNode);t=P.parentNode;L(t);E(O)});if(t){if(t.tagName==="LI"&&(M.tagName==="P"||G.length>1)){I.split(t.parentNode.parentNode,t.parentNode)}m(t.parentNode,true)}return}else{t=I.create("li");I.insertAfter(t,M);t.appendChild(M);L(M);M=t}}I.insertAfter(N,M);N.appendChild(M);m(N,true);s.push(M)}function J(P,L,N){var t,O=P,M;while(!I.isBlock(P.parentNode)&&P.parentNode!==I.getRoot()){P=I.split(P.parentNode,P.previousSibling);P=P.nextSibling;O=P}if(N){t=N.cloneNode(true);P.parentNode.insertBefore(t,P);while(t.firstChild){I.remove(t.firstChild)}t=I.rename(t,"li")}else{t=I.create("li");P.parentNode.insertBefore(t,P)}while(O&&O!=L){M=O.nextSibling;t.appendChild(O);O=M}if(t.childNodes.length===0){t.innerHTML='<br _mce_bogus="1" />'}F(t)}function K(Q,T){var N,R,O=3,L=1,t="br,ul,ol,p,div,h1,h2,h3,h4,h5,h6,table,blockquote,address,pre,form,center,dl";function P(X,U){var V=I.createRng(),W;g.keep=true;z.selection.moveToBookmark(g);g.keep=false;W=z.selection.getRng(true);if(!U){U=X.parentNode.lastChild}V.setStartBefore(X);V.setEndAfter(U);return !(V.compareBoundaryPoints(O,W)>0||V.compareBoundaryPoints(L,W)<=0)}function S(U){if(U.nextSibling){return U.nextSibling}if(!I.isBlock(U.parentNode)&&U.parentNode!==I.getRoot()){return S(U.parentNode)}}N=Q.firstChild;var M=false;e(I.select(t,Q),function(U){if(U.hasAttribute&&U.hasAttribute("_mce_bogus")){return true}if(P(N,U)){I.addClass(U,"_mce_tagged_br");N=S(U)}});M=(N&&P(N,undefined));N=Q.firstChild;e(I.select(t,Q),function(V){var U=S(V);if(V.hasAttribute&&V.hasAttribute("_mce_bogus")){return true}if(I.hasClass(V,"_mce_tagged_br")){T(N,V,R);R=null}else{R=V}N=U});if(M){T(N,undefined,R)}}function D(t){K(t,function(M,L,N){J(M,L);E(L);E(N)})}function A(t){if(tinymce.inArray(s,t)!==-1){return}if(t.parentNode.tagName===v){I.split(t.parentNode,t);F(t);o(t.parentNode,false)}s.push(t)}function x(M){var O,N,L,t;if(tinymce.inArray(s,M)!==-1){return}M=c(M,I);while(I.is(M.parentNode,"ol,ul,li")){I.split(M.parentNode,M)}s.push(M);M=I.rename(M,"p");L=m(M,false,z.settings.force_br_newlines);if(L===M){O=M.firstChild;while(O){if(I.isBlock(O)){O=I.split(O.parentNode,O);t=true;N=O.nextSibling&&O.nextSibling.firstChild}else{N=O.nextSibling;if(t&&O.tagName==="BR"){I.remove(O)}t=false}O=N}}}e(G,function(t){t=k(t,I);if(t.tagName===v||(t.tagName==="LI"&&t.parentNode.tagName===v)){u=true}else{if(t.tagName===y||(t.tagName==="LI"&&t.parentNode.tagName===y)){H=true}else{w=true}}});if(w&&!H||u||G.length===0){B={LI:A,H1:F,H2:F,H3:F,H4:F,H5:F,H6:F,P:F,BODY:F,DIV:G.length>1?F:D,defaultAction:D,elements:this.selectedBlocks()}}else{B={defaultAction:x,elements:this.selectedBlocks()}}this.process(B)},indent:function(){var u=this.ed,w=u.dom,x=[];function s(z){var y=w.create("li",{style:"list-style-type: none;"});w.insertAfter(y,z);return y}function t(B){var y=s(B),D=w.getParent(B,"ol,ul"),C=D.tagName,E=w.getStyle(D,"list-style-type"),A={},z;if(E!==""){A.style="list-style-type: "+E+";"}z=w.create(C,A);y.appendChild(z);return z}function v(z){if(!d(u,z,x)){z=c(z,w);var y=t(z);y.appendChild(z);m(y.parentNode,false);m(y,false);x.push(z)}}this.process({LI:v,defaultAction:this.adjustPaddingFunction(true),elements:this.selectedBlocks()})},outdent:function(y,x){var w=this,u=w.ed,z=u.dom,s=[];function A(t){var C,B,D;if(!d(u,t,s)){if(z.getStyle(t,"margin-left")!==""||z.getStyle(t,"padding-left")!==""){return w.adjustPaddingFunction(false)(t)}D=z.getStyle(t,"text-align",true);if(D==="center"||D==="right"){z.setStyle(t,"text-align","left");return}t=c(t,z);C=t.parentNode;B=t.parentNode.parentNode;if(B.tagName==="P"){z.split(B,t.parentNode)}else{z.split(C,t);if(B.tagName==="LI"){z.split(B,t)}else{if(!z.is(B,"ol,ul")){z.rename(t,"p")}}}s.push(t)}}var v=x&&tinymce.is(x,"array")?x:this.selectedBlocks();this.process({LI:A,defaultAction:this.adjustPaddingFunction(false),elements:v});e(s,m)},process:function(y){var F=this,w=F.ed.selection,z=F.ed.dom,E,u;function B(t){var s=tinymce.grep(t.childNodes,function(H){return !(H.nodeName==="BR"||H.nodeName==="SPAN"&&z.getAttrib(H,"data-mce-type")=="bookmark"||H.nodeType==3&&(H.nodeValue==String.fromCharCode(160)||H.nodeValue==""))});return s.length===0}function x(s){z.removeClass(s,"_mce_act_on");if(!s||s.nodeType!==1||E.length>1&&B(s)){return}s=k(s,z);var t=y[s.tagName];if(!t){t=y.defaultAction}t(s)}function v(s){F.splitSafeEach(s.childNodes,x)}function C(s,t){return t>=0&&s.hasChildNodes()&&t<s.childNodes.length&&s.childNodes[t].tagName==="BR"}function D(){var t=w.getNode();var s=z.getParent(t,"td");return s!==null}E=y.elements;u=w.getRng(true);if(!u.collapsed){if(C(u.endContainer,u.endOffset-1)){u.setEnd(u.endContainer,u.endOffset-1);w.setRng(u)}if(C(u.startContainer,u.startOffset)){u.setStart(u.startContainer,u.startOffset+1);w.setRng(u)}}if(tinymce.isIE8){var G=F.ed.selection.getNode();if(G.tagName==="LI"&&!(G.parentNode.lastChild===G)){var A=F.ed.getDoc().createTextNode("\uFEFF");G.appendChild(A)}}g=w.getBookmark();y.OL=y.UL=v;F.splitSafeEach(E,x);w.moveToBookmark(g);g=null;if(!D()){F.ed.execCommand("mceRepaint")}},splitSafeEach:function(t,s){if(tinymce.isGecko&&(/Firefox\/[12]\.[0-9]/.test(navigator.userAgent)||/Firefox\/3\.[0-4]/.test(navigator.userAgent))){this.classBasedEach(t,s)}else{e(t,s)}},classBasedEach:function(v,u){var w=this.ed.dom,s,t;e(v,function(x){w.addClass(x,"_mce_act_on")});s=w.select("._mce_act_on");while(s.length>0){t=s.shift();w.removeClass(t,"_mce_act_on");u(t);s=w.select("._mce_act_on")}},adjustPaddingFunction:function(u){var s,v,t=this.ed;s=t.settings.indentation;v=/[a-z%]+/i.exec(s);s=parseInt(s,10);return function(w){var y,x;y=parseInt(t.dom.getStyle(w,"margin-left")||0,10)+parseInt(t.dom.getStyle(w,"padding-left")||0,10);if(u){x=y+s}else{x=y-s}t.dom.setStyle(w,"padding-left","");t.dom.setStyle(w,"margin-left",x>0?x+v:"")}},selectedBlocks:function(){var s=this.ed;var t=s.selection.getSelectedBlocks();return t.length==0?[s.dom.getRoot()]:t},getInfo:function(){return{longname:"Lists",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/lists",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("lists",tinymce.plugins.Lists)}()); \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/js/media.js =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/js/media.js 2012-02-19 11:38:10 UTC (rev 9023) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/js/media.js 2012-02-19 12:12:07 UTC (rev 9024) @@ -48,7 +48,7 @@ } function setVal(id, value, name) { - if (typeof(value) != 'undefined') { + if (typeof(value) != 'undefined' && value != null) { var elm = get(id); if (elm.nodeName == "SELECT") @@ -176,14 +176,14 @@ formItemName = type == 'global' ? name : type + '_' + name; if (type == 'global') - list = data; - else if (type == 'video' || type == 'audio') { + list = data; + else if (type == 'video' || type == 'audio') { list = data.video.attrs; if (!list && !to_form) - data.video.attrs = list = {}; + data.video.attrs = list = {}; } else - list = data.params; + list = data.params; if (list) { if (to_form) { Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/js/table.js =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/js/table.js 2012-02-19 11:38:10 UTC (rev 9023) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/js/table.js 2012-02-19 12:12:07 UTC (rev 9024) @@ -243,8 +243,12 @@ inst.execCommand('mceInsertContent', false, html); tinymce.each(dom.select('table[data-mce-new]'), function(node) { + // Fixes a bug in IE where the caret cannot be placed after the table if the table is at the end of the document + if (tinymce.isIE && node.nextSibling == null) { + dom.insertAfter(dom.create('p'), node); + } + var tdorth = dom.select('td,th', node); - try { // IE9 might fail to do this selection inst.selection.setCursorLocation(tdorth[0], 0); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js 2012-02-19 11:38:10 UTC (rev 9023) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js 2012-02-19 12:12:07 UTC (rev 9024) @@ -1 +1 @@ -(function(e){var d=e.DOM,b=e.dom.Event,h=e.extend,f=e.each,a=e.util.Cookie,g,c=e.explode;e.ThemeManager.requireLangPack("advanced");e.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethrough:["striketrough_desc","Strikethrough"],justifyleft:["justifyleft_desc","JustifyLeft"],justifycenter:["justifycenter_desc","JustifyCenter"],justifyright:["justifyright_desc","JustifyRight"],justifyfull:["justifyfull_desc","JustifyFull"],bullist:["bullist_desc","InsertUnorderedList"],numlist:["numlist_desc","InsertOrderedList"],outdent:["outdent_desc","Outdent"],indent:["indent_desc","Indent"],cut:["cut_desc","Cut"],copy:["copy_desc","Copy"],paste:["paste_desc","Paste"],undo:["undo_desc","Undo"],redo:["redo_desc","Redo"],link:["link_desc","mceLink"],unlink:["unlink_desc","unlink"],image:["image_desc","mceImage"],cleanup:["cleanup_desc","mceCleanup"],help:["help_desc","mceHelp"],code:["code_desc","mceCodeEditor"],hr:["hr_desc","InsertHorizontalRule"],removeformat:["removeformat_desc","RemoveFormat"],sub:["sub_desc","subscript"],sup:["sup_desc","superscript"],forecolor:["forecolor_desc","ForeColor"],forecolorpicker:["forecolor_desc","mceForeColor"],backcolor:["backcolor_desc","HiliteColor"],backcolorpicker:["backcolor_desc","mceBackColor"],charmap:["charmap_desc","mceCharMap"],visualaid:["visualaid_desc","mceToggleVisualAid"],anchor:["anchor_desc","mceInsertAnchor"],newdocument:["newdocument_desc","mceNewDocument"],blockquote:["blockquote_desc","mceBlockQuote"]},stateControls:["bold","italic","underline","strikethrough","bullist","numlist","justifyleft","justifycenter","justifyright","justifyfull","sub","sup","blockquote"],init:function(j,k){var l=this,m,i,n;l.editor=j;l.url=k;l.onResolveName=new e.util.Dispatcher(this);j.forcedHighContrastMode=j.settings.detect_highcontrast&&l._isHighContrast();j.settings.skin=j.forcedHighContrastMode?"highcontrast":j.settings.skin;l.settings=m=h({theme_advanced_path:true,theme_advanced_toolbar_location:"bottom",theme_advanced_buttons1:"bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect",theme_advanced_buttons2:"bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",theme_advanced_buttons3:"hr,removeformat,visualaid,|,sub,sup,|,charmap",theme_advanced_blockformats:"p,address,pre,h1,h2,h3,h4,h5,h6",theme_advanced_toolbar_align:"center",theme_advanced_fonts:"Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",theme_advanced_more_colors:1,theme_advanced_row_height:23,theme_advanced_resize_horizontal:1,theme_advanced_resizing_use_cookie:1,theme_advanced_font_sizes:"1,2,3,4,5,6,7",theme_advanced_font_selector:"span",theme_advanced_show_current_color:0,readonly:j.settings.readonly},j.settings);if(!m.font_size_style_values){m.font_size_style_values="8pt,10pt,12pt,14pt,18pt,24pt,36pt"}if(e.is(m.theme_advanced_font_sizes,"string")){m.font_size_style_values=e.explode(m.font_size_style_values);m.font_size_classes=e.explode(m.font_size_classes||"");n={};j.settings.theme_advanced_font_sizes=m.theme_advanced_font_sizes;f(j.getParam("theme_advanced_font_sizes","","hash"),function(q,p){var o;if(p==q&&q>=1&&q<=7){p=q+" ("+l.sizes[q-1]+"pt)";o=m.font_size_classes[q-1];q=m.font_size_style_values[q-1]||(l.sizes[q-1]+"pt")}if(/^\s*\./.test(q)){o=q.replace(/\./g,"")}n[p]=o?{"class":o}:{fontSize:q}});m.theme_advanced_font_sizes=n}if((i=m.theme_advanced_path_location)&&i!="none"){m.theme_advanced_statusbar_location=m.theme_advanced_path_location}if(m.theme_advanced_statusbar_location=="none"){m.theme_advanced_statusbar_location=0}if(j.settings.content_css!==false){j.contentCSS.push(j.baseURI.toAbsolute(k+"/skins/"+j.settings.skin+"/content.css"))}j.onInit.add(function(){if(!j.settings.readonly){j.onNodeChange.add(l._nodeChanged,l);j.onKeyUp.add(l._updateUndoStatus,l);j.onMouseUp.add(l._updateUndoStatus,l);j.dom.bind(j.dom.getRoot(),"dragend",function(){l._updateUndoStatus(j)})}});j.onSetProgressState.add(function(q,o,r){var s,t=q.id,p;if(o){l.progressTimer=setTimeout(function(){s=q.getContainer();s=s.insertBefore(d.create("DIV",{style:"position:relative"}),s.firstChild);p=d.get(q.id+"_tbl");d.add(s,"div",{id:t+"_blocker","class":"mceBlocker",style:{width:p.clientWidth+2,height:p.clientHeight+2}});d.add(s,"div",{id:t+"_progress","class":"mceProgress",style:{left:p.clientWidth/2,top:p.clientHeight/2}})},r||0)}else{d.remove(t+"_blocker");d.remove(t+"_progress");clearTimeout(l.progressTimer)}});d.loadCSS(m.editor_css?j.documentBaseURI.toAbsolute(m.editor_css):k+"/skins/"+j.settings.skin+"/ui.css");if(m.skin_variant){d.loadCSS(k+"/skins/"+j.settings.skin+"/ui_"+m.skin_variant+".css")}},_isHighContrast:function(){var i,j=d.add(d.getRoot(),"div",{style:"background-color: rgb(171,239,86);"});i=(d.getStyle(j,"background-color",true)+"").toLowerCase().replace(/ /g,"");d.remove(j);return i!="rgb(171,239,86)"&&i!="#abef56"},createControl:function(l,i){var j,k;if(k=i.createControl(l)){return k}switch(l){case"styleselect":return this._createStyleSelect();case"formatselect":return this._createBlockFormats();case"fontselect":return this._createFontSelect();case"fontsizeselect":return this._createFontSizeSelect();case"forecolor":return this._createForeColorMenu();case"backcolor":return this._createBackColorMenu()}if((j=this.controls[l])){return i.createButton(l,{title:"advanced."+j[0],cmd:j[1],ui:j[2],value:j[3]})}},execCommand:function(k,j,l){var i=this["_"+k];if(i){i.call(this,j,l);return true}return false},_importClasses:function(k){var i=this.editor,j=i.controlManager.get("styleselect");if(j.getLength()==0){f(i.dom.getClasses(),function(n,l){var m="style_"+l;i.formatter.register(m,{inline:"span",attributes:{"class":n["class"]},selector:"*"});j.add(n["class"],m)})}},_createStyleSelect:function(m){var k=this,i=k.editor,j=i.controlManager,l;l=j.createListBox("styleselect",{title:"advanced.style_select",onselect:function(o){var p,n=[];f(l.items,function(q){n.push(q.value)});i.focus();i.undoManager.add();p=i.formatter.matchAll(n);if(!o||p[0]==o){if(p[0]){i.formatter.remove(p[0])}}else{i.formatter.apply(o)}i.undoManager.add();i.nodeChanged();return false}});i.onInit.add(function(){var o=0,n=i.getParam("style_formats");if(n){f(n,function(p){var q,r=0;f(p,function(){r++});if(r>1){q=p.name=p.name||"style_"+(o++);i.formatter.register(q,p);l.add(p.title,q)}else{l.add(p.title)}})}else{f(i.getParam("theme_advanced_styles","","hash"),function(r,q){var p;if(r){p="style_"+(o++);i.formatter.register(p,{inline:"span",classes:r,selector:"*"});l.add(k.editor.translate(q),p)}})}});if(l.getLength()==0){l.onPostRender.add(function(o,p){if(!l.NativeListBox){b.add(p.id+"_text","focus",k._importClasses,k);b.add(p.id+"_text","mousedown",k._importClasses,k);b.add(p.id+"_open","focus",k._importClasses,k);b.add(p.id+"_open","mousedown",k._importClasses,k)}else{b.add(p.id,"focus",k._importClasses,k)}})}return l},_createFontSelect:function(){var k,j=this,i=j.editor;k=i.controlManager.createListBox("fontselect",{title:"advanced.fontdefault",onselect:function(l){var m=k.items[k.selectedIndex];if(!l&&m){i.execCommand("FontName",false,m.value);return}i.execCommand("FontName",false,l);k.select(function(n){return l==n});if(m&&m.value==l){k.select(null)}return false}});if(k){f(i.getParam("theme_advanced_fonts",j.settings.theme_advanced_fonts,"hash"),function(m,l){k.add(i.translate(l),m,{style:m.indexOf("dings")==-1?"font-family:"+m:""})})}return k},_createFontSizeSelect:function(){var m=this,k=m.editor,n,l=0,j=[];n=k.controlManager.createListBox("fontsizeselect",{title:"advanced.font_size",onselect:function(i){var o=n.items[n.selectedIndex];if(!i&&o){o=o.value;if(o["class"]){k.formatter.toggle("fontsize_class",{value:o["class"]});k.undoManager.add();k.nodeChanged()}else{k.execCommand("FontSize",false,o.fontSize)}return}if(i["class"]){k.focus();k.undoManager.add();k.formatter.toggle("fontsize_class",{value:i["class"]});k.undoManager.add();k.nodeChanged()}else{k.execCommand("FontSize",false,i.fontSize)}n.select(function(p){return i==p});if(o&&(o.value.fontSize==i.fontSize||o.value["class"]==i["class"])){n.select(null)}return false}});if(n){f(m.settings.theme_advanced_font_sizes,function(o,i){var p=o.fontSize;if(p>=1&&p<=7){p=m.sizes[parseInt(p)-1]+"pt"}n.add(i,o,{style:"font-size:"+p,"class":"mceFontSize"+(l++)+(" "+(o["class"]||""))})})}return n},_createBlockFormats:function(){var k,i={p:"advanced.paragraph",address:"advanced.address",pre:"advanced.pre",h1:"advanced.h1",h2:"advanced.h2",h3:"advanced.h3",h4:"advanced.h4",h5:"advanced.h5",h6:"advanced.h6",div:"advanced.div",blockquote:"advanced.blockquote",code:"advanced.code",dt:"advanced.dt",dd:"advanced.dd",samp:"advanced.samp"},j=this;k=j.editor.controlManager.createListBox("formatselect",{title:"advanced.block",onselect:function(l){j.editor.execCommand("FormatBlock",false,l);return false}});if(k){f(j.editor.getParam("theme_advanced_blockformats",j.setti... [truncated message content] |
From: <dh...@us...> - 2012-02-19 11:38:17
|
Revision: 9023 http://xoops.svn.sourceforge.net/xoops/?rev=9023&view=rev Author: dhcst Date: 2012-02-19 11:38:10 +0000 (Sun, 19 Feb 2012) Log Message: ----------- fixed the link is not yet.. Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/class/category.php XoopsModules/newbb/branches/alfred/newbb/class/digest.php XoopsModules/newbb/branches/alfred/newbb/class/forum.php XoopsModules/newbb/branches/alfred/newbb/include/functions.recon.php Modified: XoopsModules/newbb/branches/alfred/newbb/class/category.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/category.php 2012-02-19 10:40:52 UTC (rev 9022) +++ XoopsModules/newbb/branches/alfred/newbb/class/category.php 2012-02-19 11:38:10 UTC (rev 9023) @@ -23,7 +23,7 @@ function __construct() { - $this->XoopsObject(); + //$this->XoopsObject(); $this->initVar('cat_id', XOBJ_DTYPE_INT); $this->initVar('cat_title', XOBJ_DTYPE_TXTBOX); $this->initVar('cat_image', XOBJ_DTYPE_SOURCE, "blank.gif"); Modified: XoopsModules/newbb/branches/alfred/newbb/class/digest.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/digest.php 2012-02-19 10:40:52 UTC (rev 9022) +++ XoopsModules/newbb/branches/alfred/newbb/class/digest.php 2012-02-19 11:38:10 UTC (rev 9023) @@ -26,7 +26,7 @@ function __construct() { - $this->XoopsObject(); + //$this->XoopsObject(); $this->initVar('digest_id', XOBJ_DTYPE_INT); $this->initVar('digest_time', XOBJ_DTYPE_INT); $this->initVar('digest_content', XOBJ_DTYPE_TXTAREA); Modified: XoopsModules/newbb/branches/alfred/newbb/class/forum.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/forum.php 2012-02-19 10:40:52 UTC (rev 9022) +++ XoopsModules/newbb/branches/alfred/newbb/class/forum.php 2012-02-19 11:38:10 UTC (rev 9023) @@ -32,7 +32,7 @@ function __construct() { - $this->XoopsObject(); + //$this->XoopsObject(); $this->initVar('forum_id', XOBJ_DTYPE_INT); $this->initVar('forum_name', XOBJ_DTYPE_TXTBOX); $this->initVar('forum_desc', XOBJ_DTYPE_TXTBOX); Modified: XoopsModules/newbb/branches/alfred/newbb/include/functions.recon.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/functions.recon.php 2012-02-19 10:40:52 UTC (rev 9022) +++ XoopsModules/newbb/branches/alfred/newbb/include/functions.recon.php 2012-02-19 11:38:10 UTC (rev 9023) @@ -39,7 +39,7 @@ } foreach ($clean as $item) { $handler = xoops_getmodulehandler($item, "newbb"); - $handler->cleanOrphan($handler->table,$handler->keyName,''); + $handler->synchronization(); unset($handler); } $newbbConfig = newbb_load_config(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dh...@us...> - 2012-02-19 10:40:58
|
Revision: 9022 http://xoops.svn.sourceforge.net/xoops/?rev=9022&view=rev Author: dhcst Date: 2012-02-19 10:40:52 +0000 (Sun, 19 Feb 2012) Log Message: ----------- fix from Mamba Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/class/user.php Modified: XoopsModules/newbb/branches/alfred/newbb/class/user.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/user.php 2012-02-19 10:22:33 UTC (rev 9021) +++ XoopsModules/newbb/branches/alfred/newbb/class/user.php 2012-02-19 10:40:52 UTC (rev 9022) @@ -283,7 +283,7 @@ $ranks[$myrow['rank_id']] = $myrow; $ranks[$myrow['rank_id']]["rank_title"] = $myts->htmlspecialchars($ranks[$myrow['rank_id']]["rank_title"]); if (!empty($ranks[$myrow['rank_id']]['rank_image'])) { - $ranks[$myrow['rank_id']]['rank_image'] = "<img src='" . XOOPS_UPLOAD_URL . "/ranks/" . htmlspecialchars($ranks[$myrow['rank_id']]['rank_image'], ENT_QUOTES) . "' alt='' />"; + $ranks[$myrow['rank_id']]['rank_image'] = "<img src='" . XOOPS_UPLOAD_URL . "/" . htmlspecialchars($ranks[$myrow['rank_id']]['rank_image'], ENT_QUOTES) . "' alt='' />"; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dh...@us...> - 2012-02-19 10:22:42
|
Revision: 9021 http://xoops.svn.sourceforge.net/xoops/?rev=9021&view=rev Author: dhcst Date: 2012-02-19 10:22:33 +0000 (Sun, 19 Feb 2012) Log Message: ----------- fix many errors and typos Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/admin/admin_permissions.php XoopsModules/newbb/branches/alfred/newbb/admin/index.php XoopsModules/newbb/branches/alfred/newbb/blocks/newbb_block.php XoopsModules/newbb/branches/alfred/newbb/class/forum.php XoopsModules/newbb/branches/alfred/newbb/class/post.php XoopsModules/newbb/branches/alfred/newbb/class/user.php XoopsModules/newbb/branches/alfred/newbb/docs/changelog.txt XoopsModules/newbb/branches/alfred/newbb/header.php XoopsModules/newbb/branches/alfred/newbb/include/module.v400.php XoopsModules/newbb/branches/alfred/newbb/seo_url.php XoopsModules/newbb/branches/alfred/newbb/templates/newbb_index.html XoopsModules/newbb/branches/alfred/newbb/templates/newbb_viewforum.html XoopsModules/newbb/branches/alfred/newbb/viewforum.php Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_permissions.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_permissions.php 2012-02-19 09:24:43 UTC (rev 9020) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_permissions.php 2012-02-19 10:22:33 UTC (rev 9021) @@ -337,6 +337,7 @@ break; } mod_clearCacheFile("forum","newbb"); +mod_clearCacheFile("permission","newbb"); echo "</fieldset></fieldset>"; xoops_cp_footer(); ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/alfred/newbb/admin/index.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/index.php 2012-02-19 09:24:43 UTC (rev 9020) +++ XoopsModules/newbb/branches/alfred/newbb/admin/index.php 2012-02-19 10:22:33 UTC (rev 9021) @@ -356,10 +356,11 @@ $moderate_handler->clearGarbage(); } - } + } echo "</fieldset>"; xoops_cp_footer(); break; } - +mod_clearCacheFile("config","newbb"); +mod_clearCacheFile("permission","newbb"); ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/alfred/newbb/blocks/newbb_block.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/blocks/newbb_block.php 2012-02-19 09:24:43 UTC (rev 9020) +++ XoopsModules/newbb/branches/alfred/newbb/blocks/newbb_block.php 2012-02-19 10:22:33 UTC (rev 9021) @@ -54,7 +54,7 @@ global $xoopsConfig; global $access_forums; global $xoopsLogger; - + mod_loadFunctions("time", "newbb"); $myts =& MyTextSanitizer::getInstance(); @@ -322,7 +322,7 @@ } $topic['topic_poster'] = $topic_poster; $topic['topic_page_jump'] = $topic_page_jump; - $seo_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewtopic.php?post_id='.$topic['id'].'">'.$topic['title'].'</a>'; + $seo_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewtopic.php?topic_id='.$topic['id'].'">'.$topic['title'].'</a>'; $seo_forum_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>'; if (!empty($newbbConfig['do_rewrite'])) { Modified: XoopsModules/newbb/branches/alfred/newbb/class/forum.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/forum.php 2012-02-19 09:24:43 UTC (rev 9020) +++ XoopsModules/newbb/branches/alfred/newbb/class/forum.php 2012-02-19 10:22:33 UTC (rev 9021) @@ -331,7 +331,7 @@ $append = true; } } else { - $topic_page_jump .= '[<a href="viewtopic.php?topic_id=' . $myrow['topic_id'] . '&start=' . (($i - 1) * $xoopsModuleConfig['posts_per_page']) . '">' . $i . '</a>]'; + $topic_page_jump .= '[<a href="' . XOOPS_URL . '/modules/newbb/viewtopic.php?topic_id=' . $myrow['topic_id'] . '&start=' . (($i - 1) * $xoopsModuleConfig['posts_per_page']) . '">' . $i . '</a>]'; $topic_page_jump_icon = "<a href='" . XOOPS_URL . "/modules/newbb/viewtopic.php?post_id=" . $myrow['post_id'] . "&start=" . (($i - 1) * $xoopsModuleConfig['posts_per_page']) . "'>" . newbb_displayImage('lastposticon',_MD_NEWBB_GOTOLASTPOST) . "</a>"; } } @@ -404,7 +404,7 @@ 'type_id' => $myrow['type_id'], 'type_text' => $topic_prefix, 'topic_title' => $topic_title, - 'topic_link' => 'viewtopic.php?topic_id=' . $myrow['topic_id'], + 'topic_link' => XOOPS_URL . '/modules/newbb/viewtopic.php?topic_id=' . $myrow['topic_id'], 'rating_img' => $rating_img, 'topic_page_jump' => $topic_page_jump, 'topic_page_jump_icon' => $topic_page_jump_icon, Modified: XoopsModules/newbb/branches/alfred/newbb/class/post.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/post.php 2012-02-19 09:24:43 UTC (rev 9020) +++ XoopsModules/newbb/branches/alfred/newbb/class/post.php 2012-02-19 10:22:33 UTC (rev 9021) @@ -524,16 +524,9 @@ $thread_action['social_wong']['image'] = newbb_displayImage('wong', _MD_SHARE_MRWONG); $thread_action['social_wong']['link'] = "http://www.mister-wong.de/index.php?action=addurl&bm_url=".$full_link; - $thread_action['social_wong']['name'] = _MD_SHARE_WONG; + $thread_action['social_wong']['name'] = _MD_SHARE_MRWONG; $thread_action['social_wong']['target'] = '_blank'; - /* - $thread_action['social_technorati']['image'] = newbb_displayImage('technorati', _MD_SHARE_REDDIT); - $thread_action['social_technorati']['link'] = "http://technorati.com/faves/?add=".$full_link; - $thread_action['social_technorati']['name'] = _MD_SHARE_REDDIT; - $thread_action['social_technorati']['target'] = '_blank'; - */ - } $post = array( Modified: XoopsModules/newbb/branches/alfred/newbb/class/user.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/user.php 2012-02-19 09:24:43 UTC (rev 9020) +++ XoopsModules/newbb/branches/alfred/newbb/class/user.php 2012-02-19 10:22:33 UTC (rev 9021) @@ -283,7 +283,7 @@ $ranks[$myrow['rank_id']] = $myrow; $ranks[$myrow['rank_id']]["rank_title"] = $myts->htmlspecialchars($ranks[$myrow['rank_id']]["rank_title"]); if (!empty($ranks[$myrow['rank_id']]['rank_image'])) { - $ranks[$myrow['rank_id']]['rank_image'] = "<img src='" . XOOPS_UPLOAD_URL . "/" . htmlspecialchars($ranks[$myrow['rank_id']]['rank_image'], ENT_QUOTES) . "' alt='' />"; + $ranks[$myrow['rank_id']]['rank_image'] = "<img src='" . XOOPS_UPLOAD_URL . "/ranks/" . htmlspecialchars($ranks[$myrow['rank_id']]['rank_image'], ENT_QUOTES) . "' alt='' />"; } } Modified: XoopsModules/newbb/branches/alfred/newbb/docs/changelog.txt =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/docs/changelog.txt 2012-02-19 09:24:43 UTC (rev 9020) +++ XoopsModules/newbb/branches/alfred/newbb/docs/changelog.txt 2012-02-19 10:22:33 UTC (rev 9021) @@ -1,4 +1,11 @@ newBB +Changelog 4.3 +02/12/2012 +=========================================== + 1 Fix Cache Config for SEO + 2 Fix Typos in templates + +newBB Changelog 4.2 02/08/2012 =========================================== Modified: XoopsModules/newbb/branches/alfred/newbb/header.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/header.php 2012-02-19 09:24:43 UTC (rev 9020) +++ XoopsModules/newbb/branches/alfred/newbb/header.php 2012-02-19 10:22:33 UTC (rev 9021) @@ -14,9 +14,10 @@ if (!empty($xoopsModuleConfig['do_rewrite'])) include_once "seo_url.php"; /* for seo */ $toseo_url = array("index.php","viewforum.php","viewtopic.php","rss.php"); + if(((strpos(getenv('REQUEST_URI'), '.html') === false) && !empty($xoopsModuleConfig['do_rewrite']) && (!isset($_POST) || count($_POST) <= 0))) { - if ( in_array(basename(getenv('SCRIPT_NAME')),$toseo_url) && (trim(getenv("REQUEST_URI")) != '') && trim(getenv("REQUEST_URI")) != "/".REAL_MODULE_NAME."/") { + if ( strpos(getenv("REQUEST_URI"),"/modules/newbb/index.php?mark_read") === false && in_array(basename(getenv('SCRIPT_NAME')),$toseo_url) && (trim(getenv("REQUEST_URI")) != '') && trim(getenv("REQUEST_URI")) != "/".REAL_MODULE_NAME."/") { $s = XOOPS_URL . getenv("REQUEST_URI"); $newurl = seo_urls('<a href="'.$s.'"></a>'); $newurl = str_replace('<a href="','',$newurl); @@ -25,7 +26,7 @@ header("HTTP/1.1 301 Moved Permanently"); header("Location: $newurl"); exit(); - } + } } } Modified: XoopsModules/newbb/branches/alfred/newbb/include/module.v400.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/module.v400.php 2012-02-19 09:24:43 UTC (rev 9020) +++ XoopsModules/newbb/branches/alfred/newbb/include/module.v400.php 2012-02-19 10:22:33 UTC (rev 9021) @@ -105,7 +105,7 @@ WHERE a.type_id = b.type_id AND a.type_id >0; ") ) { - xoops_error($GLOBALS['xoopsDB']->error()); + //xoops_error($GLOBALS['xoopsDB']->error()); $GLOBALS['xoopsDB']->queryF("DROP TABLE ".$GLOBALS['xoopsDB']->prefix("bb_type_tmp")); $GLOBALS['xoopsDB']->queryF("DROP TABLE ".$GLOBALS['xoopsDB']->prefix("bb_type_forum_tmp")); return true; Modified: XoopsModules/newbb/branches/alfred/newbb/seo_url.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/seo_url.php 2012-02-19 09:24:43 UTC (rev 9020) +++ XoopsModules/newbb/branches/alfred/newbb/seo_url.php 2012-02-19 10:22:33 UTC (rev 9021) @@ -1,20 +1,15 @@ <?php defined('XOOPS_ROOT_PATH') or die('Restricted access'); -define('REAL_MODULE_NAME', 'forum'); -define('SEO_MODULE_NAME', 'forum'); +define('REAL_MODULE_NAME', 'modules/newbb'); ob_start('seo_urls'); function seo_urls($s) { $XPS_URL = str_replace('/','\/', quotemeta(XOOPS_URL) ); - - if (strpos(getenv('REQUEST_URI'), '/modules/newbb/') === false) - $module_name = str_replace('/','\/', quotemeta(REAL_MODULE_NAME)); - else - $module_name = "modules\/newbb"; - + $module_name = str_replace('/','\/', quotemeta(REAL_MODULE_NAME)); + $search = array( // Search URLs of modules' directry. @@ -27,13 +22,13 @@ '/<(a|meta)([^>]*)(href|url)=([\'\"]{0,1})'.$XPS_URL.'\/'.$module_name.'\/(newtopic.php)([^>\'\"]*)([\'\"]{1})([^>]*)>/i', '/<(a|meta)([^>]*)(href|url)=([\'\"]{0,1})'.$XPS_URL.'\/'.$module_name.'\/(.*)([^>\'\"]*)([\'\"]{1})([^>]*)>/i' ); - - + $s = preg_replace_callback($search, 'replace_links', $s); return $s; } + function replace_links($matches) { switch ($matches[5]) { @@ -179,7 +174,7 @@ $req_string = ''; } //$ret = '<'.$matches[1].$matches[2].$matches[3].'='.$matches[4].XOOPS_URL.'/modules/'.SEO_MODULE_NAME.'/'.$add_to_url.$req_string.$matches[7].$matches[8].'>'; - $ret = '<'.$matches[1].$matches[2].$matches[3].'='.$matches[4].XOOPS_URL.'/'.SEO_MODULE_NAME.'/'.$add_to_url.$req_string.$matches[7].$matches[8].'>'; + $ret = '<'.$matches[1].$matches[2].$matches[3].'='.$matches[4].XOOPS_URL.'/'.REAL_MODULE_NAME.'/'.$add_to_url.$req_string.$matches[7].$matches[8].'>'; return $ret; } Modified: XoopsModules/newbb/branches/alfred/newbb/templates/newbb_index.html =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/templates/newbb_index.html 2012-02-19 09:24:43 UTC (rev 9020) +++ XoopsModules/newbb/branches/alfred/newbb/templates/newbb_index.html 2012-02-19 10:22:33 UTC (rev 9021) @@ -86,7 +86,7 @@ <td width="5%" class="even" align="center" valign="middle"><{$forum.forum_folder}></td> <td colspan="2" class="odd"> <div id="index_forum"> - <span class="item"><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$forum.forum_id}>"><{$forum.forum_name}></a> + <span class="item"><a href="<{$forum.topic_link}>"><{$forum.forum_name}></a> <{if $rss_enable}> (<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/rss.php?f=<{$forum.forum_id}>" target="_blank" title="RSS feed">RSS</a>) <{/if}> Modified: XoopsModules/newbb/branches/alfred/newbb/templates/newbb_viewforum.html =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/templates/newbb_viewforum.html 2012-02-19 09:24:43 UTC (rev 9020) +++ XoopsModules/newbb/branches/alfred/newbb/templates/newbb_viewforum.html 2012-02-19 10:22:33 UTC (rev 9021) @@ -135,7 +135,7 @@ <{/if}> </td> <td width="4%" align="center"><{$topic.topic_icon}></td> - <td> <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/<{$topic.topic_link}>" title="<{$topic.topic_excerpt}>"> + <td> <a href="<{$topic.topic_link}>" title="<{$topic.topic_excerpt}>"> <{$topic.topic_title}></a><{$topic.attachment}> <{$topic.topic_page_jump}> </td> <td align="center" valign="middle"><{$topic.topic_poster}></td> Modified: XoopsModules/newbb/branches/alfred/newbb/viewforum.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/viewforum.php 2012-02-19 09:24:43 UTC (rev 9020) +++ XoopsModules/newbb/branches/alfred/newbb/viewforum.php 2012-02-19 10:22:33 UTC (rev 9021) @@ -161,13 +161,13 @@ unset($query_sort["sort"], $query_sort["order"]); $page_query_sort = implode("&", array_values($query_sort)); unset($query_sort); -$xoopsTpl->assign('h_topic_link', "viewforum.php?{$page_query_sort}&sort=t.topic_title&order=". (($sort == "t.topic_title" && $order == "DESC") ? "ASC" : "DESC")); -$xoopsTpl->assign('h_reply_link', "viewforum.php?{$page_query_sort}&sort=t.topic_replies&order=". (($sort == "t.topic_replies" && $order == "DESC") ? "ASC" : "DESC")); -$xoopsTpl->assign('h_poster_link', "viewforum.php?{$page_query_sort}&sort=u.uname&order=". (($sort == "u.uname" && $order == "DESC") ? "ASC" : "DESC")); -$xoopsTpl->assign('h_views_link', "viewforum.php?{$page_query_sort}&sort=t.topic_views&order=". (($sort == "t.topic_views" && $order == "DESC") ? "ASC" : "DESC")); -$xoopsTpl->assign('h_rating_link', "viewforum.php?{$page_query_sort}&sort=t.topic_ratings&order=". (($sort == "t.topic_ratings" && $order == "DESC") ? "ASC" : "DESC")); -$xoopsTpl->assign('h_date_link', "viewforum.php?{$page_query_sort}&sort=p.post_time&order=". (($sort == "p.post_time" && $order == "DESC") ? "ASC" : "DESC")); -$xoopsTpl->assign('h_publish_link', "viewforum.php?{$page_query_sort}&sort=t.topic_time&order=". (($sort == "t.topic_time" && $order == "DESC") ? "ASC" : "DESC")); +$xoopsTpl->assign('h_topic_link', XOOPS_URL."/modules/newbb/viewforum.php?{$page_query_sort}&sort=t.topic_title&order=". (($sort == "t.topic_title" && $order == "DESC") ? "ASC" : "DESC")); +$xoopsTpl->assign('h_reply_link', XOOPS_URL."/modules/newbb/viewforum.php?{$page_query_sort}&sort=t.topic_replies&order=". (($sort == "t.topic_replies" && $order == "DESC") ? "ASC" : "DESC")); +$xoopsTpl->assign('h_poster_link', XOOPS_URL."/modules/newbb/viewforum.php?{$page_query_sort}&sort=u.uname&order=". (($sort == "u.uname" && $order == "DESC") ? "ASC" : "DESC")); +$xoopsTpl->assign('h_views_link', XOOPS_URL."/modules/newbb/viewforum.php?{$page_query_sort}&sort=t.topic_views&order=". (($sort == "t.topic_views" && $order == "DESC") ? "ASC" : "DESC")); +$xoopsTpl->assign('h_rating_link', XOOPS_URL."/modules/newbb/viewforum.php?{$page_query_sort}&sort=t.topic_ratings&order=". (($sort == "t.topic_ratings" && $order == "DESC") ? "ASC" : "DESC")); +$xoopsTpl->assign('h_date_link', XOOPS_URL."/modules/newbb/viewforum.php?{$page_query_sort}&sort=p.post_time&order=". (($sort == "p.post_time" && $order == "DESC") ? "ASC" : "DESC")); +$xoopsTpl->assign('h_publish_link', XOOPS_URL."/modules/newbb/viewforum.php?{$page_query_sort}&sort=t.topic_time&order=". (($sort == "t.topic_time" && $order == "DESC") ? "ASC" : "DESC")); $xoopsTpl->assign('forum_since', $since); // For $since in search.php @@ -195,13 +195,13 @@ $xoopsTpl->assign('img_digest', newbb_displayImage('topic_digest',_MD_TOPICDIGEST)); $xoopsTpl->assign('img_poll', newbb_displayImage('poll',_MD_TOPICHASPOLL)); -$mark_read_link = "viewforum.php?mark=1&{$page_query}"; -$mark_unread_link = "viewforum.php?mark=2&{$page_query}"; +$mark_read_link = XOOPS_URL."/modules/newbb/viewforum.php?mark=1&{$page_query}"; +$mark_unread_link = XOOPS_URL."/modules/newbb/viewforum.php?mark=2&{$page_query}"; $xoopsTpl->assign('mark_read', $mark_read_link); $xoopsTpl->assign('mark_unread', $mark_unread_link); -$xoopsTpl->assign('post_link', "viewpost.php?forum=".$forum_id); -$xoopsTpl->assign('newpost_link', "viewpost.php?status=new&forum=".$forum_id); +$xoopsTpl->assign('post_link', XOOPS_URL."/modules/newbb/viewpost.php?forum=".$forum_id); +$xoopsTpl->assign('newpost_link', XOOPS_URL."/modules/newbb/viewpost.php?status=new&forum=".$forum_id); $query_type = $query_array; unset($query_type["type"]); @@ -212,7 +212,7 @@ if ($types = $type_handler->getByForum($forum_id)) { $type_options[] = array("title" => _ALL, "link" => "viewforum.php?{$page_query_type}"); foreach ($types as $key => $item) { - $type_options[] = array("title" => $item["type_name"], "link" => "viewforum.php?{$page_query_type}&type={$key}"); + $type_options[] = array("title" => $item["type_name"], "link" => XOOPS_URL."/modules/newbb/viewforum.php?{$page_query_type}&type={$key}"); } } if ($type >0) { @@ -225,11 +225,11 @@ unset($query_status["status"]); $page_query_status = implode("&", array_values($query_status)); unset($query_status); -$xoopsTpl->assign('newpost_link', "viewpost.php?status=new&forum=".$forum_obj->getVar('forum_id')); -$xoopsTpl->assign('all_link', "viewforum.php?{$page_query_status}"); -$xoopsTpl->assign('digest_link', "viewforum.php?{$page_query_status}&status=digest"); -$xoopsTpl->assign('unreplied_link', "viewforum.php?{$page_query_status}&status=unreplied"); -$xoopsTpl->assign('unread_link', "viewforum.php?{$page_query_status}&status=unread"); +$xoopsTpl->assign('newpost_link', XOOPS_URL."/modules/newbb/viewpost.php?status=new&forum=".$forum_obj->getVar('forum_id')); +$xoopsTpl->assign('all_link', XOOPS_URL."/modules/newbb/viewforum.php?{$page_query_status}"); +$xoopsTpl->assign('digest_link', XOOPS_URL."/modules/newbb/viewforum.php?{$page_query_status}&status=digest"); +$xoopsTpl->assign('unreplied_link', XOOPS_URL."/modules/newbb/viewforum.php?{$page_query_status}&status=unreplied"); +$xoopsTpl->assign('unread_link', XOOPS_URL."/modules/newbb/viewforum.php?{$page_query_status}&status=unread"); switch($status) { case 'digest': $current_status = _MD_DIGEST; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-02-19 09:24:49
|
Revision: 9020 http://xoops.svn.sourceforge.net/xoops/?rev=9020&view=rev Author: beckmi Date: 2012-02-19 09:24:43 +0000 (Sun, 19 Feb 2012) Log Message: ----------- Fixing link to user rank icon Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/class/user.php Modified: XoopsModules/newbb/branches/alfred/newbb/class/user.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/user.php 2012-02-19 09:09:24 UTC (rev 9019) +++ XoopsModules/newbb/branches/alfred/newbb/class/user.php 2012-02-19 09:24:43 UTC (rev 9020) @@ -283,7 +283,7 @@ $ranks[$myrow['rank_id']] = $myrow; $ranks[$myrow['rank_id']]["rank_title"] = $myts->htmlspecialchars($ranks[$myrow['rank_id']]["rank_title"]); if (!empty($ranks[$myrow['rank_id']]['rank_image'])) { - $ranks[$myrow['rank_id']]['rank_image'] = "<img src='" . XOOPS_UPLOAD_URL . "/ranks/" . htmlspecialchars($ranks[$myrow['rank_id']]['rank_image'], ENT_QUOTES) . "' alt='' />"; + $ranks[$myrow['rank_id']]['rank_image'] = "<img src='" . XOOPS_UPLOAD_URL . "/" . htmlspecialchars($ranks[$myrow['rank_id']]['rank_image'], ENT_QUOTES) . "' alt='' />"; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-02-19 09:09:31
|
Revision: 9019 http://xoops.svn.sourceforge.net/xoops/?rev=9019&view=rev Author: beckmi Date: 2012-02-19 09:09:24 +0000 (Sun, 19 Feb 2012) Log Message: ----------- Fixing "collapse" typo Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/include/js/newbb_toggle.js XoopsModules/newbb/branches/alfred/newbb/language/english/modinfo.php XoopsModules/newbb/branches/alfred/newbb/language/italian/modinfo.php Modified: XoopsModules/newbb/branches/alfred/newbb/include/js/newbb_toggle.js =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/js/newbb_toggle.js 2012-02-19 08:10:30 UTC (rev 9018) +++ XoopsModules/newbb/branches/alfred/newbb/include/js/newbb_toggle.js 2012-02-19 09:09:24 UTC (rev 9019) @@ -62,14 +62,14 @@ } } -function ToggleBlockCategory(block, icon, src_expand, src_collpase) +function ToggleBlockCategory(block, icon, src_expand, src_collapse) { if (document.getElementById) { if (document.getElementById(block).style.display == 'block') { document.getElementById(block).style.display = 'none'; - icon.src = src_collpase; + icon.src = src_collapse; SaveCollapsed(block, true); } else @@ -84,7 +84,7 @@ if (document.all[block].style.display == 'block') { document.all[block].style.display = 'none'; - icon.src = src_collpase; + icon.src = src_collapse; SaveCollapsed(block, true); } else Modified: XoopsModules/newbb/branches/alfred/newbb/language/english/modinfo.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/english/modinfo.php 2012-02-19 08:10:30 UTC (rev 9018) +++ XoopsModules/newbb/branches/alfred/newbb/language/english/modinfo.php 2012-02-19 09:09:24 UTC (rev 9019) @@ -52,7 +52,7 @@ define("_MI_SUBFORUM_DISPLAY", "Display Mode of subforums on index page"); define("_MI_SUBFORUM_DISPLAY_DESC", ""); define("_MI_SUBFORUM_EXPAND", "Expand"); -define("_MI_SUBFORUM_COLLAPSE", "Collpase"); +define("_MI_SUBFORUM_COLLAPSE", "Collapse"); define("_MI_SUBFORUM_HIDDEN", "Hidden"); define("_MI_POST_EXCERPT", "Post excerpt on forum page"); define("_MI_POST_EXCERPT_DESC", "Length of post excerpt by mouse over. 0 for no excerpt."); Modified: XoopsModules/newbb/branches/alfred/newbb/language/italian/modinfo.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/modinfo.php 2012-02-19 08:10:30 UTC (rev 9018) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/modinfo.php 2012-02-19 09:09:24 UTC (rev 9019) @@ -54,7 +54,7 @@ define("_MI_SUBFORUM_DISPLAY", "Modalità di visualizzazione dei subforum a pagina indice"); define("_MI_SUBFORUM_DISPLAY_DESC", ""); define("_MI_SUBFORUM_EXPAND", "Espansione"); -define("_MI_SUBFORUM_COLLAPSE", "Collpase"); +define("_MI_SUBFORUM_COLLAPSE", "Collapse"); define("_MI_SUBFORUM_HIDDEN", "nascosto"); define("_MI_POST_EXCERPT", "Estratto post su forum"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-02-19 08:10:37
|
Revision: 9018 http://xoops.svn.sourceforge.net/xoops/?rev=9018&view=rev Author: beckmi Date: 2012-02-19 08:10:30 +0000 (Sun, 19 Feb 2012) Log Message: ----------- Adding Comments, Templates, and Uninstall links to Module's Admin Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/class/gui.php XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/language/english/admin.php Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/class/gui.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/class/gui.php 2012-02-19 06:08:26 UTC (rev 9017) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/class/gui.php 2012-02-19 08:10:30 UTC (rev 9018) @@ -111,6 +111,10 @@ $menu_handler->addMenuTop(XOOPS_URL . "/modules/system/admin.php?fct=preferences&op=showmod&mod=" . $xoopsModule->getVar('mid', 'e'), _AM_SYSTEM_PREF); $menu_handler->addMenuTop(XOOPS_URL . "/modules/system/admin.php?fct=modulesadmin&op=update&module=" . $xoopsModule->getVar('dirname', 'e'), _AM_SYSTEM_UPDATE); $menu_handler->addMenuTop(XOOPS_URL . "/modules/system/admin.php?fct=blocksadmin&op=list&filter=1&selgen=" . $xoopsModule->getVar('mid', 'e') . "&selmod=-2&selgrp=-1&selvis=-1", _AM_SYSTEM_BLOCKS); + $menu_handler->addMenuTop(XOOPS_URL . "/modules/system/admin.php?fct=tplsets&op=listtpl&tplset=default&moddir=" . $xoopsModule->getVar('dirname', 'e'),_AM_SYSTEM_TPLSETS); + $menu_handler->addMenuTop(XOOPS_URL . "/modules/system/admin.php?module=" . $xoopsModule->getVar('mid', 'e'). '&status=0&limit=10&fct=comments', _AM_SYSTEM_COMMENTS); + $menu_handler->addMenuTop(XOOPS_URL . "/modules/system/admin.php?fct=modulesadmin&op=uninstall&module=" . $xoopsModule->getVar('dirname', 'e'), _AM_SYSTEM_UNINSTALL); + $menu_handler->addMenuTop(XOOPS_URL . "/modules/" . $xoopsModule->getVar('dirname', 'e') . "/", _AM_SYSTEM_GOTOMODULE); // Define main tab navigation $i=0; Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/language/english/admin.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/language/english/admin.php 2012-02-19 06:08:26 UTC (rev 9017) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/modules/system/language/english/admin.php 2012-02-19 08:10:30 UTC (rev 9018) @@ -76,4 +76,6 @@ define("_MD_AM_PERMRESETNG","Could not reset group permission for module %s"); define("_MD_AM_PERMADDNGP","All parent items must be selected."); +define("_AM_SYSTEM_UNINSTALL","Uninstall"); + ?> \ 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: <for...@us...> - 2012-02-19 06:08:35
|
Revision: 9017 http://xoops.svn.sourceforge.net/xoops/?rev=9017&view=rev Author: forxoops Date: 2012-02-19 06:08:26 +0000 (Sun, 19 Feb 2012) Log Message: ----------- Replace bootstrap version to the lastest Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/bootstrap-responsive.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/bootstrap-responsive.min.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/bootstrap.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/bootstrap.min.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/img/ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/img/glyphicons-halflings-white.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/img/glyphicons-halflings.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/bootstrap.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/bootstrap.min.js Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css ___________________________________________________________________ Added: tsvn:autoprops + *.php = svn:executable=*;svn:keywords=Author Date Id Rev URL; Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/bootstrap-responsive.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/bootstrap-responsive.css (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/bootstrap-responsive.css 2012-02-19 06:08:26 UTC (rev 9017) @@ -0,0 +1,581 @@ +/*! + * Bootstrap Responsive v2.0.1 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */ +.clearfix { + *zoom: 1; +} +.clearfix:before, .clearfix:after { + display: table; + content: ""; +} +.clearfix:after { + clear: both; +} +.hidden { + display: none; + visibility: hidden; +} +@media (max-width: 480px) { + .nav-collapse { + -webkit-transform: translate3d(0, 0, 0); + } + .page-header h1 small { + display: block; + line-height: 18px; + } + input[class*="span"], + select[class*="span"], + textarea[class*="span"], + .uneditable-input { + display: block; + width: 100%; + min-height: 28px; + /* Make inputs at least the height of their button counterpart */ + + /* Makes inputs behave like true block-level elements */ + + -webkit-box-sizing: border-box; + /* Older Webkit */ + + -moz-box-sizing: border-box; + /* Older FF */ + + -ms-box-sizing: border-box; + /* IE8 */ + + box-sizing: border-box; + /* CSS3 spec*/ + + } + .input-prepend input[class*="span"], .input-append input[class*="span"] { + width: auto; + } + input[type="checkbox"], input[type="radio"] { + border: 1px solid #ccc; + } + .form-horizontal .control-group > label { + float: none; + width: auto; + padding-top: 0; + text-align: left; + } + .form-horizontal .controls { + margin-left: 0; + } + .form-horizontal .control-list { + padding-top: 0; + } + .form-horizontal .form-actions { + padding-left: 10px; + padding-right: 10px; + } + .modal { + position: absolute; + top: 10px; + left: 10px; + right: 10px; + width: auto; + margin: 0; + } + .modal.fade.in { + top: auto; + } + .modal-header .close { + padding: 10px; + margin: -10px; + } + .carousel-caption { + position: static; + } +} +@media (max-width: 767px) { + .container { + width: auto; + padding: 0 20px; + } + .row-fluid { + width: 100%; + } + .row { + margin-left: 0; + } + .row > [class*="span"], .row-fluid > [class*="span"] { + float: none; + display: block; + width: auto; + margin: 0; + } +} +@media (min-width: 768px) and (max-width: 979px) { + .row { + margin-left: -20px; + *zoom: 1; + } + .row:before, .row:after { + display: table; + content: ""; + } + .row:after { + clear: both; + } + [class*="span"] { + float: left; + margin-left: 20px; + } + .span1 { + width: 42px; + } + .span2 { + width: 104px; + } + .span3 { + width: 166px; + } + .span4 { + width: 228px; + } + .span5 { + width: 290px; + } + .span6 { + width: 352px; + } + .span7 { + width: 414px; + } + .span8 { + width: 476px; + } + .span9 { + width: 538px; + } + .span10 { + width: 600px; + } + .span11 { + width: 662px; + } + .span12, .container { + width: 724px; + } + .offset1 { + margin-left: 82px; + } + .offset2 { + margin-left: 144px; + } + .offset3 { + margin-left: 206px; + } + .offset4 { + margin-left: 268px; + } + .offset5 { + margin-left: 330px; + } + .offset6 { + margin-left: 392px; + } + .offset7 { + margin-left: 454px; + } + .offset8 { + margin-left: 516px; + } + .offset9 { + margin-left: 578px; + } + .offset10 { + margin-left: 640px; + } + .offset11 { + margin-left: 702px; + } + .row-fluid { + width: 100%; + *zoom: 1; + } + .row-fluid:before, .row-fluid:after { + display: table; + content: ""; + } + .row-fluid:after { + clear: both; + } + .row-fluid > [class*="span"] { + float: left; + margin-left: 2.762430939%; + } + .row-fluid > [class*="span"]:first-child { + margin-left: 0; + } + .row-fluid > .span1 { + width: 5.801104972%; + } + .row-fluid > .span2 { + width: 14.364640883%; + } + .row-fluid > .span3 { + width: 22.928176794%; + } + .row-fluid > .span4 { + width: 31.491712705%; + } + .row-fluid > .span5 { + width: 40.055248616%; + } + .row-fluid > .span6 { + width: 48.618784527%; + } + .row-fluid > .span7 { + width: 57.182320438000005%; + } + .row-fluid > .span8 { + width: 65.74585634900001%; + } + .row-fluid > .span9 { + width: 74.30939226%; + } + .row-fluid > .span10 { + width: 82.87292817100001%; + } + .row-fluid > .span11 { + width: 91.436464082%; + } + .row-fluid > .span12 { + width: 99.999999993%; + } + input.span1, textarea.span1, .uneditable-input.span1 { + width: 32px; + } + input.span2, textarea.span2, .uneditable-input.span2 { + width: 94px; + } + input.span3, textarea.span3, .uneditable-input.span3 { + width: 156px; + } + input.span4, textarea.span4, .uneditable-input.span4 { + width: 218px; + } + input.span5, textarea.span5, .uneditable-input.span5 { + width: 280px; + } + input.span6, textarea.span6, .uneditable-input.span6 { + width: 342px; + } + input.span7, textarea.span7, .uneditable-input.span7 { + width: 404px; + } + input.span8, textarea.span8, .uneditable-input.span8 { + width: 466px; + } + input.span9, textarea.span9, .uneditable-input.span9 { + width: 528px; + } + input.span10, textarea.span10, .uneditable-input.span10 { + width: 590px; + } + input.span11, textarea.span11, .uneditable-input.span11 { + width: 652px; + } + input.span12, textarea.span12, .uneditable-input.span12 { + width: 714px; + } +} +@media (max-width: 979px) { + body { + padding-top: 0; + } + .navbar-fixed-top { + position: static; + margin-bottom: 18px; + } + .navbar-fixed-top .navbar-inner { + padding: 5px; + } + .navbar .container { + width: auto; + padding: 0; + } + .navbar .brand { + padding-left: 10px; + padding-right: 10px; + margin: 0 0 0 -5px; + } + .navbar .nav-collapse { + clear: left; + } + .navbar .nav { + float: none; + margin: 0 0 9px; + } + .navbar .nav > li { + float: none; + } + .navbar .nav > li > a { + margin-bottom: 2px; + } + .navbar .nav > .divider-vertical { + display: none; + } + .navbar .nav .nav-header { + color: #999999; + text-shadow: none; + } + .navbar .nav > li > a, .navbar .dropdown-menu a { + padding: 6px 15px; + font-weight: bold; + color: #999999; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + } + .navbar .dropdown-menu li + li a { + margin-bottom: 2px; + } + .navbar .nav > li > a:hover, .navbar .dropdown-menu a:hover { + background-color: #222222; + } + .navbar .dropdown-menu { + position: static; + top: auto; + left: auto; + float: none; + display: block; + max-width: none; + margin: 0 15px; + padding: 0; + background-color: transparent; + border: none; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + } + .navbar .dropdown-menu:before, .navbar .dropdown-menu:after { + display: none; + } + .navbar .dropdown-menu .divider { + display: none; + } + .navbar-form, .navbar-search { + float: none; + padding: 9px 15px; + margin: 9px 0; + border-top: 1px solid #222222; + border-bottom: 1px solid #222222; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + } + .navbar .nav.pull-right { + float: none; + margin-left: 0; + } + .navbar-static .navbar-inner { + padding-left: 10px; + padding-right: 10px; + } + .btn-navbar { + display: block; + } + .nav-collapse { + overflow: hidden; + height: 0; + } +} +@media (min-width: 980px) { + .nav-collapse.collapse { + height: auto !important; + } +} +@media (min-width: 1200px) { + .row { + margin-left: -30px; + *zoom: 1; + } + .row:before, .row:after { + display: table; + content: ""; + } + .row:after { + clear: both; + } + [class*="span"] { + float: left; + margin-left: 30px; + } + .span1 { + width: 70px; + } + .span2 { + width: 170px; + } + .span3 { + width: 270px; + } + .span4 { + width: 370px; + } + .span5 { + width: 470px; + } + .span6 { + width: 570px; + } + .span7 { + width: 670px; + } + .span8 { + width: 770px; + } + .span9 { + width: 870px; + } + .span10 { + width: 970px; + } + .span11 { + width: 1070px; + } + .span12, .container { + width: 1170px; + } + .offset1 { + margin-left: 130px; + } + .offset2 { + margin-left: 230px; + } + .offset3 { + margin-left: 330px; + } + .offset4 { + margin-left: 430px; + } + .offset5 { + margin-left: 530px; + } + .offset6 { + margin-left: 630px; + } + .offset7 { + margin-left: 730px; + } + .offset8 { + margin-left: 830px; + } + .offset9 { + margin-left: 930px; + } + .offset10 { + margin-left: 1030px; + } + .offset11 { + margin-left: 1130px; + } + .row-fluid { + width: 100%; + *zoom: 1; + } + .row-fluid:before, .row-fluid:after { + display: table; + content: ""; + } + .row-fluid:after { + clear: both; + } + .row-fluid > [class*="span"] { + float: left; + margin-left: 2.564102564%; + } + .row-fluid > [class*="span"]:first-child { + margin-left: 0; + } + .row-fluid > .span1 { + width: 5.982905983%; + } + .row-fluid > .span2 { + width: 14.529914530000001%; + } + .row-fluid > .span3 { + width: 23.076923077%; + } + .row-fluid > .span4 { + width: 31.623931624%; + } + .row-fluid > .span5 { + width: 40.170940171000005%; + } + .row-fluid > .span6 { + width: 48.717948718%; + } + .row-fluid > .span7 { + width: 57.264957265%; + } + .row-fluid > .span8 { + width: 65.81196581200001%; + } + .row-fluid > .span9 { + width: 74.358974359%; + } + .row-fluid > .span10 { + width: 82.905982906%; + } + .row-fluid > .span11 { + width: 91.45299145300001%; + } + .row-fluid > .span12 { + width: 100%; + } + input.span1, textarea.span1, .uneditable-input.span1 { + width: 60px; + } + input.span2, textarea.span2, .uneditable-input.span2 { + width: 160px; + } + input.span3, textarea.span3, .uneditable-input.span3 { + width: 260px; + } + input.span4, textarea.span4, .uneditable-input.span4 { + width: 360px; + } + input.span5, textarea.span5, .uneditable-input.span5 { + width: 460px; + } + input.span6, textarea.span6, .uneditable-input.span6 { + width: 560px; + } + input.span7, textarea.span7, .uneditable-input.span7 { + width: 660px; + } + input.span8, textarea.span8, .uneditable-input.span8 { + width: 760px; + } + input.span9, textarea.span9, .uneditable-input.span9 { + width: 860px; + } + input.span10, textarea.span10, .uneditable-input.span10 { + width: 960px; + } + input.span11, textarea.span11, .uneditable-input.span11 { + width: 1060px; + } + input.span12, textarea.span12, .uneditable-input.span12 { + width: 1160px; + } + .thumbnails { + margin-left: -30px; + } + .thumbnails > li { + margin-left: 30px; + } +} Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/bootstrap-responsive.min.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/bootstrap-responsive.min.css (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/bootstrap-responsive.min.css 2012-02-19 06:08:26 UTC (rev 9017) @@ -0,0 +1,4 @@ +.clearfix{*zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";} +.clearfix:after{clear:both;} +.hidden{display:none;visibility:hidden;} +@media (max-width:480px){.nav-collapse{-webkit-transform:translate3d(0, 0, 0);} .page-header h1 small{display:block;line-height:18px;} input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;} .input-prepend input[class*="span"],.input-append input[class*="span"]{width:auto;} input[type="checkbox"],input[type="radio"]{border:1px solid #ccc;} .form-horizontal .control-group>label{float:none;width:auto;padding-top:0;text-align:left;} .form-horizontal .controls{margin-left:0;} .form-horizontal .control-list{padding-top:0;} .form-horizontal .form-actions{padding-left:10px;padding-right:10px;} .modal{position:absolute;top:10px;left:10px;right:10px;width:auto;margin:0;}.modal.fade.in{top:auto;} .modal-header .close{padding:10px;margin:-10px;} .carousel-caption{position:static;}}@media (max-width:767px){.container{width:auto;padding:0 20px;} .row-fluid{width:100%;} .row{margin-left:0;} .row>[class*="span"],.row-fluid>[class*="span"]{float:none;display:block;width:auto;margin:0;}}@media (min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:"";} .row:after{clear:both;} [class*="span"]{float:left;margin-left:20px;} .span1{width:42px;} .span2{width:104px;} .span3{width:166px;} .span4{width:228px;} .span5{width:290px;} .span6{width:352px;} .span7{width:414px;} .span8{width:476px;} .span9{width:538px;} .span10{width:600px;} .span11{width:662px;} .span12,.container{width:724px;} .offset1{margin-left:82px;} .offset2{margin-left:144px;} .offset3{margin-left:206px;} .offset4{margin-left:268px;} .offset5{margin-left:330px;} .offset6{margin-left:392px;} .offset7{margin-left:454px;} .offset8{margin-left:516px;} .offset9{margin-left:578px;} .offset10{margin-left:640px;} .offset11{margin-left:702px;} .row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";} .row-fluid:after{clear:both;} .row-fluid>[class*="span"]{float:left;margin-left:2.762430939%;} .row-fluid>[class*="span"]:first-child{margin-left:0;} .row-fluid>.span1{width:5.801104972%;} .row-fluid>.span2{width:14.364640883%;} .row-fluid>.span3{width:22.928176794%;} .row-fluid>.span4{width:31.491712705%;} .row-fluid>.span5{width:40.055248616%;} .row-fluid>.span6{width:48.618784527%;} .row-fluid>.span7{width:57.182320438000005%;} .row-fluid>.span8{width:65.74585634900001%;} .row-fluid>.span9{width:74.30939226%;} .row-fluid>.span10{width:82.87292817100001%;} .row-fluid>.span11{width:91.436464082%;} .row-fluid>.span12{width:99.999999993%;} input.span1,textarea.span1,.uneditable-input.span1{width:32px;} input.span2,textarea.span2,.uneditable-input.span2{width:94px;} input.span3,textarea.span3,.uneditable-input.span3{width:156px;} input.span4,textarea.span4,.uneditable-input.span4{width:218px;} input.span5,textarea.span5,.uneditable-input.span5{width:280px;} input.span6,textarea.span6,.uneditable-input.span6{width:342px;} input.span7,textarea.span7,.uneditable-input.span7{width:404px;} input.span8,textarea.span8,.uneditable-input.span8{width:466px;} input.span9,textarea.span9,.uneditable-input.span9{width:528px;} input.span10,textarea.span10,.uneditable-input.span10{width:590px;} input.span11,textarea.span11,.uneditable-input.span11{width:652px;} input.span12,textarea.span12,.uneditable-input.span12{width:714px;}}@media (max-width:979px){body{padding-top:0;} .navbar-fixed-top{position:static;margin-bottom:18px;} .navbar-fixed-top .navbar-inner{padding:5px;} .navbar .container{width:auto;padding:0;} .navbar .brand{padding-left:10px;padding-right:10px;margin:0 0 0 -5px;} .navbar .nav-collapse{clear:left;} .navbar .nav{float:none;margin:0 0 9px;} .navbar .nav>li{float:none;} .navbar .nav>li>a{margin-bottom:2px;} .navbar .nav>.divider-vertical{display:none;} .navbar .nav .nav-header{color:#999999;text-shadow:none;} .navbar .nav>li>a,.navbar .dropdown-menu a{padding:6px 15px;font-weight:bold;color:#999999;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} .navbar .dropdown-menu li+li a{margin-bottom:2px;} .navbar .nav>li>a:hover,.navbar .dropdown-menu a:hover{background-color:#222222;} .navbar .dropdown-menu{position:static;top:auto;left:auto;float:none;display:block;max-width:none;margin:0 15px;padding:0;background-color:transparent;border:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} .navbar .dropdown-menu:before,.navbar .dropdown-menu:after{display:none;} .navbar .dropdown-menu .divider{display:none;} .navbar-form,.navbar-search{float:none;padding:9px 15px;margin:9px 0;border-top:1px solid #222222;border-bottom:1px solid #222222;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.1);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.1);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.1);} .navbar .nav.pull-right{float:none;margin-left:0;} .navbar-static .navbar-inner{padding-left:10px;padding-right:10px;} .btn-navbar{display:block;} .nav-collapse{overflow:hidden;height:0;}}@media (min-width:980px){.nav-collapse.collapse{height:auto !important;}}@media (min-width:1200px){.row{margin-left:-30px;*zoom:1;}.row:before,.row:after{display:table;content:"";} .row:after{clear:both;} [class*="span"]{float:left;margin-left:30px;} .span1{width:70px;} .span2{width:170px;} .span3{width:270px;} .span4{width:370px;} .span5{width:470px;} .span6{width:570px;} .span7{width:670px;} .span8{width:770px;} .span9{width:870px;} .span10{width:970px;} .span11{width:1070px;} .span12,.container{width:1170px;} .offset1{margin-left:130px;} .offset2{margin-left:230px;} .offset3{margin-left:330px;} .offset4{margin-left:430px;} .offset5{margin-left:530px;} .offset6{margin-left:630px;} .offset7{margin-left:730px;} .offset8{margin-left:830px;} .offset9{margin-left:930px;} .offset10{margin-left:1030px;} .offset11{margin-left:1130px;} .row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";} .row-fluid:after{clear:both;} .row-fluid>[class*="span"]{float:left;margin-left:2.564102564%;} .row-fluid>[class*="span"]:first-child{margin-left:0;} .row-fluid>.span1{width:5.982905983%;} .row-fluid>.span2{width:14.529914530000001%;} .row-fluid>.span3{width:23.076923077%;} .row-fluid>.span4{width:31.623931624%;} .row-fluid>.span5{width:40.170940171000005%;} .row-fluid>.span6{width:48.717948718%;} .row-fluid>.span7{width:57.264957265%;} .row-fluid>.span8{width:65.81196581200001%;} .row-fluid>.span9{width:74.358974359%;} .row-fluid>.span10{width:82.905982906%;} .row-fluid>.span11{width:91.45299145300001%;} .row-fluid>.span12{width:100%;} input.span1,textarea.span1,.uneditable-input.span1{width:60px;} input.span2,textarea.span2,.uneditable-input.span2{width:160px;} input.span3,textarea.span3,.uneditable-input.span3{width:260px;} input.span4,textarea.span4,.uneditable-input.span4{width:360px;} input.span5,textarea.span5,.uneditable-input.span5{width:460px;} input.span6,textarea.span6,.uneditable-input.span6{width:560px;} input.span7,textarea.span7,.uneditable-input.span7{width:660px;} input.span8,textarea.span8,.uneditable-input.span8{width:760px;} input.span9,textarea.span9,.uneditable-input.span9{width:860px;} input.span10,textarea.span10,.uneditable-input.span10{width:960px;} input.span11,textarea.span11,.uneditable-input.span11{width:1060px;} input.span12,textarea.span12,.uneditable-input.span12{width:1160px;} .thumbnails{margin-left:-30px;} .thumbnails>li{margin-left:30px;}} Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/bootstrap.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/bootstrap.css (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/css/bootstrap.css 2012-02-19 06:08:26 UTC (rev 9017) @@ -0,0 +1,3496 @@ +/*! + * Bootstrap v2.0.1 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +nav, +section { + display: block; +} +audio, canvas, video { + display: inline-block; + *display: inline; + *zoom: 1; +} +audio:not([controls]) { + display: none; +} +html { + font-size: 100%; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} +a:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +a:hover, a:active { + outline: 0; +} +sub, sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} +sup { + top: -0.5em; +} +sub { + bottom: -0.25em; +} +img { + max-width: 100%; + height: auto; + border: 0; + -ms-interpolation-mode: bicubic; +} +button, +input, +select, +textarea { + margin: 0; + font-size: 100%; + vertical-align: middle; +} +button, input { + *overflow: visible; + line-height: normal; +} +button::-moz-focus-inner, input::-moz-focus-inner { + padding: 0; + border: 0; +} +button, +input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} +input[type="search"] { + -webkit-appearance: textfield; + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; +} +input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { + -webkit-appearance: none; +} +textarea { + overflow: auto; + vertical-align: top; +} +.clearfix { + *zoom: 1; +} +.clearfix:before, .clearfix:after { + display: table; + content: ""; +} +.clearfix:after { + clear: both; +} +body { + margin: 0; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 13px; + line-height: 18px; + color: #333333; + background-color: #ffffff; +} +a { + color: #0088cc; + text-decoration: none; +} +a:hover { + color: #005580; + text-decoration: underline; +} +.row { + margin-left: -20px; + *zoom: 1; +} +.row:before, .row:after { + display: table; + content: ""; +} +.row:after { + clear: both; +} +[class*="span"] { + float: left; + margin-left: 20px; +} +.span1 { + width: 60px; +} +.span2 { + width: 140px; +} +.span3 { + width: 220px; +} +.span4 { + width: 300px; +} +.span5 { + width: 380px; +} +.span6 { + width: 460px; +} +.span7 { + width: 540px; +} +.span8 { + width: 620px; +} +.span9 { + width: 700px; +} +.span10 { + width: 780px; +} +.span11 { + width: 860px; +} +.span12, .container { + width: 940px; +} +.offset1 { + margin-left: 100px; +} +.offset2 { + margin-left: 180px; +} +.offset3 { + margin-left: 260px; +} +.offset4 { + margin-left: 340px; +} +.offset5 { + margin-left: 420px; +} +.offset6 { + margin-left: 500px; +} +.offset7 { + margin-left: 580px; +} +.offset8 { + margin-left: 660px; +} +.offset9 { + margin-left: 740px; +} +.offset10 { + margin-left: 820px; +} +.offset11 { + margin-left: 900px; +} +.row-fluid { + width: 100%; + *zoom: 1; +} +.row-fluid:before, .row-fluid:after { + display: table; + content: ""; +} +.row-fluid:after { + clear: both; +} +.row-fluid > [class*="span"] { + float: left; + margin-left: 2.127659574%; +} +.row-fluid > [class*="span"]:first-child { + margin-left: 0; +} +.row-fluid > .span1 { + width: 6.382978723%; +} +.row-fluid > .span2 { + width: 14.89361702%; +} +.row-fluid > .span3 { + width: 23.404255317%; +} +.row-fluid > .span4 { + width: 31.914893614%; +} +.row-fluid > .span5 { + width: 40.425531911%; +} +.row-fluid > .span6 { + width: 48.93617020799999%; +} +.row-fluid > .span7 { + width: 57.446808505%; +} +.row-fluid > .span8 { + width: 65.95744680199999%; +} +.row-fluid > .span9 { + width: 74.468085099%; +} +.row-fluid > .span10 { + width: 82.97872339599999%; +} +.row-fluid > .span11 { + width: 91.489361693%; +} +.row-fluid > .span12 { + width: 99.99999998999999%; +} +.container { + width: 940px; + margin-left: auto; + margin-right: auto; + *zoom: 1; +} +.container:before, .container:after { + display: table; + content: ""; +} +.container:after { + clear: both; +} +.container-fluid { + padding-left: 20px; + padding-right: 20px; + *zoom: 1; +} +.container-fluid:before, .container-fluid:after { + display: table; + content: ""; +} +.container-fluid:after { + clear: both; +} +p { + margin: 0 0 9px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 13px; + line-height: 18px; +} +p small { + font-size: 11px; + color: #999999; +} +.lead { + margin-bottom: 18px; + font-size: 20px; + font-weight: 200; + line-height: 27px; +} +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 0; + font-weight: bold; + color: #333333; + text-rendering: optimizelegibility; +} +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small { + font-weight: normal; + color: #999999; +} +h1 { + font-size: 30px; + line-height: 36px; +} +h1 small { + font-size: 18px; +} +h2 { + font-size: 24px; + line-height: 36px; +} +h2 small { + font-size: 18px; +} +h3 { + line-height: 27px; + font-size: 18px; +} +h3 small { + font-size: 14px; +} +h4, h5, h6 { + line-height: 18px; +} +h4 { + font-size: 14px; +} +h4 small { + font-size: 12px; +} +h5 { + font-size: 12px; +} +h6 { + font-size: 11px; + color: #999999; + text-transform: uppercase; +} +.page-header { + padding-bottom: 17px; + margin: 18px 0; + border-bottom: 1px solid #eeeeee; +} +.page-header h1 { + line-height: 1; +} +ul, ol { + padding: 0; + margin: 0 0 9px 25px; +} +ul ul, +ul ol, +ol ol, +ol ul { + margin-bottom: 0; +} +ul { + list-style: disc; +} +ol { + list-style: decimal; +} +li { + line-height: 18px; +} +ul.unstyled, ol.unstyled { + margin-left: 0; + list-style: none; +} +dl { + margin-bottom: 18px; +} +dt, dd { + line-height: 18px; +} +dt { + font-weight: bold; +} +dd { + margin-left: 9px; +} +hr { + margin: 18px 0; + border: 0; + border-top: 1px solid #eeeeee; + border-bottom: 1px solid #ffffff; +} +strong { + font-weight: bold; +} +em { + font-style: italic; +} +.muted { + color: #999999; +} +abbr { + font-size: 90%; + text-transform: uppercase; + border-bottom: 1px dotted #ddd; + cursor: help; +} +blockquote { + padding: 0 0 0 15px; + margin: 0 0 18px; + border-left: 5px solid #eeeeee; +} +blockquote p { + margin-bottom: 0; + font-size: 16px; + font-weight: 300; + line-height: 22.5px; +} +blockquote small { + display: block; + line-height: 18px; + color: #999999; +} +blockquote small:before { + content: '\2014 \00A0'; +} +blockquote.pull-right { + float: right; + padding-left: 0; + padding-right: 15px; + border-left: 0; + border-right: 5px solid #eeeeee; +} +blockquote.pull-right p, blockquote.pull-right small { + text-align: right; +} +q:before, +q:after, +blockquote:before, +blockquote:after { + content: ""; +} +address { + display: block; + margin-bottom: 18px; + line-height: 18px; + font-style: normal; +} +small { + font-size: 100%; +} +cite { + font-style: normal; +} +code, pre { + padding: 0 3px 2px; + font-family: Menlo, Monaco, "Courier New", monospace; + font-size: 12px; + color: #333333; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +code { + padding: 3px 4px; + color: #d14; + background-color: #f7f7f9; + border: 1px solid #e1e1e8; +} +pre { + display: block; + padding: 8.5px; + margin: 0 0 9px; + font-size: 12px; + line-height: 18px; + background-color: #f5f5f5; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.15); + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + white-space: pre; + white-space: pre-wrap; + word-break: break-all; + word-wrap: break-word; +} +pre.prettyprint { + margin-bottom: 18px; +} +pre code { + padding: 0; + color: inherit; + background-color: transparent; + border: 0; +} +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} +form { + margin: 0 0 18px; +} +fieldset { + padding: 0; + margin: 0; + border: 0; +} +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 27px; + font-size: 19.5px; + line-height: 36px; + color: #333333; + border: 0; + border-bottom: 1px solid #eee; +} +legend small { + font-size: 13.5px; + color: #999999; +} +label, +input, +button, +select, +textarea { + font-size: 13px; + font-weight: normal; + line-height: 18px; +} +input, +button, +select, +textarea { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; +} +label { + display: block; + margin-bottom: 5px; + color: #333333; +} +input, +textarea, +select, +.uneditable-input { + display: inline-block; + width: 210px; + height: 18px; + padding: 4px; + margin-bottom: 9px; + font-size: 13px; + line-height: 18px; + color: #555555; + border: 1px solid #ccc; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.uneditable-textarea { + width: auto; + height: auto; +} +label input, label textarea, label select { + display: block; +} +input[type="image"], input[type="checkbox"], input[type="radio"] { + width: auto; + height: auto; + padding: 0; + margin: 3px 0; + *margin-top: 0; + /* IE7 */ + + line-height: normal; + cursor: pointer; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; + border: 0 \9; + /* IE9 and down */ + +} +input[type="image"] { + border: 0; +} +input[type="file"] { + width: auto; + padding: initial; + line-height: initial; + border: initial; + background-color: #ffffff; + background-color: initial; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +input[type="button"], input[type="reset"], input[type="submit"] { + width: auto; + height: auto; +} +select, input[type="file"] { + height: 28px; + /* In IE7, the height of the select element cannot be changed by height, only font-size */ + + *margin-top: 4px; + /* For IE7, add top margin to align select with labels */ + + line-height: 28px; +} +input[type="file"] { + line-height: 18px \9; +} +select { + width: 220px; + background-color: #ffffff; +} +select[multiple], select[size] { + height: auto; +} +input[type="image"] { + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +textarea { + height: auto; +} +input[type="hidden"] { + display: none; +} +.radio, .checkbox { + padding-left: 18px; +} +.radio input[type="radio"], .checkbox input[type="checkbox"] { + float: left; + margin-left: -18px; +} +.controls > .radio:first-child, .controls > .checkbox:first-child { + padding-top: 5px; +} +.radio.inline, .checkbox.inline { + display: inline-block; + padding-top: 5px; + margin-bottom: 0; + vertical-align: middle; +} +.radio.inline + .radio.inline, .checkbox.inline + .checkbox.inline { + margin-left: 10px; +} +input, textarea { + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; + -moz-transition: border linear 0.2s, box-shadow linear 0.2s; + -ms-transition: border linear 0.2s, box-shadow linear 0.2s; + -o-transition: border linear 0.2s, box-shadow linear 0.2s; + transition: border linear 0.2s, box-shadow linear 0.2s; +} +input:focus, textarea:focus { + border-color: rgba(82, 168, 236, 0.8); + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); + outline: 0; + outline: thin dotted \9; + /* IE6-9 */ + +} +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus, +select:focus { + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.input-mini { + width: 60px; +} +.input-small { + width: 90px; +} +.input-medium { + width: 150px; +} +.input-large { + width: 210px; +} +.input-xlarge { + width: 270px; +} +.input-xxlarge { + width: 530px; +} +input[class*="span"], +select[class*="span"], +textarea[class*="span"], +.uneditable-input { + float: none; + margin-left: 0; +} +input.span1, textarea.span1, .uneditable-input.span1 { + width: 50px; +} +input.span2, textarea.span2, .uneditable-input.span2 { + width: 130px; +} +input.span3, textarea.span3, .uneditable-input.span3 { + width: 210px; +} +input.span4, textarea.span4, .uneditable-input.span4 { + width: 290px; +} +input.span5, textarea.span5, .uneditable-input.span5 { + width: 370px; +} +input.span6, textarea.span6, .uneditable-input.span6 { + width: 450px; +} +input.span7, textarea.span7, .uneditable-input.span7 { + width: 530px; +} +input.span8, textarea.span8, .uneditable-input.span8 { + width: 610px; +} +input.span9, textarea.span9, .uneditable-input.span9 { + width: 690px; +} +input.span10, textarea.span10, .uneditable-input.span10 { + width: 770px; +} +input.span11, textarea.span11, .uneditable-input.span11 { + width: 850px; +} +input.span12, textarea.span12, .uneditable-input.span12 { + width: 930px; +} +input[disabled], +select[disabled], +textarea[disabled], +input[readonly], +select[readonly], +textarea[readonly] { + background-color: #f5f5f5; + border-color: #ddd; + cursor: not-allowed; +} +.control-group.warning > label, .control-group.warning .help-block, .control-group.warning .help-inline { + color: #c09853; +} +.control-group.warning input, .control-group.warning select, .control-group.warning textarea { + color: #c09853; + border-color: #c09853; +} +.control-group.warning input:focus, .control-group.warning select:focus, .control-group.warning textarea:focus { + border-color: #a47e3c; + -webkit-box-shadow: 0 0 6px #dbc59e; + -moz-box-shadow: 0 0 6px #dbc59e; + box-shadow: 0 0 6px #dbc59e; +} +.control-group.warning .input-prepend .add-on, .control-group.warning .input-append .add-on { + color: #c09853; + background-color: #fcf8e3; + border-color: #c09853; +} +.control-group.error > label, .control-group.error .help-block, .control-group.error .help-inline { + color: #b94a48; +} +.control-group.error input, .control-group.error select, .control-group.error textarea { + color: #b94a48; + border-color: #b94a48; +} +.control-group.error input:focus, .control-group.error select:focus, .control-group.error textarea:focus { + border-color: #953b39; + -webkit-box-shadow: 0 0 6px #d59392; + -moz-box-shadow: 0 0 6px #d59392; + box-shadow: 0 0 6px #d59392; +} +.control-group.error .input-prepend .add-on, .control-group.error .input-append .add-on { + color: #b94a48; + background-color: #f2dede; + border-color: #b94a48; +} +.control-group.success > label, .control-group.success .help-block, .control-group.success .help-inline { + color: #468847; +} +.control-group.success input, .control-group.success select, .control-group.success textarea { + color: #468847; + border-color: #468847; +} +.control-group.success input:focus, .control-group.success select:focus, .control-group.success textarea:focus { + border-color: #356635; + -webkit-box-shadow: 0 0 6px #7aba7b; + -moz-box-shadow: 0 0 6px #7aba7b; + box-shadow: 0 0 6px #7aba7b; +} +.control-group.success .input-prepend .add-on, .control-group.success .input-append .add-on { + color: #468847; + background-color: #dff0d8; + border-color: #468847; +} +input:focus:required:invalid, textarea:focus:required:invalid, select:focus:required:invalid { + color: #b94a48; + border-color: #ee5f5b; +} +input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, select:focus:required:invalid:focus { + border-color: #e9322d; + -webkit-box-shadow: 0 0 6px #f8b9b7; + -moz-box-shadow: 0 0 6px #f8b9b7; + box-shadow: 0 0 6px #f8b9b7; +} +.form-actions { + padding: 17px 20px 18px; + margin-top: 18px; + margin-bottom: 18px; + background-color: #f5f5f5; + border-top: 1px solid #ddd; +} +.uneditable-input { + display: block; + background-color: #ffffff; + border-color: #eee; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + cursor: not-allowed; +} +:-moz-placeholder { + color: #999999; +} +::-webkit-input-placeholder { + color: #999999; +} +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 0; + color: #999999; +} +.help-inline { + display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; + margin-bottom: 9px; + vertical-align: middle; + padding-left: 5px; +} +.input-prepend, .input-append { + margin-bottom: 5px; + *zoom: 1; +} +.input-prepend:before, +.input-append:before, +.input-prepend:after, +.input-append:after { + display: table; + content: ""; +} +.input-prepend:after, .input-append:after { + clear: both; +} +.input-prepend input, +.input-append input, +.input-prepend .uneditable-input, +.input-append .uneditable-input { + -webkit-border-radius: 0 3px 3px 0; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; +} +.input-prepend input:focus, +.input-append input:focus, +.input-prepend .uneditable-input:focus, +.input-append .uneditable-input:focus { + position: relative; + z-index: 2; +} +.input-prepend .uneditable-input, .input-append .uneditable-input { + border-left-color: #ccc; +} +.input-prepend .add-on, .input-append .add-on { + float: left; + display: block; + width: auto; + min-width: 16px; + height: 18px; + margin-right: -1px; + padding: 4px 5px; + font-weight: normal; + line-height: 18px; + color: #999999; + text-align: center; + text-shadow: 0 1px 0 #ffffff; + background-color: #f5f5f5; + border: 1px solid #ccc; + -webkit-border-radius: 3px 0 0 3px; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; +} +.input-prepend .active, .input-append .active { + background-color: #a9dba9; + border-color: #46a546; +} +.input-prepend .add-on { + *margin-top: 1px; + /* IE6-7 */ + +} +.input-append input, .input-append .uneditable-input { + float: left; + -webkit-border-radius: 3px 0 0 3px; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; +} +.input-append .uneditable-input { + border-left-color: #eee; + border-right-color: #ccc; +} +.input-append .add-on { + margin-right: 0; + margin-left: -1px; + -webkit-border-radius: 0 3px 3px 0; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; +} +.input-append input:first-child { + *margin-left: -160px; +} +.input-append input:first-child + .add-on { + *margin-left: -21px; +} +.search-query { + padding-left: 14px; + padding-right: 14px; + margin-bottom: 0; + -webkit-border-radius: 14px; + -moz-border-radius: 14px; + border-radius: 14px; +} +.form-search input, +.form-inline input, +.form-horizontal input, +.form-search textarea, +.form-inline textarea, +.form-horizontal textarea, +.form-search select, +.form-inline select, +.form-horizontal select, +.form-search .help-inline, +.form-inline .help-inline, +.form-horizontal .help-inline, +.form-search .uneditable-input, +.form-inline .uneditable-input, +.form-horizontal .uneditable-input { + display: inline-block; + margin-bottom: 0; +} +.form-search .hide, .form-inline .hide, .form-horizontal .hide { + display: none; +} +.form-search label, +.form-inline label, +.form-search .input-append, +.form-inline .input-append, +.form-search .input-prepend, +.form-inline .input-prepend { + display: inline-block; +} +.form-search .input-append .add-on, +.form-inline .input-prepend .add-on, +.form-search .input-append .add-on, +.form-inline .input-prepend .add-on { + vertical-align: middle; +} +.form-search .radio, +.form-inline .radio, +.form-search .checkbox, +.form-inline .checkbox { + margin-bottom: 0; + vertical-align: middle; +} +.control-group { + margin-bottom: 9px; +} +legend + .control-group { + margin-top: 18px; + -webkit-margin-top-collapse: separate; +} +.form-horizontal .control-group { + margin-bottom: 18px; + *zoom: 1; +} +.form-horizontal .control-group:before, .form-horizontal .control-group:after { + display: table; + content: ""; +} +.form-horizontal .control-group:after { + clear: both; +} +.form-horizontal .control-label { + float: left; + width: 140px; + padding-top: 5px; + text-align: right; +} +.form-horizontal .controls { + margin-left: 160px; +} +.form-horizontal .form-actions { + padding-left: 160px; +} +table { + max-width: 100%; + border-collapse: collapse; + border-spacing: 0; +} +.table { + width: 100%; + margin-bottom: 18px; +} +.table th, .table td { + padding: 8px; + line-height: 18px; + text-align: left; + vertical-align: top; + border-top: 1px solid #ddd; +} +.table th { + font-weight: bold; +} +.table thead th { + vertical-align: bottom; +} +.table thead:first-child tr th, .table thead:first-child tr td { + border-top: 0; +} +.table tbody + tbody { + border-top: 2px solid #ddd; +} +.table-condensed th, .table-condensed td { + padding: 4px 5px; +} +.table-bordered { + border: 1px solid #ddd; + border-collapse: separate; + *border-collapse: collapsed; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.table-bordered th + th, +.table-bordered td + td, +.table-bordered th + td, +.table-bordered td + th { + border-left: 1px solid #ddd; +} +.table-bordered thead:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child td { + border-top: 0; +} +.table-bordered thead:first-child tr:first-child th:first-child, .table-bordered tbody:first-child tr:first-child td:first-child { + -webkit-border-radius: 4px 0 0 0; + -moz-border-radius: 4px 0 0 0; + border-radius: 4px 0 0 0; +} +.table-bordered thead:first-child tr:first-child th:last-child, .table-bordered tbody:first-child tr:first-child td:last-child { + -webkit-border-radius: 0 4px 0 0; + -moz-border-radius: 0 4px 0 0; + border-radius: 0 4px 0 0; +} +.table-bordered thead:last-child tr:last-child th:first-child, .table-bordered tbody:last-child tr:last-child td:first-child { + -webkit-border-radius: 0 0 0 4px; + -moz-border-radius: 0 0 0 4px; + border-radius: 0 0 0 4px; +} +.table-bordered thead:last-child tr:last-child th:last-child, .table-bordered tbody:last-child tr:last-child td:last-child { + -webkit-border-radius: 0 0 4px 0; + -moz-border-radius: 0 0 4px 0; + border-radius: 0 0 4px 0; +} +.table-striped tbody tr:nth-child(odd) td, .table-striped tbody tr:nth-child(odd) th { + background-color: #f9f9f9; +} +.table tbody tr:hover td, .table tbody tr:hover th { + background-color: #f5f5f5; +} +table .span1 { + float: none; + width: 44px; + margin-left: 0; +} +table .span2 { + float: none; + width: 124px; + margin-left: 0; +} +table .span3 { + float: none; + width: 204px; + margin-left: 0; +} +table .span4 { + float: none; + width: 284px; + margin-left: 0; +} +table .span5 { + float: none; + width: 364px; + margin-left: 0; +} +table .span6 { + float: none; + width: 444px; + margin-left: 0; +} +table .span7 { + float: none; + width: 524px; + margin-left: 0; +} +table .span8 { + float: none; + width: 604px; + margin-left: 0; +} +table .span9 { + float: none; + width: 684px; + margin-left: 0; +} +table .span10 { + float: none; + width: 764px; + margin-left: 0; +} +table .span11 { + float: none; + width: 844px; + margin-left: 0; +} +table .span12 { + float: none; + width: 924px; + margin-left: 0; +} +[class^="icon-"], [class*=" icon-"] { + display: inline-block; + width: 14px; + height: 14px; + line-height: 14px; + vertical-align: text-top; + background-image: url("../img/glyphicons-halflings.png"); + background-position: 14px 14px; + background-repeat: no-repeat; + *margin-right: .3em; +} +[class^="icon-"]:last-child, [class*=" icon-"]:last-child { + *margin-left: 0; +} +.icon-white { + background-image: url("../img/glyphicons-halflings-white.png"); +} +.icon-glass { + background-position: 0 0; +} +.icon-music { + background-position: -24px 0; +} +.icon-search { + background-position: -48px 0; +} +.icon-envelope { + background-position: -72px 0; +} +.icon-heart { + background-position: -96px 0; +} +.icon-star { + background-position: -120px 0; +} +.icon-star-empty { + background-position: -144px 0; +} +.icon-user { + background-position: -168px 0; +} +.icon-film { + background-position: -192px 0; +} +.icon-th-large { + background-position: -216px 0; +} +.icon-th { + background-position: -240px 0; +} +.icon-th-list { + background-position: -264px 0; +} +.icon-ok { + background-position: -288px 0; +} +.icon-remove { + background-position: -312px 0; +} +.icon-zoom-in { + background-position: -336px 0; +} +.icon-zoom-out { + background-position: -360px 0; +} +.icon-off { + background-position: -384px 0; +} +.icon-signal { + background-position: -408px 0; +} +.icon-cog { + background-position: -432px 0; +} +.icon-trash { + background-position: -456px 0; +} +.icon-home { + background-position: 0 -24px; +} +.icon-file { + background-position: -24px -24px; +} +.icon-time { + background-position: -48px -24px; +} +.icon-road { + background-position: -72px -24px; +} +.icon-download-alt { + background-position: -96px -24px; +} +.icon-download { + background-position: -120px -24px; +} +.icon-upload { + background-position: -144px -24px; +} +.icon-inbox { + background-position: -168px -24px; +} +.icon-play-circle { + background-position: -192px -24px; +} +.icon-repeat { + background-position: -216px -24px; +} +.icon-refresh { + background-position: -240px -24px; +} +.icon-list-alt { + background-position: -264px -24px; +} +.icon-lock { + background-position: -287px -24px; +} +.icon-flag { + background-position: -312px -24px; +} +.icon-headphones { + background-position: -336px -24px; +} +.icon-volume-off { + background-position: -360px -24px; +} +.icon-volume-down { + background-position: -384px -24px; +} +.icon-volume-up { + background-position: -408px -24px; +} +.icon-qrcode { + background-position: -432px -24px; +} +.icon-barcode { + background-position: -456px -24px; +} +.icon-tag { + background-position: 0 -48px; +} +.icon-tags { + background-position: -25px -48px; +} +.icon-book { + background-position: -48px -48px; +} +.icon-bookmark { + background-position: -72px -48px; +} +.icon-print { + background-position: -96px -48px; +} +.icon-camera { + background-position: -120px -48px; +} +.icon-font { + background-position: -144px -48px; +} +.icon-bold { + background-position: -167px -48px; +} +.icon-italic { + background-position: -192px -48px; +} +.icon-text-height { + background-position: -216px -48px; +} +.icon-text-width { + background-position: -240px -48px; +} +.icon-align-left { + background-position: -264px -48px; +} +.icon-align-center { + background-position: -288px -48px; +} +.icon-align-right { + background-position: -312px -48px; +} +.icon-align-justify { + background-position: -336px -48px; +} +.icon-list { + background-position: -360px -48px; +} +.icon-indent-left { + background-position: -384px -48px; +} +.icon-indent-right { + background-position: -408px -48px; +} +.icon-facetime-video { + background-position: -432px -48px; +} +.icon-picture { + background-position: -456px -48px; +} +.icon-pencil { + background-position: 0 -72px; +} +.icon-map-marker { + background-position: -24px -72px; +} +.icon-adjust { + background-position: -48px -72px; +} +.icon-tint { + background-position: -72px -72px; +} +.icon-edit { + background-position: -96px -72px; +} +.icon-share { + background-position: -120px -72px; +} +.icon-check { + background-position: -144px -72px; +} +.icon-move { + background-position: -168px -72px; +} +.icon-step-backward { + background-position: -192px -72px; +} +.icon-fast-backward { + background-position: -216px -72px; +} +.icon-backward { + background-position: -240px -72px; +} +.icon-play { + background-position: -264px -72px; +} +.icon-pause { + background-position: -288px -72px; +} +.icon-stop { + background-position: -312px -72px; +} +.icon-forward { + background-position: -336px -72px; +} +.icon-fast-forward { + background-position: -360px -72px; +} +.icon-step-forward { + background-position: -384px -72px; +} +.icon-eject { + background-position: -408px -72px; +} +.icon-chevron-left { + background-position: -432px -72px; +} +.icon-chevron-right { + background-position: -456px -72px; +} +.icon-plus-sign { + background-position: 0 -96px; +} +.icon-minus-sign { + background-position: -24px -96px; +} +.icon-remove-sign { + background-position: -48px -96px; +} +.icon-ok-sign { + background-position: -72px -96px; +} +.icon-question-sign { + background-position: -96px -96px; +} +.icon-info-sign { + background-position: -120px -96px; +} +.icon-screenshot { + background-position: -144px -96px; +} +.icon-remove-circle { + background-position: -168px -96px; +} +.icon-ok-circle { + background-position: -192px -96px; +} +.icon-ban-circle { + background-position: -216px -96px; +} +.icon-arrow-left { + background-position: -240px -96px; +} +.icon-arrow-right { + background-position: -264px -96px; +} +.icon-arrow-up { + background-position: -289px -96px; +} +.icon-arrow-down { + background-position: -312px -96px; +} +.icon-share-alt { + background-position: -336px -96px; +} +.icon-resize-full { + background-position: -360px -96px; +} +.icon-resize-small { + background-position: -384px -96px; +} +.icon-plus { + background-position: -408px -96px; +} +.icon-minus { + background-position: -433px -96px; +} +.icon-asterisk { + background-position: -456px -96px; +} +.icon-exclamation-sign { + background-position: 0 -120px; +} +.icon-gift { + background-position: -24px -120px; +} +.icon-leaf { + background-position: -48px -120px; +} +.icon-fire { + background-position: -72px -120px; +} +.icon-eye-open { + background-position: -96px -120px; +} +.icon-eye-close { + background-position: -120px -120px; +} +.icon-warning-sign { + background-position: -144px -120px; +} +.icon-plane { + background-position: -168px -120px; +} +.icon-calendar { + background-position: -192px -120px; +} +.icon-random { + background-position: -216px -120px; +} +.icon-comment { + background-position: -240px -120px; +} +.icon-magnet { + background-position: -264px -120px; +} +.icon-chevron-up { + background-position: -288px -120px; +} +.icon-chevron-down { + background-position: -313px -119px; +} +.icon-retweet { + background-position: -336px -120px; +} +.icon-shopping-cart { + background-position: -360px -120px; +} +.icon-folder-close { + background-position: -384px -120px; +} +.icon-folder-open { + background-position: -408px -120px; +} +.icon-resize-vertical { + background-position: -432px -119px; +} +.icon-resize-horizontal { + background-position: -456px -118px; +} +.dropdown { + position: relative; +} +.dropdown-toggle { + *margin-bottom: -3px; +} +.dropdown-toggle:active, .open .dropdown-toggle { + outline: 0; +} +.caret { + display: inline-block; + width: 0; + height: 0; + text-indent: -99999px; + *text-indent: 0; + vertical-align: top; + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-top: 4px solid #000000; + opacity: 0.3; + filter: alpha(opacity=30); + content: "\2193"; +} +.dropdown .caret { + margin-top: 8px; + margin-left: 2px; +} +.dropdown:hover .caret, .open.dropdown .caret { + opacity: 1; + filter: alpha(opacity=100); +} +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + float: left; + display: none; + min-width: 160px; + _width: 160px; + padding: 4px 0; + margin: 0; + list-style: none; + background-color: #ffffff; + border-color: #ccc; + border-color: rgba(0, 0, 0, 0.2); + border-style: solid; + border-width: 1px; + -webkit-border-radius: 0 0 5px 5px; + -moz-border-radius: 0 0 5px 5px; + border-radius: 0 0 5px 5px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -webkit-background-clip: padding-box; + -moz-background-clip: padding; + background-clip: padding-box; + *border-right-width: 2px; + *border-bottom-width: 2px; +} +.dropdown-menu.bottom-up { + top: auto; + bottom: 100%; + margin-bottom: 2px; +} +.dropdown-menu .divider { + height: 1px; + margin: 5px 1px; + overflow: hidden; + background-color: #e5e5e5; + border-bottom: 1px solid #ffffff; + *width: 100%; + *margin: -5px 0 5px; +} +.dropdown-menu a { + display: block; + padding: 3px 15px; + clear: both; + font-weight: normal; + line-height: 18px; + color: #555555; + white-space: nowrap; +} +.dropdown-menu li > a:hover, .dropdown-menu .active > a, .dropdown-menu .active > a:hover { + color: #ffffff; + text-decoration: none; + background-color: #0088cc; +} +.dropdown.open { + *z-index: 1000; +} +.dropdown.open .dropdown-toggle { + color: #ffffff; + background: #ccc; + background: rgba(0, 0, 0, 0.3); +} +.dropdown.open .dropdown-menu { + display: block; +} +.typeahead { + margin-top: 2px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #eee; + border: 1px solid rgba(0, 0, 0, 0.05); + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} +.fade { + -webkit-transition: opacity 0.15s linear; + -moz-transition: opacity 0.15s linear; + -ms-transition: opacity 0.15s linear; + -o-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; + opacity: 0; +} +.fade.in { + opacity: 1; +} +.collapse { + -webkit-transition: height 0.35s ease; + -moz-transition: height 0.35s ease; + -ms-transition: height 0.35s ease; + -o-transition: height 0.35s ease; + transition: height 0.35s ease; + position: relative; + overflow: hidden; + height: 0; +} +.collapse.in { + height: auto; +} +.close { + float: right; + font-size: 20px; + font-weight: bold; + line-height: 18px; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} +.close:hover { + color: #000000; + text-decoration: none; + opacity: 0.4; + filter: alpha(opacity=40); + cursor: pointer; +} +.btn { + display: inline-block; + padding: 4px 10px 4px; + margin-bottom: 0; + font-size: 13px; + line-height: 18px; + color: #333333; + text-align: center; + text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); + vertical-align: middle; + background-color: #f5f5f5; + background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); + background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); + background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); + background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); + background-image: linear-gradient(top, #ffffff, #e6e6e6); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0); + border-color: #e6e6e6 #e6e6e6 #bfbfbf; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + border: 1px solid #ccc; + border-bottom-color: #bbb; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + cursor: pointer; + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + *margin-left: .3em; +} +.btn:hover, +.btn:active, +.btn.active, +.btn.disabled, +.btn[disabled] { + background-color: #e6e6e6; +} +.btn:active, .btn.active { + background-color: #cccccc \9; +} +.btn:first-child { + *margin-left: 0; +} +.btn:hover { + color: #333333; + text-decoration: none; + background-color: #e6e6e6; + background-position: 0 -15px; + -webkit-transition: background-position 0.1s linear; + -moz-transition: background-position 0.1s linear; + -ms-transition: background-position 0.1s linear; + -o-transition: background-position 0.1s linear; + transition: background-position 0.1s linear; +} +.btn:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.btn.active, .btn:active { + background-image: none; + -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + background-color: #e6e6e6; + background-color: #d9d9d9 \9; + outline: 0; +} +.btn.disabled, .btn[disabled] { + cursor: default; + background-image: none; + background-color: #e6e6e6; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +.btn-large { + padding: 9px 14px; + font-size: 15px; + line-height: normal; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} +.btn-large [class^="icon-"] { + margin-top: 1px; +} +.btn-small { + padding: 5px 9px; + font-size: 11px; + line-height: 16px; +} +.btn-small [class^="icon-"] { + margin-top: -1px; +} +.btn-mini { + padding: 2px 6px; + font-size: 11px; + line-height: 14px; +} +.btn-primary, +.btn-primary:hover, +.btn-warning, +.btn-warning:hover, +.btn-danger, +.btn-danger:hover, +.btn-success, +.btn-success:hover, +.btn-info, +.btn-info:hover, +.btn-inverse, +.btn-inverse:hover { + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + color: #ffffff; +} +.btn-primary.active, +.btn-warning.active, +.btn-danger.active, +.btn-success.active, +.btn-info.active, +.btn-dark.active { + color: rgba(255, 255, 255, 0.75); +} +.btn-primary { + background-col... [truncated message content] |
From: <for...@us...> - 2012-02-19 06:06:53
|
Revision: 9016 http://xoops.svn.sourceforge.net/xoops/?rev=9016&view=rev Author: forxoops Date: 2012-02-19 06:06:44 +0000 (Sun, 19 Feb 2012) Log Message: ----------- Replace bootstrap version to the lastest Removed Paths: ------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/LICENSE XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/Makefile XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/README.md XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/bootstrap.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/bootstrap.min.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/js/ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/lib/ Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/LICENSE =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/LICENSE 2012-02-19 00:50:14 UTC (rev 9015) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/LICENSE 2012-02-19 06:06:44 UTC (rev 9016) @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS \ No newline at end of file Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/Makefile =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/Makefile 2012-02-19 00:50:14 UTC (rev 9015) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/Makefile 2012-02-19 06:06:44 UTC (rev 9016) @@ -1,47 +0,0 @@ -VERSION=1.4.0 -DATE=$(shell DATE) -BOOTSTRAP = ./bootstrap.css -BOOTSTRAP_MIN = ./bootstrap.min.css -BOOTSTRAP_LESS = ./lib/bootstrap.less -LESS_COMPRESSOR ?= `which lessc` -UGLIFY_JS ?= `which uglifyjs` -WATCHR ?= `which watchr` - -build: - @@if test ! -z ${LESS_COMPRESSOR}; then \ - sed -e 's/@VERSION/'"v${VERSION}"'/' -e 's/@DATE/'"${DATE}"'/' <${BOOTSTRAP_LESS} >${BOOTSTRAP_LESS}.tmp; \ - lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP}; \ - lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP_MIN} --compress; \ - rm -f ${BOOTSTRAP_LESS}.tmp; \ - echo "Bootstrap successfully built! - `date`"; \ - else \ - echo "You must have the LESS compiler installed in order to build Bootstrap."; \ - echo "You can install it by running: npm install less -g"; \ - fi - -js/min: - @@if test ! -z ${UGLIFY_JS}; then \ - mkdir -p js/min; \ - uglifyjs -o js/min/bootstrap-alerts.min.js js/bootstrap-alerts.js;\ - uglifyjs -o js/min/bootstrap-buttons.min.js js/bootstrap-buttons.js;\ - uglifyjs -o js/min/bootstrap-dropdown.min.js js/bootstrap-dropdown.js;\ - uglifyjs -o js/min/bootstrap-modal.min.js js/bootstrap-modal.js;\ - uglifyjs -o js/min/bootstrap-popover.min.js js/bootstrap-popover.js;\ - uglifyjs -o js/min/bootstrap-scrollspy.min.js js/bootstrap-scrollspy.js;\ - uglifyjs -o js/min/bootstrap-tabs.min.js js/bootstrap-tabs.js;\ - uglifyjs -o js/min/bootstrap-twipsy.min.js js/bootstrap-twipsy.js;\ - else \ - echo "You must have the UGLIFYJS minifier installed in order to minify Bootstrap's js."; \ - echo "You can install it by running: npm install uglify-js -g"; \ - fi - -watch: - @@if test ! -z ${WATCHR}; then \ - echo "Watching less files..."; \ - watchr -e "watch('lib/.*\.less') { system 'make' }"; \ - else \ - echo "You must have the watchr installed in order to watch Bootstrap less files."; \ - echo "You can install it by running: gem install watchr"; \ - fi - -.PHONY: build watch \ No newline at end of file Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/README.md =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/README.md 2012-02-19 00:50:14 UTC (rev 9015) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/README.md 2012-02-19 06:06:44 UTC (rev 9016) @@ -1,105 +0,0 @@ -TWITTER BOOTSTRAP -================= - -Bootstrap is Twitter's toolkit for kickstarting CSS for websites, apps, and more. It includes base CSS styles for typography, forms, buttons, tables, grids, navigation, alerts, and more. - -To get started -- checkout http://twitter.github.com/bootstrap! - - -Usage ------ - -You can use Twitter Bootstrap in one of two ways: just drop the compiled CSS into any new project and start cranking, or run LESS on your site and compile on the fly like a boss. - -Here's what the LESS version looks like: - -``` html -<link rel="stylesheet/less" type="text/css" href="lib/bootstrap.less"> -<script src="less.js" type="text/javascript"></script> -``` - -Or if you prefer, the standard css way: - -``` html -<link rel="stylesheet" type="text/css" href="bootstrap.css"> -``` - -For more info, refer to the docs! - - -Versioning ----------- - -For transparency and insight into our release cycle, and for striving to maintain backwards compatibility, Bootstrap will be maintained under the Semantic Versioning guidelines as much as possible. - -Releases will be numbered with the follow format: - -`<major>.<minor>.<patch>` - -And constructed with the following guidelines: - -* Breaking backwards compatibility bumps the major -* New additions without breaking backwards compatibility bumps the minor -* Bug fixes and misc changes bump the patch - -For more information on SemVer, please visit http://semver.org/. - - -Bug tracker ------------ - -Have a bug? Please create an issue here on GitHub! - -https://github.com/twitter/bootstrap/issues - - -Twitter account ---------------- - -Keep up to date on announcements and more by following Bootstrap on Twitter, <a href="http://twitter.com/TwBootstrap">@TwBootstrap</a>. - - -Mailing list ------------- - -Have a question? Ask on our mailing list! - -tw...@go... - -http://groups.google.com/group/twitter-bootstrap - - -Developers ----------- - -We have included a makefile with convenience methods for working with the bootstrap library. - -+ **build** - `make build` -This will run the less compiler on the bootstrap lib and generate a bootstrap.css and bootstrap.min.css file. -The lessc compiler is required for this command to run. - -+ **watch** - `make watch` -This is a convenience method for watching your less files and automatically building them whenever you save. -Watchr is required for this command to run. - - -Authors -------- - -**Mark Otto** - -+ http://twitter.com/mdo -+ http://github.com/markdotto - -**Jacob Thornton** - -+ http://twitter.com/fat -+ http://github.com/fat - - -License ---------------------- - -Copyright 2011 Twitter, Inc. - -Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 \ No newline at end of file Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/bootstrap.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/bootstrap.css 2012-02-19 00:50:14 UTC (rev 9015) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/bootstrap/bootstrap.css 2012-02-19 06:06:44 UTC (rev 9016) @@ -1,2470 +0,0 @@ -/*! - * Bootstrap v1.4.0 - * - * Copyright 2011 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Sun Dec 25 20:18:31 PST 2011 - */ -/* Reset.less - * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). - * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */ -html, body { - margin: 0; - padding: 0; -} -h1, -h2, -h3, -h4, -h5, -h6, -p, -blockquote, -pre, -a, -abbr, -acronym, -address, -cite, -code, -del, -dfn, -em, -img, -q, -s, -samp, -small, -strike, -strong, -sub, -sup, -tt, -var, -dd, -dl, -dt, -li, -ol, -ul, -fieldset, -form, -label, -legend, -button, -table, -caption, -tbody, -tfoot, -thead, -tr, -th, -td { - margin: 0; - padding: 0; - border: 0; - font-weight: normal; - font-style: normal; - font-size: 100%; - line-height: 1; - font-family: inherit; -} -table { - border-collapse: collapse; - border-spacing: 0; -} -ol, ul { - list-style: none; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -html { - overflow-y: scroll; - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: none; -} -a:hover, a:active { - outline: none; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, canvas, video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -sub, sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - border: 0; - -ms-interpolation-mode: bicubic; -} -button, -input, -select, -textarea { - font-size: 100%; - margin: 0; - vertical-align: baseline; - *vertical-align: middle; -} -button, input { - line-height: normal; - *overflow: visible; -} -button::-moz-focus-inner, input::-moz-focus-inner { - border: 0; - padding: 0; -} -button, -input[type="button"], -input[type="reset"], -input[type="submit"] { - cursor: pointer; - -webkit-appearance: button; -} -input[type="search"] { - -webkit-appearance: textfield; - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; -} -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -/* Variables.less - * Variables to customize the look and feel of Bootstrap - * ----------------------------------------------------- */ -/* Mixins.less - * Snippets of reusable CSS to develop faster and keep code readable - * ----------------------------------------------------------------- */ -/* - * Scaffolding - * Basic and global styles for generating a grid system, structural layout, and page templates - * ------------------------------------------------------------------------------------------- */ -body { - background-color: #ffffff; - margin: 0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 18px; - color: #404040; -} -.container { - width: 940px; - margin-left: auto; - margin-right: auto; - zoom: 1; -} -.container:before, .container:after { - display: table; - content: ""; - zoom: 1; -} -.container:after { - clear: both; -} -.container-fluid { - position: relative; - min-width: 940px; - padding-left: 20px; - padding-right: 20px; - zoom: 1; -} -.container-fluid:before, .container-fluid:after { - display: table; - content: ""; - zoom: 1; -} -.container-fluid:after { - clear: both; -} -.container-fluid > .sidebar { - position: absolute; - top: 0; - left: 20px; - width: 220px; -} -.container-fluid > .content { - margin-left: 240px; -} -a { - color: #0069d6; - text-decoration: none; - line-height: inherit; - font-weight: inherit; -} -a:hover { - color: #00438a; - text-decoration: underline; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.row { - zoom: 1; - margin-left: -20px; -} -.row:before, .row:after { - display: table; - content: ""; - zoom: 1; -} -.row:after { - clear: both; -} -.row > [class*="span"] { - display: inline; - float: left; - margin-left: 20px; -} -.span1 { - width: 40px; -} -.span2 { - width: 100px; -} -.span3 { - width: 160px; -} -.span4 { - width: 220px; -} -.span5 { - width: 280px; -} -.span6 { - width: 340px; -} -.span7 { - width: 400px; -} -.span8 { - width: 460px; -} -.span9 { - width: 520px; -} -.span10 { - width: 580px; -} -.span11 { - width: 640px; -} -.span12 { - width: 700px; -} -.span13 { - width: 760px; -} -.span14 { - width: 820px; -} -.span15 { - width: 880px; -} -.span16 { - width: 940px; -} -.span17 { - width: 1000px; -} -.span18 { - width: 1060px; -} -.span19 { - width: 1120px; -} -.span20 { - width: 1180px; -} -.span21 { - width: 1240px; -} -.span22 { - width: 1300px; -} -.span23 { - width: 1360px; -} -.span24 { - width: 1420px; -} -.row > .offset1 { - margin-left: 80px; -} -.row > .offset2 { - margin-left: 140px; -} -.row > .offset3 { - margin-left: 200px; -} -.row > .offset4 { - margin-left: 260px; -} -.row > .offset5 { - margin-left: 320px; -} -.row > .offset6 { - margin-left: 380px; -} -.row > .offset7 { - margin-left: 440px; -} -.row > .offset8 { - margin-left: 500px; -} -.row > .offset9 { - margin-left: 560px; -} -.row > .offset10 { - margin-left: 620px; -} -.row > .offset11 { - margin-left: 680px; -} -.row > .offset12 { - margin-left: 740px; -} -.span-one-third { - width: 300px; -} -.span-two-thirds { - width: 620px; -} -.row > .offset-one-third { - margin-left: 340px; -} -.row > .offset-two-thirds { - margin-left: 660px; -} -/* Typography.less - * Headings, body text, lists, code, and more for a versatile and durable typography system - * ---------------------------------------------------------------------------------------- */ -p { - font-size: 13px; - font-weight: normal; - line-height: 18px; - margin-bottom: 9px; -} -p small { - font-size: 11px; - color: #bfbfbf; -} -h1, -h2, -h3, -h4, -h5, -h6 { - font-weight: bold; - color: #404040; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - color: #bfbfbf; -} -h1 { - margin-bottom: 18px; - font-size: 30px; - line-height: 36px; -} -h1 small { - font-size: 18px; -} -h2 { - font-size: 24px; - line-height: 36px; -} -h2 small { - font-size: 14px; -} -h3, -h4, -h5, -h6 { - line-height: 36px; -} -h3 { - font-size: 18px; -} -h3 small { - font-size: 14px; -} -h4 { - font-size: 16px; -} -h4 small { - font-size: 12px; -} -h5 { - font-size: 14px; -} -h6 { - font-size: 13px; - color: #bfbfbf; - text-transform: uppercase; -} -ul, ol { - margin: 0 0 18px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -ul { - list-style: disc; -} -ol { - list-style: decimal; -} -li { - line-height: 18px; - color: #808080; -} -ul.unstyled { - list-style: none; - margin-left: 0; -} -dl { - margin-bottom: 18px; -} -dl dt, dl dd { - line-height: 18px; -} -dl dt { - font-weight: bold; -} -dl dd { - margin-left: 9px; -} -hr { - margin: 20px 0 19px; - border: 0; - border-bottom: 1px solid #eee; -} -strong { - font-style: inherit; - font-weight: bold; -} -em { - font-style: italic; - font-weight: inherit; - line-height: inherit; -} -.muted { - color: #bfbfbf; -} -blockquote { - margin-bottom: 18px; - border-left: 5px solid #eee; - padding-left: 15px; -} -blockquote p { - font-size: 14px; - font-weight: 300; - line-height: 18px; - margin-bottom: 0; -} -blockquote small { - display: block; - font-size: 12px; - font-weight: 300; - line-height: 18px; - color: #bfbfbf; -} -blockquote small:before { - content: '\2014 \00A0'; -} -address { - display: block; - line-height: 18px; - margin-bottom: 18px; -} -code, pre { - padding: 0 3px 2px; - font-family: Monaco, Andale Mono, Courier New, monospace; - font-size: 12px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - background-color: #fee9cc; - color: rgba(0, 0, 0, 0.75); - padding: 1px 3px; -} -pre { - background-color: #f5f5f5; - display: block; - padding: 8.5px; - margin: 0 0 18px; - line-height: 18px; - font-size: 12px; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; -} -/* Forms.less - * Base styles for various input types, form layouts, and states - * ------------------------------------------------------------- */ -form { - margin-bottom: 18px; -} -fieldset { - margin-bottom: 18px; - padding-top: 18px; -} -fieldset legend { - display: block; - padding-left: 150px; - font-size: 19.5px; - line-height: 1; - color: #404040; - *padding: 0 0 5px 145px; - /* IE6-7 */ - - *line-height: 1.5; - /* IE6-7 */ - -} -form .clearfix { - margin-bottom: 18px; - zoom: 1; -} -form .clearfix:before, form .clearfix:after { - display: table; - content: ""; - zoom: 1; -} -form .clearfix:after { - clear: both; -} -label, -input, -select, -textarea { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: normal; -} -label { - padding-top: 6px; - font-size: 13px; - line-height: 18px; - float: left; - width: 130px; - text-align: right; - color: #404040; -} -form .input { - margin-left: 150px; -} -input[type=checkbox], input[type=radio] { - cursor: pointer; -} -input, -textarea, -select, -.uneditable-input { - display: inline-block; - width: 210px; - height: 18px; - padding: 4px; - font-size: 13px; - line-height: 18px; - color: #808080; - border: 1px solid #ccc; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -select { - padding: initial; -} -input[type=checkbox], input[type=radio] { - width: auto; - height: auto; - padding: 0; - margin: 3px 0; - *margin-top: 0; - /* IE6-7 */ - - line-height: normal; - border: none; -} -input[type=file] { - background-color: #ffffff; - padding: initial; - border: initial; - line-height: initial; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -input[type=button], input[type=reset], input[type=submit] { - width: auto; - height: auto; -} -select, input[type=file] { - height: 27px; - *height: auto; - line-height: 27px; - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - -} -select[multiple] { - height: inherit; - background-color: #ffffff; -} -textarea { - height: auto; -} -.uneditable-input { - background-color: #ffffff; - display: block; - border-color: #eee; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -:-moz-placeholder { - color: #bfbfbf; -} -::-webkit-input-placeholder { - color: #bfbfbf; -} -input, textarea { - -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; - -moz-transition: border linear 0.2s, box-shadow linear 0.2s; - -ms-transition: border linear 0.2s, box-shadow linear 0.2s; - -o-transition: border linear 0.2s, box-shadow linear 0.2s; - transition: border linear 0.2s, box-shadow linear 0.2s; - -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); -} -input:focus, textarea:focus { - outline: 0; - border-color: rgba(82, 168, 236, 0.8); - -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6); - -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6); - box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6); -} -input[type=file]:focus, input[type=checkbox]:focus, select:focus { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - outline: 1px dotted #666; -} -form .clearfix.error > label, form .clearfix.error .help-block, form .clearfix.error .help-inline { - color: #b94a48; -} -form .clearfix.error input, form .clearfix.error textarea { - color: #b94a48; - border-color: #ee5f5b; -} -form .clearfix.error input:focus, form .clearfix.error textarea:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -form .clearfix.error .input-prepend .add-on, form .clearfix.error .input-append .add-on { - color: #b94a48; - background-color: #fce6e6; - border-color: #b94a48; -} -form .clearfix.warning > label, form .clearfix.warning .help-block, form .clearfix.warning .help-inline { - color: #c09853; -} -form .clearfix.warning input, form .clearfix.warning textarea { - color: #c09853; - border-color: #ccae64; -} -form .clearfix.warning input:focus, form .clearfix.warning textarea:focus { - border-color: #be9a3f; - -webkit-box-shadow: 0 0 6px #e5d6b1; - -moz-box-shadow: 0 0 6px #e5d6b1; - box-shadow: 0 0 6px #e5d6b1; -} -form .clearfix.warning .input-prepend .add-on, form .clearfix.warning .input-append .add-on { - color: #c09853; - background-color: #d2b877; - border-color: #c09853; -} -form .clearfix.success > label, form .clearfix.success .help-block, form .clearfix.success .help-inline { - color: #468847; -} -form .clearfix.success input, form .clearfix.success textarea { - color: #468847; - border-color: #57a957; -} -form .clearfix.success input:focus, form .clearfix.success textarea:focus { - border-color: #458845; - -webkit-box-shadow: 0 0 6px #9acc9a; - -moz-box-shadow: 0 0 6px #9acc9a; - box-shadow: 0 0 6px #9acc9a; -} -form .clearfix.success .input-prepend .add-on, form .clearfix.success .input-append .add-on { - color: #468847; - background-color: #bcddbc; - border-color: #468847; -} -.input-mini, -input.mini, -textarea.mini, -select.mini { - width: 60px; -} -.input-small, -input.small, -textarea.small, -select.small { - width: 90px; -} -.input-medium, -input.medium, -textarea.medium, -select.medium { - width: 150px; -} -.input-large, -input.large, -textarea.large, -select.large { - width: 210px; -} -.input-xlarge, -input.xlarge, -textarea.xlarge, -select.xlarge { - width: 270px; -} -.input-xxlarge, -input.xxlarge, -textarea.xxlarge, -select.xxlarge { - width: 530px; -} -textarea.xxlarge { - overflow-y: auto; -} -input.span1, textarea.span1 { - display: inline-block; - float: none; - width: 30px; - margin-left: 0; -} -input.span2, textarea.span2 { - display: inline-block; - float: none; - width: 90px; - margin-left: 0; -} -input.span3, textarea.span3 { - display: inline-block; - float: none; - width: 150px; - margin-left: 0; -} -input.span4, textarea.span4 { - display: inline-block; - float: none; - width: 210px; - margin-left: 0; -} -input.span5, textarea.span5 { - display: inline-block; - float: none; - width: 270px; - margin-left: 0; -} -input.span6, textarea.span6 { - display: inline-block; - float: none; - width: 330px; - margin-left: 0; -} -input.span7, textarea.span7 { - display: inline-block; - float: none; - width: 390px; - margin-left: 0; -} -input.span8, textarea.span8 { - display: inline-block; - float: none; - width: 450px; - margin-left: 0; -} -input.span9, textarea.span9 { - display: inline-block; - float: none; - width: 510px; - margin-left: 0; -} -input.span10, textarea.span10 { - display: inline-block; - float: none; - width: 570px; - margin-left: 0; -} -input.span11, textarea.span11 { - display: inline-block; - float: none; - width: 630px; - margin-left: 0; -} -input.span12, textarea.span12 { - display: inline-block; - float: none; - width: 690px; - margin-left: 0; -} -input.span13, textarea.span13 { - display: inline-block; - float: none; - width: 750px; - margin-left: 0; -} -input.span14, textarea.span14 { - display: inline-block; - float: none; - width: 810px; - margin-left: 0; -} -input.span15, textarea.span15 { - display: inline-block; - float: none; - width: 870px; - margin-left: 0; -} -input.span16, textarea.span16 { - display: inline-block; - float: none; - width: 930px; - margin-left: 0; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - background-color: #f5f5f5; - border-color: #ddd; - cursor: not-allowed; -} -.actions { - background: #f5f5f5; - margin-top: 18px; - margin-bottom: 18px; - padding: 17px 20px 18px 150px; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 3px 3px; - -moz-border-radius: 0 0 3px 3px; - border-radius: 0 0 3px 3px; -} -.actions .secondary-action { - float: right; -} -.actions .secondary-action a { - line-height: 30px; -} -.actions .secondary-action a:hover { - text-decoration: underline; -} -.help-inline, .help-block { - font-size: 13px; - line-height: 18px; - color: #bfbfbf; -} -.help-inline { - padding-left: 5px; - *position: relative; - /* IE6-7 */ - - *top: -5px; - /* IE6-7 */ - -} -.help-block { - display: block; - max-width: 600px; -} -.inline-inputs { - color: #808080; -} -.inline-inputs span { - padding: 0 2px 0 1px; -} -.input-prepend input, .input-append input { - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} -.input-prepend .add-on, .input-append .add-on { - position: relative; - background: #f5f5f5; - border: 1px solid #ccc; - z-index: 2; - float: left; - display: block; - width: auto; - min-width: 16px; - height: 18px; - padding: 4px 4px 4px 5px; - margin-right: -1px; - font-weight: normal; - line-height: 18px; - color: #bfbfbf; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; -} -.input-prepend .active, .input-append .active { - background: #a9dba9; - border-color: #46a546; -} -.input-prepend .add-on { - *margin-top: 1px; - /* IE6-7 */ - -} -.input-append input { - float: left; - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; -} -.input-append .add-on { - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; - margin-right: 0; - margin-left: -1px; -} -.inputs-list { - margin: 0 0 5px; - width: 100%; -} -.inputs-list li { - display: block; - padding: 0; - width: 100%; -} -.inputs-list label { - display: block; - float: none; - width: auto; - padding: 0; - margin-left: 20px; - line-height: 18px; - text-align: left; - white-space: normal; -} -.inputs-list label strong { - color: #808080; -} -.inputs-list label small { - font-size: 11px; - font-weight: normal; -} -.inputs-list .inputs-list { - margin-left: 25px; - margin-bottom: 10px; - padding-top: 0; -} -.inputs-list:first-child { - padding-top: 6px; -} -.inputs-list li + li { - padding-top: 2px; -} -.inputs-list input[type=radio], .inputs-list input[type=checkbox] { - margin-bottom: 0; - margin-left: -20px; - float: left; -} -.form-stacked { - padding-left: 20px; -} -.form-stacked fieldset { - padding-top: 9px; -} -.form-stacked legend { - padding-left: 0; -} -.form-stacked label { - display: block; - float: none; - width: auto; - font-weight: bold; - text-align: left; - line-height: 20px; - padding-top: 0; -} -.form-stacked .clearfix { - margin-bottom: 9px; -} -.form-stacked .clearfix div.input { - margin-left: 0; -} -.form-stacked .inputs-list { - margin-bottom: 0; -} -.form-stacked .inputs-list li { - padding-top: 0; -} -.form-stacked .inputs-list li label { - font-weight: normal; - padding-top: 0; -} -.form-stacked div.clearfix.error { - padding-top: 10px; - padding-bottom: 10px; - padding-left: 10px; - margin-top: 0; - margin-left: -10px; -} -.form-stacked .actions { - margin-left: -20px; - padding-left: 20px; -} -/* - * Tables.less - * Tables for, you guessed it, tabular data - * ---------------------------------------- */ -table { - width: 100%; - margin-bottom: 18px; - padding: 0; - font-size: 13px; - border-collapse: collapse; -} -table th, table td { - padding: 10px 10px 9px; - line-height: 18px; - text-align: left; -} -table th { - padding-top: 9px; - font-weight: bold; - vertical-align: middle; -} -table td { - vertical-align: top; - border-top: 1px solid #ddd; -} -table tbody th { - border-top: 1px solid #ddd; - vertical-align: top; -} -.condensed-table th, .condensed-table td { - padding: 5px 5px 4px; -} -.bordered-table { - border: 1px solid #ddd; - border-collapse: separate; - *border-collapse: collapse; - /* IE7, collapse table to remove spacing */ - - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.bordered-table th + th, .bordered-table td + td, .bordered-table th + td { - border-left: 1px solid #ddd; -} -.bordered-table thead tr:first-child th:first-child, .bordered-table tbody tr:first-child td:first-child { - -webkit-border-radius: 4px 0 0 0; - -moz-border-radius: 4px 0 0 0; - border-radius: 4px 0 0 0; -} -.bordered-table thead tr:first-child th:last-child, .bordered-table tbody tr:first-child td:last-child { - -webkit-border-radius: 0 4px 0 0; - -moz-border-radius: 0 4px 0 0; - border-radius: 0 4px 0 0; -} -.bordered-table tbody tr:last-child td:first-child { - -webkit-border-radius: 0 0 0 4px; - -moz-border-radius: 0 0 0 4px; - border-radius: 0 0 0 4px; -} -.bordered-table tbody tr:last-child td:last-child { - -webkit-border-radius: 0 0 4px 0; - -moz-border-radius: 0 0 4px 0; - border-radius: 0 0 4px 0; -} -table .span1 { - width: 20px; -} -table .span2 { - width: 60px; -} -table .span3 { - width: 100px; -} -table .span4 { - width: 140px; -} -table .span5 { - width: 180px; -} -table .span6 { - width: 220px; -} -table .span7 { - width: 260px; -} -table .span8 { - width: 300px; -} -table .span9 { - width: 340px; -} -table .span10 { - width: 380px; -} -table .span11 { - width: 420px; -} -table .span12 { - width: 460px; -} -table .span13 { - width: 500px; -} -table .span14 { - width: 540px; -} -table .span15 { - width: 580px; -} -table .span16 { - width: 620px; -} -.zebra-striped tbody tr:nth-child(odd) td, .zebra-striped tbody tr:nth-child(odd) th { - background-color: #f9f9f9; -} -.zebra-striped tbody tr:hover td, .zebra-striped tbody tr:hover th { - background-color: #f5f5f5; -} -table .header { - cursor: pointer; -} -table .header:after { - content: ""; - float: right; - margin-top: 7px; - border-width: 0 4px 4px; - border-style: solid; - border-color: #000 transparent; - visibility: hidden; -} -table .headerSortUp, table .headerSortDown { - background-color: rgba(141, 192, 219, 0.25); - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); -} -table .header:hover:after { - visibility: visible; -} -table .headerSortDown:after, table .headerSortDown:hover:after { - visibility: visible; - filter: alpha(opacity=60); - -khtml-opacity: 0.6; - -moz-opacity: 0.6; - opacity: 0.6; -} -table .headerSortUp:after { - border-bottom: none; - border-left: 4px solid transparent; - border-right: 4px solid transparent; - border-top: 4px solid #000; - visibility: visible; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - filter: alpha(opacity=60); - -khtml-opacity: 0.6; - -moz-opacity: 0.6; - opacity: 0.6; -} -table .blue { - color: #049cdb; - border-bottom-color: #049cdb; -} -table .headerSortUp.blue, table .headerSortDown.blue { - background-color: #ade6fe; -} -table .green { - color: #46a546; - border-bottom-color: #46a546; -} -table .headerSortUp.green, table .headerSortDown.green { - background-color: #cdeacd; -} -table .red { - color: #9d261d; - border-bottom-color: #9d261d; -} -table .headerSortUp.red, table .headerSortDown.red { - background-color: #f4c8c5; -} -table .yellow { - color: #ffc40d; - border-bottom-color: #ffc40d; -} -table .headerSortUp.yellow, table .headerSortDown.yellow { - background-color: #fff6d9; -} -table .orange { - color: #f89406; - border-bottom-color: #f89406; -} -table .headerSortUp.orange, table .headerSortDown.orange { - background-color: #fee9cc; -} -table .purple { - color: #7a43b6; - border-bottom-color: #7a43b6; -} -table .headerSortUp.purple, table .headerSortDown.purple { - background-color: #e2d5f0; -} -/* Patterns.less - * Repeatable UI elements outside the base styles provided from the scaffolding - * ---------------------------------------------------------------------------- */ -.topbar { - height: 40px; - position: fixed; - top: 0; - left: 0; - right: 0; - z-index: 10000; - overflow: visible; -} -.topbar a { - color: #bfbfbf; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.topbar h3 a:hover, .topbar .brand:hover, .topbar ul .active > a { - background-color: #333; - background-color: rgba(255, 255, 255, 0.05); - color: #ffffff; - text-decoration: none; -} -.topbar h3 { - position: relative; -} -.topbar h3 a, .topbar .brand { - float: left; - display: block; - padding: 8px 20px 12px; - margin-left: -20px; - color: #ffffff; - font-size: 20px; - font-weight: 200; - line-height: 1; -} -.topbar p { - margin: 0; - line-height: 40px; -} -.topbar p a:hover { - background-color: transparent; - color: #ffffff; -} -.topbar form { - float: left; - margin: 5px 0 0 0; - position: relative; - filter: alpha(opacity=100); - -khtml-opacity: 1; - -moz-opacity: 1; - opacity: 1; -} -.topbar form.pull-right { - float: right; -} -.topbar input { - background-color: #444; - background-color: rgba(255, 255, 255, 0.3); - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: normal; - font-weight: 13px; - line-height: 1; - padding: 4px 9px; - color: #ffffff; - color: rgba(255, 255, 255, 0.75); - border: 1px solid #111; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25); - -webkit-transition: none; - -moz-transition: none; - -ms-transition: none; - -o-transition: none; - transition: none; -} -.topbar input:-moz-placeholder { - color: #e6e6e6; -} -.topbar input::-webkit-input-placeholder { - color: #e6e6e6; -} -.topbar input:hover { - background-color: #bfbfbf; - background-color: rgba(255, 255, 255, 0.5); - color: #ffffff; -} -.topbar input:focus, .topbar input.focused { - outline: 0; - background-color: #ffffff; - color: #404040; - text-shadow: 0 1px 0 #ffffff; - border: 0; - padding: 5px 10px; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); -} -.topbar-inner, .topbar .fill { - background-color: #222; - background-color: #222222; - background-repeat: repeat-x; - background-image: -khtml-gradient(linear, left top, left bottom, from(#333333), to(#222222)); - background-image: -moz-linear-gradient(top, #333333, #222222); - background-image: -ms-linear-gradient(top, #333333, #222222); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #222222)); - background-image: -webkit-linear-gradient(top, #333333, #222222); - background-image: -o-linear-gradient(top, #333333, #222222); - background-image: linear-gradient(top, #333333, #222222); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} -.topbar div > ul, .nav { - display: block; - float: left; - margin: 0 10px 0 0; - position: relative; - left: 0; -} -.topbar div > ul > li, .nav > li { - display: block; - float: left; -} -.topbar div > ul a, .nav a { - display: block; - float: none; - padding: 10px 10px 11px; - line-height: 19px; - text-decoration: none; -} -.topbar div > ul a:hover, .nav a:hover { - color: #ffffff; - text-decoration: none; -} -.topbar div > ul .active > a, .nav .active > a { - background-color: #222; - background-color: rgba(0, 0, 0, 0.5); -} -.topbar div > ul.secondary-nav, .nav.secondary-nav { - float: right; - margin-left: 10px; - margin-right: 0; -} -.topbar div > ul.secondary-nav .menu-dropdown, -.nav.secondary-nav .menu-dropdown, -.topbar div > ul.secondary-nav .dropdown-menu, -.nav.secondary-nav .dropdown-menu { - right: 0; - border: 0; -} -.topbar div > ul a.menu:hover, -.nav a.menu:hover, -.topbar div > ul li.open .menu, -.nav li.open .menu, -.topbar div > ul .dropdown-toggle:hover, -.nav .dropdown-toggle:hover, -.topbar div > ul .dropdown.open .dropdown-toggle, -.nav .dropdown.open .dropdown-toggle { - background: #444; - background: rgba(255, 255, 255, 0.05); -} -.topbar div > ul .menu-dropdown, -.nav .menu-dropdown, -.topbar div > ul .dropdown-menu, -.nav .dropdown-menu { - background-color: #333; -} -.topbar div > ul .menu-dropdown a.menu, -.nav .menu-dropdown a.menu, -.topbar div > ul .dropdown-menu a.menu, -.nav .dropdown-menu a.menu, -.topbar div > ul .menu-dropdown .dropdown-toggle, -.nav .menu-dropdown .dropdown-toggle, -.topbar div > ul .dropdown-menu .dropdown-toggle, -.nav .dropdown-menu .dropdown-toggle { - color: #ffffff; -} -.topbar div > ul .menu-dropdown a.menu.open, -.nav .menu-dropdown a.menu.open, -.topbar div > ul .dropdown-menu a.menu.open, -.nav .dropdown-menu a.menu.open, -.topbar div > ul .menu-dropdown .dropdown-toggle.open, -.nav .menu-dropdown .dropdown-toggle.open, -.topbar div > ul .dropdown-menu .dropdown-toggle.open, -.nav .dropdown-menu .dropdown-toggle.open { - background: #444; - background: rgba(255, 255, 255, 0.05); -} -.topbar div > ul .menu-dropdown li a, -.nav .menu-dropdown li a, -.topbar div > ul .dropdown-menu li a, -.nav .dropdown-menu li a { - color: #999; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -.topbar div > ul .menu-dropdown li a:hover, -.nav .menu-dropdown li a:hover, -.topbar div > ul .dropdown-menu li a:hover, -.nav .dropdown-menu li a:hover { - background-color: #191919; - background-repeat: repeat-x; - background-image: -khtml-gradient(linear, left top, left bottom, from(#292929), to(#191919)); - background-image: -moz-linear-gradient(top, #292929, #191919); - background-image: -ms-linear-gradient(top, #292929, #191919); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #292929), color-stop(100%, #191919)); - background-image: -webkit-linear-gradient(top, #292929, #191919); - background-image: -o-linear-gradient(top, #292929, #191919); - background-image: linear-gradient(top, #292929, #191919); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#292929', endColorstr='#191919', GradientType=0); - color: #ffffff; -} -.topbar div > ul .menu-dropdown .active a, -.nav .menu-dropdown .active a, -.topbar div > ul .dropdown-menu .active a, -.nav .dropdown-menu .active a { - color: #ffffff; -} -.topbar div > ul .menu-dropdown .divider, -.nav .menu-dropdown .divider, -.topbar div > ul .dropdown-menu .divider, -.nav .dropdown-menu .divider { - background-color: #222; - border-color: #444; -} -.topbar ul .menu-dropdown li a, .topbar ul .dropdown-menu li a { - padding: 4px 15px; -} -li.menu, .dropdown { - position: relative; -} -a.menu:after, .dropdown-toggle:after { - width: 0; - height: 0; - display: inline-block; - content: "↓"; - text-indent: -99999px; - vertical-align: top; - margin-top: 8px; - margin-left: 4px; - border-left: 4px solid transparent; - border-right: 4px solid transparent; - border-top: 4px solid #ffffff; - filter: alpha(opacity=50); - -khtml-opacity: 0.5; - -moz-opacity: 0.5; - opacity: 0.5; -} -.menu-dropdown, .dropdown-menu { - background-color: #ffffff; - float: left; - display: none; - position: absolute; - top: 40px; - z-index: 900; - min-width: 160px; - max-width: 220px; - _width: 160px; - margin-left: 0; - margin-right: 0; - padding: 6px 0; - zoom: 1; - border-color: #999; - border-color: rgba(0, 0, 0, 0.2); - border-style: solid; - border-width: 0 1px 1px; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; -} -.a: li, .dropdown-menu li { - float: none; - display: block; - background-color: none; -} -.menu-dropdown .divider, .dropdown-menu .divider { - height: 1px; - margin: 5px 0; - overflow: hidden; - background-color: #eee; - border-bottom: 1px solid #ffffff; -} -.topbar .dropdown-menu a, .dropdown-menu a { - display: block; - padding: 4px 15px; - clear: both; - font-weight: normal; - line-height: 18px; - color: #808080; - text-shadow: 0 1px 0 #ffffff; -} -.topbar .dropdown-menu a:hover, -.dropdown-menu a:hover, -.topbar .dropdown-menu a.hover, -.dropdown-menu a.hover { - background-color: #dddddd; - background-repeat: repeat-x; - background-image: -khtml-gradient(linear, left top, left bottom, from(#eeeeee), to(#dddddd)); - background-image: -moz-linear-gradient(top, #eeeeee, #dddddd); - background-image: -ms-linear-gradient(top, #eeeeee, #dddddd); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #dddddd)); - background-image: -webkit-linear-gradient(top, #eeeeee, #dddddd); - background-image: -o-linear-gradient(top, #eeeeee, #dddddd); - background-image: linear-gradient(top, #eeeeee, #dddddd); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#dddddd', GradientType=0); - color: #404040; - text-decoration: none; - -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025); -} -.open .menu, -.dropdown.open .menu, -.open .dropdown-toggle, -.dropdown.open .dropdown-toggle { - color: #ffffff; - background: #ccc; - background: rgba(0, 0, 0, 0.3); -} -.open .menu-dropdown, -.dropdown.open .menu-dropdown, -.open .dropdown-menu, -.dropdown.open .dropdown-menu { - display: block; -} -.tabs, .pills { - margin: 0 0 18px; - padding: 0; - list-style: none; - zoom: 1; -} -.tabs:before, -.pills:before, -.tabs:after, -.pills:after { - display: table; - content: ""; - zoom: 1; -} -.tabs:after, .pills:after { - clear: both; -} -.tabs > li, .pills > li { - float: left; -} -.tabs > li > a, .pills > li > a { - display: block; -} -.tabs { - border-color: #ddd; - border-style: solid; - border-width: 0 0 1px; -} -.tabs > li { - position: relative; - margin-bottom: -1px; -} -.tabs > li > a { - padding: 0 15px; - margin-right: 2px; - line-height: 34px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.tabs > li > a:hover { - text-decoration: none; - background-color: #eee; - border-color: #eee #eee #ddd; -} -.tabs .active > a, .tabs .active > a:hover { - color: #808080; - background-color: #ffffff; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.tabs .menu-dropdown, .tabs .dropdown-menu { - top: 35px; - border-width: 1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.tabs a.menu:after, .tabs .dropdown-toggle:after { - border-top-color: #999; - margin-top: 15px; - margin-left: 5px; -} -.tabs li.open.menu .menu, .tabs .open.dropdown .dropdown-toggle { - border-color: #999; -} -.tabs li.open a.menu:after, .tabs .dropdown.open .dropdown-toggle:after { - border-top-color: #555; -} -.pills a { - margin: 5px 3px 5px 0; - padding: 0 15px; - line-height: 30px; - text-shadow: 0 1px 1px #ffffff; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pills a:hover { - color: #ffffff; - text-decoration: none; - text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); - background-color: #00438a; -} -.pills .active a { - color: #ffffff; - text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); - background-color: #0069d6; -} -.pills-vertical > li { - float: none; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane, -.tab-content > div, -.pill-content > div { - display: none; -} -.tab-content > .active, .pill-content > .active { - display: block; -} -.breadcrumb { - padding: 7px 14px; - margin: 0 0 18px; - background-color: #f5f5f5; - background-repeat: repeat-x; - background-image: -khtml-gradient(linear, left top, left bottom, from(#ffffff), to(#f5f5f5)); - background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5); - background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f5f5f5)); - background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5); - background-image: -o-linear-gradient(top, #ffffff, #f5f5f5); - background-image: linear-gradient(top, #ffffff, #f5f5f5); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0); - border: 1px solid #ddd; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; -} -.breadcrumb li { - display: inline; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb .divider { - padding: 0 5px; - color: #bfbfbf; -} -.breadcrumb .active a { - color: #404040; -} -.hero-unit { - background-color: #f5f5f5; - margin-bottom: 30px; - padding: 60px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - letter-spacing: -1px; -} -.hero-unit p { - font-size: 18px; - font-weight: 200; - line-height: 27px; -} -footer { - margin-top: 17px; - padding-top: 17px; - border-top: 1px solid #eee; -} -.page-header { - margin-bottom: 17px; - border-bottom: 1px solid #ddd; - -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.page-header h1 { - margin-bottom: 8px; -} -.btn.danger, -.alert-message.danger, -.btn.danger:hover, -.alert-message.danger:hover, -.btn.error, -.alert-message.error, -.btn.error:hover, -.alert-message.error:hover, -.btn.success, -.alert-message.success, -.btn.success:hover, -.alert-message.success:hover, -.btn.info, -.alert-message.info, -.btn.info:hover, -.alert-message.info:hover { - color: #ffffff; -} -.btn .close, .alert-message .close { - font-family: Arial, sans-serif; - line-height: 18px; -} -.btn.danger, -.alert-message.danger, -.btn.error, -.alert-message.error { - background-color: #c43c35; - background-repeat: repeat-x; - background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35)); - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(top, #ee5f5b, #c43c35); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - border-color: #c43c35 #c43c35 #882a25; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); -} -.btn.success, .alert-message.success { - background-color: #57a957; - background-repeat: repeat-x; - background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957)); - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -ms-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(top, #62c462, #57a957); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - border-color: #57a957 #57a957 #3d773d; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); -} -.btn.info, .alert-message.info { - background-color: #339bb9; - background-repeat: repeat-x; - background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9)); - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -ms-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(top, #5bc0de, #339bb9); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - border-color: #339bb9 #339bb9 #22697d; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); -} -.btn { - cursor: pointer; - display: inline-block; - background-color: #e6e6e6; - background-repeat: no-repeat; - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6)); - background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); - background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6); - background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); - background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); - background-image: line... [truncated message content] |
From: <be...@us...> - 2012-02-19 00:50:20
|
Revision: 9015 http://xoops.svn.sourceforge.net/xoops/?rev=9015&view=rev Author: beckmi Date: 2012-02-19 00:50:14 +0000 (Sun, 19 Feb 2012) Log Message: ----------- Fixing location of logo.png Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/images/logo.png Removed Paths: ------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/logo.png Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/logo.png =================================================================== (Binary files differ) Copied: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/images/logo.png (from rev 9011, XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/icons/logo.png) =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-02-18 20:22:30
|
Revision: 9014 http://xoops.svn.sourceforge.net/xoops/?rev=9014&view=rev Author: txmodxoops Date: 2012-02-18 20:22:21 +0000 (Sat, 18 Feb 2012) Log Message: ----------- Italian Language Added Paths: ----------- XoopsModules/newbb/branches/alfred/newbb/language/italian/ XoopsModules/newbb/branches/alfred/newbb/language/italian/admin.php XoopsModules/newbb/branches/alfred/newbb/language/italian/blocks.php XoopsModules/newbb/branches/alfred/newbb/language/italian/help/ XoopsModules/newbb/branches/alfred/newbb/language/italian/help/help.html XoopsModules/newbb/branches/alfred/newbb/language/italian/help/index.html XoopsModules/newbb/branches/alfred/newbb/language/italian/index.html XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/ XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/forum_newpost_notify.tpl XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/forum_newthread_notify.tpl XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/forum_report.tpl XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_digest_notify.tpl XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_newforum_notify.tpl XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_newfullpost_notify.tpl XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_newpost_notify.tpl XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/thread_newpost_notify.tpl XoopsModules/newbb/branches/alfred/newbb/language/italian/main.php XoopsModules/newbb/branches/alfred/newbb/language/italian/modinfo.php XoopsModules/newbb/branches/alfred/newbb/language/italian/user.php Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/admin.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/admin.php (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/admin.php 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1,315 @@ +<?php +// $Id: admin.php,v 1.3 2005/10/19 17:20:33 phppp Exp $ +//%%%%%% File Name index.php %%%%% +define("_AM_NEWBB_FORUMCONF", "Forum di configurazione"); +define("_AM_NEWBB_ADDAFORUM", "Aggiungere un Forum"); +define("_AM_NEWBB_SYNCFORUM", "Sync forum"); +define("_AM_NEWBB_REORDERFORUM", "Riordina"); +define("_AM_NEWBB_FORUM_MANAGER", "Forum"); +define("_AM_NEWBB_PRUNE_TITLE", "Eliminare"); +define("_AM_NEWBB_CATADMIN", "Categorie"); +define("_AM_NEWBB_GENERALSET", "Impostazioni del Modulo SCA"); +define("_AM_NEWBB_MODULEADMIN", "Modulo Admin:"); +define("_AM_NEWBB_HELP", "Guida"); +define("_AM_NEWBB_ABOUT", "Informazioni su"); +define("_AM_NEWBB_BOARDSUMMARY", "Consiglio Statistica"); +define("_AM_NEWBB_PENDING_POSTS_FOR_AUTH", "Messaggi in attesa di autorizzazione"); +define("_AM_NEWBB_POSTID", "Registrare"); +define("_AM_NEWBB_POSTDATE", "Data registrazione"); +define("_AM_NEWBB_POSTER", "Poster"); +define("_AM_NEWBB_TOPICS", "Argomenti"); +define("_AM_NEWBB_SHORTSUMMARY", "Riassunto bordo"); +define("_AM_NEWBB_TOTALPOSTS", "Messaggi totali"); +define("_AM_NEWBB_TOTALTOPICS", "Discussioni in totale"); +define("_AM_NEWBB_TOTALVIEWS", "Visto totale"); +define("_AM_NEWBB_BLOCKS", "Blocchi"); +define("_AM_NEWBB_SUBJECT", "Argomento"); +define("_AM_NEWBB_APPROVE", "Approvare Messaggio"); +define("_AM_NEWBB_APPROVETEXT", "Contenuto di questo annuncio"); +define("_AM_NEWBB_POSTAPPROVED", "Post è stato approvato"); +define("_AM_NEWBB_POSTNOTAPPROVED", "Messaggio non è stato approvato"); +define("_AM_NEWBB_POSTSAVED", "Post è stato salvato"); +define("_AM_NEWBB_POSTNOTSAVED", "Messaggio non è stato salvato"); + +define("_AM_NEWBB_TOPICAPPROVED", "Argomento è stato approvato"); +define("_AM_NEWBB_TOPICNOTAPPROVED", "Argomento non è stato approvato"); +define("_AM_NEWBB_TOPICID", "ID argomento"); +define("_AM_NEWBB_ORPHAN_TOPICS_FOR_AUTH", "Non approvate argomenti autorizzazione"); + + +define("_AM_NEWBB_DEL_ONE", "Elimina il messaggio"); +define("_AM_NEWBB_POSTSDELETED", "Messaggio selezionato cancellati."); +define("_AM_NEWBB_NOAPPROVEPOST", "Attualmente non ci sono messaggi in attesa di approvazione."); +define("_AM_NEWBB_SUBJECTC", "Elemento:"); +define("_AM_NEWBB_MESSAGEICON", "Icona etichetta messaggio"); +define("_AM_NEWBB_MESSAGEC", "<u>M</u>essaggio:"); +define("_AM_NEWBB_CANCELPOST", "Annulla il post"); +define("_AM_NEWBB_GOTOMOD", "Passa al modulo"); + +define("_AM_NEWBB_PREFERENCES", "Modulo preferenze"); +define("_AM_NEWBB_POLLMODULE", "Xoops Poll Module"); +define("_AM_NEWBB_POLL_OK", "pronto per l'uso"); +define("_AM_NEWBB_GDLIB1", "GD1 library:"); +define("_AM_NEWBB_GDLIB2", "GD2 biblioteca:"); +define("_AM_NEWBB_AUTODETECTED", "Rilevato:"); +define("_AM_NEWBB_AVAILABLE", "Disponibile"); +define("_AM_NEWBB_NOTAVAILABLE", "<font color=\"Red\">Non disponibile</font>"); +define("_AM_NEWBB_NOTWRITABLE", "<font color=\"Red\">Non scrivibile</font>"); +define("_AM_NEWBB_IMAGEMAGICK", "ImageMagick:"); +define("_AM_NEWBB_IMAGEMAGICK_NOTSET", "Non impostato"); +define("_AM_NEWBB_ATTACHPATH", "Percorso per il fissaggio memorizzazione"); +define("_AM_NEWBB_THUMBPATH", "Percorso per i pollici immagine allegata"); +define("_AM_NEWBB_RSSPATH", "Percorso per feed RSS"); +define("_AM_NEWBB_REPORT", "Messaggi segnalati"); +define("_AM_NEWBB_REPORT_PENDING", "In attesa di report"); +define("_AM_NEWBB_REPORT_PROCESSED", "Report elaborato"); + +define("_AM_NEWBB_CREATETHEDIR", "Crearlo"); +define("_AM_NEWBB_SETMPERM", "Impostare l'autorizzazione"); +define("_AM_NEWBB_DIRCREATED", "La directory è stata creata"); +define("_AM_NEWBB_DIRNOTCREATED", "La directory non può essere creata"); +define("_AM_NEWBB_PERMSET", "Il permesso è stato impostato"); +define("_AM_NEWBB_PERMNOTSET", "Il permesso non può essere impostato"); + +define("_AM_NEWBB_DIGEST", ""); +define("_AM_NEWBB_DIGEST_PAST", "<font color=\"Red\">Deve essere inviato% d minuti fa</font>"); +define("_AM_NEWBB_DIGEST_NEXT", "Necessità di inviare in% d minuti"); +define("_AM_NEWBB_DIGEST_ARCHIVE", "Digest archivio"); +define("_AM_NEWBB_DIGEST_SENT", "Digest trattati"); +define("_AM_NEWBB_DIGEST_FAILED", "Digest NON trattati"); + +// admin_forum_manager.php +define("_AM_NEWBB_NAME", "Nome"); +define("_AM_NEWBB_CREATEFORUM", "Creare un forum"); +define("_AM_NEWBB_EDIT", "Modifica"); +define("_AM_NEWBB_CLEAR", "liquidare"); +define("_AM_NEWBB_DELETE", "Elimina"); +define("_AM_NEWBB_ADD", "Aggiungi"); +define("_AM_NEWBB_MOVE", "spostare"); +define("_AM_NEWBB_ORDER", "ordine"); +define("_AM_NEWBB_TWDAFAP", "Nota: Questo eliminerà il forum e tutti i messaggi in esso. <br /><br /> ATTENZIONE: Sei sicuro di voler cancellare questo forum?"); +define("_AM_NEWBB_FORUMREMOVED", "Rimosso forum."); +define("_AM_NEWBB_CREATENEWFORUM", "Creare un nuovo forum"); +define("_AM_NEWBB_EDITTHISFORUM", "Modifica del forum:"); +define("_AM_NEWBB_SET_FORUMORDER", "Imposta posizione Forum:"); +define("_AM_NEWBB_ALLOWPOLLS", "Consenti Sondaggi:"); +define("_AM_NEWBB_ATTACHMENT_SIZE" ,"Max Size in kb`s:"); +define("_AM_NEWBB_ALLOWED_EXTENSIONS", "Estensioni ammessi: <span style=\'font-size: xx-small; font-weight: normal; display: block;\'>'*' indica nessun limititations. <br /> Estensioni delimitato da '|'</span>"); +define("_AM_NEWBB_ALLOW_ATTACHMENTS", "Consenti Allegati:"); +define("_AM_NEWBB_ALLOWHTML", "Permetti HTML:"); +define("_AM_NEWBB_YES", "Sì"); +define("_AM_NEWBB_NO", "No"); +define("_AM_NEWBB_ALLOWSIGNATURES", "Permetti Firme:"); +define("_AM_NEWBB_HOTTOPICTHRESHOLD", ""); +define("_AM_NEWBB_POSTPERPAGE", "Messaggi per pagina: <span style=\'font-size: xx-small; font-weight: normal; display: block;\'>(Questo è il numero di messaggi <br /> per ogni argomento che verrà <br /> visualizzati per pagina.)</span>"); +define("_AM_NEWBB_TOPICPERFORUM", "Argomenti al Forum: <span style=\'font-size: xx-small; font-weight: normal; display: block;\'>(Questo è il numero di argomenti <br /> per forum che verrà <br /> visualizzati per pagina.)</span>"); +define("_AM_NEWBB_SHOWNAME", "Sostituire il nome dell'utente con il vero nome di:"); +define("_AM_NEWBB_SHOWICONSPANEL", "Mostra pannello di icone:"); +define("_AM_NEWBB_SHOWSMILIESPANEL", "Mostra pannello faccine:"); +define("_AM_NEWBB_MODERATOR_REMOVE", "Rimuovere moderatori corrente"); +define("_AM_NEWBB_MODERATOR_ADD", "Aggiungi moderatori"); + +// admin_cat_manager.php + +define("_AM_NEWBB_SETCATEGORYORDER", "Imposta posizione Categoria:"); +define("_AM_NEWBB_ACTIVE", "Attivo"); +define("_AM_NEWBB_INACTIVE", "Inattivo"); +define("_AM_NEWBB_STATE", "Stato:"); +define("_AM_NEWBB_CATEGORYDESC", "Descrizione categoria:"); +define("_AM_NEWBB_SHOWDESC", "Mostra descrizione?"); +define("_AM_NEWBB_IMAGE", "Immagine:"); +define("_AM_NEWBB_SPONSORIMAGE", "Sponsor immagine:"); +define("_AM_NEWBB_SPONSORLINK", "Sponsor Link:"); +define("_AM_NEWBB_DELCAT", "Elimina categoria"); +define("_AM_NEWBB_WAYSYWTDTTAL", "Nota: Questo non rimuoverà i forum sotto la categoria, è necessario farlo tramite la sezione Forum Modifica. <br /><br /> ATTENZIONE: Sei sicuro di voler cancellare questa categoria?"); + + + +//%%%%%% File Name admin_forums.php %%%%% +define("_AM_NEWBB_FORUMNAME", "Nome del Forum:"); +define("_AM_NEWBB_FORUMDESCRIPTION", "Forum Descrizione:"); +define("_AM_NEWBB_MODERATOR", "Moderatore (s):"); +define("_AM_NEWBB_REMOVE", "Disinstalla"); +define("_AM_NEWBB_CATEGORY", "Categoria:"); +define("_AM_NEWBB_DATABASEERROR", "Errore nel database"); +define("_AM_NEWBB_CATEGORYUPDATED", "Categoria aggiornamento."); +define("_AM_NEWBB_EDITCATEGORY", "Modifica della categoria"); +define("_AM_NEWBB_CATEGORYTITLE", "Titolo categoria:"); +define("_AM_NEWBB_CATEGORYCREATED", "Categoria Creato."); +define("_AM_NEWBB_CREATENEWCATEGORY", "Crea una nuova categoria"); +define("_AM_NEWBB_FORUMCREATED", "Forum Creato."); +define("_AM_NEWBB_ACCESSLEVEL", "Livello di accesso globale:"); +define("_AM_NEWBB_CATEGORY1", "Categoria"); +define("_AM_NEWBB_FORUMUPDATE", "Impostazioni forum aggiornamento"); +define("_AM_NEWBB_FORUM_ERROR", "ERRORE: Errore di impostazione del forum"); +define("_AM_NEWBB_CLICKBELOWSYNC", "Cliccando sul pulsante sottostante verrà sincronizzato il vostro forum e pagine di argomenti con i dati corretti dal database. Utilizzare questa sezione ogni volta che si notano difetti negli argomenti e le liste forum."); +define("_AM_NEWBB_SYNCHING", "Sincronizzazione Indice forum e argomenti (L'operazione potrebbe richiedere un po')"); +define("_AM_NEWBB_CATEGORYDELETED", "Categoria eliminata"); +define("_AM_NEWBB_MOVE2CAT", "Mossa alla categoria:"); +define("_AM_NEWBB_MAKE_SUBFORUM_OF", "Creare un forum sub di:"); +define("_AM_NEWBB_MSG_FORUM_MOVED", "Forum mosso!"); +define("_AM_NEWBB_MSG_ERR_FORUM_MOVED", "Impossibile spostare forum."); +define("_AM_NEWBB_SELECT", "<Seleziona>"); +define("_AM_NEWBB_MOVETHISFORUM", "Spostare questo Forum"); +define("_AM_NEWBB_MERGE", "Unisci"); +define("_AM_NEWBB_MERGETHISFORUM", "Unisci questo Forum"); +define("_AM_NEWBB_MERGETO_FORUM", "Unisci questo forum per:"); +define("_AM_NEWBB_MSG_FORUM_MERGED", "Forum fusa!"); +define("_AM_NEWBB_MSG_ERR_FORUM_MERGED", "Non è riuscito a fondere forum."); + +//%%%%%% File Name admin_forum_reorder.php %%%%% +define("_AM_NEWBB_REORDERID", "ID"); +define("_AM_NEWBB_REORDERTITLE", "Titolo"); +define("_AM_NEWBB_REORDERWEIGHT", "Posizione"); +define("_AM_NEWBB_SETFORUMORDER", "Set consiglio Ordinamento"); +define("_AM_NEWBB_BOARDREORDER", ""); + +// admin_permission.php +define("_AM_NEWBB_PERMISSIONS_TO_THIS_FORUM", "Permessi argomento di questo Forum"); +define("_AM_NEWBB_CAT_ACCESS", "Categoria di accesso"); +define("_AM_NEWBB_CAN_ACCESS", "Possibile accedere al forum"); +define("_AM_NEWBB_CAN_VIEW", "Può visualizzare i contenuti argomento"); +define("_AM_NEWBB_CAN_POST", "Può iniziare nuove discussioni"); +define("_AM_NEWBB_CAN_REPLY", "Puoi rispondere"); +define("_AM_NEWBB_CAN_EDIT", "Può modificare post a se stante"); +define("_AM_NEWBB_CAN_DELETE", "Impossibile eliminare post a se stante"); +define("_AM_NEWBB_CAN_ADDPOLL", "Impossibile aggiungere sondaggio"); +define("_AM_NEWBB_CAN_VOTE", "Possono votare"); +define("_AM_NEWBB_CAN_ATTACH", "Possibile utilizzare l'attaccamento"); +define("_AM_NEWBB_CAN_NOAPPROVE", "Puoi inserire direttamente"); +define("_AM_NEWBB_CAN_TYPE", "Può usare il tipo argomento"); +define("_AM_NEWBB_CAN_HTML", "Possibile utilizzare la sintassi HTML"); +define("_AM_NEWBB_CAN_SIGNATURE", "Possibile utilizzare la firma"); + +define("_AM_NEWBB_ACTION", "Azione"); + +define("_AM_NEWBB_PERM_TEMPLATE", "Impostare modello predefinito permesso"); +define("_AM_NEWBB_PERM_TEMPLATE_DESC", "Modificare il modello successivo permesso in modo che possa essere applicato a un forum o un paio di forum"); +define("_AM_NEWBB_PERM_FORUMS", "Seleziona forum"); +define("_AM_NEWBB_PERM_TEMPLATE_CREATED", "Modello di autorizzazione è stata creata"); +define("_AM_NEWBB_PERM_TEMPLATE_ERROR", "L'errore si verifica durante la creazione del modello di permesso"); +define("_AM_NEWBB_PERM_TEMPLATEAPP", "Applicare il permesso di default"); +define("_AM_NEWBB_PERM_TEMPLATE_APPLIED", "Permessi di default sono stati applicati ai forum"); +define("_AM_NEWBB_PERM_ACTION", "Permesso strumenti di gestione"); +define("_AM_NEWBB_PERM_SETBYGROUP", "Impostare le autorizzazioni direttamente dal gruppo"); + +// admin_forum_prune.php + +define("_AM_NEWBB_PRUNE_RESULTS_TITLE", "Prune Risultati"); +define("_AM_NEWBB_PRUNE_RESULTS_TOPICS", "Argomenti eliminati"); +define("_AM_NEWBB_PRUNE_RESULTS_POSTS", "Messaggi eliminati"); +define("_AM_NEWBB_PRUNE_RESULTS_FORUMS", "Forum di potatura"); +define("_AM_NEWBB_PRUNE_STORE", "Memorizzare i messaggi in questo forum, invece di cancellarli"); +define("_AM_NEWBB_PRUNE_ARCHIVE", "Fare una copia dei messaggi in archivio"); +define("_AM_NEWBB_PRUNE_FORUMSELERROR", "Ti sei dimenticato di selezionare forum (s) per potare"); + +define("_AM_NEWBB_PRUNE_DAYS", "Rimuovi gli argomenti senza risposte in:"); +define("_AM_NEWBB_PRUNE_FORUMS", "Forum per essere potata"); +define("_AM_NEWBB_PRUNE_STICKY", "Tenere i messaggi Importanti"); +define("_AM_NEWBB_PRUNE_DIGEST", "Tenere argomenti Digest"); +define("_AM_NEWBB_PRUNE_LOCK", "Tenere i topic Chiusi"); +define("_AM_NEWBB_PRUNE_HOT", "Tenere argomenti con più di questo numero di risposte"); +define("_AM_NEWBB_PRUNE_SUBMIT", "OK"); +define("_AM_NEWBB_PRUNE_RESET", "Reimposta"); +define("_AM_NEWBB_PRUNE_YES", "Sì"); +define("_AM_NEWBB_PRUNE_NO", "No"); +define("_AM_NEWBB_PRUNE_WEEK", "Una settimana"); +define("_AM_NEWBB_PRUNE_2WEEKS", "Due settimane"); +define("_AM_NEWBB_PRUNE_MONTH", "Un mese"); +define("_AM_NEWBB_PRUNE_2MONTH", "Due Mesi"); +define("_AM_NEWBB_PRUNE_4MONTH", "Quattro Mesi"); +define("_AM_NEWBB_PRUNE_YEAR", "Un Anno"); +define("_AM_NEWBB_PRUNE_2YEARS", "2 anni"); + +// About.php constants +define("_AM_NEWBB_AUTHOR_INFO", "Autore Informazioni"); +define("_AM_NEWBB_AUTHOR_NAME", "Autore"); +define("_AM_NEWBB_AUTHOR_WEBSITE", "Autore del sito web"); +define("_AM_NEWBB_AUTHOR_EMAIL", "Dell'autore e-mail"); +define("_AM_NEWBB_AUTHOR_CREDITS", "Crediti"); +define("_AM_NEWBB_MODULE_INFO", "Informazioni Development Module"); +define("_AM_NEWBB_MODULE_STATUS", "Pagamenti"); +define("_AM_NEWBB_MODULE_DEMO", "Demo"); +define("_AM_NEWBB_MODULE_SUPPORT", "Sito di supporto ufficiale"); +define("_AM_NEWBB_MODULE_BUG", "Segnala un bug per questo modulo"); +define("_AM_NEWBB_MODULE_FEATURE", "Suggerisci una nuova funzionalità per questo modulo"); +define("_AM_NEWBB_MODULE_DISCLAIMER", "dichiarazione di non responsabilità"); +define("_AM_NEWBB_AUTHOR_WORD", "Dell'Autore Word"); +define("_AM_NEWBB_BY", "<PROTECTED> BY <PROTECTED>"); +define('_AM_NEWBB_AUTHOR_WORD_EXTRA', " +"); + +// admin_report.php +define("_AM_NEWBB_REPORTADMIN", "Riferito messaggi direttore"); +define("_AM_NEWBB_PROCESSEDREPORT", "Visualizzare i report elaborati"); +define("_AM_NEWBB_PROCESSREPORT", "Visualizza nuovi report"); +define("_AM_NEWBB_REPORTTITLE", "Titolo del rapporto"); +define("_AM_NEWBB_REPORTEXTRA", "supplementare"); +define("_AM_NEWBB_REPORTPOST", "Messaggio riportato"); +define("_AM_NEWBB_REPORTTEXT", "Testo report"); +define("_AM_NEWBB_REPORTMEMO", "Processo memo"); + +// admin_report.php +define("_AM_NEWBB_DIGESTADMIN", "Digest Manager"); +define("_AM_NEWBB_DIGESTCONTENT", "Digest contenuti"); + +// admin_votedata.php +define("_AM_NEWBB_VOTE_RATINGINFOMATION", "Informazioni di voto"); +define("_AM_NEWBB_VOTE_TOTALVOTES", "Totale voti:"); +define("_AM_NEWBB_VOTE_REGUSERVOTES", "Voti Utente Registrato:% s"); +define("_AM_NEWBB_VOTE_ANONUSERVOTES", "Voti Utente anonimo:% s"); +define("_AM_NEWBB_VOTE_USER", "utente"); +define("_AM_NEWBB_VOTE_IP", "indirizzo IP"); +define("_AM_NEWBB_VOTE_USERAVG", "Classificazione media"); +define("_AM_NEWBB_VOTE_TOTALRATE", "Voti totali"); +define("_AM_NEWBB_VOTE_DATE", "Inoltrato"); +define("_AM_NEWBB_VOTE_RATING", "Classificazione"); +define("_AM_NEWBB_VOTE_NOREGVOTES", "Nessun Voto Utente Registrato"); +define("_AM_NEWBB_VOTE_NOUNREGVOTES", "Nessun Voto Utente non registrato"); +define("_AM_NEWBB_VOTEDELETED", "Dati voto cancellati."); +define("_AM_NEWBB_VOTE_ID", "ID"); +define("_AM_NEWBB_VOTE_FILETITLE", "Titolo discussione"); +define("_AM_NEWBB_VOTE_DISPLAYVOTES", "Voto dei dati Informazioni"); +define("_AM_NEWBB_VOTE_NOVOTES", "No User voti da mostrare"); +define("_AM_NEWBB_VOTE_DELETE", "No User voti da mostrare"); +define("_AM_NEWBB_VOTE_DELETEDSC", "<strong>Elimina</strong> le informazioni voto scelto dal database."); + +// admin_type_manager.php +define("_AM_NEWBB_TYPE_ADD", "Aggiungere altri tipi di"); +define("_AM_NEWBB_TYPE_TEMPLATE", "Tipo di modello"); +define("_AM_NEWBB_TYPE_TEMPLATE_APPLY", "Applica Template"); +define("_AM_NEWBB_TYPE_FORUM", "Tipologia di forum"); +define("_AM_NEWBB_TYPE_NAME", "Nome del tipo"); +define("_AM_NEWBB_TYPE_COLOR", "Colore"); +define("_AM_NEWBB_TYPE_DESCRIPTION", "Descrizione"); +define("_AM_NEWBB_TYPE_ORDER", "ordine"); +define("_AM_NEWBB_TYPE_LIST", "Tipo di lista"); +define("_AM_NEWBB_TODEL_TYPE", "Sei sicuro di voler cancellare i tipi: [% s]?"); +define("_AM_NEWBB_TYPE_EDITFORUM_DESC", "I dati non sono ancora state salvate. È necessario inviare per salvarli."); +define("_AM_NEWBB_TYPE_ORDER_DESC", "Per attivare un tipo per un forum, un valore maggiore di 0 è necessario per 'type_order'; In altre parole, un tipo sarà inattivo per un forum se 'type_order' è impostato a 0."); + + +// admin_synchronization.php +define("_AM_NEWBB_SYNC_TYPE_FORUM", "discussione"); +define("_AM_NEWBB_SYNC_TYPE_TOPIC", "Discussione dei dati"); +define("_AM_NEWBB_SYNC_TYPE_POST", "inserire"); +define("_AM_NEWBB_SYNC_TYPE_USER", "Dati utente"); +define("_AM_NEWBB_SYNC_TYPE_STATS", "Statistiche Info"); +define("_AM_NEWBB_SYNC_TYPE_MISC", "VARIE"); + +define("_AM_NEWBB_SYNC_ITEMS", "Articoli per ogni ciclo:"); + +define("_AM_NEWBB_GROUPMOD_TITLE", "Aggiungere moderatori per gruppo"); +define("_AM_NEWBB_GROUPMOD_TITLEDESC", "Consente di inserire, gli utenti di alcuni gruppi come moderatori"); +define("_AM_NEWBB_GROUPMOD_ALLFORUMS", "tutti i forum"); +define("_AM_NEWBB_GROUPMOD_ADDMOD", "I moderatori sono stati registrati con successo."); +define("_AM_NEWBB_GROUPMOD_ERRMOD", "Hai un errore!"); + +//4.06 +define("_AM_DBUPDATED", "Database aggiornato con successo!"); +?><?php + +// Translation done by XTransam & admin (in...@tx...) +// XTransam 1.2 is written by Chronolabs Co-op & The XOOPS Project - File Dumped on 2011-11-18 14:39 + +?> \ No newline at end of file Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/blocks.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/blocks.php (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/blocks.php 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1,51 @@ +<?php +// $Id: blocks.php,v 1.3 2005/10/19 17:20:33 phppp Exp $ +// Blocks +if (defined('_MB_NEWBB_DEFINED')) return; +else define('_MB_NEWBB_DEFINED',true); + +define("_MB_NEWBB_FORUM", "Discussione"); +define("_MB_NEWBB_TOPIC", "Argomento"); +define("_MB_NEWBB_RPLS", "Risposte"); +define("_MB_NEWBB_VIEWS", "Analisi"); +define("_MB_NEWBB_LPOST", "Ultimo invio"); +define("_MB_NEWBB_VSTFRMS", "Forum"); +define("_MB_NEWBB_DISPLAY", "Numero di messaggi:"); +define("_MB_NEWBB_DISPLAYMODE", "Modalità di visualizzazione:"); +define("_MB_NEWBB_DISPLAYMODE_FULL", "Lettura/scrittura"); +define("_MB_NEWBB_DISPLAYMODE_COMPACT", "Compattare"); +define("_MB_NEWBB_DISPLAYMODE_LITE", "Lite"); +define("_MB_NEWBB_FORUMLIST", "Lista Forum consentiti:"); +define("_MB_NEWBB_FORUMLIST_DESC", "Forum ha permesso di visualizzare nel blocco"); +define("_MB_NEWBB_FORUMLIST_ID", "ID"); +define("_MB_NEWBB_FORUMLIST_NAME", "Lista Discussioni"); +define("_MB_NEWBB_ALLTOPICS", "Argomenti"); +define("_MB_NEWBB_ALLPOSTS", "Messaggi"); + +define("_MB_NEWBB_CRITERIA", "Display criteri"); +define("_MB_NEWBB_CRITERIA_TOPIC", "Argomenti"); +define("_MB_NEWBB_CRITERIA_POST", "Messaggi"); +define("_MB_NEWBB_CRITERIA_TIME", "I più recenti"); +define("_MB_NEWBB_CRITERIA_TITLE", "Titolo"); +define("_MB_NEWBB_CRITERIA_TEXT", "Registrare"); +define("_MB_NEWBB_CRITERIA_VIEWS", "La maggior parte delle volte"); +define("_MB_NEWBB_CRITERIA_REPLIES", "La maggior parte delle risposte"); +define("_MB_NEWBB_CRITERIA_DIGEST", "Ultimo digerire"); +define("_MB_NEWBB_CRITERIA_STICKY", "Ultimo appiccicoso"); +define("_MB_NEWBB_CRITERIA_DIGESTS", "La maggior parte digerisce"); +define("_MB_NEWBB_CRITERIA_STICKYS", "Temi più appiccicoso"); +define("_MB_NEWBB_TIME", "Periodo di tempo"); +define("_MB_NEWBB_TIME_DESC", "Positiva per giorni e negativo per ore"); + +define("_MB_NEWBB_TITLE", "Titolo"); +define("_MB_NEWBB_AUTHOR", "Autore"); +define("_MB_NEWBB_COUNT", "Conteggio"); +define("_MB_NEWBB_INDEXNAV", "Display Navigator"); + +define("_MB_NEWBB_TITLE_LENGTH", "Titolo/Post lunghezza"); +?><?php + +// Translation done by XTransam & admin (in...@tx...) +// XTransam 1.2 is written by Chronolabs Co-op & The XOOPS Project - File Dumped on 2011-11-18 14:39 + +?> \ No newline at end of file Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/help/help.html =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/help/help.html (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/help/help.html 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1,36 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/newbb/admin/index.php" + title="Back to the administration of Forums"> Forums <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Forums"/> + </a></h1> + <!-- -----Help Content ---------- --> + + <h4 class="odd">Description</h4> + + <p class="even"> + The Forums module provide a discussion forums for the users. + <h4 class="odd">Install/uninstall</h4> + + No special measures necessary, follow the standard installation process – extract the /newbb folder into the + ../modules directory. Install the module through Admin -> System Module -> Modules. <br/><br/> + Detailed instructions on installing modules are available in the <a href="http://goo.gl/adT2i">XOOPS Operations + Manual</a> </p> + + <p class="even"> + <h4 class="odd">Operating instructions</h4> + To set up this module you need to:<br/><br/> + i) Create Categories for your Forums<br/><br/> + ii) Create Forums<br/><br/> + iii) Check that you have given your user groups the necessary module and block access rights to use this module. + Group permissions are set through the Administration Menu -> System -> Groups. <br/><br/>Detailed instructions on + configuring the access rights for user groups are available in the <a href="http://goo.gl/adT2i">XOOPS Operations + Manual</a></p> + <h4 class="odd">Tutorial</h4> + + <p class="even"> + Coming soon </a> + + <!-- -----Help Content ---------- --> + +</div> \ No newline at end of file Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/help/index.html =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/help/index.html (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/help/index.html 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/index.html =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/index.html (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/index.html 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/forum_newpost_notify.tpl =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/forum_newpost_notify.tpl (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/forum_newpost_notify.tpl 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1,21 @@ +Ciao {X_UNAME}, + +Un nuovo messaggio \xE8 stato inviato nel forum "{FORUM_NAME}". + +Clicca questo link per vedere il nuovo messaggio: +{POST_URL} + +----------- + +Hai ricevuto questo messaggio, in quanto hai richiesto di ricevere una notifica per ogni nuovo messaggio inviato in questo forum. + +Se si \xE8 trattato di un errore o se non vuoi pi\xF9 ricevere notifiche per questo evento, aggiorna il tuo profilo visitando il link che segue: +{X_UNSUBSCRIBE_URL} + +Si prega di non rispondere a questo messaggio. + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/forum_newthread_notify.tpl =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/forum_newthread_notify.tpl (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/forum_newthread_notify.tpl 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1,25 @@ +Ciao {X_UNAME}, + +Una nuova discussione intitolata "{THREAD_NAME}" \xE8 stata aperta nel forum "{FORUM_NAME}". + +Clicca il seguente link per vedere la discussione: +{THREAD_URL} + +Clicca il seguente link per vedere il forum: +{FORUM_URL} + +----------- + +Hai ricevuto questo messaggio, in quanto hai richiesto di ricevere una notifica per ogni nuova discussione aperta in questo forum. + +Se si \xE8 trattato di un errore o se non vuoi pi\xF9 ricevere notifiche per questo evento, aggiorna il tuo profilo visitando il link che segue: +{X_UNSUBSCRIBE_URL} + +Si prega di non rispondere a questo messaggio. + + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/forum_report.tpl =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/forum_report.tpl (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/forum_report.tpl 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1,15 @@ +Ciao moderatore del sito {X_SITENAME}, + +ein Beitrag wurde im Forum gemeldet. +Bitte schau nach, was der Grund dafür ist. +Un post \xE8 stato segnalato nel forum +un contributo \xE8 stato segnalato nel forum. +Vi preghiamo di tornare dopo quello che la ragione \xE8 la Dafa \xBC r. + +{MESSAGE} + +Non rispondere a questa email, poich\xE8 \xE8 un messaggio automatico. +----------------------------------------------------- + +{X_SITENAME} ({X_SITEURL}) +{X_ADMINMAIL} \ No newline at end of file Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_digest_notify.tpl =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_digest_notify.tpl (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_digest_notify.tpl 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1,22 @@ +Ciao {X_UNAME}, + +Messaggio Selezionto di {X_MODULE} su {X_SITENAME}: # {DIGEST_ID} . + +Clicca il seguente link per vedere tutti i topics in questo forum: + +{DIGEST_CONTENT} + +----------- + +Hai ricevuto questo messaggio, poich\xE8 hai richiesto di essere notificato sui topic che hai selezionato come importanti. + +Se si \xE8 trattato di un errore o se non vuoi pi\xF9 ricevere notifiche per questo evento, aggiorna il tuo profilo visitando il link che segue: +{X_UNSUBSCRIBE_URL} + +Si prega di non rispondere a questo messaggio. + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_newforum_notify.tpl =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_newforum_notify.tpl (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_newforum_notify.tpl 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1,29 @@ +Ciao {X_UNAME}, + +Un nuovo forum intitolato "{FORUM_NAME}" \xE8 stato creato su {X_SITENAME}. + +La descrizione forum \xE8: + +{FORUM_DESCRIPTION} + +Clicca il seguente link per visitare questo nuovo forum: +{FORUM_URL} + +Clicca il seguente link per visitare l'indice dei forum di {X_SITENAME}: +{X_MODULE_URL} + +----------- + +Hai ricevuto questo messaggio, in quanto hai richiesto di ricevere una notifica per ogni nuovo forum creato sul nostro sito. + +Se si \xE8 trattato di un errore o se non vuoi pi\xF9 ricevere notifiche per questo evento, aggiorna il tuo profilo visitando il link che segue: +{X_UNSUBSCRIBE_URL} + +Si prega di non rispondere a questo messaggio. + + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_newfullpost_notify.tpl =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_newfullpost_notify.tpl (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_newfullpost_notify.tpl 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1,27 @@ +Ciao {X_UNAME}, + +Un nuovo post \xE8 stato inviato nel forum {X_MODULE} del nostro sito. +Per la precisione, \xE8 stato inviato nel topic "{THREAD_NAME}" del forum "{FORUM_NAME}". + +Clicca il seguente link per vedere i posts in questo forum: +{POST_URL} + +----------- +{POST_NAME} + +{POST_CONTENT} +----------- + +Hai ricevuto questo messaggio, in quanto hai richiesto di ricevere una notifica per tutti i nuovi post inviati. + +Se si \xE8 trattato di un errore o se non vuoi pi\xF9 ricevere notifiche per questo evento, aggiorna il tuo profilo visitando il link che segue: +{X_UNSUBSCRIBE_URL} + +Si prega di non rispondere a questo messaggio. + + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_newpost_notify.tpl =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_newpost_notify.tpl (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/global_newpost_notify.tpl 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1,21 @@ +Ciao {X_UNAME}, + +Un nuovo post \xE8 stato inviato nel forum {X_MODULE} del nostro sito. + +Clicca il seguente link per vedere il messaggio: +{POST_URL} + +----------- + +Hai ricevuto questo messaggio, in quanto hai richiesto di ricevere una notifica per ogni nuovo post inviato nel nostro sito. + +Se si \xE8 trattato di un errore o se non vuoi pi\xF9 ricevere notifiche per questo evento, aggiorna il tuo profilo visitando il link che segue: +{X_UNSUBSCRIBE_URL} + +Si prega di non rispondere a questo messaggio. + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/thread_newpost_notify.tpl =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/thread_newpost_notify.tpl (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/mail_template/thread_newpost_notify.tpl 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1,24 @@ +Ciao {X_UNAME}, + +Un nuovo post \xE8 stato aggiunto al topic "{THREAD_NAME}". + +Clicca il seguente link per vedere il post: +{POST_URL} + +Clicca il seguente link per vedere il topic: +{THREAD_URL} + +----------- + +Hai ricevuto questo messaggio, in quanto hai richiesto di ricevere una notifica per ogni nuovo post inserito in questo topic. + +Se si \xE8 trattato di un errore o se non vuoi pi\xF9 ricevere notifiche per questo evento, aggiorna il tuo profilo visitando il link che segue: +{X_UNSUBSCRIBE_URL} + +Si prega di non rispondere a questo messaggio. + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsModules/newbb/branches/alfred/newbb/language/italian/main.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/main.php (rev 0) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/main.php 2012-02-18 20:22:21 UTC (rev 9014) @@ -0,0 +1,531 @@ +<?php +// $Id: main.php,v 1.3 2005/10/19 17:20:33 phppp Exp $ +if (defined('MAIN_DEFINED')) return; +define('MAIN_DEFINED',true); + +define("_MD_ERROR", "Errore"); +define("_MD_NOPOSTS", "Nessun messaggio"); +define("_MD_GO", "Andare"); +define("_MD_SELFORUM", "Seleziona un Forum"); + +define("_MD_THIS_FILE_WAS_ATTACHED_TO_THIS_POST", "File allegato:"); +define("_MD_ALLOWED_EXTENSIONS", "Estensioni consentite"); +define("_MD_MAX_FILESIZE", "Maxium dimensione del file"); +define("_MD_ATTACHMENT", "Allega file"); +define("_MD_FILESIZE", "Dimensione"); +define("_MD_HITS", "Richieste"); +define("_MD_GROUPS", "Gruppi:"); +define("_MD_DEL_ONE", "Elimina solo questa"); +define("_MD_DEL_RELATED", "Cancellare questo post e tutti i messaggi relativi"); +define("_MD_MARK_ALL_FORUMS", "Segna tutti i forum"); +define("_MD_MARK_ALL_TOPICS", "Segna tutti i temi"); +define("_MD_MARK_UNREAD", "non letti"); +define("_MD_MARK_READ", "leggere"); +define("_MD_ALL_FORUM_MARKED", "Tutti i forum segnato"); +define("_MD_ALL_TOPIC_MARKED", "Tutti gli argomenti contrassegnati"); +define("_MD_BOARD_DISCLAIMER", "Consiglio Disclaimer"); + + +//index.php +define("_MD_FORUMHOME", "Home page"); +define("_MD_ADMINCP", "Admin CP"); +define("_MD_FORUM", "Discussione"); +define("_MD_WELCOME", "Benvenuti al forum %s."); +define("_MD_TOPICS", "Argomenti"); +define("_MD_POSTS", "Messaggi"); +define("_MD_DIGESTS", "Digerisce"); +define("_MD_LASTPOST", "Ultimo invio"); +define("_MD_MODERATOR", "Moderatore"); +define("_MD_NEWPOSTS", "Nuovi messaggi"); +define("_MD_NONEWPOSTS", "Nessun nuovo messaggio"); +define("_MD_PRIVATEFORUM", "Inactiv Forum"); +define("_MD_BY", "<PROTECTED> BY <PROTECTED>"); + +define("_MD_TOSTART", "Per iniziare a vedere i messaggi, seleziona il forum che vuoi visitare dalla lista qui sotto."); +define("_MD_TOTALTOPICSC", "Discussioni in totale:"); +define("_MD_TOTALPOSTSC", "Messaggi totali:"); +define("_MD_TOTALUSER", "Utenti totali"); +define("_MD_TIMENOW", "Adesso siamo al %s"); +define("_MD_USER_LASTVISIT", "La tua ultima visita: %s"); + +define("_MD_USER_LASTPOST", "Il tuo post: %s"); +define("_MD_USER_NOLASTPOST", "Non hai ancora spedita"); +define("_MD_USER_TOPICS", "Il tuo Argomenti: %s"); +define("_MD_USER_POSTS", "Messaggi: %s"); +define("_MD_USER_DIGESTS", "Digerisce: %s"); + +define("_MD_VIEW_NEWPOSTS", "Visualizza nuovi messaggi"); + +define("_MD_ADVSEARCH", "Ricerca avanzata"); +define("_MD_POSTEDON", "Inserito il:"); +define("_MD_SUBJECT", "Argomento"); +define("_MD_INACTIVEFORUM_NEWPOSTS", "Forum non attivo con nuovi messaggi"); +define("_MD_INACTIVEFORUM_NONEWPOSTS", "Forum non attivo senza nuovi messaggi"); +define("_MD_SUBFORUMS", "Subforum"); +define("_MD_MAINFORUMOPT", "Opzioni principali"); +define("_MD_PENDING_POSTS_FOR_AUTH", "Messaggi in attesa di approvazione:"); + +define("_MD_TODAYTOPICSC", "Argomenti di Oggi:"); +define("_MD_TODAYPOSTSC", "Messaggi di oggi:"); +define("_MD_TOTALDIGESTSC", "Totale Digest:"); + + + +//page_header.php +define("_MD_MODERATEDBY", "Moderato da"); +define("_MD_SEARCH", "Cerca"); +define("_MD_SEARCHRESULTS", "Risultati della ricerca"); +define("_MD_FORUMINDEX", "%s Indice del forum"); +define("_MD_POSTNEW", "Nuovo argomento"); +define("_MD_REGTOPOST", "Registrati per inviare messaggi"); + +//search.php +define("_MD_SEARCHALLFORUMS", "Ricerca nei forum"); +define("_MD_FORUMC", "Discussione"); +define("_MD_AUTHORC", "Autore:"); +define("_MD_SORTBY", "Ordina per"); +define("_MD_DATE", "Data"); +define("_MD_TOPIC", "Argomento"); +define("_MD_POST2", "inserire"); +define("_MD_USERNAME", "Nome utente"); +define("_MD_BODY", "Corpo"); +define("_MD_SINCE", "Poichè"); + +//viewforum.php +define("_MD_REPLIES", "Risposte"); +define("_MD_POSTER", "Poster"); +define("_MD_VIEWS", "Analisi"); +define("_MD_MORETHAN", "Nuovi messaggi [Popolare]"); +define("_MD_MORETHAN2", "Nessun nuovo messaggio [Popolare]"); +define("_MD_TOPICSHASATT", "Discussione con Allegati"); +define("_MD_TOPICHASPOLL", "Discussione con sondaggio"); +define("_MD_TOPICLOCKED", "Discussione chiusa"); +define("_MD_LEGEND", "Legenda"); +define("_MD_NEXTPAGE", "Pagina successiva"); +define("_MD_SORTEDBY", "Ordinati per"); +define("_MD_TOPICTITLE", "Titolo della sezione"); +define("_MD_NUMBERREPLIES", "numero di risposte"); +define("_MD_TOPICPOSTER", "argomento poster"); +define("_MD_TOPICTIME", "Data di pubblicazione"); +define("_MD_LASTPOSTTIME", "Dopo l'ultima volta"); +define("_MD_ASCENDING", "Crescente"); +define("_MD_DESCENDING", "Decrescente"); +define("_MD_FROMLASTHOURS", "Dalle ore %s scorso"); +define("_MD_FROMLASTDAYS", "Da ultimi %s giorni"); +define("_MD_THELASTYEAR", "Rispetto all'anno scorso"); +define("_MD_BEGINNING", "Riproduci dall'inizio"); +define("_MD_SEARCHTHISFORUM", "Cerca in questo forum"); +define("_MD_TOPIC_SUBJECTC", "Prefisso Topic:"); + +define("_MD_RATINGS", "Classificazioni"); +define("_MD_CAN_ACCESS", "<strong>Puoi</strong> accedere al forum. <br />"); +define("_MD_CANNOT_ACCESS", "<strong>Non puoi</strong> accedere al forum. <br />"); +define("_MD_CAN_POST", "<strong>Puoi</strong> avviare un nuovo argomento. <br />"); +define("_MD_CANNOT_POST", "<strong>Non puoi</strong> iniziare una nuova discussione. <br />"); +define("_MD_CAN_VIEW", "<strong>Puoi</strong> vedere le discussioni. <br />"); +define("_MD_CANNOT_VIEW", "<strong>Non puoi</strong> vedere le discussioni. <br />"); +define("_MD_CAN_REPLY", "<strong>Puoi</strong> rispondere ai messaggi. <br />"); +define("_MD_CANNOT_REPLY", "<strong>Non puoi</strong> rispondere ai messaggi. <br />"); +define("_MD_CAN_EDIT", "<strong>Puoi</strong> modificare i tuoi messaggi. <br />"); +define("_MD_CANNOT_EDIT", "<strong>Non puoi</strong> modificare i tuoi messaggi. <br />"); +define("_MD_CAN_DELETE", "<strong>Puoi</strong> cancellare i tuoi messaggi. <br />"); +define("_MD_CANNOT_DELETE", "<strong>Non puoi</strong> cancellare i tuoi messaggi. <br />"); +define("_MD_CAN_ADDPOLL", "<strong>Puoi</strong> aggiungere nuovi sondaggi. <br />"); +define("_MD_CANNOT_ADDPOLL", "<strong>Non puoi</strong> aggiungere nuovi sondaggi. <br />"); +define("_MD_CAN_VOTE", "<strong>Puoi</strong> votare nei sondaggi. <br />"); +define("_MD_CANNOT_VOTE", "<strong>Non puoi</strong> votare nei sondaggi. <br />"); +define("_MD_CAN_ATTACH", "<strong>Puoi</strong> allegare file ai messaggi. <br />"); +define("_MD_CANNOT_ATTACH", "<strong>Non puoi</strong> allegare file ai messaggi. <br />"); +define("_MD_CAN_NOAPPROVE", "<strong>Puoi</strong> inviare messaggi senza approvazione. <br />"); +define("_MD_CANNOT_NOAPPROVE", "<strong>Non puoi</strong> inviare messaggi senza approvazione. <br />"); +define("_MD_CAN_TYPE", "<strong>Puoi</strong> usare il tipo argomento. <br />"); +define("_MD_CANNOT_TYPE", "<strong>Non puoi</strong> utilizzare tipo di argomento. <br />"); +define("_MD_CAN_HTML", "<strong>Puoi</strong> utilizzare la sintassi HTML. <br />"); +define("_MD_CANNOT_HTML", "<strong>Non puoi</strong> utilizzare la sintassi HTML. <br />"); +define("_MD_CAN_UPLOAD", "<strong>Puoi</strong> caricare. <br />"); +define("_MD_CANNOT_UPLOAD", "<strong>Non puoi</strong> caricare. <br />"); +define("_MD_CAN_SIGNATURE", "<strong>Puoi</strong> utilizzare la firma. <br />"); +define("_MD_CANNOT_SIGNATURE", "<strong>Non puoi</strong> utilizzare la firma. <br />"); + +define("_MD_IMTOPICS", "Argomenti importanti"); +define("_MD_NOTIMTOPICS", "Argomenti forum"); +define("_MD_FORUMOPTION", "Forum opzioni"); + +define("_MD_VAUP", "Visualizza tutti i messaggi senza risposta"); +define("_MD_VANP", "Visualizza tutti i nuovi posti"); + + +define("_MD_UNREPLIED", "Discussioni senza risposta"); +define("_MD_UNREAD", "Discussioni non lette"); +define("_MD_ALL", "Tutti gli argomenti"); +define("_MD_ALLPOSTS", "tutti i messaggi"); +define("_MD_VIEW", "Visualizza"); + +//viewtopic.php +define("_MD_AUTHOR", "Autore"); +define("_MD_LOCKTOPIC", "Bloccare questo argomento"); +define("_MD_UNLOCKTOPIC", "Sbloccare questo argomento"); +define("_MD_UNSTICKYTOPIC", "Fanno di questo argomento UnSticky"); +define("_MD_STICKYTOPIC", "Fanno di questo argomento in rilievo"); +define("_MD_DIGESTTOPIC", "Fare di questo tema come Digest"); +define("_MD_UNDIGESTTOPIC", "Fare di questo tema come UnDigest"); +define("_MD_MERGETOPIC", "Unisci questo argomento"); +define("_MD_MOVETOPIC", "Spostare questo argomento"); +define("_MD_DELETETOPIC", "DELETE TOPIC"); +define("_MD_TOP", "In alto"); +define("_MD_BOTTOM", "In basso"); +define("_MD_PREVTOPIC", "Argomento precedente"); +define("_MD_NEXTTOPIC", "Argomento successivo"); +define("_MD_GROUP", "raggruppare"); +define("_MD_QUICKREPLY", "Risposta veloce"); +define("_MD_POSTREPLY", "Inviare una risposta"); +define("_MD_PRINTTOPICS", "Stampa argomento"); +define("_MD_PRINT", "Stampa"); +define("_MD_REPORT", "relazione, rapporto"); +define("_MD_PM", "PM"); +define("_MD_EMAIL", "Invia per e-mail"); +define("_MD_WWW", "WWW"); +define("_MD_AIM", "Obiettivo"); +define("_MD_YIM", "YIM"); +define("_MD_MSNM", "MSNM"); +define("_MD_ICQ", "Icq"); +define("_MD_PRINT_TOPIC_LINK", "URL per questa discussione"); +define("_MD_ADDTOLIST", "Aggiungi alla lista dei contatti"); +define("_MD_TOPICOPT", "Topic opzioni"); +define("_MD_VIEWMODE", "Modalità di vista"); +define("_MD_NEWEST", "A partire dall'ultimo"); +define("_MD_OLDEST", "A partire dal primo"); + +define("_MD_FORUMSEARCH", "Cerca nel Forum"); + +define("_MD_RATED", "Nominale:"); +define("_MD_RATE", "Vota discussione"); +define("_MD_RATEDESC", "Vota questa discussione"); +define("_MD_RATING", "Vota ora"); +define("_MD_RATE1", "Terribile"); +define("_MD_RATE2", "Brutto"); +define("_MD_RATE3", "Media"); +define("_MD_RATE4", "Buona"); +define("_MD_RATE5", "ottima"); + +define("_MD_TOPICOPTION", "Topic opzioni"); +define("_MD_KARMA_REQUIREMENT", "Il vostro personal %s karm non raggiunge il karma richiesto %s. <br /> Riprova più tardi."); +define("_MD_REPLY_REQUIREMENT", "Per visualizzare questo post, è necessario login e prima risposta."); +define("_MD_TOPICOPTIONADMIN", "Topic Admin opzioni"); +define("_MD_POLLOPTIONADMIN", "Sondaggio Admin opzioni"); + +define("_MD_EDITPOLL", "Modifica questo sondaggio"); +define("_MD_DELETEPOLL", "Elimina questo sondaggio"); +define("_MD_RESTARTPOLL", "Riavviare questo sondaggio"); +define("_MD_ADDPOLL", "Aggiungi un sondaggio"); + +define("_MD_QUICKREPLY_EMPTY", "Immettere una risposta veloce qui"); + +define("_MD_LEVEL", "Livello:"); +define("_MD_HP", "HP:"); +define("_MD_MP", "MP:"); +define("_MD_EXP", "EXP:"); + +define("_MD_BROWSING", "Naviga in questa discussione:"); +define("_MD_POSTTONEWS", "Invia questo post per una notizia"); + +define("_MD_EXCEEDTHREADVIEW", "Numero di messaggi supera la soglia per la modalità filo <br /> Cambiare la modalità piatto"); +//forumform.inc +define("_MD_PRIVATE", "Questo è un forum <strong>privato.</strong> <br /> Solo gli utenti con accesso speciale possono inserire nuovi argomenti e le risposte a questo forum"); +define("_MD_QUOTE", "Citazione"); +define("_MD_VIEW_REQUIRE", "Visualizza i requisiti"); +define("_MD_REQUIRE_KARMA", "Karma"); +define("_MD_REQUIRE_REPLY", "Rispondi"); +define("_MD_REQUIRE_NULL", "Nessun requisito"); + +define("_MD_SELECT_FORMTYPE", "Selezionare il tipo di forma desiderata"); + +define("_MD_FORM_COMPACT", "compattare"); +define("_MD_FORM_DHTML", "DHTML"); +define("_MD_FORM_SPAW", "Spaw Editor"); +define("_MD_FORM_HTMLAREA", "HTMLArea"); +define("_MD_FORM_FCK", "FCK Editor"); +define("_MD_FORM_KOIVI", "Koivi Editor"); +define("_MD_FORM_TINYMCE", "TinyMCE Editor"); + +// ERROR messages +define("_MD_ERRORFORUM", "ERRORE: Forum non selezionato!"); +define("_MD_ERRORPOST", "ERRORE: Messaggio non selezionato!"); +define("_MD_NORIGHTTOVIEW", "Non hai il diritto di visualizzare questo argomento."); +define("_MD_NORIGHTTOPOST", "Non hai il diritto di scrivere su questo forum."); +define("_MD_NORIGHTTOEDIT", "Non hai il diritto di modificare in questo forum."); +define("_MD_NORIGHTTOREPLY", "Non hai il diritto di replica in questo forum."); +define("_MD_NORIGHTTOACCESS", "Non hai il diritto di accedere a questo forum."); +define("_MD_ERRORTOPIC", "ERRORE: Topic non selezionato!"); +define("_MD_ERRORCONNECT", "ERRORE: Impossibile connettersi al database del forum."); + +define("_MD_ERROREXIST", "ERRORE: Il forum che hai selezionato non esiste. Si prega di tornare indietro e riprovare."); +define("_MD_ERROROCCURED", "Si è verificato un errore"); +define("_MD_COULDNOTQUERY", "Impossibile interrogare il database forum."); + +define("_MD_FORUMNOEXIST", "Errore - Il forum / discussione che hai selezionato non esiste. Si prega di tornare indietro e riprovare."); +define("_MD_USERNOEXIST", "Che l'utente non esiste. Torna indietro e cerca di nuovo."); +define("_MD_COULDNOTREMOVE", "Errore - Impossibile rimuovere i messaggi dal database!"); +define("_MD_COULDNOTREMOVETXT", "Errore - Impossibile rimuovere i testi post!"); +define("_MD_TIMEISUP", "Il tuo è raggiungere il limite di tempo per modificare il tuo post."); +define("_MD_TIMEISUPDEL", "Il tuo è raggiungere il limite di tempo per cancellare il tuo post."); + +//reply.php +define("_MD_ON", "su"); +define("_MD_USERWROTE", "%s ha scritto:"); +define("_MD_RE", "Re"); + +//post.php +define("_MD_EDITNOTALLOWED", "Non sei autorizzato a modificare questo post!"); +define("_MD_EDITEDBY", "A cura di/della"); +define("_MD_ANONNOTALLOWED", "Gli utenti anonimi non possono postare. <br /> Si prega di registrarsi."); +define("_MD_THANKSSUBMIT", "Grazie per il tuo contributo!"); +define("_MD_REPLYPOSTED", "Una risposta al tuo argomento è stato pubblicato."); +define("_MD_HELLO", "Ciao %s,"); +define("_MD_URRECEIVING", "Hai ricevuto questa email perchè un messaggio pubblicato sul forum %s è stato risposto."); +define("_MD_CLICKBELOW", "Clicca sul link sottostante per visualizzare il thread:"); +define("_MD_WAITFORAPPROVAL", "Grazie. Il tuo messaggio sarà approvato prima della pubblicazione."); +define("_MD_POSTING_LIMITED", "Perchè non fare una pausa e tornare in% d sec"); + +//forumform.inc +define("_MD_NAMEMAIL", "Nome / E-mail:"); +define("_MD_LOGOUT", "Chiudi collegamento"); +define("_MD_REGISTER", "registrare"); +define("_MD_SUBJECTC", "Elemento:"); +define("_MD_MESSAGEICON", "Icona etichetta messaggio"); +define("_MD_MESSAGEC", "<u>M</u>essaggio:"); +define("_MD_ALLOWEDHTML", "HTML consentito:"); +define("_MD_OPTIONS", "Opzioni:"); +define("_MD_POSTANONLY", "Messaggio anonimo"); +define("_MD_DOSMILEY", "Abilita Smiley"); +define("_MD_DOXCODE", "Abilita Codice Xoops"); +define("_MD_DOBR", "Abilita interruzione di riga (Suggest per spegnere se l'HTML abilitato)"); +define("_MD_DOHTML", "Abilita tag html"); +define("_MD_NEWPOSTNOTIFY", "Comunica di nuovi posti in questa discussione"); +define("_MD_ATTACHSIG", "Allega Firma"); +define("_MD_POST", "inserire"); +define("_MD_SUBMIT", "Inoltra"); +define("_MD_CANCELPOST", "Annulla il post"); +define("_MD_REMOVE", "Disinstalla"); +define("_MD_UPLOAD", "caricare"); + +// forumuserpost.php +define("_MD_ADD", "Aggiungi"); +define("_MD_REPLY", "Rispondi"); + +// topicmanager.php +define("_MD_VIEWTHETOPIC", "Visualizzare l'argomento"); +define("_MD_RETURNTOTHEFORUM", "Tornare al forum"); +define("_MD_RETURNFORUMINDEX", "Torna all'indice del forum"); +define("_MD_ERROR_BACK", "Errore - Si prega di tornare indietro e riprovare."); +define("_MD_GOTONEWFORUM", "Visualizzare l'argomento aggiornato"); + +define("_MD_TOPICDELETE", "L'argomento è stato eliminato."); +define("_MD_TOPICMERGE", "L'argomento è stato unito."); +define("_MD_TOPICMOVE", "La discussione è stata spostata."); +define("_MD_TOPICLOCK", "La discussione è stata bloccata."); +define("_MD_TOPICUNLOCK", "L'argomento è stato sbloccato."); +define("_MD_TOPICSTICKY", "La discussione è stata messa in rilievo."); +define("_MD_TOPICUNSTICKY", "La discussione è stata unStickyed."); +define("_MD_TOPICDIGEST", "La discussione è stata selezionata."); +define("_MD_TOPICUNDIGEST", "L'argomento è stato digerito."); + +define("_MD_DELETE", "Elimina"); +define("_MD_MOVE", "spostare"); +define("_MD_MERGE", "Unisci"); +define("_MD_LOCK", "Blocco"); +define("_MD_UNLOCK", "Sblocca"); +define("_MD_STICKY", "Adesivo"); +define("_MD_UNSTICKY", "unSticky"); +define("_MD_DIGEST", "Raccolta"); +define("_MD_UNDIGEST", "unDigest"); + +define("_MD_DESC_DELETE", "Una volta che si preme il pulsante Elimina nella parte inferiore di questa forma il tema che hai selezionato, e tutti i suoi post correlati, verrà <strong>definitivamente</strong> rimosso."); +define("_MD_DESC_MOVE", "Una volta premuto il pulsante spostarsi nella parte inferiore del presente modulo il tema che hai selezionato, e il suo post correlati, verrà spostato il forum che hai selezionato."); +define("_MD_DESC_MERGE", "Una volta premuto il pulsante di unione nella parte inferiore di questa forma il tema che hai selezionato, e il suo post correlati, verranno unite al tema che avete selezionato. <br /> <strong>L'ID topic di destinazione deve essere minore di quella attuale.</strong>"); +define("_MD_DESC_LOCK", "Una volta premuto il pulsante di blocco in fondo a questa forma il tema che avete selezionato verrà bloccato. Si può sbloccare in un secondo momento, se volete."); +define("_MD_DESC_UNLOCK", "Una volta premuto il pulsante di sblocco sul fondo di questa forma il tema che avete selezionato sarà sbloccato. Potete bloccare di nuovo in un secondo momento, se volete."); +define("_MD_DESC_STICKY", "Una volta che si preme il pulsante in rilievo nella parte inferiore del presente modulo il tema che avete selezionato sarà messa in rilievo. Potete unSticky di nuovo in un secondo momento, se volete."); +define("_MD_DESC_UNSTICKY", "Una volta che si preme il pulsante unSticky in fondo questa forma il tema che avete selezionato sarà unStickyed. Si può in rilievo di nuovo in un secondo momento, se volete."); +define("_MD_DESC_DIGEST", "Una volta che si preme il pulsante Digest in fondo questa forma il tema che avete selezionato sarà digerito. Potete unDigest di nuovo in un secondo momento, se volete."); +define("_MD_DESC_UNDIGEST", "Una volta premuto il pulsante unDigest in fondo questa forma il tema che avete selezionato sarà digerito. Potete Digest di nuovo in un secondo momento, se volete."); +define("_MD_MERGETOPICTO", "Unire Topic a:"); +define("_MD_MOVETOPICTO", "Muovi il Topic a:"); +define("_MD_NOFORUMINDB", "Nessun Forum nel DB"); + +// delete.php +define("_MD_DELNOTALLOWED", "Ci dispiace, ma non si \\ 'nuovamente autorizzato a eliminare questo post."); +define("_MD_AREUSUREDEL", "Sei sicuro di voler cancellare questo post e tutti i suoi messaggi figlio?"); +define("_MD_POSTSDELETED", "Selezionato post e tutti i suoi messaggi figlio cancellati."); +define("_MD_POSTDELETED", "Messaggio selezionato cancellati."); +define("_MD_POSTFIRSTWITHREPLYNODELETED", "L'inizio distacco non può essere eliminato se ci sono già risposte <br /> fare questo, eliminare l'intero argomento."); + +// definitions moved from global. +define("_MD_THREAD", "Thread"); +define("_MD_FROM", "Da"); +define("_MD_JOINED", "Inserito"); +define("_MD_ONLINE", "in linea"); +define("_MD_OFFLINE", "Non In Linea"); +define("_MD_FLAT", "appartamento"); + + +// online.php +define("_MD_USERS_ONLINE", "Utenti online:"); +define("_MD_ANONYMOUS_USERS", "Utenti anonimi"); +define("_MD_REGISTERED_USERS", "Utenti Registrati"); +define("_MD_BROWSING_FORUM", "Gli utenti stanno navigando nel forum"); +define("_MD_TOTAL_ONLINE", "Totale% d utenti online."); +define("_MD_ADMINISTRATOR", "amministratore"); + +define("_MD_NO_SUCH_FILE", "Il file non esiste!"); +define("_MD_ERROR_UPATEATTACHMENT", "Errore si verificano durante l'aggiornamento allegato"); + +// ratethread.php +define("_MD_CANTVOTEOWN", "Non si può votare sul tema che hai inviato. <br /> Tutti i voti sono registrati e valutati."); +define("_MD_VOTEONCE", "Si prega di non votare per lo stesso argomento più di una volta."); +define("_MD_VOTEAPPRE", "Il tuo voto è apprezzato."); +define("_MD_THANKYOU", "Grazie per aver dedicato del tempo a votare qui a %s"); +define("_MD_VOTES", "Voti"); +define("_MD_NOVOTERATE", "Non hai votare questo Topic"); + + +// polls.php +define("_MD_POLL_DBUPDATED", "Database aggiornato con successo!"); +define("_MD_POLL_POLLCONF", "Sondaggi di configurazione"); +define("_MD_POLL_POLLSLIST", "Sondaggi Lista"); +define("_MD_POLL_AUTHOR", "Autore di questo sondaggio"); +define("_MD_POLL_DISPLAYBLOCK", "Display in blocco?"); +define("_MD_POLL_POLLQUESTION", "Domanda sondaggio"); +define("_MD_POLL_VOTERS", "Totale votanti"); +define("_MD_POLL_VOTES", "Voti totali"); +define("_MD_POLL_EXPIRATION", "Scadenza"); +define("_MD_POLL_EXPIRED", "Scaduto"); +define("_MD_POLL_VIEWLOG", "Visualizzare log"); +define("_MD_POLL_CREATNEWPOLL", "Crea nuovo sondaggio"); +define("_MD_POLL_POLLDESC", "Descrizione"); +define("_MD_POLL_DISPLAYORDER", "Ordine dei nomi di visualizzazione"); +define("_MD_POLL_ALLOWMULTI", "Consenti selezioni multiple"); +define("_MD_POLL_NOTIFY", "Notificare l'autore sondaggio quando è scaduta?"); +define("_MD_POLL_POLLOPTIONS", "Opzioni"); +define("_MD_POLL_EDITPOLL", "Modifica Sondaggio"); +define("_MD_POLL_FORMAT", "Formato: aaaa-mm-gg hh: mm: ss"); +define("_MD_POLL_CURRENTTIME", "Ora corrente è %s"); +define("_MD_POLL_EXPIREDAT", "Scaduto a %s"); +define("_MD_POLL_RESTART", "Riavviare questo sondaggio"); +define("_MD_POLL_ADDMORE", "Aggiungere altre opzioni"); +define("_MD_POLL_RUSUREDEL", "Sei sicuro di voler cancellare questo sondaggio e tutti i suoi commenti?"); +define("_MD_POLL_RESTARTPOLL", "Riavviare sondaggio"); +define("_MD_POLL_RESET", "Azzerare tutti i registri per questo sondaggio?"); +define("_MD_POLL_ADDPOLL", "Aggiungi un sondaggio"); +define("_MD_POLLMODULE_ERROR", "xoopspoll modulo non disponibili per l'uso"); + +//report.php +define("_MD_REPORTED", "Grazie per aver segnalato questo post / thread! Un moderatore controllerà il tuo rapporto a breve."); +define("_MD_REPORT_ERROR", "Errore durante l'invio del rapporto."); +define("_MD_REPORT_TEXT", "messaggio di report"); + +define("_MD_PDF", "Crea PDF dal messaggio"); +define("_MD_PDF_PAGE", "Pagina %s"); + +//print.php +define("_MD_COMEFROM", "Questo post è stato a partire da:"); + +//viewpost.php +define("_MD_VIEWALLPOSTS", "Tutti i messaggi"); +define("_MD_VIEWTOPIC", "Argomento"); +define("_MD_VIEWFORUM", "Discussione"); + +define("_MD_COMPACT", "compattare"); + +define("_MD_MENU_SELECT", "Selezione"); +define("_MD_MENU_HOVER", "Al passaggio del mouse"); +define("_MD_MENU_CLICK", "fare clic"); + +define("_MD_WELCOME_SUBJECT", "%s si è unito al forum"); +define("_MD_WELCOME_MESSAGE", "Ciao, %s ti ha unito. Cominciamo ..."); + +define("_MD_VIEWNEWPOSTS", "Messaggi recenti"); + +define("_MD_INVALID_SUBMIT", "Invio non valido. Si potrebbe avere superato il tempo della sessione. Si prega di ri-presentare o fare un backup dei vostri post e login per inviare di nuovo se necessario."); +define("_MD_ACCOUNT", "account, account"); +define("_MD_NAME", "Nome"); +define("_MD_PASSWORD", ""); +define("_MD_LOGIN", "Login"); + +define("_MD_APPROVE", "Approva"); +define("_MD_RESTORE", "ripristino"); +define("_MD_SPLIT_ONE", "Dividere"); +define("_MD_SPLIT_TREE", "Dividere tutti i bambini"); +define("_MD_SPLIT_ALL", "Dividere"); + +define("_MD_TYPE_ADMIN", "Modalità amministratore"); +define("_MD_TYPE_VIEW", "Modalità di vista"); +define("_MD_TYPE_PENDING", "In sospeso"); +define("_MD_TYPE_DELETED", "eliminata"); +define("_MD_TYPE_SUSPEND", "Sospensione"); + +define("_MD_DBUPDATED", "Database aggiornato con successo!"); + +define("_MD_SUSPEND_SUBJECT", "%s utente viene sospeso per% d giorni"); +define("_MD_SUSPEND_TEXT", "%s utente viene sospeso per% d giorni a causa di: <br /> [Quote] %s [/ quote] <br /><br /> La sospensione è valida fino al %s"); +define("_MD_SUSPEND_UID", "ID utente"); +define("_MD_SUSPEND_IP", "Segmenti IP (pieno o segmenti)"); +define("_MD_SUSPEND_DURATION", "Sospensione durata (giorni)"); +define("_MD_SUSPEND_DESC", "Sospensione ragione"); +define("_MD_SUSPEND_LIST", "Sospensione lista"); +define("_MD_SUSPEND_START", "avviare"); +define("_MD_SUSPEND_EXPIRE", "terminare"); +define("_MD_SUSPEND_SCOPE", ""); +define("_MD_SUSPEND_MANAGEMENT", "Moderazione gestione"); +define("_MD_SUSPEND_NOACCESS", "Il tuo ID o IP è stato sospeso"); + +define("_MD_NEWBB_TYPE", "Tipo di argomento"); + +define("_MD_NEWBB_SEENOTGUEST", "<b><font color=\\\"red\\\">Link solo per utenti registrati</font></b>"); +define("_MD_NEWBB_REPORTSUBJECT", "Un contributo è stato segnalato"); +define("_MD_NEWBB_GOTOLASTPOST", "Vai all'ultimo messaggio"); +define("_MD_EDITEDMSG", "Causa:"); +define("_MD_DELEDEDMSG", "Motivo della cancellazione <br /> <small>(Informare l'utente circa il motivo della cancellazione):</small>"); +define("_MD_DELEDEDMSG_SUBJECT", "La cancellazione del tuo articolo"); +define("_MD_DELEDEDMSG_BODY","Hello %s, + +your post in the forum +%s +was deleted by me +As justification, I am taking the following information on: + +%s + +With best greetings +%s +------------------------- +Please do not reply to this message! +%s +%s"); + +// 4.05 - PDF +define("NEWBB_PDF_FORUM", "Discussione"); +define("NEWBB_PDF_TOPIC", "Argomento"); +define("NEWBB_PDF_SUBJECT", "argomento"); +define('NEWBB_PDF_AUTHOR', _POSTEDBY); +define('NEWBB_PDF_DATE', _MD_POSTEDON); +define("NEWBB_PDF_PAGE", "Pagina %s"); + +//4.05 - social +define("_MD_SHARE_FACEBOOK", "Facebook"); +define("_MD_SHARE_TWITTER", "Twitter"); +define("_MD_SHARE_BUZZ", "Google Buzz"); +define("_MD_SHARE_LINKEDIN", "LinkedIn"); +define("_MD_SHARE_STUMBLEUPON", "Stumbleupon"); +define("_MD_SHARE_FRIENDFEED", "FriendFeed"); +define("_MD_SHARE_REDDIT", "Reddit"); +define("_MD_SHARE_DELICIOUS", "Del.icio.us"); +... [truncated message content] |
From: <dj...@us...> - 2012-02-18 19:16:59
|
Revision: 9013 http://xoops.svn.sourceforge.net/xoops/?rev=9013&view=rev Author: djculex Date: 2012-02-18 19:16:52 +0000 (Sat, 18 Feb 2012) Log Message: ----------- - NEW: function to choose random image from uploads and place in update post (djculex) - Bugfix: Added check for preloads javascript vars to see if vars is already defined (djculex) - Bugfix: html_entity_decode is not set in returning image link or post from image uploads (djculex) - Bugfix: Spelling error in english/main.php (tanks -> thanks) (djculex) - Bugfix: on close upload new images do (location.href = 'editimages.php';) instead of index.php - Bugfix: css url() pointing to wrong folder (djculex) - Bugfix: Removed empty <td></td> - Bugfix: moved ui-anim_basic_16x16.gif to ..images/ - Change: Changed update text when upload new images to use image and default uploaded new text (djculex) Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/css/smallworld.css XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt XoopsModules/smallworld/trunk/smallworld/docs/credits.txt XoopsModules/smallworld/trunk/smallworld/image_edit_submit.php XoopsModules/smallworld/trunk/smallworld/include/functions.php XoopsModules/smallworld/trunk/smallworld/js/smallworld.js XoopsModules/smallworld/trunk/smallworld/language/english/main.php XoopsModules/smallworld/trunk/smallworld/preloads/core.php XoopsModules/smallworld/trunk/smallworld/templates/smallworld_userprofile_regtemplate.html Added Paths: ----------- XoopsModules/smallworld/trunk/smallworld/images/ui-anim_basic_16x16.gif Modified: XoopsModules/smallworld/trunk/smallworld/css/smallworld.css =================================================================== --- XoopsModules/smallworld/trunk/smallworld/css/smallworld.css 2012-02-18 17:05:36 UTC (rev 9012) +++ XoopsModules/smallworld/trunk/smallworld/css/smallworld.css 2012-02-18 19:16:52 UTC (rev 9013) @@ -628,7 +628,7 @@ /*-------- JqueryUI items ---------*/ .ui-autocomplete-loading { -background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; +background: white url('../images/ui-anim_basic_16x16.gif') right center no-repeat; } /*-------- Partner search box -------*/ Modified: XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt =================================================================== --- XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt 2012-02-18 17:05:36 UTC (rev 9012) +++ XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt 2012-02-18 19:16:52 UTC (rev 9013) @@ -42,6 +42,18 @@ - Bugfix: Miscount in todays most active users in admin (djculex) - Change: min mysql set to 5.0.5 instead of 5.0.7 (djculex) +18. February +- NEW: function to choose random image from uploads and place in update post (djculex) +- Bugfix: Added check for preloads javascript vars to see if vars is already defined (djculex) +- Bugfix: html_entity_decode is not set in returning image link or post from image uploads (djculex) +- Bugfix: Spelling error in english/main.php (tanks -> thanks) (djculex) +- Bugfix: on close upload new images do (location.href = 'editimages.php';) instead of index.php +- Bugfix: css url() pointing to wrong folder (djculex) +- Bugfix: Removed empty <td></td> +- Bugfix: moved ui-anim_basic_16x16.gif to ..images/ +- Change: Changed update text when upload new images to use image and default uploaded new text (djculex) + + ------------------------------ Changelog v.1.10 RC ------------------------------ Modified: XoopsModules/smallworld/trunk/smallworld/docs/credits.txt =================================================================== --- XoopsModules/smallworld/trunk/smallworld/docs/credits.txt 2012-02-18 17:05:36 UTC (rev 9012) +++ XoopsModules/smallworld/trunk/smallworld/docs/credits.txt 2012-02-18 19:16:52 UTC (rev 9013) @@ -4,7 +4,7 @@ Development first aid for keeping ready for blue move by Mamba -Testing and feedback especially by Mariane, Pavlina & Mamba +Testing and feedback especially by Mariane, Pavlina, Dante7237, Mcron & Mamba Credit also to original plugins that I have moderated to fix this project Modified: XoopsModules/smallworld/trunk/smallworld/image_edit_submit.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/image_edit_submit.php 2012-02-18 17:05:36 UTC (rev 9012) +++ XoopsModules/smallworld/trunk/smallworld/image_edit_submit.php 2012-02-18 19:16:52 UTC (rev 9013) @@ -28,8 +28,14 @@ $userID = $xoopsUser->getVar('uid'); $user = new XoopsUser($userID); $username = $user->getVar('uname'); + $ri = smallworld_getRndImg($userID); + if ($ri != '') { + $riUrl = XOOPS_URL."/uploads/albums_smallworld/".$userID."/".$ri; + } - $update = "........"._SMALLWORLD_UPLOADEDSOMEIMAGES.XOOPS_URL."/modules/smallworld/galleryshow.php?username=".$username; + $update = "........" . _SMALLWORLD_UPLOADEDSOMEIMAGES + . "<br/>".$riUrl; + $upd->Insert_Update($userID, $update); $db->handleImageEdit (); ?> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/images/ui-anim_basic_16x16.gif =================================================================== (Binary files differ) Property changes on: XoopsModules/smallworld/trunk/smallworld/images/ui-anim_basic_16x16.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: XoopsModules/smallworld/trunk/smallworld/include/functions.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/include/functions.php 2012-02-18 17:05:36 UTC (rev 9012) +++ XoopsModules/smallworld/trunk/smallworld/include/functions.php 2012-02-18 19:16:52 UTC (rev 9013) @@ -233,8 +233,9 @@ '<a href="\\1">lala</a>', $text); $text = preg_replace('/([[:space:]()[{}])(www.[-a-zA-Z0-9@:%_\+.~#?&\/\/=]+)/i', '\\1<img class="smallworldAttImg" src="//\\2"><a class="smallworldAttImgTxt" href="//\\2">'._SMALLWORLD_CLICKIMAGETHUMB.'</a><br>', $text); + $text = html_entity_decode($text,ENT_QUOTES,"UTF-8"); } else { - $text = html_entity_decode($text); + $text = html_entity_decode($text,ENT_QUOTES,"UTF-8"); $text = " " . $text; $text = preg_replace('/(((f|ht){1}tp:\/\/)[-a-zA-Z0-9@:%_\+.~#?&\/\/=]+)/i', '<a href="\\1">\\1</a>', $text); @@ -806,4 +807,25 @@ } else { return ''; } - } \ No newline at end of file + } + + /** + * @do db query for images upload last 5 minutes by spec. userid and return random + * @param int $userid + * @returns string + */ + function smallworld_getRndImg($userid) + { + global $xoopsDB; + $sql = "SELECT imgname FROM " . $xoopsDB->prefix('smallworld_images') . " WHERE userid = " . $userid + . " AND time BETWEEN UNIX_TIMESTAMP( ) - 3000 AND UNIX_TIMESTAMP() ORDER BY rand() limit 1"; + $result = $xoopsDB->queryF($sql); + while ($r = $xoopsDB->fetchArray($result)) { + $img = $r['imgname']; + } + if (!empty($img)) { + return $img; + } else { + return false; + } + } \ No newline at end of file Modified: XoopsModules/smallworld/trunk/smallworld/js/smallworld.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/js/smallworld.js 2012-02-18 17:05:36 UTC (rev 9012) +++ XoopsModules/smallworld/trunk/smallworld/js/smallworld.js 2012-02-18 19:16:52 UTC (rev 9013) @@ -117,7 +117,7 @@ xoops_smallworld('#file_upload').hide(); }, onClosed:function() { - location.href = 'index.php'; + location.href = 'editimages.php'; }, href:"#file_upload", onComplete : function() { Modified: XoopsModules/smallworld/trunk/smallworld/language/english/main.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/english/main.php 2012-02-18 17:05:36 UTC (rev 9012) +++ XoopsModules/smallworld/trunk/smallworld/language/english/main.php 2012-02-18 19:16:52 UTC (rev 9013) @@ -100,7 +100,7 @@ define("_SMALLWORLD_NOTYETUSER_BOXTEXT","In order to use this module, you'll need to fill out an extra profile-form. <br><br>Press ok to continue to registration or press cancel<br><br>to go back to your index page."); define("_SMALLWORLD_NOTYETREGISTERED_TITLE","Continue to finish setup"); -define ("_SMALLWORLD_TEXTBEFORESUBMIT","Continue to save your information to the database.<br><br>After this you are able to visit your page,<br>and other users pages.<br><br>Tank you for your time."); +define ("_SMALLWORLD_TEXTBEFORESUBMIT","Continue to save your information to the database.<br><br>After this you are able to visit your page,<br>and other users pages.<br><br>Thank you for your time."); define("_SMALLWORLD_FRIENDSINVITATIONS","Friendship requests"); define("_SMALLWORLD_DATERECIEVED","Date"); define("_SMALLWORLD_ACCEPT","Accept"); Modified: XoopsModules/smallworld/trunk/smallworld/preloads/core.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/preloads/core.php 2012-02-18 17:05:36 UTC (rev 9012) +++ XoopsModules/smallworld/trunk/smallworld/preloads/core.php 2012-02-18 19:16:52 UTC (rev 9013) @@ -74,24 +74,31 @@ // Get users messages count based on users followerArray $getUserMsgNum = smallworld_getCountFriendMessagesEtc (); - - $script = "var smallworld_url = '" . $xoops_url . "/modules/smallworld/" . "';\n"; - $script .= "var smallworld_uploaddir = '" . $xoops_url . "/uploads/avatars/" . "';\n"; - $script .= "var xoops_smallworld = jQuery.noConflict();\n"; - $script .= "var myID = " . $myid . ";\n"; - $script .= "var userHasProfile = " . $ChkProf . ";\n"; - $script .= "var smallworldTakeOverLinks = " . $takeoverlinks . ";\n"; - $script .= "var geoL = " . $geolocate . ";\n"; - $script .= "var geocomplete = '';\n"; - $script .= "var smallworldVerString = '" . $smallworldUV . "';\n"; - $script .= "var smallworlduseverification = new Array();\n"; - $script .= "smallworlduseverification = smallworldVerString.split(',');\n"; - $script .= "var hasmessages = " . $count_invit . ";\n"; - $script .= "var smallworldvalidationstrenght = " . $validate . ";\n"; - $script .= "var smallworld_getFriendsMsgComCount = " . $getUserMsgNum . ";\n"; - $script .= "var $ = jQuery();\n"; - $xoTheme->addScript('','',$script); + + // Set javascript vars but only if not already defined. + // Check prevents multible loads + $script = "if (myID === undefined) {"."\n"; + $script .= "var smallworld_url = '" . $xoops_url . "/modules/smallworld/" . "';\n"; + $script .= "var smallworld_uploaddir = '" . $xoops_url . "/uploads/avatars/" . "';\n"; + $script .= "var xoops_smallworld = jQuery.noConflict();\n"; + $script .= "var myID = " . $myid . ";\n"; + $script .= "var userHasProfile = " . $ChkProf . ";\n"; + $script .= "var smallworldTakeOverLinks = " . $takeoverlinks . ";\n"; + $script .= "var geoL = " . $geolocate . ";\n"; + $script .= "var geocomplete = '';\n"; + $script .= "var smallworldVerString = '" . $smallworldUV . "';\n"; + $script .= "var smallworlduseverification = new Array();\n"; + $script .= "smallworlduseverification = smallworldVerString.split(',');\n"; + $script .= "var hasmessages = " . $count_invit . ";\n"; + $script .= "var smallworldvalidationstrenght = " . $validate . ";\n"; + $script .= "var smallworld_getFriendsMsgComCount = " . $getUserMsgNum . ";\n"; + $script .= "var $ = jQuery();\n"; + $script .= "} else {"."\n"; + $script .= "\n"; + $script .= "}"."\n"; + $xoTheme->addScript('','',$script); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/smallworld.js'); $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.validate.js'); $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.validation.functions.js'); Modified: XoopsModules/smallworld/trunk/smallworld/templates/smallworld_userprofile_regtemplate.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/templates/smallworld_userprofile_regtemplate.html 2012-02-18 17:05:36 UTC (rev 9012) +++ XoopsModules/smallworld/trunk/smallworld/templates/smallworld_userprofile_regtemplate.html 2012-02-18 19:16:52 UTC (rev 9013) @@ -217,7 +217,7 @@ <{section name=i loop=$present_country_img}> <{$present_country_img[i]}> <{/section}> - </td><td style="right:2px" id="cityflag"></td> + </td> </div> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tst...@us...> - 2012-02-18 17:05:47
|
Revision: 9012 http://xoops.svn.sourceforge.net/xoops/?rev=9012&view=rev Author: tstempko Date: 2012-02-18 17:05:36 +0000 (Sat, 18 Feb 2012) Log Message: ----------- Added Paths: ----------- XoopsLanguages/polish/modules/simplywiki/ XoopsLanguages/polish/modules/simplywiki/1.2/ XoopsLanguages/polish/modules/simplywiki/1.2/language/ XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/ XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/admin.php XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/blocks.php XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/changeEncoding.py.Bcareful XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/index.html XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/install.php XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/mail_template/ XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/mail_template/global_pagemodified_notify.tpl XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/mail_template/index.html XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/main.php XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/modinfo.php XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/update.php Property changes on: XoopsLanguages/polish/modules/simplywiki ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/polish/modules/simplywiki/1.2 ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/polish/modules/simplywiki/1.2/language ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/polish/modules/simplywiki/1.2/language/polish ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/admin.php =================================================================== --- XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/admin.php (rev 0) +++ XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/admin.php 2012-02-18 17:05:36 UTC (rev 9012) @@ -0,0 +1,96 @@ +<?php +/* + * Module and admin language definition + * + * _BTN : text within buttons or action links + * _COL : column headers + * _TXT : "verbose" text (probably within content) + * _FLD : title of form elements + * _DESC : description under the title for form elements + * _MSG : messages, alerts ... + * + */ + + +define('_AM_SWIKI_ADMIN_TXT','Administracja modułem'); +define('_AM_SWIKI_PAGESFILTER_TXT','Pokaż strony dla których'); +define('_AM_SWIKI_LIKE_TXT','zawiera'); +define('_AM_SWIKI_PROFILEIS_TXT','jest'); +define('_AM_SWIKI_ORDERBY_TXT',', uporządkowane według'); +define('_AM_SWIKI_LISTPAGES_RESULTS_TXT','wyniki'); +define('_AM_SWIKI_ACLADMIN_TXT','usuwanie profilu uprawnień'); + +define('_AM_SWIKI_SELECTACL_BOX',''); +define('_AM_SWIKI_SELECTACL_TXT','modyfikuj profil :'); +define('_AM_SWIKI_CREATEACL_TXT','lub stwórz nowy :'); +define('_AM_SWIKI_EDITACL_TXT','Informacja o profilu'); +define('_AM_SWIKI_ACLHELP_TXT',' + <P>Uprawnienia są zbiorem nazwanych profili opisujących grupy xoopsowe i z osobna ich uprawnienia do odczytu/zapisu/administracji poszczególnymi stronami.</P> + <UL> + <LI>Pisarze mogą modyfikować bieżącą stronę i tworzyć nowe strony należące do tego samego profilu.</LI> + <LI>Administratorzy mogą zmieniać profil na dowolny w którym mają prawo administracji.</LI></UL> + <P>Nowe strony mają domyślnie ten sam profil co ich strona nadrzędna (rodzicielska).</P> + <P>Profile również określają kto może czytać/pisać komentarze. Jest to przydatne np. by umożliwić prywatne komentarze na publicznych stronach ...</P> + <P>UWAGA : Webmasterzy Xoops zawsze mają pełne prawa do stron SimplyWiki.</P> + '); +define('_AM_SWIKI_DELCONFIRMTITLE_TXT','USUWANIE PROFILU - POTWIERDZENIE'); +define('_AM_SWIKI_DELCONFIRM_TXT','Jesteś bliski usunięcia profilu. Jeśli chcesz to zrobić potwierdź proszę zaznaczając checkbox.'); +define('_AM_SWIKI_DELREDIR_TXT','Wybierz nowy profil dla stron które były dotychczas powiązane z usuwanym profilem.'); + +define('_AM_SWIKI_LISTPAGES_BTN','<< Spowrotem do listy stron'); +define('_AM_SWIKI_CREATEACL_BTN','Nowa'); +define('_AM_SWIKI_EDITACL_SAVE_BTN','Zapisz'); +define('_AM_SWIKI_EDITACL_DELETE_BTN','Usuń'); +define('_AM_SWIKI_EDITACL_CANCEL_BTN','Anuluj'); +define('_AM_SWIKI_CLEANUPDB_BTN','Wyczyść bazę danych'); + + +define('_AM_SWIKI_ACLNAME_FLD','Nazwa profilu'); +define('_AM_SWIKI_ACLDESC_FLD','Opis profilu'); +define('_AM_SWIKI_READERS_FLD','Grupy z prawem odczytu'); +define('_AM_SWIKI_WRITERS_FLD','Grupy z prawem zapisu'); +define('_AM_SWIKI_ADMINISTRATORS_FLD','Grupy z prawem administracji'); +define('_AM_SWIKI_COMMENTS_FLD','Kto może czytać/wysyłać komentarze :'); +define('_AM_SWIKI_HISTORY_FLD','Kto ma dostęp do historii zmian strony :'); +define('_AM_SWIKI_DELREDIR_FLD','Profil zastępczy :'); + +define('_AM_SWIKI_SELECTACL_OPT','(wybierz)'); +define('_AM_SWIKI_READERS_OPT','Czytelnicy'); +define('_AM_SWIKI_WRITERS_OPT','Pisarze'); +define('_AM_SWIKI_ADMINISTRATORS_OPT','Administratorzy'); +define('_AM_SWIKI_COMMENTS_NONE_OPT','(bez komentarzy)'); +define('_AM_SWIKI_HISTORY_NONE_OPT','(bez historii)'); +define('_AM_SWIKI_DELCONFIRM_OPT','TAK, chcę skasować ten profil.'); + +define('_AM_SWIKI_LISTPAGES_ALLPAGES_OPT','wszystkie strony'); +define('_AM_SWIKI_LISTPAGES_KEYWORD_OPT','nazwa'); +define('_AM_SWIKI_LISTPAGES_TITLE_OPT','tytuł'); +define('_AM_SWIKI_LISTPAGES_BODY_OPT','zawartość'); +define('_AM_SWIKI_LISTPAGES_UID_OPT','ostatni autor'); +define('_AM_SWIKI_LISTPAGES_PARENT_OPT','strona nadrzędna'); +define('_AM_SWIKI_LISTPAGES_PRID_OPT','profil'); +define('_AM_SWIKI_LISTPAGES_LASTMODIFIED_OPT','ostatnio zmodyfikowana'); +define('_AM_SWIKI_LISTPAGES_ORDERDESC_OPT','malejąco Z-A'); +define('_AM_SWIKI_LISTPAGES_ORDERASC_OPT','rosnąco A-Z'); + +define('_AM_SWIKI_LISTPAGE_NAV','szukaj stron'); +define('_AM_SWIKI_HISTORY_NAV','historia'); +define('_AM_SWIKI_ACLADMIN_NAV','uprawnienia (ACL)'); +define("_AM_SWIKI_BLOCKSNGROUPS_NAV", "bloki i grupy"); + +define('_AM_SWIKI_NOPAGESPECIFIED_MSG','Proszę wybierz stronę'); +define('_AM_SWIKI_CONFIRMDEL_MSG','Czy naprawdę chcesz skasować tę stronę SimplyWiki'); +define('_AM_SWIKI_CONFIRMFIX_MSG','Czy naprawdę chcesz naprawić tę stronę SimplyWiki'); +define('_AM_SWIKI_CONFIRMCLEAN_MSG','Czy naprawdę chcesz wyczyścić bazę danych'); +define('_AM_SWIKI_PRFSAVESUCCESS_MSG','Profil pomyślnie zapisany w bazie'); +define('_AM_SWIKI_PRFSAVEFAILED_MSG','Błąd podczas zapisu profilu. Baza danych NIE została zaktualizowana'); +define('_AM_SWIKI_ERRDELETE_MSG','Błąd : nie mogę usunąć profilu'); +define('_AM_SWIKI_PRFDELSUCCESS_MSG','Profil pomyślnie usunięty z bazy danych.'); +define('_AM_SWIKI_PRFDELFAILED_MSG','Błąd podczas usuwania profilu. Baza danych NIE została zaktualizowana'); +define('_AM_SWIKI_SYS_CFG','Konfiguracja systemu'); + +//added in version 1.2 +define('_AM_SWIKI_GOTO_MODULE', 'Idź do modułu'); +define('_AM_SWIKI_UPDATE_MODULE', 'Aktualizuj moduł'); + +?> Added: XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/blocks.php =================================================================== --- XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/blocks.php (rev 0) +++ XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/blocks.php 2012-02-18 17:05:36 UTC (rev 9012) @@ -0,0 +1,37 @@ +<?php +/* + * Module and admin language definition + * + * _BTN : text within buttons or action links + * _COL : column headers + * _TXT : "verbose" text (probably within content) + * _FLD : title of form elements + * _DESC : description under the title for form elements + * _MSG : messages, alerts ... + * + */ + +define('_MB_SWIKI_HOME',"Strona domowa Wiki"); +define('_MB_SWIKI_PAGENOTFOUND_MSG',"<br>Strona nie istnieje w bazie danych<br>"); +define('_MB_SWIKI_NOREADACCESS_MSG',"<br><h4>Przepraszamy, brak uprawnień</h4><br>"); +define('_MB_SWIKI_NUM_DISP_DESC','Liczba do wyświetlenia'); +define('_MB_SWIKI_SHOWPAGE_DESC','Strona do wyświetlenia'); + +// Added in SimplyWiki 1.1 +define('_MB_SWIKI_CREATE_DATE', 'Data utworzenia'); +define('_MB_SWIKI_MODIFIED_DATE','Data modyfikacji'); +define('_MB_SWIKI_LASTVIEWED_DATE','Ostatnio oglądana'); +define('_MB_SWIKI_REVISIONS','Liczba wersji'); +define('_MB_SWIKI_ASCENDING','Rosnąco A-Z'); +define('_MB_SWIKI_DESCENDING','Malejąco Z-A'); +define('_MB_SWIKI_FIELD_DESC','Którego pola użyć'); +define('_MB_SWIKI_SORT_OPTION','Opcja sotowania'); +define('_MB_SWIKI_DISPLAY_MODE','Tryb wyświetlania'); +define('_MB_SWIKI_DISPLAY_COMPACT','Tylko Nazwa Strony'); +define('_MB_SWIKI_DISPLAY_LIGHT','Nazwa Strony + Data lub Liczba'); +define('_MB_SWIKI_DISPLAY_FULL','Nazwa Strony + Autor + Data lub Liczba'); +define('_MB_SWIKI_DATETIME_FORMAT','Format daty'); +define('_MB_SWIKI_DATETIME_FORMAT_INFO','<strong>Domyślny: pusty</strong> - używa krókiego formatu, tak jak zdefiniowano w /language/(language)/global.php. Patrz <a href="http://www.php.net/manual/pl/function.date.php" target="_blank">PHP manual</a> aby sprawdzić inne możliwości'); +define('_MB_SWIKI_VIEWS','Jak wiele razy strona została obejrzana'); + +?> Added: XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/changeEncoding.py.Bcareful =================================================================== --- XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/changeEncoding.py.Bcareful (rev 0) +++ XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/changeEncoding.py.Bcareful 2012-02-18 17:05:36 UTC (rev 9012) @@ -0,0 +1,29 @@ +# python + +import os +mydir= 'C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\www\warszawa.oaza.pl\modules\simplywiki\language\polish' + +def changeEncoding(filePath): + '''take a full path to a file as input, and change its encoding from gb18030 to utf-16''' + print filePath + + tempName=filePath+'~-~' + + input = open(filePath,'rb') + content=unicode(input.read(),'windows-1250') + input.close() + + output = open(tempName,'wb') + output.write(content.encode('utf-8')) + output.close() + + os.remove(filePath) + os.rename(tempName,filePath) + + +def myfun(dummy, dirr, filess): + for child in filess: + if os.path.isfile(dirr+'\\'+child): + changeEncoding(dirr+'\\'+child) + +os.path.walk(mydir, myfun, 'dumb') Added: XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/index.html =================================================================== Added: XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/install.php =================================================================== --- XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/install.php (rev 0) +++ XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/install.php 2012-02-18 17:05:36 UTC (rev 9012) @@ -0,0 +1,32 @@ +<?php +/** + * Language definitions used during installation of SimplyWiki + * + * @package SimplyWiki + * + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License (GPL) + * @version $Id$ + */ + /** include the modinfo constants, so we don't have to define them again (specifically, _MI_SWIKI_HOME) */ + include_once 'modinfo.php'; + + define('_MI_SWIKI_PROFILE1','Otwarty'); + define('_MI_SWIKI_PROFILE2','Publiczny'); + define('_MI_SWIKI_PROFILE3','Prywatny'); + define('_MI_SWIKI_HOME_TITLE','Stona domowa SimplyWiki'); + + define('_MI_SWIKI_HOME_TEXT', + "<p><table border=\'0\'> + <tbody><tr><td> + <p>Witamy<br />To jest domyślna strona domowa. Śmiało możesz ją modyfikować. + Aby utworzyć nową stronę, wpisz gdziekolwiek jej nazwę otoczoną podwójnym nawiasem kwadratowym ( [[ ). + Gdy zapiszaesz stronę nawias zamieni się w odnośnik (link) do nowej strony.</p> + <p>Sprawdź <a href=\'manual.html\' target=_blank>the manual</a> aby więcej dowiedzieć się na temat edycji.</p></td> + <td><img src=\'images/wiwilogo.gif\' /></td></tr></tbody></table></p> + <p><table cellspacing=\'5\' cellpadding=\'5\' width=\'100%\' border=\'0\'> + <tbody><tr><td bgcolor=\'#e4e4e4\'>Indeks stron</td> + <td bgcolor=\'#e4e4e4\'>Strony według daty aktualizacji</td></tr> + <tr><td bgcolor=\'#f6f6f6\'><[PageIndex]></td> + <td bgcolor=\'#f6f6f6\'><[RecentChanges]></td></tr></tbody></table> + </p>"); +?> \ No newline at end of file Property changes on: XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/mail_template ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/mail_template/global_pagemodified_notify.tpl =================================================================== --- XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/mail_template/global_pagemodified_notify.tpl (rev 0) +++ XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/mail_template/global_pagemodified_notify.tpl 2012-02-18 17:05:36 UTC (rev 9012) @@ -0,0 +1,20 @@ +Witaj {X_UNAME}, + +Strona którą obserwujesz została zaktualizowana {X_SITENAME} : "{PAGE_NAME}" . + +Kliknij poniższy odnośnik aby obejrzeć stronę: +{PAGE_URL} + + +----------- + +Otrzymałeś tę wiadomość ponieważ wybrałeś opcję auto-powiadamiania dla powyższej strony. + +Jeśli to pomyłka lub chcesz zrezygnować z powiadamiania kliknij poniższy odnośnik: +{X_UNSUBSCRIBE_URL} + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/mail_template/index.html =================================================================== Added: XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/main.php =================================================================== --- XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/main.php (rev 0) +++ XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/main.php 2012-02-18 17:05:36 UTC (rev 9012) @@ -0,0 +1,73 @@ +<?php +/* + * Module and admin language definition + * + * _BTN : text within buttons or action links + * _COL : column headers + * _TXT : "verbose" text (probably within content) + * _FLD : title of form elements + * _DESC : description under the title for form elements + * _MSG : messages, alerts ... + * + */ + +define('_MD_SWIKI_MODIFIED_TXT', 'Ostatnio modyfikowane:'); +define('_MD_SWIKI_BY','by'); +define('_MD_SWIKI_HISTORY_TXT','Historia strony'); +define('_MD_SWIKI_EDIT_TXT','Edytuj stronę'); +define('_MD_SWIKI_BODY_TXT','Zawartość strony'); +define('_MD_SWIKI_DIFF_TXT','Różnice między bieżącą a poprzednią wersją strony'); +define('_MD_SWIKI_THISPAGE','Bieżąca strona'); + +define('_MD_SWIKI_SUBMITREVISION_BTN','Zapisz nową wersję'); +define('_MD_SWIKI_QUIETSAVE_BTN','Zapisz'); +define('_MD_SWIKI_HISTORY_BTN','Historia'); +define('_MD_SWIKI_PAGEVIEW_BTN','Powrót do podglądu'); +define('_MD_SWIKI_VIEW_BTN','Podgląd'); +define('_MD_SWIKI_RESTORE_BTN','Przywróć'); +define('_MD_SWIKI_FIX_BTN','Napraw'); +define('_MD_SWIKI_COMPARE_BTN','Porównaj'); +define('_MD_SWIKI_SELEDITOR_BTN','(kliknij prawym klawiszem myszki aby wybrać inny edytor)'); + +define('_MD_SWIKI_TITLE_FLD','Tytuł'); +define('_MD_SWIKI_BODY_FLD','Zawartość'); +define('_MD_SWIKI_VISIBLE_FLD','Widoczna'); +define('_MD_SWIKI_CONTEXTBLOCK_FLD','Side content'); +define('_MD_SWIKI_PARENT_FLD','Strona nadrzędna'); +define('_MD_SWIKI_PROFILE_FLD','Profil uprawnień'); + +define('_MD_SWIKI_TITLE_COL','Tytuł'); +define('_MD_SWIKI_MODIFIED_COL','Zmodyfikowana'); +define('_MD_SWIKI_AUTHOR_COL','Autor'); +define('_MD_SWIKI_ACTION_COL','Akcja'); +define('_MD_SWIKI_KEYWORD_COL','ID strony'); + +define('_MD_SWIKI_PAGENOTFOUND_MSG',"Ta strona jeszcze nie istnieje."); +define('_MD_SWIKI_DBUPDATED_MSG','Baza danych została pomyślnie zaktualizowana!'); +define('_MD_SWIKI_ERRORINSERT_MSG','Błąd podczas aktualizacji bazy danych!'); +define('_MD_SWIKI_EDITCONFLICT_MSG','Konflikt modyfikacji! - Wszystkie zmiany zostały odrzucone!'); +define('_MD_SWIKI_NOREADACCESS_MSG','<br><h4>Przepraszamy, brak uprawnień do strony.</h4><br>'); +define('_MD_SWIKI_NOWRITEACCESS_MSG','<br><h4>Przepraszamy, nie masz uprawnień do zapisu tej strony.</h4><br>'); + +// Simply Wiki special pages - +// Change these names, if you want a different homepage and error page +// for this language - just make sure that they are legal WiwiLink names. +if (!defined('_MI_SWIKI_HOME')){define('_MI_SWIKI_HOME','HomePage');}// Also need in modinfo.php +define('_MI_SWIKI_404','IllegalName'); + +// Added in version 1.1 +define('_MI_SWIKI_REVISION_SUMMARY', 'Podsumowanie wersji'); +define('_MI_SWIKI_ALLOW_COMMENTS','Dopuść komentarze'); +define('_MD_SWIKI_ADDPAGE_BTN','Dodaj stronę'); +define('_MD_SWIKI_ADDPAGE','Utwórz nową stronę'); +define('_MD_SWIKI_PDF_ERROR_MSG','Błąd przy tworzeniu PDFa'); +define('_MD_SWIKI_NOPAGE_MSG','Nie mogę utworzyć PDFa - przynajmniej jedna ze stron nie istnieje'); +define('_MD_SWIKI_CREATED','Ta strona została utworzona %2$s przez %1$s'); +define('_MD_SWIKI_REVISIONS','Ta strona była aktualizowana %u raz(y)'); +define('_MD_SWIKI_LASTVIEWED','Ta strona była ostatnio oglądana %s'); +define('_MD_SWIKI_VIEWED','Ta strona była oglądana %u raz(y)'); + +//Added in version 1.2 +define('_MD_SWIKI_VIEWS', 'Widoki'); + +?> \ No newline at end of file Added: XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/modinfo.php =================================================================== --- XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/modinfo.php (rev 0) +++ XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/modinfo.php 2012-02-18 17:05:36 UTC (rev 9012) @@ -0,0 +1,102 @@ +<?php +// $Id: modinfo.php 8255 2009-04-11 18:20:13Z skenow $ +// Module Info + +// The name of this module +define('_MI_SWIKI_NAME','SimplyWiki'); + +// A brief description of this module +define('_MI_SWIKI_DESC','Narzędzie dzięki któremu można tworzyć i modyfikowć strony tak prosto jak w Wordzie.'); + +// Admin menu +define('_MI_SWIKI_ADMENU1','Strony'); +define('_MI_SWIKI_ADMENU2','Uprawnienia'); +define('_MI_SWIKI_ADMENU3','Bloki/Grupy'); +define('_MI_SWIKI_ADMENU4','O module...'); +define('_MI_SWIKI_ADMENU5','Pomoc'); + + +// Admin options +define('_MI_SWIKI_EDITOR','Którego edytora powinien używać SimplyWiki'); +define('_MI_SWIKI_EDITOR_DESC',''); +define('_MI_SWIKI_DEFAULTPROFILE','Domyślny profil'); +// Default profile description was added in re-release, see below + +define('_MI_SWIKI_ALLOWPDF','Pokazać przycisk PDF na stronach?'); +define('_MI_SWIKI_ALLOWPDF_DESC','Generacja PDFa ze stron HTML jest ciągle w fazie eksperymentalnej (aczkolwiek już dość długo).'); + +define('_MI_SWIKI_SHOWTITLES','Pokaż tytuły stron zamiast nazw stron'); +define('_MI_SWIKI_SHOWTITLES_DESC','Pokaż tytuły stron zamiast nazw w odnośnikach (linkach) simplywiki'); + +define('_MI_SWIKI_USECAMELCASE','Używaj CamelCase (bez odstępów i duże litery na początku wyrazu) '); +define('_MI_SWIKI_USECAMELCASE_DESC','Interpretuj słowa CamelCase jako linki do innych stron simplywiki.'); + +define('_MI_SWIKI_XOOPSEDITOR','Wybierz "XoopsEditor"'); +define('_MI_SWIKI_XOOPSEDITOR_DESC','Ma znaczenie tylko gdy został powyżej wybrany XoopsEditor'); + +// Notification options +define('_MI_SWIKI_PAGENOTIFYCAT_TITLE','Strona'); +define('_MI_SWIKI_PAGENOTIFYCAT_DESC','Powiadomienia które dotyczą bieżącej strony'); +define('_MI_SWIKI_PAGENOTIFY_TITLE','Strona zaktualizowana'); +define('_MI_SWIKI_PAGENOTIFY_CAPTION','Powiadom mnie kiedy bieżąca strona zostanie zaktualizowana'); +define('_MI_SWIKI_PAGENOTIFY_DESC','Wyślij powiadomienie gdy ktokolwiek zaktualizuje stronę.'); +define('_MI_SWIKI_PAGENOTIFY_SUBJECT','[{X_SITENAME}] {X_MODULE} auto-powiadomienie : strona zaktualizowana'); + +/* Added in version 0.83 Re-release */ +define('_MI_SWIKI_GLOBALNOTIFYCAT_TITLE','Globalne'); +define('_MI_SWIKI_GLOBALNOTIFYCAT_DESC','Powiadomienia które dotyczą wszystkich stron'); +define('_MI_SWIKI_GLOBALNOTIFY_TITLE','Strona zaktualizowana'); +define('_MI_SWIKI_GLOBALNOTIFY_CAPTION','Powiadom mnie kiedy jakakolwiek stona zostanie zaktualizowana'); +define('_MI_SWIKI_GLOBALNOTIFY_DESC','Otrzymasz powiadomienie kiedy ktokolwiek zmodyfikuje jakąkolwiek stronę.'); +define('_MI_SWIKI_GLOBALNOTIFY_SUBJECT','[{X_SITENAME}] {X_MODULE} auto-powiadomienie : stona zaktualizowana'); +define('_MI_SWIKI_TEMPLATE_VIEW_DESC','Obejrzyj stronę wiki'); +define('_MI_SWIKI_TEMPLATE_EDIT_DESC','Edytuj stronę wiki'); +define('_MI_SWIKI_TEMPLATE_HISTORY_DESC','Zobacz historię aktualizacji strony'); +define('_MI_SWIKI_TEMPLATE_PDF_DESC','SimplyWiki - pdf'); +define('_MI_SWIKI_BLOCK_TOC_NAME','Wiki Spis Treści'); +define('_MI_SWIKI_BLOCK_TOC_DESC','Wiki wybrane strony wejściowe'); +define('_MI_SWIKI_BLOCK_RECENT_NAME','Wiki ostatnie'); +define('_MI_SWIKI_BLOCK_RECENT_DESC','Wiki ostatnio aktualizowane'); +define('_MI_SWIKI_BLOCK_RELATED_NAME','WikiEkstraTreści'); +define('_MI_SWIKI_BLOCK_RELATED_DESC','Blok na treści ekstra na stonach Wiki'); +define('_MI_SWIKI_BLOCK_SHOWPAGE_NAME','WikiShowPage'); +define('_MI_SWIKI_BLOCK_SHOWPAGE_DESC','Pokaż wybraną stronę wiki'); +define('_MI_SWIKI_AUTHOR_WORD','<h4>Informacje o module SimpyWiki</h4><br />Tłumaczenie modułu i uwagi odnośnie tłumacznia: Tomasz Stempkowicz xo...@pr... <br /><br />SimplyWiki jest oprogramowaniem GPL ; odwiedź stronę wsparcia na <a href="http://community.impresscms.org/" target="_blank">community.impresscms.org</a> aby uzyskać pomoc.<br /><br />Jeśli właśnie przmigrowałeś ze starszych wersji Wiwi (0.7.1 lub niższych), proszę kilknij tutaj : <input type="button" value="UPGRADE" onclick="document.location.href=\'../update.php\';"><br /><br /><a href=\'../manual.html\' target=\'_blank\'>Read the Manual</a> i tu <a href=\'../ReadMe.txt\' target=\'_blank\'>release notes</a> aby rozpocząć.'); +define('_MI_SWIKI_DEFAULTPROFILE_DESC','Domyślny profil przypisany do nowych stron'); +if (!defined('_MI_SWIKI_HOME')){define('_MI_SWIKI_HOME','HomePage');} + +// Added in SimplyWiki 1.1 +define('_MI_SWIKI_BLOCK_LISTPAGES_NAME','Lista stron'); +define('_MI_SWIKI_BLOCK_LISTPAGES_DESC','Wyświetla listę stron'); +define('_MI_SWIKI_BLOCK_ADDPAGE_NAME','Dodaj stronę'); +define('_MI_SWIKI_BLOCK_ADDPAGE_DESC','Dodaje stronę simpywiki z dowolnego miejsca twojej witryny'); +define('_MI_SWIKI_BLOCK_TAGCLOUD_NAME','Wiki Tag Cloud'); +define('_MI_SWIKI_BLOCK_TAGCLOUD_DESC','Chmura tagów (linków) dla SimplyWiki'); +define('_MI_SWIKI_BLOCK_TAG_NAME','Wiki Top Tags'); +define('_MI_SWIKI_BLOCK_TAG_DESC','Lista top tagów (linków) dla SimplyWiki'); +define('_MI_SWIKI_PAGEINFO','Pokaż informacje o stronie'); +define('_MI_SWIKI_PAGEINFO_DESC', 'Wybierz jakie informacje pokazywać na stronie'); +define('_MI_SWIKI_SHOWREVISIONS','Pokaż liczbę aktualizacji'); +define('_MI_SWIKI_SHOWVIEWS','Pokaż liczbę odsłon'); +define('_MI_SWIKI_SHOWCREATED','Pokaż datę utworzenia i pierwszego autora'); +define('_MI_SWIKI_SHOWLASTREVISED','Pokaż datę ostatniej aktualizacji'); +define('_MI_SWIKI_LASTVIEWED','Pokaż datę ostatniej odsłony'); +define('_MI_SWIKI_USECAPTCHA','Włącz CAPTCHA (Antyspam)'); +define('_MI_SWIKI_USECAPTCHA_DESC', 'Wyświetl obrazek "przepisz litery z obrazka" w formularzu edycji'); +define('_MI_SWIKI_SHOWQUICKADD','Włącz mechanizm Szybko Dodaj'); +define('_MI_SWIKI_SHOWQUICKADD_DESC', 'Ustawienie <em>Tak (Yes)</em> powoduje wyświetlanie pola Szybko Dodaj, pozwalającego pisarzom(autorom) wpisać nazwę strony i od razu przejść do jej edycji'); +define('_MI_SWIKI_TOPPAGE', 'Indeks stron'); +define('_MI_SWIKI_TOPPAGE_DESC', 'Strona do pokazania na na głównej stronie modułu'); + +// Added in SimplyWiki 1.2 +define('_MI_SWIKI_PAGERESTORE_TITLE','Ta strona przywrócona'); +define('_MI_SWIKI_PAGERESTORE_CAPTION','Powiadom mnie kiedy zostanie przyrócona wcześniejsza wersja tej strony'); +define('_MI_SWIKI_PAGERESTORE_DESC','Otrzymasz powiadomienie kiedy ktoś przywróci wcześniejszą wersję tej strony'); +define('_MI_SWIKI_PAGERESTORE_SUBJECT','[{X_SITENAME}] {X_MODULE} auto-powiadomienie : obserwowana strona przywrócona'); +define('_MI_SWIKI_GLOBALPAGERESTORE_TITLE','Jakakolwiek strona przywrócona'); +define('_MI_SWIKI_GLOBALPAGERESTORE_CAPTION','Powiadom mnie kiedy zostanie przyrócona wcześniejsza wersja jakiejkolwiek strony z tego modułu'); +define('_MI_SWIKI_GLOBALPAGERESTORE_DESC','Otrzymasz powiadomienie kiedy ktoś przywróci wcześniejszą wersję jakiejkolwiek strony z tego modułu'); +define('_MI_SWIKI_GLOBALPAGERESTORE_SUBJECT','[{X_SITENAME}] {X_MODULE} auto-powiadomienie : strona przywrócona'); + + +?> \ No newline at end of file Added: XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/update.php =================================================================== --- XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/update.php (rev 0) +++ XoopsLanguages/polish/modules/simplywiki/1.2/language/polish/update.php 2012-02-18 17:05:36 UTC (rev 9012) @@ -0,0 +1,13 @@ +<?php +/** + * Language definitions used during update of SimplyWiki + * + * @package SimplyWiki +* + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License (GPL) + * @version $Id: update.php 7444 2008-12-05 01:58:52Z skenow $ + */ + /** include the modinfo constants, so we don't have to define them again (specifically, _MI_SWIKI_HOME) */ + include_once 'modinfo.php'; + +?> \ 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-02-18 13:08:43
|
Revision: 9011 http://xoops.svn.sourceforge.net/xoops/?rev=9011&view=rev Author: txmodxoops Date: 2012-02-18 13:08:36 +0000 (Sat, 18 Feb 2012) Log Message: ----------- Modified Paths: -------------- XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/users.php Modified: XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/users.php =================================================================== --- XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/users.php 2012-02-18 13:07:59 UTC (rev 9010) +++ XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/users.php 2012-02-18 13:08:36 UTC (rev 9011) @@ -158,4 +158,7 @@ define("_AM_SYSTEM_USERS_PSEUDO_ERROR","Il nome utente %s è già utilizzato"); define("_AM_SYSTEM_USERS_MAIL_ERROR","L'indirizzo email %s è già utilizzato"); +//2.5.4 +define("_AM_SYSTEM_USERS_ACCEPT_EMAIL","Accetta e-mail dagli Amministratori"); + ?> \ 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-02-18 13:08:05
|
Revision: 9010 http://xoops.svn.sourceforge.net/xoops/?rev=9010&view=rev Author: txmodxoops Date: 2012-02-18 13:07:59 +0000 (Sat, 18 Feb 2012) Log Message: ----------- Modified Paths: -------------- XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/tplsets.php Modified: XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/tplsets.php =================================================================== --- XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/tplsets.php 2012-02-18 10:22:50 UTC (rev 9009) +++ XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/tplsets.php 2012-02-18 13:07:59 UTC (rev 9010) @@ -42,7 +42,7 @@ define("_AM_SYSTEM_TEMPLATES_BLOCKS","Blocco"); define("_AM_SYSTEM_TEMPLATES_SELECT_TEMPLATES","Selezionare template"); define("_AM_SYSTEM_TEMPLATES_ALL_MODULES","Tutti"); -define("_AM_SYSTEM_TEMPLATES_RESTORE_OK","Successfuly restored"); -define("_AM_SYSTEM_TEMPLATES_RESTORE_NOTOK","Successfuly not restored"); - +define("_AM_SYSTEM_TEMPLATES_RESTORE_OK","Ripristinato con successo"); +define("_AM_SYSTEM_TEMPLATES_RESTORE_NOTOK","Non ripristinato"); +define("_AM_SYSTEM_TEMPLATES_SET", "Scegli il Template"); ?> \ 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-02-18 10:23:03
|
Revision: 9009 http://xoops.svn.sourceforge.net/xoops/?rev=9009&view=rev Author: txmodxoops Date: 2012-02-18 10:22:50 +0000 (Sat, 18 Feb 2012) Log Message: ----------- Added new releases 1.39 alpha 1 added new files Added Paths: ----------- XoopsModules/TDMCreate/releases/1.39/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/about.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/admin_footer.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/admin_header.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/building.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/changelog.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/css.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/filesmanager.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/includes.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/index.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/jquery.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/languages.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/menu.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/modules.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/tables.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/class/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/class/constArchitecture.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/class/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/class/tdmcreate_champ_attributes.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/class/tdmcreate_champ_elements.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/class/tdmcreate_champ_key.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/class/tdmcreate_champ_null.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/class/tdmcreate_champ_type.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/class/tdmcreate_champs.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/class/tdmcreate_languages.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/class/tdmcreate_modules.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/class/tdmcreate_tables.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_admin_about.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_admin_footer.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_admin_header.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_admin_help.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_admin_index.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_admin_language.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_admin_menu.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_admin_pages.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_admin_permissions.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_architecture.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_blocks.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_blocks_language.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_blocks_templates.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_changelog.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_class.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_class_admin.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_css_admin.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_css_style.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_header.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_help_language.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_include_coms.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_include_configs.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_include_functions.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_include_install.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_include_search.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_languages.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_main_header.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_main_index.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_main_language.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_modinfo_language.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_sql.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_templates.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_templates_admin_about.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_templates_admin_help.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_templates_footer.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_templates_header.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_templates_index.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_templates_pages.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_user_header.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_user_index.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_user_pages.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/const/const_xoopsversion.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/css/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/css/admin.css XoopsModules/TDMCreate/releases/1.39/TDMCreate/css/code_mirror/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/css/code_mirror/csscolors.css XoopsModules/TDMCreate/releases/1.39/TDMCreate/css/code_mirror/docs.css XoopsModules/TDMCreate/releases/1.39/TDMCreate/css/code_mirror/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/css/code_mirror/jscolors.css XoopsModules/TDMCreate/releases/1.39/TDMCreate/css/code_mirror/phpcolors.css XoopsModules/TDMCreate/releases/1.39/TDMCreate/css/code_mirror/sparqlcolors.css XoopsModules/TDMCreate/releases/1.39/TDMCreate/css/code_mirror/sqlcolors.css XoopsModules/TDMCreate/releases/1.39/TDMCreate/css/code_mirror/xmlcolors.css XoopsModules/TDMCreate/releases/1.39/TDMCreate/css/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/docs/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/docs/changelog.txt XoopsModules/TDMCreate/releases/1.39/TDMCreate/docs/credits.txt XoopsModules/TDMCreate/releases/1.39/TDMCreate/docs/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/docs/install.txt XoopsModules/TDMCreate/releases/1.39/TDMCreate/docs/lang_diff.txt XoopsModules/TDMCreate/releases/1.39/TDMCreate/docs/licence.txt XoopsModules/TDMCreate/releases/1.39/TDMCreate/docs/readme.txt XoopsModules/TDMCreate/releases/1.39/TDMCreate/docs/typeoflicense/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/docs/typeoflicense/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/deco/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/deco/arrow.gif XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/deco/blank.gif XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/deco/fields.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/deco/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/deco/loading.gif XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/deco/off.gif XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/deco/off.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/deco/on.gif XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/deco/on.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/icons/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/icons/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/icons/loading.gif XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/icons/off.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/icons/on.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/loading.gif XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/logo.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/menu/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/menu/bg.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/menu/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/menu/left_both.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/menu/right_both.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/tdmcreate_slogo.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/modules/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/modules/TDMLogo.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/modules/Test1Logo.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/modules/blank.gif XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/modules/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/modules/xcvLogo.txt XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/tables/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/tables/blank.gif XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/tables/broken.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/tables/cat.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/tables/contact.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/tables/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/tables/links.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/tables/shoutbox.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/images/uploads/tables/topic.png XoopsModules/TDMCreate/releases/1.39/TDMCreate/include/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/include/comment_delete.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/include/comment_edit.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/include/comment_new.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/include/comment_post.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/include/comment_reply.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/include/functions.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/include/functions_const.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/include/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/include/install.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/include/jq.init.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/include/update.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/codemirror.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/editor.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/highlight.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/mirrorframe.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/parsecss.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/parsedummy.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/parsehtmlmixed.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/parsejavascript.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/parsephp.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/parsephphtmlmixed.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/parsesparql.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/parsesql.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/parsexml.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/select.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/stringstream.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/tokenize.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/tokenizejavascript.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/tokenizephp.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/undo.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/code_mirror/util.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/filemanager.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/js/jqueryFileTree.js XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/arabic/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/arabic/admin.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/arabic/help/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/arabic/help/help.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/arabic/help/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/arabic/help.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/arabic/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/arabic/modinfo.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/bulgarian/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/bulgarian/admin.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/bulgarian/help/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/bulgarian/help/help.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/bulgarian/help/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/bulgarian/help.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/bulgarian/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/bulgarian/modinfo.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/english/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/english/admin.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/english/help/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/english/help/help.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/english/help/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/english/help.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/english/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/english/modinfo.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/french/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/french/admin.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/french/help/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/french/help/help.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/french/help/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/french/help.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/french/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/french/modinfo.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/italian/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/italian/admin.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/italian/help/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/italian/help/help.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/italian/help/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/italian/help.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/italian/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/italian/modinfo.php XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/update language 1.0 to 1.1.txt XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/update language 1.1 to 1.15.txt XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/update language 1.1 to 1.37.txt XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/update language 1.15 to 1.37.txt XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/update language 1.37 to 1.38.txt XoopsModules/TDMCreate/releases/1.39/TDMCreate/language/update language 1.38 to 1.39.txt XoopsModules/TDMCreate/releases/1.39/TDMCreate/modules/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/sql/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/sql/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/sql/mysql.sql XoopsModules/TDMCreate/releases/1.39/TDMCreate/sql/mysql138.sql XoopsModules/TDMCreate/releases/1.39/TDMCreate/templates/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/templates/admin/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/templates/admin/help.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/templates/admin/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/templates/admin/tdmcreate_filemanager.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/templates/blocks/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/templates/blocks/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/templates/help/ XoopsModules/TDMCreate/releases/1.39/TDMCreate/templates/help/help.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/templates/help/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/templates/index.html XoopsModules/TDMCreate/releases/1.39/TDMCreate/xoops_version.php Added: XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/about.php =================================================================== --- XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/about.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/about.php 2012-02-18 10:22:50 UTC (rev 9009) @@ -0,0 +1,33 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Revision Copyright (c) (http://www.txmodxoops.org) + * + * This license contains restrictions!!! + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.39 Tue 2012/02/14 16:20:18 : Timgno Exp $ + * **************************************************************************** + */ + +include "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 Added: XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/admin_footer.php =================================================================== --- XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/admin_footer.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/admin_footer.php 2012-02-18 10:22:50 UTC (rev 9009) @@ -0,0 +1,27 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Revision Copyright (c) (http://www.txmodxoops.org) + * + * This license contains restrictions!!! + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.39 Tue 2012/02/14 16:20:18 : Timgno Exp $ + * **************************************************************************** + */ + global $pathImageAdmin; + echo "<div align='center'><a href='http://www.xoops.org' target='_blank'><img src='".$pathImageAdmin."/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a></div>"; + echo "<div class='center pad5'>" . sprintf(_AM_TDMCREATE_MAINTAINEDBY, $xoopsModule->getVar('name')) . "</div>"; +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/admin_header.php =================================================================== --- XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/admin_header.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/admin_header.php 2012-02-18 10:22:50 UTC (rev 9009) @@ -0,0 +1,85 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Revision Copyright (c) (http://www.txmodxoops.org) + * + * This license contains restrictions!!! + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.39 Tue 2012/02/14 16:20:18 : Timgno Exp $ + * **************************************************************************** + */ +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +include_once '../include/functions.php'; +include_once 'includes.php'; + +//echo TDMCreate_adminMenu(_AM_ERROR_NOFRAMEWORKS); +$pathDir = $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin'); +$globlang = $GLOBALS['xoopsConfig']['language']; +if ( file_exists($pathDir.'/language/'.$globlang.'/main.php')){ + include_once $pathDir.'/language/'.$globlang.'/main.php'; + }else{ + include_once $pathDir.'/language/english/main.php'; + } + +if ( file_exists($pathDir.'/moduleadmin.php')){ + include_once $pathDir.'/moduleadmin.php'; + //return true; + }else{ + xoops_cp_header(); + echo xoops_error(_AM_MODULEADMIN_MISSING); + xoops_cp_footer(); + //return false; + } + +$dirname = basename(dirname(dirname( __FILE__ ) )); +$module_handler =& xoops_gethandler('module'); +$xoopsModule = & $module_handler->getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); + +$modPath = XOOPS_ROOT_PATH.'/modules/TDMCreate'; + +$modsHandler=& xoops_getModuleHandler('tdmcreate_modules', $dirname); +$tblsHandler=& xoops_getModuleHandler('tdmcreate_tables', $dirname); +$lngsHandler=& xoops_getModuleHandler('tdmcreate_languages', $dirname); + +$myts =& MyTextSanitizer::getInstance(); + +if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} + +$xoopsTpl->assign('pathImageIcon', $pathImageIcon); +$xoopsTpl->assign('pathImageAdmin', $pathImageAdmin); + +//Load languages +xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('main', $xoopsModule->getVar("dirname")); \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/building.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/building.php 2012-02-18 10:22:50 UTC (rev 9009) @@ -0,0 +1,240 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Revision Copyright (c) (http://www.txmodxoops.org) + * + * This license contains restrictions!!! + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.39 Tue 2012/02/14 16:20:18 : Timgno Exp $ + * **************************************************************************** + */ + +include 'admin_header.php'; +xoops_cp_header(); + +$indexAdmin = new ModuleAdmin(); +echo $indexAdmin->addNavigation('building.php'); + +$op = TDMCreate_CleanVars($_REQUEST, 'op', 'default', 'string'); + +switch ($op) { + case "creation": + $mods =& $modsHandler->get($_REQUEST['modules_name']); + $mods_name = $mods->getVar('modules_name'); + $mods_desc = $mods->getVar('modules_description'); + $mods_author_website_name = $mods->getVar('modules_author_website_name'); + $mods_author_website_url = $mods->getVar('modules_author_website_url'); + $mods_image = $mods->getVar('modules_image'); + $mods_display_admin = $mods->getVar('modules_display_admin'); + $mods_display_user = $mods->getVar('modules_display_user'); + //Remove the new module directory if it exists + clearDir($modPath.'/modules/'.$mods_name); + + //Nom des tables et combien de tables + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('tables_modules', $_REQUEST['modules_name'])); + $nb_tables = $tblsHandler->getCount($criteria); + $tbls_arr = $tblsHandler->getall($criteria); + + //Debut + echo '<table width="100%" cellspacing="1" style="background: #fff;"> + <tr class="marg2"> + <td class="ui-corner-all">'; + /************************************************/ + /*Structure*/ + /************************************************/ + //Creation de l'architecture + const_architecture($mods_name, $mods_image); + //Creation du changelog.txt + const_changelog($mods, $mods_name); + + // Files cicles + foreach (array_keys($tbls_arr) as $i) + { + //Variables + $tbls_id = $tbls_arr[$i]->getVar('tables_id'); + $tbls_name = $tbls_arr[$i]->getVar('tables_name'); + $tbls_module_table = $tbls_arr[$i]->getVar('tables_module_table'); + $tbls_img = $tbls_arr[$i]->getVar('tables_img'); + $tbls_champs = $tbls_arr[$i]->getVar('tables_champs'); + $tbls_parametres = $tbls_arr[$i]->getVar('tables_parametres'); + $tbls_blocks = $tbls_arr[$i]->getVar('tables_blocks'); + $tbls_display_admin = $tbls_arr[$i]->getVar('tables_display_admin'); + $tbls_display_user = $tbls_arr[$i]->getVar('tables_display_user'); + $tbls_online = $tbls_arr[$i]->getVar('tables_online'); + $tbls_pending = $tbls_arr[$i]->getVar('tables_pending'); + $tbls_search = $tbls_arr[$i]->getVar('tables_search'); + $tbls_coms = $tbls_arr[$i]->getVar('tables_coms'); + + //Fabrication + //Copie of images tables + $tbls_img1 = $modPath."/images/uploads/tables/".$tbls_img; + if (file_exists($tbls_img1)) { + copy($tbls_img1, $modPath."/modules/".$mods_name."/images/deco/".$tbls_img); + } + //Creation des classes + const_class($mods, $mods_name, $tbls_module_table, $tbls_name, $tbls_champs, $tbls_parametres); + + //Creation of pages admin + if ( $mods_display_admin == 1 ) { + const_admin_pages($mods, $mods_name, $tbls_id, $tbls_module_table, $tbls_name, $tbls_img, $tbls_champs, $tbls_parametres, $tbls_online, $tbls_pending); + } + //Creation of pages and templates user + if ( $mods_display_user == 1 ) { + const_user_pages($mods, $mods_name, $tbls_name, $tbls_champs, $tbls_champs, $tbls_parametres); + // Creation of templates pages + const_templates_pages($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres); + } + //Creation of search + if ( $tbls_search == 1 ) { + const_include_search($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres, $tbls_img); + } + //Creation of the comments + if ( $tbls_coms == 1 ) { + const_include_coms($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres); + } + + //Creation of the file mysql.sql + const_sql($mods_name, $tbls_module_table, $tbls_name, $tbls_champs); + $result = $xoopsDB->queryF("SELECT COUNT(*) FROM " . $xoopsDB->prefix("tdmcreate_tables"). + " WHERE tables_name = 'topic' OR tables_name = '".$tbls_name."_topic' + OR tables_name = 'cat' + OR tables_name = 'category' + OR tables_name = 'categories' + OR tables_name = '".$tbls_name."_cat' + OR tables_name = '".$tbls_name."_category' + OR tables_name = '".$tbls_name."_categories' "); + list( $topic ) = $xoopsDB->fetchRow($result); + //Creation of the blocks + if ( $tbls_blocks != 1 ) { + const_blocks($mods, $mods_name, $tbls_module_table, $tbls_name, $tbls_champs, $tbls_parametres, $topic); + //Creation of template blocks + const_blocks_templates($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres); + } + } + //Variables + $tbls_id = $tblsHandler->getVar('tables_id'); + $tbls_name = $tblsHandler->getVar('tables_name'); + $tbls_module_table = $tblsHandler->getVar('tables_module_table'); + $tbls_img = $tblsHandler->getVar('tables_img'); + $tbls_champs = $tblsHandler->getVar('tables_champs'); + $tbls_parametres = $tblsHandler->getVar('tables_parametres'); + $tbls_blocks = $tblsHandler->getVar('tables_blocks'); + $tbls_display_admin = $tblsHandler->getVar('tables_display_admin'); + $tbls_display_user = $tblsHandler->getVar('tables_display_user'); + $tbls_online = $tblsHandler->getVar('tables_online'); + $tbls_pending = $tblsHandler->getVar('tables_pending'); + $tbls_search = $tblsHandler->getVar('tables_search'); + $tbls_coms = $tblsHandler->getVar('tables_coms'); + //Creation of xoopsversion.php file + //Xoops version set to integrate the end of the block, etc. + const_xoopsversion($mods, $mods_name, $tbls_arr, $tbls_module_table, $tbls_blocks); + if($mods_display_user == 1){ + // Creation of template index + const_templates_index($mods, $mods_name, $tbls_name, $tbls_module_table, $tbls_champs, $tbls_parametres); + // Creation of template header + const_templates_header($mods, $mods_name); + // Creation of template footer + const_templates_footer($mods, $mods_name, $tbls_module_table); + } + //Creation of the file permissions + $topic = 0; + if ( $topic == 1 || $tbls_module_table != null) { // + const_admin_permissions($mods, $mods_name, $tbls_name, $topic); + } + + //Include + //Configs + const_include_configs($mods, $mods_name, $mods_author_website_name, $mods_author_website_url); + //Style + const_css_admin($mods, $mods_name); + const_css_style($mods, $mods_name); + //Functions + const_include_functions($mods, $mods_name); + //Creation of the install file for uploads + const_include_install($mods, $mods_name, $tbls_arr); + //Language + /////////////////////////////////////////////////////////////////////// + //Creation of language main.php + const_main_language($mods, $mods_name, $mods_desc); + //Creation of language modinfo.php + const_modinfo_language($mods, $mods_name, $tbls_arr, $mods_desc); + //Creation of language admin.php + const_admin_language($mods, $mods_name, $mods_desc, $tbls_name, $tbls_arr, $tbls_pending); + //Creation of language blocks.php + const_blocks_language($mods, $mods_name); + //Creation of language help.php + const_help_language($mods, $mods_name, $mods_desc); + //Creation of language + //const_language($mods, $mods_name); + /////////////////////////////////////////////////////////////////////// + /************************************************/ + /*Admin*/ + /************************************************/ + if ( $mods_display_admin == 1 ) { + //Creation of admin file admin_header.php + const_admin_header($mods, $mods_name, $tbls_arr); + //Creation of admin file admin_footer.php + const_admin_footer($mods, $mods_name, $tbls_arr); + //Creation of admin file menu.php + const_admin_menu($mods, $mods_name, $tbls_arr, $topic); + //Creation of admin file about.php + const_admin_about($mods, $mods_name); + //Creation of admin file index.php + const_admin_index($mods, $mods_name, $tbls_arr, $tbls_online, $tbls_pending); + } + /************************************************/ + /*User*/ + /************************************************/ + if ( $mods_display_user == 1 ) { + const_user_header($mods, $mods_name, $tbls_arr, $tbls_module_table); + const_user_index($mods, $mods_name); + } + echo '</td></tr></table>'; + + break; + + case "default": + default: + + include_once(XOOPS_ROOT_PATH."/class/xoopsformloader.php"); + $action = $_SERVER['REQUEST_URI']; + + $form = new XoopsThemeForm(_AM_TDMCREATE_ADMIN_CONST, 'form_creation', $action, 'post', true); + + $mods_select = new XoopsFormSelect(_AM_TDMCREATE_CONST_MODULES, 'modules_name', 'modules_name', 10); + $mods_select->addOptionArray($modsHandler->getList()); + $form->addElement($mods_select, true); + + $modules_name = xoops_getModuleHandler('tdmcreate_modules', 'TDMCreate'); + $criteria = new CriteriaCompo(new Criteria('modules_name', $modules_name)); + $criteria->setSort('tables_name'); + $criteria->setOrder('ASC'); + $tbls_name_arr = $tblsHandler->getAll($criteria); + foreach (array_keys($tbls_name_arr) as $i) + { + $tbls_option_name = $tbls_name_arr[$i]->getVar('tables_name'); + } + $tbls_select = new XoopsFormSelect(_AM_TDMCREATE_CONST_TABLES, 'tables_name', 'tables_name', 4, true); + $tbls_select->addOptionArray($tblsHandler->getList($criteria)); // $tbls_option_name + $form->addElement($tbls_select, false); + + $form->addElement(new XoopsFormHidden('op', 'creation')); + $form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit')); + $form->display(); + break; +} +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/changelog.php =================================================================== --- XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/changelog.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/changelog.php 2012-02-18 10:22:50 UTC (rev 9009) @@ -0,0 +1,32 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Revision Copyright (c) (http://www.txmodxoops.org) + * + * This license contains restrictions!!! + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.39 Tue 2012/02/14 16:20:18 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); + +$changelogAdmin = new ModuleAdmin(); +echo $changelogAdmin->addNavigation("changelog.php"); + +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/css.php =================================================================== --- XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/css.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/css.php 2012-02-18 10:22:50 UTC (rev 9009) @@ -0,0 +1,32 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Revision Copyright (c) (http://www.txmodxoops.org) + * + * This license contains restrictions!!! + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.39 Tue 2012/02/14 16:20:18 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); + +$cssAdmin = new ModuleAdmin(); +echo $cssAdmin->addNavigation("css.php"); + +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/filesmanager.php =================================================================== --- XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/filesmanager.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/filesmanager.php 2012-02-18 10:22:50 UTC (rev 9009) @@ -0,0 +1,244 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Revision Copyright (c) (http://www.txmodxoops.org) + * + * This license contains restrictions!!! + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.39 Tue 2012/02/14 16:20:18 : Timgno Exp $ + * **************************************************************************** + */ +include 'admin_header.php'; +// Get Action type +$op = TDMCreate_CleanVars( $_REQUEST, 'op', 'default', 'string' ); +// Define main template +$xoopsOption['template_main'] = 'tdmcreate_filemanager.html'; +// Call Header +xoops_cp_header(); + +$xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js'); +$xoTheme->addScript('browse.php?Frameworks/jquery/plugins/jquery.ui.js'); +$xoTheme->addScript('modules/system/js/jquery.easing.js'); +$xoTheme->addScript('modules/system/js/admin.js'); +$xoTheme->addScript('modules/system/js/code_mirror/codemirror.js'); +$xoTheme->addScript('modules/TDMCreate/js/jqueryFileTree.js'); +$xoTheme->addScript('modules/TDMCreate/js/filemanager.js'); +// Define Stylesheet +$xoTheme->addStylesheet( XOOPS_URL . '/modules/system/css/admin.css'); +$xoTheme->addStylesheet( XOOPS_URL . '/modules/system/css/code_mirror/docs.css'); +$xoTheme->addStylesheet( XOOPS_URL . '/modules/system/css/ui/' . xoops_getModuleOption('jquery_theme', 'system') . '/ui.all.css'); + +xoops_load('XoopsFile'); +XoopsFile::load('file'); + +switch ($op) { + default: + $nbcolonnes_file = 4; + $width = 100/$nbcolonnes_file; + $root = XOOPS_ROOT_PATH.'/modules/TDMCreate/modules/'; + $url_file = XOOPS_URL.'/modules/TDMCreate/modules/'; + $xoopsTpl->assign('width', $width); + + if( file_exists($root) ) + { + $files = scandir($root); + natcasesort($files); + if( count($files) > 2 ) + { + $count_file = 1; + $file_arr = array(); + $edit = false; + // All files + foreach( $files as $file ) + { + if (!preg_match('#.back#', $file)) + { + if( file_exists($root . $file) && $file != '.' && $file != '..' && !is_dir($root . $file) ) + { + $folder = XoopsFile::getHandler('file', $root.$file); + $extension_verif = $folder->ext(); + + switch ( $extension_verif ) { + case 'ico': case 'png': case 'gif': case 'jpg': case 'jpeg': + $extension_verif = 'picture'; + break; + case 'html': case 'htm': + $extension_verif = 'html'; + $edit = true; + break; + case 'zip': case 'rar': case 'tar': case 'gz': + $extension_verif = 'rar'; + $edit = true; + $unzip = '<img class="cursorpointer" src="./images/icons/untar.png" onclick=\'filemanager_unzip_file("'.$path_file . $file.'", "'.$path_file.'", "'.$file.'");\' width="16" alt="edit" /> '; + break; + case 'css': + $extension_verif = 'css'; + $edit = true; + break; + case 'avi': case 'mov': case 'real': case 'flv': case 'swf': + $extension_verif = 'movie'; + break; + case 'log': + $extension_verif = 'log'; + $edit = true; + break; + case 'php': + $extension_verif = 'php'; + $edit = true; + break; + case 'info': case 'htaccess': + $extension_verif = 'info'; + break; + case 'sql': + $extension_verif = 'sql'; + $edit = true; + break; + default: + $extension_verif = 'file'; + $edit = true; + break; + } + + //Edit ? + $file_arr['edit'] = $edit; + //File + $file_arr['path_file'] = $root.$file; + $file_arr['path'] = $root; + //Chmod + $file_arr['chmod'] = substr($folder->perms(), 1); + + $file_arr['chmod'] = modify_chmod($file_arr['chmod'], $file_arr['path_file'], $count_file); + + if($extension_verif == 'picture') { + list($width, $height) = getimagesize($root . $file); + if($height > 60){ + $file_arr['img'] = '<img src="'.$url_file.$file.'" height="47" title="" alt="" />'; + } else { + $file_arr['img'] = '<img src="'.$url_file.$file.'" title="" alt="" />'; + } + } else { + $file_arr['img'] = '<img src="'.XOOPS_URL.'/modules/system/images/mimetypes/'.$extension_verif.'_48.png" title="" alt="" />'; + } + $file_arr['extension'] = $extension_verif; + $file_arr['file'] = htmlentities($file); + $count_file++; + $file_arr['newline'] = ($count_file % $nbcolonnes_file == 1) ? true : false; + $xoopsTpl->assign('newline', $file_arr['newline']); + $xoopsTpl->append('files', $file_arr); + } + $edit = false; + } + } + } + } + break; + + //save + case 'filemanager_save': + //Save the file or restore file + if(isset($_REQUEST['path_file'])) + { + //save file + $copy_file = $_REQUEST['path_file']; + copy($copy_file, $_REQUEST['path'].$_REQUEST['file'].'.back'); + //Save modif + if(isset($_REQUEST['filemanager'])) + { + $open = fopen("".$_REQUEST['path_file']."","w+"); + if(!fwrite($open, utf8_encode(stripslashes($_REQUEST['filemanager'])))) + { + redirect_header("filemanager.php", 2, _AM_TDMCREATE_FILEMANAGER_ERROR); + } + fclose($open); + } + redirect_header("filemanager.php", 2, _AM_TDMCREATE_DBUPDATED); + } else { + //restore + $old_file = $_REQUEST['path_file'].'.back'; + //echo $old_file; + $new_file = $_REQUEST['path_file']; + //echo $new_file; + if(file_exists($old_file)) + { + if(unlink($new_file)) + { + if(rename($old_file, $new_file)) + { + redirect_header("filemanager.php", 2, _AM_TDMCREATE_DBUPDATED); + }else{ + redirect_header("filemanager.php", 2, _AM_TDMCREATE_FILEMANAGER_RESTORE_ERROR_FILE_RENAME); + } + }else{ + redirect_header("filemanager.php", 2, _AM_TDMCREATE_FILEMANAGER_RESTORE_ERROR_FILE_DELETE); + } + }else{ + redirect_header("filemanager.php", 2, _AM_TDMCREATE_FILEMANAGER_RESTORE_ERROR_FILE_EXISTS); + } + } + break; + + case 'filemanager_upload_save': + if($_REQUEST['path'] != '') { + $path = trim($_REQUEST['path']); + } else { + $path = XOOPS_ROOT_PATH.'/'; + } + include_once XOOPS_ROOT_PATH . '/class/uploader.php'; + $mimetypes = include $GLOBALS['xoops']->path('include/mimetypes.inc.php'); + $uploader = new XoopsMediaUploader( $path, $mimetypes, 500000); + if ($uploader->fetchMedia('upload_file')) { + + if (!$uploader->upload()) { + $err[] = $uploader->getErrors(); + } + } + if ( isset($err) ) { + foreach ( $err as $line ){ + echo $line; + } + } + redirect_header("filemanager.php", 2, _AM_TDMCREATE_FILEMANAGER_UPLOAD_FILE); + break; + + case 'filemanager_add_dir_save': + $path = TDMCreate_CleanVars ( $_REQUEST, 'path', XOOPS_ROOT_PATH . '/modules/TDMCreate/modules/', 'string' ); + + xoops_load('XoopsFile'); + XoopsFile::load('folder'); + $folder = XoopsFile::getHandler('folder'); + if ($folder->create ($path . $_REQUEST['dir_name'], 0777)) { + $indexFile = XOOPS_ROOT_PATH."/modules/TDMCreate/index.html"; + copy($indexFile, $path.$_REQUEST['dir_name']."/index.html"); + redirect_header( 'filemanager.php', 2, _AM_TDMCREATE_FILEMANAGER_DIR_SUCCESS ); + } else { + redirect_header( 'filemanager.php', 2, _AM_TDMCREATE_FILEMANAGER_DIR_ERROR ); + } + break; + + case 'filemanager_add_file_save': + $path = TDMCreate_CleanVars ( $_REQUEST, 'path', XOOPS_ROOT_PATH . '/modules/TDMCreate/modules/', 'string' ); + if ( $path == '' ) $path = XOOPS_ROOT_PATH . '/modules/TDMCreate/modules/'; + $open = fopen($path . $_REQUEST['file_name'],"w+"); + fclose($open); + redirect_header( 'filemanager.php', 2, _AM_TDMCREATE_FILEMANAGER_FILE_SUCCESS ); + //if ($file->create ($path . $_REQUEST['file_name'])) { + // redirect_header( 'filemanager.php', 2, _AM_TDMCREATE_FILEMANAGER_DIR_SUCCESS ); + //} else { + // redirect_header( 'filemanager.php', 2, _AM_TDMCREATE_FILEMANAGER_DIR_ERROR ); + //} + break; +} +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/includes.php =================================================================== --- XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/includes.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/includes.php 2012-02-18 10:22:50 UTC (rev 9009) @@ -0,0 +1,62 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Revision Copyright (c) (http://www.txmodxoops.org) + * + * This license contains restrictions!!! + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.39 Sat 2012/02/14 16:20:18 : Timgno Exp $ + * **************************************************************************** + */ +$dir_const = XOOPS_ROOT_PATH.'/modules/TDMCreate/const'; + +include_once $dir_const.'/const_architecture.php'; +include_once $dir_const.'/const_xoopsversion.php'; +include_once $dir_const.'/const_changelog.php'; +include_once $dir_const.'/const_include_search.php'; +include_once $dir_const.'/const_include_coms.php'; +include_once $dir_const.'/const_include_configs.php'; +include_once $dir_const.'/const_include_functions.php'; +include_once $dir_const.'/const_include_install.php'; +include_once $dir_const.'/const_css_admin.php'; +include_once $dir_const.'/const_css_style.php'; +include_once $dir_const.'/const_sql.php'; +include_once $dir_const.'/const_blocks.php'; +include_once $dir_const.'/const_blocks_templates.php'; +include_once $dir_const.'/const_class.php'; +include_once $dir_const.'/const_admin_header.php'; +include_once $dir_const.'/const_admin_footer.php'; +include_once $dir_const.'/const_admin_menu.php'; +include_once $dir_const.'/const_admin_index.php'; +include_once $dir_const.'/const_admin_pages.php'; +include_once $dir_const.'/const_admin_about.php'; +include_once $dir_const.'/const_admin_permissions.php'; +include_once $dir_const.'/const_admin_language.php'; +include_once $dir_const.'/const_modinfo_language.php'; +include_once $dir_const.'/const_help_language.php'; +include_once $dir_const.'/const_blocks_language.php'; +include_once $dir_const.'/const_main_language.php'; +include_once $dir_const.'/const_user_header.php'; +include_once $dir_const.'/const_user_index.php'; +include_once $dir_const.'/const_user_pages.php'; +include_once $dir_const.'/const_templates_header.php'; +include_once $dir_const.'/const_templates_index.php'; +include_once $dir_const.'/const_templates_footer.php'; +include_once $dir_const.'/const_templates_pages.php'; +include_once $dir_const.'/const_templates_admin_about.php'; +include_once $dir_const.'/const_templates_admin_help.php'; + +?> Added: XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/index.html =================================================================== --- XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/index.html (rev 0) +++ XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/index.html 2012-02-18 10:22:50 UTC (rev 9009) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/index.php =================================================================== --- XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/index.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/index.php 2012-02-18 10:22:50 UTC (rev 9009) @@ -0,0 +1,44 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Revision Copyright (c) (http://www.txmodxoops.org) + * + * This license contains restrictions!!! + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.39 Tue 2012/02/14 16:20:18 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); + + $indexAdmin = new ModuleAdmin(); + + //compte "total" + $count_modules = $modsHandler->getCount(); + $count_tables = $tblsHandler->getCount(); + $count_languages = $lngsHandler->getCount(); + + $indexAdmin->addInfoBox(_AM_TDMCREATE_STATISTICS); + $indexAdmin->addInfoBoxLine(_AM_TDMCREATE_STATISTICS,_AM_TDMCREATE_THEREARE_MODULES_ONLINE, $count_modules); + $indexAdmin->addInfoBoxLine(_AM_TDMCREATE_STATISTICS,_AM_TDMCREATE_THEREARE_TABLES_ONLINE, $count_tables); + $indexAdmin->addInfoBoxLine(_AM_TDMCREATE_STATISTICS,_AM_TDMCREATE_THEREARE_LANGUAGES_ONLINE, $count_languages); + + echo $indexAdmin->addNavigation("index.php"); + echo $indexAdmin->renderIndex(); + +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/jquery.php =================================================================== --- XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/jquery.php (rev 0) +++ XoopsModules/TDMCreate/releases/1.39/TDMCreate/admin/jquery.php 2012-02-18 10:22:50 UTC (rev 9009) @@ -0,0 +1,475 @@ +<?php +/** + * **************************************************************************** + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Revision Copyright (c) (http://www.txmodxoops.org) + * + * This license contains restrictions!!! + * + * 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. + * + * @license TDM GPL license + * @author TDM TEAM DEV MODULE + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.39 Tue 2012/02/14 16:20:18 : Timgno Exp $ + * **************************************************************************** + */ +// Require mainfile +require '../../../mainfile.php'; +// Check Xoops define +if ( !defined('XOOPS_ROOT_PATH') ) die('XOOPS ROOT path not defined'); +error_reporting(0); +$GLOBALS['xoopsLogger']->activated = false; +// Include module functions +include $GLOBALS['xoops']->path('modules/TDMCreate/include/functions.php'); +// Load language +TDMCreate_loadLanguage('admin', 'TDMCreate'); +// Get Action type +$op = TDMCreate_CleanVars ( $_REQUEST, 'op', 'filemanager_display_folder', 'string' ); + +xoops_load('xoopsformloader'); + +switch ($op) { + + // Display files in tree + case 'filemanager_display_folder': + + $_REQUEST['dir'] = urldecode($_REQUEST['dir']); + $root = XOOPS_ROOT_PATH.'/modules/TDMCreate/modules/'; + + if( file_exists($root . $_REQUEST['dir']) ) + { + $files = scandir($root . $_REQUEST['dir']); + natcasesort($files); + + if( count($files) > 2 ) { /* The 2 accounts for . and .. */ + echo "<ul class='jqueryFileTree' style='display: none;'>"; + if ('/' == $_REQUEST['dir']) + echo "<a href='filemanager.php'><strong>/</strong></a>"; + // All dirs + foreach( $files as $file ) { + if( file_exists($root . $_REQUEST['dir'] . $file) && $file != '.' && $file != '..' && is_dir($root . $_REQUEST['dir'] . $file) ) { + //retirer .svn + $file_no_valid = array('.svn', 'conf', 'db', 'locks', 'hooks', 'cache', 'templates_c'); + + if(!in_array($file, $file_no_valid)) + { + echo "<li class='directory collapsed'><a href='".$_REQUEST['dir'] . $file."' rel='" . htmlentities($_REQUEST['dir'] . $file) . " /'>" . htmlentities($file) . "</a></li>"; + } + } + } + echo "</ul>"; + } + } + break; + + // Display files + case 'filemanager_display_file': + $nbcolonnes_file = 4; + $width = 100/$nbcolonnes_file; + $_REQUEST['file'] = urldecode($_REQUEST['file']); + //For come back and display files + if ($_REQUEST['status'] == 1 ) { + $path_file = $_REQUEST['file']; + } else { + $file_arr = explode("/",$_REQUEST['file']); + $path_file = XOOPS_ROOT_PATH.'/modules/TDMCreate/modules/'; + $url_file = XOOPS_URL.'/modules/TDMCreate/modules/'; + + for ($i=3 ; $i<count($file_arr) ; $i++ ) { + $path_file .= $file_arr[$i].'/modules/TDMCreate/modules/'; + $url_file .= $file_arr[$i].'/modules/TDMCreate/modules/'; + } + } + + if( file_exists($path_file) ) { + $files = scandir($path_file); + natcasesort($files); + xoops_load('XoopsFile'); + XoopsFile::load('file'); + // The 2 accounts for . and .. + if( count($files) > 2 ) { + ... [truncated message content] |
From: <txm...@us...> - 2012-02-18 09:50:05
|
Revision: 9008 http://xoops.svn.sourceforge.net/xoops/?rev=9008&view=rev Author: txmodxoops Date: 2012-02-18 09:49:59 +0000 (Sat, 18 Feb 2012) Log Message: ----------- Added icon for new release Added Paths: ----------- XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/changelog.png Added: XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/changelog.png =================================================================== (Binary files differ) Property changes on: XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/changelog.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. |
From: <txm...@us...> - 2012-02-17 19:30:32
|
Revision: 9007 http://xoops.svn.sourceforge.net/xoops/?rev=9007&view=rev Author: txmodxoops Date: 2012-02-17 19:30:18 +0000 (Fri, 17 Feb 2012) Log Message: ----------- Revision Added news_strories.php class Added news_topics.php class Added more core for GUI 2.5.x in admin/index.php Added help/help.html folder & files in language/italian Added help/help.html folder & files in language/german Added help/help.html folder & files in language/french Added Paths: ----------- XoopsModules/news/branches/timgno/ XoopsModules/news/branches/timgno/news/ XoopsModules/news/branches/timgno/news/admin/ XoopsModules/news/branches/timgno/news/admin/about.php XoopsModules/news/branches/timgno/news/admin/admin_footer.php XoopsModules/news/branches/timgno/news/admin/admin_header.php XoopsModules/news/branches/timgno/news/admin/amsimport.php XoopsModules/news/branches/timgno/news/admin/functions.php XoopsModules/news/branches/timgno/news/admin/groupperms.php XoopsModules/news/branches/timgno/news/admin/index.html XoopsModules/news/branches/timgno/news/admin/index.php XoopsModules/news/branches/timgno/news/admin/menu.php XoopsModules/news/branches/timgno/news/admin/upgrade.php XoopsModules/news/branches/timgno/news/archive.php XoopsModules/news/branches/timgno/news/article.php XoopsModules/news/branches/timgno/news/backendt.php XoopsModules/news/branches/timgno/news/blocks/ XoopsModules/news/branches/timgno/news/blocks/index.html XoopsModules/news/branches/timgno/news/blocks/news_archives.php XoopsModules/news/branches/timgno/news/blocks/news_bigstory.php XoopsModules/news/branches/timgno/news/blocks/news_block_tag.php XoopsModules/news/branches/timgno/news/blocks/news_moderate.php XoopsModules/news/branches/timgno/news/blocks/news_randomnews.php XoopsModules/news/branches/timgno/news/blocks/news_top.php XoopsModules/news/branches/timgno/news/blocks/news_topics.php XoopsModules/news/branches/timgno/news/blocks/news_topicsnav.php XoopsModules/news/branches/timgno/news/class/ XoopsModules/news/branches/timgno/news/class/blacklist.php XoopsModules/news/branches/timgno/news/class/class.mimetype.php XoopsModules/news/branches/timgno/news/class/class.newsstory.php XoopsModules/news/branches/timgno/news/class/class.newstopic.php XoopsModules/news/branches/timgno/news/class/class.sfiles.php XoopsModules/news/branches/timgno/news/class/index.html XoopsModules/news/branches/timgno/news/class/keyhighlighter.class.php XoopsModules/news/branches/timgno/news/class/news_stories.php XoopsModules/news/branches/timgno/news/class/news_topics.php XoopsModules/news/branches/timgno/news/class/registryfile.php XoopsModules/news/branches/timgno/news/class/tree.php XoopsModules/news/branches/timgno/news/class/wideimage/ XoopsModules/news/branches/timgno/news/class/wideimage/Canvas.class.php XoopsModules/news/branches/timgno/news/class/wideimage/Dimension.class.php XoopsModules/news/branches/timgno/news/class/wideimage/Exception.class.php XoopsModules/news/branches/timgno/news/class/wideimage/FileMapperFactory.class.php XoopsModules/news/branches/timgno/news/class/wideimage/Image.class.php XoopsModules/news/branches/timgno/news/class/wideimage/OpFactory.class.php XoopsModules/news/branches/timgno/news/class/wideimage/PaletteImage.class.php XoopsModules/news/branches/timgno/news/class/wideimage/TrueColorImage.class.php XoopsModules/news/branches/timgno/news/class/wideimage/WideImage.inc.php XoopsModules/news/branches/timgno/news/class/wideimage/fonts/ XoopsModules/news/branches/timgno/news/class/wideimage/fonts/Font_GDF.class.php XoopsModules/news/branches/timgno/news/class/wideimage/fonts/Font_TTF.class.php XoopsModules/news/branches/timgno/news/class/wideimage/mappers/ XoopsModules/news/branches/timgno/news/class/wideimage/mappers/ImageFileMapper_GD.class.php XoopsModules/news/branches/timgno/news/class/wideimage/mappers/ImageFileMapper_GD2.class.php XoopsModules/news/branches/timgno/news/class/wideimage/mappers/ImageFileMapper_GIF.class.php XoopsModules/news/branches/timgno/news/class/wideimage/mappers/ImageFileMapper_JPEG.class.php XoopsModules/news/branches/timgno/news/class/wideimage/mappers/ImageFileMapper_PNG.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/ XoopsModules/news/branches/timgno/news/class/wideimage/operations/ApplyConvolution.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/ApplyFilter.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/ApplyMask.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/AsGrayscale.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/CopyChannelsPalette.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/CopyChannelsTrueColor.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/CorrectGamma.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/Crop.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/Flip.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/GetMask.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/Merge.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/Mirror.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/Resize.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/Rotate.class.php XoopsModules/news/branches/timgno/news/class/wideimage/operations/Unsharp.class.php XoopsModules/news/branches/timgno/news/comment_delete.php XoopsModules/news/branches/timgno/news/comment_edit.php XoopsModules/news/branches/timgno/news/comment_new.php XoopsModules/news/branches/timgno/news/comment_post.php XoopsModules/news/branches/timgno/news/comment_reply.php XoopsModules/news/branches/timgno/news/config.php XoopsModules/news/branches/timgno/news/css/ XoopsModules/news/branches/timgno/news/css/index.html XoopsModules/news/branches/timgno/news/css/print.css XoopsModules/news/branches/timgno/news/css/style.css XoopsModules/news/branches/timgno/news/docs/ XoopsModules/news/branches/timgno/news/docs/changelog.txt XoopsModules/news/branches/timgno/news/docs/credits.txt XoopsModules/news/branches/timgno/news/docs/index.html XoopsModules/news/branches/timgno/news/docs/install.txt XoopsModules/news/branches/timgno/news/docs/lang.diff XoopsModules/news/branches/timgno/news/docs/licence.txt XoopsModules/news/branches/timgno/news/docs/readme.txt XoopsModules/news/branches/timgno/news/docs/upgrade.txt XoopsModules/news/branches/timgno/news/extra/ XoopsModules/news/branches/timgno/news/extra/modules/ XoopsModules/news/branches/timgno/news/extra/modules/tag/ XoopsModules/news/branches/timgno/news/extra/modules/tag/plugin/ XoopsModules/news/branches/timgno/news/extra/modules/tag/plugin/news.php XoopsModules/news/branches/timgno/news/fpdf/ XoopsModules/news/branches/timgno/news/fpdf/chinese.php XoopsModules/news/branches/timgno/news/fpdf/ex.php XoopsModules/news/branches/timgno/news/fpdf/font/ XoopsModules/news/branches/timgno/news/fpdf/font/courier.php XoopsModules/news/branches/timgno/news/fpdf/font/helvetica.php XoopsModules/news/branches/timgno/news/fpdf/font/helveticab.php XoopsModules/news/branches/timgno/news/fpdf/font/helveticabi.php XoopsModules/news/branches/timgno/news/fpdf/font/helveticai.php XoopsModules/news/branches/timgno/news/fpdf/font/index.html XoopsModules/news/branches/timgno/news/fpdf/font/makefont/ XoopsModules/news/branches/timgno/news/fpdf/font/makefont/cp1250.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/cp1251.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/cp1252.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/cp1253.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/cp1254.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/cp1255.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/cp1257.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/cp1258.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/cp874.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/index.html XoopsModules/news/branches/timgno/news/fpdf/font/makefont/iso-8859-1.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/iso-8859-11.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/iso-8859-15.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/iso-8859-16.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/iso-8859-2.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/iso-8859-4.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/iso-8859-5.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/iso-8859-7.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/iso-8859-9.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/koi8-r.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/koi8-u.map XoopsModules/news/branches/timgno/news/fpdf/font/makefont/makefont.php XoopsModules/news/branches/timgno/news/fpdf/font/symbol.php XoopsModules/news/branches/timgno/news/fpdf/font/times.php XoopsModules/news/branches/timgno/news/fpdf/font/timesb.php XoopsModules/news/branches/timgno/news/fpdf/font/timesbi.php XoopsModules/news/branches/timgno/news/fpdf/font/timesi.php XoopsModules/news/branches/timgno/news/fpdf/font/zapfdingbats.php XoopsModules/news/branches/timgno/news/fpdf/fpdf.inc.php XoopsModules/news/branches/timgno/news/fpdf/fpdf.php XoopsModules/news/branches/timgno/news/fpdf/gif.php XoopsModules/news/branches/timgno/news/fpdf/index.html XoopsModules/news/branches/timgno/news/fpdf/japanese.php XoopsModules/news/branches/timgno/news/fpdf/korean.php XoopsModules/news/branches/timgno/news/fpdf/language/ XoopsModules/news/branches/timgno/news/fpdf/language/english.php XoopsModules/news/branches/timgno/news/fpdf/language/french.php XoopsModules/news/branches/timgno/news/fpdf/language/index.html XoopsModules/news/branches/timgno/news/fpdf/language/japanese.php XoopsModules/news/branches/timgno/news/fpdf/language/korean.php XoopsModules/news/branches/timgno/news/fpdf/language/schinese.php XoopsModules/news/branches/timgno/news/fpdf/language/tchinese.php XoopsModules/news/branches/timgno/news/fpdf/makepdf_class.php XoopsModules/news/branches/timgno/news/fpdf/makepdf_config.php XoopsModules/news/branches/timgno/news/header.php XoopsModules/news/branches/timgno/news/images/ XoopsModules/news/branches/timgno/news/images/active.gif XoopsModules/news/branches/timgno/news/images/bg.png XoopsModules/news/branches/timgno/news/images/dojo/ XoopsModules/news/branches/timgno/news/images/dojo/articles.png XoopsModules/news/branches/timgno/news/images/dojo/export.png XoopsModules/news/branches/timgno/news/images/dojo/help.png XoopsModules/news/branches/timgno/news/images/dojo/home.png XoopsModules/news/branches/timgno/news/images/dojo/index.html XoopsModules/news/branches/timgno/news/images/dojo/maintain.png XoopsModules/news/branches/timgno/news/images/dojo/metagen.png XoopsModules/news/branches/timgno/news/images/dojo/newsletter.png XoopsModules/news/branches/timgno/news/images/dojo/options.png XoopsModules/news/branches/timgno/news/images/dojo/permissions.png XoopsModules/news/branches/timgno/news/images/dojo/purge.png XoopsModules/news/branches/timgno/news/images/dojo/statistics.png XoopsModules/news/branches/timgno/news/images/dojo/topics.png XoopsModules/news/branches/timgno/news/images/dojo/update.png XoopsModules/news/branches/timgno/news/images/hover.gif XoopsModules/news/branches/timgno/news/images/index.html XoopsModules/news/branches/timgno/news/images/left_both.png XoopsModules/news/branches/timgno/news/images/news.png XoopsModules/news/branches/timgno/news/images/news_slogo.png XoopsModules/news/branches/timgno/news/images/right_both.png XoopsModules/news/branches/timgno/news/images/selected.gif XoopsModules/news/branches/timgno/news/images/selectedEnd.gif XoopsModules/news/branches/timgno/news/images/selectedStart.gif XoopsModules/news/branches/timgno/news/images/selected_left_F90.gif XoopsModules/news/branches/timgno/news/images/selected_right_F90.gif XoopsModules/news/branches/timgno/news/images/topics/ XoopsModules/news/branches/timgno/news/images/topics/blank.png XoopsModules/news/branches/timgno/news/images/topics/index.html XoopsModules/news/branches/timgno/news/images/topics/xoops.gif XoopsModules/news/branches/timgno/news/images/unselected.gif XoopsModules/news/branches/timgno/news/images/unselectedEnd.gif XoopsModules/news/branches/timgno/news/images/unselected_left.gif XoopsModules/news/branches/timgno/news/images/unselected_right.gif XoopsModules/news/branches/timgno/news/include/ XoopsModules/news/branches/timgno/news/include/comment_functions.php XoopsModules/news/branches/timgno/news/include/functions.php XoopsModules/news/branches/timgno/news/include/index.html XoopsModules/news/branches/timgno/news/include/install_function.php XoopsModules/news/branches/timgno/news/include/notification.inc.php XoopsModules/news/branches/timgno/news/include/pagenav.php XoopsModules/news/branches/timgno/news/include/search.inc.php XoopsModules/news/branches/timgno/news/include/storyform.inc.php XoopsModules/news/branches/timgno/news/include/storyform.original.php XoopsModules/news/branches/timgno/news/include/update_function.php XoopsModules/news/branches/timgno/news/index.php XoopsModules/news/branches/timgno/news/js/ XoopsModules/news/branches/timgno/news/js/dojo.js XoopsModules/news/branches/timgno/news/js/src/ XoopsModules/news/branches/timgno/news/js/src/a11y.js XoopsModules/news/branches/timgno/news/js/src/html/ XoopsModules/news/branches/timgno/news/js/src/html/__package__.js XoopsModules/news/branches/timgno/news/js/src/html/color.js XoopsModules/news/branches/timgno/news/js/src/html/common.js XoopsModules/news/branches/timgno/news/js/src/html/display.js XoopsModules/news/branches/timgno/news/js/src/html/iframe.js XoopsModules/news/branches/timgno/news/js/src/html/images/ XoopsModules/news/branches/timgno/news/js/src/html/layout.js XoopsModules/news/branches/timgno/news/js/src/html/metrics.js XoopsModules/news/branches/timgno/news/js/src/html/selection.js XoopsModules/news/branches/timgno/news/js/src/html/shadow.js XoopsModules/news/branches/timgno/news/js/src/html/style.js XoopsModules/news/branches/timgno/news/js/src/html/util.js XoopsModules/news/branches/timgno/news/js/src/lang/ XoopsModules/news/branches/timgno/news/js/src/lang/__package__.js XoopsModules/news/branches/timgno/news/js/src/lang/array.js XoopsModules/news/branches/timgno/news/js/src/lang/assert.js XoopsModules/news/branches/timgno/news/js/src/lang/common.js XoopsModules/news/branches/timgno/news/js/src/lang/declare.js XoopsModules/news/branches/timgno/news/js/src/lang/extras.js XoopsModules/news/branches/timgno/news/js/src/lang/func.js XoopsModules/news/branches/timgno/news/js/src/lang/repr.js XoopsModules/news/branches/timgno/news/js/src/lang/timing/ XoopsModules/news/branches/timgno/news/js/src/lang/timing/Streamer.js XoopsModules/news/branches/timgno/news/js/src/lang/timing/Timer.js XoopsModules/news/branches/timgno/news/js/src/lang/timing/__package__.js XoopsModules/news/branches/timgno/news/js/src/lang/type.js XoopsModules/news/branches/timgno/news/js/src/lfx/ XoopsModules/news/branches/timgno/news/js/src/lfx/Animation.js XoopsModules/news/branches/timgno/news/js/src/lfx/__package__.js XoopsModules/news/branches/timgno/news/js/src/lfx/extras.js XoopsModules/news/branches/timgno/news/js/src/lfx/html.js XoopsModules/news/branches/timgno/news/js/src/lfx/rounded.js XoopsModules/news/branches/timgno/news/js/src/lfx/shadow.js XoopsModules/news/branches/timgno/news/js/src/lfx/toggle.js XoopsModules/news/branches/timgno/news/js/src/ns.js XoopsModules/news/branches/timgno/news/js/src/uri/ XoopsModules/news/branches/timgno/news/js/src/uri/Uri.js XoopsModules/news/branches/timgno/news/js/src/uri/__package__.js XoopsModules/news/branches/timgno/news/js/src/widget/ XoopsModules/news/branches/timgno/news/js/src/widget/DomWidget.js XoopsModules/news/branches/timgno/news/js/src/widget/FisheyeList.js XoopsModules/news/branches/timgno/news/js/src/widget/HtmlWidget.js XoopsModules/news/branches/timgno/news/js/src/widget/Manager.js XoopsModules/news/branches/timgno/news/js/src/widget/Parse.js XoopsModules/news/branches/timgno/news/js/src/widget/Widget.js XoopsModules/news/branches/timgno/news/js/src/widget/__package__.js XoopsModules/news/branches/timgno/news/js/src/widget/templates/ XoopsModules/news/branches/timgno/news/js/src/widget/templates/FisheyeList.css XoopsModules/news/branches/timgno/news/js/src/widget/templates/images/ XoopsModules/news/branches/timgno/news/js/src/widget/templates/images/tab_close.gif XoopsModules/news/branches/timgno/news/js/src/xml/ XoopsModules/news/branches/timgno/news/js/src/xml/Parse.js XoopsModules/news/branches/timgno/news/js/src/xml/XslTransform.js XoopsModules/news/branches/timgno/news/js/src/xml/__package__.js XoopsModules/news/branches/timgno/news/language/ XoopsModules/news/branches/timgno/news/language/english/ XoopsModules/news/branches/timgno/news/language/english/admin.php XoopsModules/news/branches/timgno/news/language/english/blocks.php XoopsModules/news/branches/timgno/news/language/english/help/ XoopsModules/news/branches/timgno/news/language/english/help/help.html XoopsModules/news/branches/timgno/news/language/english/help/index.html XoopsModules/news/branches/timgno/news/language/english/index.html XoopsModules/news/branches/timgno/news/language/english/mail_template/ XoopsModules/news/branches/timgno/news/language/english/mail_template/category_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/english/mail_template/global_newcategory_notify.tpl XoopsModules/news/branches/timgno/news/language/english/mail_template/global_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/english/mail_template/global_storysubmit_notify.tpl XoopsModules/news/branches/timgno/news/language/english/mail_template/index.html XoopsModules/news/branches/timgno/news/language/english/mail_template/story_approve_notify.tpl XoopsModules/news/branches/timgno/news/language/english/mail_template/topic_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/english/main.php XoopsModules/news/branches/timgno/news/language/english/modinfo.php XoopsModules/news/branches/timgno/news/language/english/newsletter.php XoopsModules/news/branches/timgno/news/language/englishUTF8/ XoopsModules/news/branches/timgno/news/language/englishUTF8/admin.php XoopsModules/news/branches/timgno/news/language/englishUTF8/blocks.php XoopsModules/news/branches/timgno/news/language/englishUTF8/index.html XoopsModules/news/branches/timgno/news/language/englishUTF8/mail_template/ XoopsModules/news/branches/timgno/news/language/englishUTF8/mail_template/category_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/englishUTF8/mail_template/global_newcategory_notify.tpl XoopsModules/news/branches/timgno/news/language/englishUTF8/mail_template/global_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/englishUTF8/mail_template/global_storysubmit_notify.tpl XoopsModules/news/branches/timgno/news/language/englishUTF8/mail_template/index.html XoopsModules/news/branches/timgno/news/language/englishUTF8/mail_template/story_approve_notify.tpl XoopsModules/news/branches/timgno/news/language/englishUTF8/mail_template/topic_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/englishUTF8/main.php XoopsModules/news/branches/timgno/news/language/englishUTF8/modinfo.php XoopsModules/news/branches/timgno/news/language/englishUTF8/newsletter.php XoopsModules/news/branches/timgno/news/language/french/ XoopsModules/news/branches/timgno/news/language/french/admin.php XoopsModules/news/branches/timgno/news/language/french/blocks.php XoopsModules/news/branches/timgno/news/language/french/help/ XoopsModules/news/branches/timgno/news/language/french/help/help.html XoopsModules/news/branches/timgno/news/language/french/help/index.html XoopsModules/news/branches/timgno/news/language/french/index.html XoopsModules/news/branches/timgno/news/language/french/mail_template/ XoopsModules/news/branches/timgno/news/language/french/mail_template/category_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/french/mail_template/global_newcategory_notify.tpl XoopsModules/news/branches/timgno/news/language/french/mail_template/global_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/french/mail_template/global_storysubmit_notify.tpl XoopsModules/news/branches/timgno/news/language/french/mail_template/index.html XoopsModules/news/branches/timgno/news/language/french/mail_template/story_approve_notify.tpl XoopsModules/news/branches/timgno/news/language/french/mail_template/topic_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/french/main.php XoopsModules/news/branches/timgno/news/language/french/modinfo.php XoopsModules/news/branches/timgno/news/language/french/newsletter.php XoopsModules/news/branches/timgno/news/language/frenchUTF8/ XoopsModules/news/branches/timgno/news/language/frenchUTF8/admin.php XoopsModules/news/branches/timgno/news/language/frenchUTF8/blocks.php XoopsModules/news/branches/timgno/news/language/frenchUTF8/index.html XoopsModules/news/branches/timgno/news/language/frenchUTF8/mail_template/ XoopsModules/news/branches/timgno/news/language/frenchUTF8/mail_template/category_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/frenchUTF8/mail_template/global_newcategory_notify.tpl XoopsModules/news/branches/timgno/news/language/frenchUTF8/mail_template/global_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/frenchUTF8/mail_template/global_storysubmit_notify.tpl XoopsModules/news/branches/timgno/news/language/frenchUTF8/mail_template/index.html XoopsModules/news/branches/timgno/news/language/frenchUTF8/mail_template/story_approve_notify.tpl XoopsModules/news/branches/timgno/news/language/frenchUTF8/mail_template/topic_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/frenchUTF8/main.php XoopsModules/news/branches/timgno/news/language/frenchUTF8/modinfo.php XoopsModules/news/branches/timgno/news/language/frenchUTF8/newsletter.php XoopsModules/news/branches/timgno/news/language/german/ XoopsModules/news/branches/timgno/news/language/german/admin.php XoopsModules/news/branches/timgno/news/language/german/blocks.php XoopsModules/news/branches/timgno/news/language/german/help/ XoopsModules/news/branches/timgno/news/language/german/help/help.html XoopsModules/news/branches/timgno/news/language/german/help/index.html XoopsModules/news/branches/timgno/news/language/german/index.html XoopsModules/news/branches/timgno/news/language/german/mail_template/ XoopsModules/news/branches/timgno/news/language/german/mail_template/category_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/german/mail_template/global_newcategory_notify.tpl XoopsModules/news/branches/timgno/news/language/german/mail_template/global_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/german/mail_template/global_storysubmit_notify.tpl XoopsModules/news/branches/timgno/news/language/german/mail_template/index.html XoopsModules/news/branches/timgno/news/language/german/mail_template/story_approve_notify.tpl XoopsModules/news/branches/timgno/news/language/german/mail_template/topic_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/german/main.php XoopsModules/news/branches/timgno/news/language/german/modinfo.php XoopsModules/news/branches/timgno/news/language/german/newsletter.php XoopsModules/news/branches/timgno/news/language/index.html XoopsModules/news/branches/timgno/news/language/italian/ XoopsModules/news/branches/timgno/news/language/italian/admin.php XoopsModules/news/branches/timgno/news/language/italian/aggiornamento.txt XoopsModules/news/branches/timgno/news/language/italian/blocks.php XoopsModules/news/branches/timgno/news/language/italian/help/ XoopsModules/news/branches/timgno/news/language/italian/help/help.html XoopsModules/news/branches/timgno/news/language/italian/help/index.html XoopsModules/news/branches/timgno/news/language/italian/index.html XoopsModules/news/branches/timgno/news/language/italian/mail_template/ XoopsModules/news/branches/timgno/news/language/italian/mail_template/global_newcategory_notify.tpl XoopsModules/news/branches/timgno/news/language/italian/mail_template/global_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/italian/mail_template/global_storysubmit_notify.tpl XoopsModules/news/branches/timgno/news/language/italian/mail_template/index.html XoopsModules/news/branches/timgno/news/language/italian/mail_template/story_approve_notify.tpl XoopsModules/news/branches/timgno/news/language/italian/mail_template/topic_newstory_notify.tpl XoopsModules/news/branches/timgno/news/language/italian/main.php XoopsModules/news/branches/timgno/news/language/italian/modinfo.php XoopsModules/news/branches/timgno/news/language/italian/newsletter.php XoopsModules/news/branches/timgno/news/list.tag.php XoopsModules/news/branches/timgno/news/makepdf.php XoopsModules/news/branches/timgno/news/micro_summary.php XoopsModules/news/branches/timgno/news/newsbythisauthor.php XoopsModules/news/branches/timgno/news/notification_update.php XoopsModules/news/branches/timgno/news/print.php XoopsModules/news/branches/timgno/news/ratenews.php XoopsModules/news/branches/timgno/news/seo/ XoopsModules/news/branches/timgno/news/seo/.htaccess XoopsModules/news/branches/timgno/news/seo/index.html XoopsModules/news/branches/timgno/news/sql/ XoopsModules/news/branches/timgno/news/sql/index.html XoopsModules/news/branches/timgno/news/sql/mysql.sql XoopsModules/news/branches/timgno/news/submit.php XoopsModules/news/branches/timgno/news/templates/ XoopsModules/news/branches/timgno/news/templates/blocks/ XoopsModules/news/branches/timgno/news/templates/blocks/index.html XoopsModules/news/branches/timgno/news/templates/blocks/news_block_archives.html XoopsModules/news/branches/timgno/news/templates/blocks/news_block_bigstory.html XoopsModules/news/branches/timgno/news/templates/blocks/news_block_moderate.html XoopsModules/news/branches/timgno/news/templates/blocks/news_block_randomnews.html XoopsModules/news/branches/timgno/news/templates/blocks/news_block_top.html XoopsModules/news/branches/timgno/news/templates/blocks/news_block_topicnav.html XoopsModules/news/branches/timgno/news/templates/blocks/news_block_topics.html XoopsModules/news/branches/timgno/news/templates/blocks/news_tag_block_cloud.html XoopsModules/news/branches/timgno/news/templates/blocks/news_tag_block_top.html XoopsModules/news/branches/timgno/news/templates/index.html XoopsModules/news/branches/timgno/news/templates/news_archive.html XoopsModules/news/branches/timgno/news/templates/news_article.html XoopsModules/news/branches/timgno/news/templates/news_by_this_author.html XoopsModules/news/branches/timgno/news/templates/news_by_topic.html XoopsModules/news/branches/timgno/news/templates/news_index.html XoopsModules/news/branches/timgno/news/templates/news_item.html XoopsModules/news/branches/timgno/news/templates/news_ratenews.html XoopsModules/news/branches/timgno/news/templates/news_rss.html XoopsModules/news/branches/timgno/news/templates/news_topics_directory.html XoopsModules/news/branches/timgno/news/templates/news_whos_who.html XoopsModules/news/branches/timgno/news/topics_directory.php XoopsModules/news/branches/timgno/news/view.tag.php XoopsModules/news/branches/timgno/news/visit.php XoopsModules/news/branches/timgno/news/whoswho.php XoopsModules/news/branches/timgno/news/xoops_version.php Added: XoopsModules/news/branches/timgno/news/admin/about.php =================================================================== --- XoopsModules/news/branches/timgno/news/admin/about.php (rev 0) +++ XoopsModules/news/branches/timgno/news/admin/about.php 2012-02-17 19:30:18 UTC (rev 9007) @@ -0,0 +1,30 @@ +<?php +/** + * News module + * + * 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 XOOPS Project (http://www.xoops.org) + * @license GNU GPL (http://www.gnu.org/licenses/gpl-2.0.html/) + * @package News + * @since 2.5.0 + * @author Mage, Mamba + * @version $Id $ + **/ + +include '../../../include/cp_header.php'; +include '../../../class/xoopsformloader.php'; +include '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 Added: XoopsModules/news/branches/timgno/news/admin/admin_footer.php =================================================================== --- XoopsModules/news/branches/timgno/news/admin/admin_footer.php (rev 0) +++ XoopsModules/news/branches/timgno/news/admin/admin_footer.php 2012-02-17 19:30:18 UTC (rev 9007) @@ -0,0 +1,20 @@ +<?php +/** + * News module + * + * 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 XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package News + * @since 2.5.0 + * @author Mamba (www.xoops.org) + * @version $Id $ +**/ + +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/news/branches/timgno/news/admin/admin_header.php =================================================================== --- XoopsModules/news/branches/timgno/news/admin/admin_header.php (rev 0) +++ XoopsModules/news/branches/timgno/news/admin/admin_header.php 2012-02-17 19:30:18 UTC (rev 9007) @@ -0,0 +1,63 @@ +<?php +/** + * Marquee module + * + * 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 XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Marquee + * @since 2.5.0 + * @author XOOPS Module Team + * @version $Id $ +**/ +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; + + +if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); + //return true; + }else{ + echo xoops_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + //return false; + } + + +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); + +$topicsHandler=& xoops_getModuleHandler('news_topics','news'); +$storiesHandler=& xoops_getModuleHandler('news_stories','news'); + +$myts =& MyTextSanitizer::getInstance(); + +if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} + +$xoopsTpl->assign('pathImageIcon', $pathImageIcon); +//xoops_cp_header(); + +//Load languages +xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('main', $xoopsModule->getVar("dirname")); \ No newline at end of file Added: XoopsModules/news/branches/timgno/news/admin/amsimport.php =================================================================== --- XoopsModules/news/branches/timgno/news/admin/amsimport.php (rev 0) +++ XoopsModules/news/branches/timgno/news/admin/amsimport.php 2012-02-17 19:30:18 UTC (rev 9007) @@ -0,0 +1,253 @@ +<?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 // +// ------------------------------------------------------------------------ // +/** + * AMS Import + * + * This script will import topics, articles, files, links, ratings, comments and notifications from AMS 2.41 + * + * @package News + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com) + * @copyright 2005, 2006 - Herv\xE9 Thouzard + * @version 1.0 + */ + +include_once '../../../include/cp_header.php'; +xoops_cp_header(); +include_once XOOPS_ROOT_PATH.'/modules/news/include/functions.php'; +include_once XOOPS_ROOT_PATH.'/modules/news/class/class.newsstory.php'; +include_once XOOPS_ROOT_PATH.'/modules/news/class/class.sfiles.php'; +include_once XOOPS_ROOT_PATH.'/modules/news/class/class.newstopic.php'; +include_once XOOPS_ROOT_PATH.'/class/xoopstree.php'; + +if (is_object($xoopsUser) && $xoopsUser->isAdmin($xoopsModule->mid())) { + if(!isset($_POST['go']) ) { + echo '<h1>Welcome to the AMS 2.41 import script</h1>'; + echo '<br /><br />Select the import options you wan to use :'; + echo "<form method='post' action='amsimport.php'>"; + echo "<br /><input type='checkbox' name='useforum' value='1' /> Import forums links inside news (at the bottom of the news)"; + echo "<br /><input type='checkbox' name='useextlinks' value='1' /> Import external links inside news (at the bottom of the news)"; + echo "<br /><br /><input type='submit' name='go' value='Import' />"; + echo '</form>'; + echo "<br /><br />If you check the two last options then the forum's link and all the external links will be added at the end of the body text."; + } else { + // Launch the import + if (file_exists(XOOPS_ROOT_PATH.'/modules/AMS/language/'.$xoopsConfig['language'].'/main.php')) { + include_once XOOPS_ROOT_PATH.'/modules/AMS/language/'.$xoopsConfig['language'].'/main.php'; + } else { + include_once XOOPS_ROOT_PATH.'/modules/AMS/language/english/main.php'; + } + if (file_exists(XOOPS_ROOT_PATH.'/modules/AMS/language/'.$xoopsConfig['language'].'/admin.php')) { + include_once XOOPS_ROOT_PATH.'/modules/AMS/language/'.$xoopsConfig['language'].'/admin.php'; + } else { + include_once XOOPS_ROOT_PATH.'/modules/AMS/language/english/admin.php'; + } + $db =& Database::getInstance(); + // User's choices + $use_forum = (isset($_POST['useforum']) && $_POST['useforum']==1) ? 1 : 0; + $use_extlinks = (isset($_POST['useextlinks']) && $_POST['useextlinks']==1) ? 1 : 0; + // Retreive News module's ID + $module_handler =& xoops_gethandler('module'); + $newsModule =& $module_handler->getByDirname('news'); + $news_mid = $newsModule->getVar('mid'); + // Retreive AMS module's ID + $AmsModule =& $module_handler->getByDirname('AMS'); + $ams_mid = $AmsModule->getVar('mid'); + + // Retreive AMS tables names + $ams_topics = $xoopsDB->prefix('ams_topics'); + $ams_articles = $xoopsDB->prefix('ams_article'); + $ams_text = $xoopsDB->prefix('ams_text'); + $ams_files = $xoopsDB->prefix('ams_files'); + $ams_links = $xoopsDB->prefix('ams_link'); + $ams_rating = $xoopsDB->prefix('ams_rating'); + // Retreive News tables names + $news_stories_votedata = $xoopsDB->prefix('stories_votedata'); + // Misc + $comment_handler =& xoops_gethandler('comment'); + $notification_handler =& xoops_gethandler('notification'); + $ams_news_topics=array(); // Key => AMS Id, Value => News ID + + // The import by itself + // Read topics by their order + $mytree = new XoopsTree($ams_topics,'topic_id','topic_pid'); + $ams_topics = $mytree->getChildTreeArray(0,'weight'); + foreach($ams_topics as $one_amstopic) { + // First we create the topic + $topicpid=0; + if($one_amstopic['topic_pid']!=0) { // Search for its the parent + if(array_key_exists($one_amstopic['topic_pid'],$ams_news_topics)) { + $topicpid=$ams_news_topics[$one_amstopic['topic_pid']]; + } + } + $news_topic = new NewsTopic(); + $news_topic->setTopicPid($topicpid); + $news_topic->setTopicTitle($one_amstopic['topic_title']); + $news_topic->setTopicImgurl($one_amstopic['topic_imgurl']); + $news_topic->setMenu(0); + $news_topic->setTopicFrontpage(1); + $news_topic->Settopic_rssurl(''); + $news_topic->setTopicDescription(''); + $news_topic->setTopic_color('000000'); + $news_topic->store(); + echo '<br>- The following topic was imported : '.$news_topic->topic_title(); + $ams_topicid = $one_amstopic['topic_id']; + $news_topicid = $news_topic->topic_id(); + $ams_news_topics[$ams_topicid] = $news_topicid; + + // Then we insert all its articles + $result = $db->query('SELECT * FROM '.$ams_articles.' WHERE topicid='.$ams_topicid.' ORDER BY created'); + while ( $article = $db->fetchArray($result) ) { + $ams_newsid = $article['storyid']; + + // We search for the last version + $result2 = $db->query('SELECT * FROM '.$ams_text.' WHERE storyid='.$ams_newsid.' AND current=1'); + $text_lastversion = $db->fetchArray($result2); + + // We search for the number of votes + $result3 = $db->query('SELECT count(*) as cpt FROM '.$ams_rating.' WHERE storyid='.$ams_newsid); + $votes = $db->fetchArray($result3); + + // The links + $links=''; + if($use_extlinks) { + $result7 = $db->query('SELECT * FROM '.$ams_links.' WHERE storyid='.$ams_newsid.' ORDER BY linkid'); + while ( $link = $db->fetchArray($result7) ) { + if(trim($links)=='') { + $links="\n\n"._AMS_NW_RELATEDARTICLES."\n\n"; + } + $links .= _AMS_NW_EXTERNALLINK.' [url='.$link['link_link'].']'.$link['link_title'].'[/url]'."\n"; + } + } + + // The forum + $forum=''; + if($use_forum && $one_amstopic['forum_id']!=0) { + $forum = "\n\n".'[url='.XOOPS_URL.'/modules/newbb/viewforum.php?forum='.$one_amstopic['forum_id'].']'._AMS_AM_LINKEDFORUM.'[/url]'."\n"; + } + + // We create the story + $news = new NewsStory(); + $news->setUid($text_lastversion['uid']); + $news->setTitle($article['title']); + $news->created=$article['created']; + $news->setPublished($article['published']); + $news->setExpired($article['expired']); + $news->setHostname($article['hostname']); + $news->setNohtml($article['nohtml']); + $news->setNosmiley($article['nosmiley']); + $news->setHometext($text_lastversion['hometext']); + $news->setBodytext($text_lastversion['bodytext'].$links.$forum); + $news->Setkeywords(''); + $news->Setdescription(''); + $news->counter=$article['counter']; + $news->setTopicId($news_topicid); + $news->setIhome($article['ihome']); + $news->setNotifyPub($article['notifypub']); + $news->story_type=$article['story_type']; + $news->setTopicdisplay($article['topicdisplay']); + $news->setTopicalign($article['topicalign']); + $news->setComments($article['comments']); + $news->rating=$article['rating']; + $news->votes=$votes['cpt']; + $approved = $article['published']>0 ? true : false; + $news->approved=$approved; + $news->store($approved); + echo '<br> This story was imported : '.$news->title(); + $news_newsid=$news->storyid(); // ******************** + + // The files + $result4 = $db->query('SELECT * FROM '.$ams_files.' WHERE storyid='.$ams_newsid); + while ( $file = $db->fetchArray($result4) ) { + $sfile = new sFiles(); + $sfile->setFileRealName($file['filerealname']); + $sfile->setStoryid($news_newsid); + $sfile->date=$file['date']; + $sfile->setMimetype($file['mimetype']); + $sfile->setDownloadname($file['downloadname']); + $sfile->counter=$file['counter']; + $sfile->store(); + echo '<br> This file was imported : '.$sfile->getDownloadname(); + $news_fileid=$sfile->fileid; + } + + // The ratings + $result5 = $db->query('SELECT * FROM '.$ams_rating.' WHERE storyid='.$ams_newsid); + while ( $ratings = $db->fetchArray($result5) ) { + $result6 = $db->queryF('INSERT INTO '.$news_stories_votedata." (storyid, ratinguser, rating, ratinghostname, ratingtimestamp) VALUES (".$news_newsid.','.$ratings['ratinguser'].','.$ratings['rating'].','.$ratings['ratinghostname'].','.$ratings['ratingtimestamp'].')'); + } + + // The comments + $comments =& $comment_handler->getByItemId($ams_mid, $ams_newsid, 'ASC'); + if(is_array($comments) && count($comments)>0) { + foreach($comments as $onecomment) { + $onecomment->setNew(); + $onecomment->setVar('com_modid',$news_mid); + $onecomment->setVar('com_itemid',$news_newsid); + $comment_handler->insert($onecomment); + } + } + unset($comments); + + // The notifications of this news + //$notifications =& $notification_handler->getByItemId($ams_mid, $ams_newsid, 'ASC'); + $criteria = new CriteriaCompo(new Criteria('not_modid', $ams_mid)); + $criteria->add(new Criteria('not_itemid', $ams_newsid)); + $criteria->setOrder('ASC'); + $notifications = $notification_handler->getObjects($criteria); + if(is_array($notifications) && count($notifications)>0) { + foreach($notifications as $onenotification) { + $onenotification->setNew(); + $onenotification->setVar('not_modid',$news_mid); + $onenotification->setVar('not_itemid',$news_newsid); + $notification_handler->insert($onenotification); + } + } + unset($notifications); + } + } + // Finally, import all the globals notifications + $criteria = new CriteriaCompo(new Criteria('not_modid', $ams_mid)); + $criteria->add(new Criteria('not_category', 'global')); + $criteria->setOrder('ASC'); + $notifications = $notification_handler->getObjects($criteria); + if(is_array($notifications) && count($notifications)>0) { + foreach($notifications as $onenotification) { + $onenotification->setNew(); + $onenotification->setVar('not_modid',$news_mid); + $onenotification->setVar('not_itemid',$news_newsid); + $notification_handler->insert($onenotification); + } + } + unset($notifications); + echo "<p><a href='".XOOPS_URL."/modules/news/admin/groupperms.php'>The import is finished, don't forget to verify and set the topics permissions !</a></p>"; + } +} else { + redirect_header(XOOPS_URL.'/modules/news/index.php', 3, _NOPERM); + exit(); +} +xoops_cp_footer(); +?> Added: XoopsModules/news/branches/timgno/news/admin/functions.php =================================================================== --- XoopsModules/news/branches/timgno/news/admin/functions.php (rev 0) +++ XoopsModules/news/branches/timgno/news/admin/functions.php 2012-02-17 19:30:18 UTC (rev 9007) @@ -0,0 +1,86 @@ +<?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 // +// ------------------------------------------------------------------------ // +/** + * Function used to display a menu similar to the launcher on OS X + * + * Enable webmasters to navigate thru the module's features. + * Each time you select an option in the admin panel of the news module, this option is highlighted in this menu + * + * NOTE : Please give credits if you copy this code ! + * + * @package News + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com) & Dojo Javscript Toolkit + * @copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com) + */ + +function news_collapsableBar($tablename = '', $iconname = '') +{ + + ?> + <script type="text/javascript"><!-- + function goto_URL(object) + { + window.location.href = object.options[object.selectedIndex].value; + } + + function toggle(id) + { + if (document.getElementById) { obj = document.getElementById(id); } + if (document.all) { obj = document.all[id]; } + if (document.layers) { obj = document.layers[id]; } + if (obj) { + if (obj.style.display == "none") { + obj.style.display = ""; + } else { + obj.style.display = "none"; + } + } + return false; + } + + var iconClose = new Image(); + iconClose.src = '../images/icons/close12.gif'; + var iconOpen = new Image(); + iconOpen.src = '../images/icons/open12.gif'; + + function toggleIcon ( iconName ) + { + if ( document.images[iconName].src == window.iconOpen.src ) { + document.images[iconName].src = window.iconClose.src; + } else if ( document.images[iconName].src == window.iconClose.src ) { + document.images[iconName].src = window.iconOpen.src; + } + return; + } + + //--> + </script> + <?php +echo "<h4 style=\"color: #2F5376; margin: 6px 0 0 0; \"><a href='#' onClick=\"toggle('" . $tablename . "'); toggleIcon('" . $iconname . "');\">"; +} + +?> \ No newline at end of file Added: XoopsModules/news/branches/timgno/news/admin/groupperms.php =================================================================== --- XoopsModules/news/branches/timgno/news/admin/groupperms.php (rev 0) +++ XoopsModules/news/branches/timgno/news/admin/groupperms.php 2012-02-17 19:30:18 UTC (rev 9007) @@ -0,0 +1,72 @@ +<?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'; +include_once XOOPS_ROOT_PATH . '/class/xoopstopic.php'; +include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; +include_once XOOPS_ROOT_PATH . '/class/xoopsform/grouppermform.php'; +include_once XOOPS_ROOT_PATH . '/modules/news/admin/functions.php'; +include_once 'admin_header.php'; +xoops_cp_header(); +$permAdmin = new ModuleAdmin(); +echo $permAdmin->addNavigation('groupperms.php'); + +echo '<br /><br /><br />'; +$permtoset = isset($_POST['permtoset']) ? intval($_POST['permtoset']) : 1; +$selected = array('', '', ''); +$selected[$permtoset-1]=' selected'; +echo "<form method='post' name='fselperm' action='groupperms.php'><select name='permtoset' onChange='javascript: document.fselperm.submit()'><option value='1'".$selected[0].">"._AM_APPROVEFORM."</option><option value='2'".$selected[1].">"._AM_SUBMITFORM."</option><option value='3'".$selected[2].">"._AM_VIEWFORM."</option></select> <input type='submit' name='go'></form>"; +$module_id = $xoopsModule->getVar('mid'); + +switch($permtoset) +{ + case 1: + $title_of_form = _AM_APPROVEFORM; + $perm_name = 'news_approve'; + $perm_desc = _AM_APPROVEFORM_DESC; + break; + case 2: + $title_of_form = _AM_SUBMITFORM; + $perm_name = 'news_submit'; + $perm_desc = _AM_SUBMITFORM_DESC; + break; + case 3: + $title_of_form = _AM_VIEWFORM; + $perm_name = 'news_view'; + $perm_desc = _AM_VIEWFORM_DESC; + break; +} + +$permform = new XoopsGroupPermForm($title_of_form, $module_id, $perm_name, $perm_desc,'admin/groupperms.php'); +$xt = new XoopsTopic($xoopsDB -> prefix('topics')); +$alltopics =& $xt->getTopicsList(); +foreach ($alltopics as $topic_id => $topic) { + $permform->addItem($topic_id, $topic['title'], $topic['pid']); +} +echo $permform->render(); +echo "<br /><br /><br /><br />\n"; +unset($permform); +include 'admin_footer.php'; \ No newline at end of file Added: XoopsModules/news/branches/timgno/news/admin/index.html =================================================================== --- XoopsModules/news/branches/timgno/news/admin/index.html (rev 0) +++ XoopsModules/news/branches/timgno/news/admin/index.html 2012-02-17 19:30:18 UTC (rev 9007) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/news/branches/timgno/news/admin/index.php =================================================================== --- XoopsModules/news/branches/timgno/news/admin/index.php (rev 0) +++ XoopsModules/news/branches/timgno/news/admin/index.php 2012-02-17 19:30:18 UTC (rev 9007) @@ -0,0 +1,1612 @@ +<?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'; +include_once 'admin_header.php'; +include_once XOOPS_ROOT_PATH.'/class/xoopstopic.php'; +include_once XOOPS_ROOT_PATH.'/class/xoopslists.php'; +include_once XOOPS_ROOT_PATH.'/modules/news/config.php'; +include_once XOOPS_ROOT_PATH.'/modules/news/class/class.newsstory.php'; +include_once XOOPS_ROOT_PATH.'/modules/news/class/class.newstopic.php'; +include_once XOOPS_ROOT_PATH.'/modules/news/class/class.sfiles.php'; +include_once XOOPS_ROOT_PATH.'/modules/news/class/blacklist.php'; +include_once XOOPS_ROOT_PATH.'/modules/news/class/registryfile.php'; +include_once XOOPS_ROOT_PATH.'/class/uploader.php'; +include_once XOOPS_ROOT_PATH.'/class/pagenav.php'; +include_once XOOPS_ROOT_PATH.'/modules/news/admin/functions.php'; +include_once XOOPS_ROOT_PATH.'/modules/news/include/functions.php'; +include_once XOOPS_ROOT_PATH.'/class/tree.php'; +$dateformat=news_getmoduleoption('dateformat'); +$myts =& MyTextSanitizer::getInstance(); +$topicscount=0; + +$storiesTableName = $xoopsDB->prefix('stories'); +if(!news_FieldExists('picture', $storiesTableName)) { + news_AddField('`picture` VARCHAR( 50 ) NOT NULL', $storiesTableName); +} + +/** + * Show new submissions + * + * This list can be view in the module's admin when you click on the tab named "Post/Edit News" + * Submissions are news that was submit by users but who are not approved, so you need to edit + * them to approve them. + * Actually you can see the the story's title, the topic, the posted date, the author and a + * link to delete the story. If you click on the story's title, you will be able to edit the news. + * The table contains the last x new submissions. + * The system's block called "Waiting Contents" is listing the number of those news. + */ +function newSubmissions() +{ + global $dateformat, $pathImageIcon; + $start = isset($_GET['startnew']) ? intval($_GET['startnew']) : 0; + $newsubcount = NewsStory :: getAllStoriesCount(3,false); + $storyarray = NewsStory :: getAllSubmitted(news_getmoduleoption('storycountadmin'),true,news_getmoduleoption('restrictindex'),$start); + if ( count($storyarray)> 0) { + $pagenav = new XoopsPageNav( $newsubcount, news_getmoduleoption('storycountadmin'), $start, 'startnew', 'op=newarticle'); + news_collapsableBar('newsub', 'topnewsubicon'); + echo "<img onclick=\"toggle('toptable'); toggleIcon('toptableicon');\" id='topnewsubicon' name='topnewsubicon' src='" . $pathImageIcon."/close12.gif' alt='' /></a> "._AM_NEWSUB."</h4>"; + echo "<div id='newsub'>"; + echo '<br />'; + echo "<div style='text-align: center;'><table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'><tr class='bg3'><th align='center'>" . _AM_TITLE . "... [truncated message content] |
From: <tst...@us...> - 2012-02-17 19:28:14
|
Revision: 9006 http://xoops.svn.sourceforge.net/xoops/?rev=9006&view=rev Author: tstempko Date: 2012-02-17 19:28:02 +0000 (Fri, 17 Feb 2012) Log Message: ----------- Modified Paths: -------------- XoopsLanguages/polish/core/2.5.4/htdocs/language/polish/findusers.php XoopsLanguages/polish/core/2.5.4/htdocs/language/polish/misc.php XoopsLanguages/polish/core/2.5.4/htdocs/language/polish/pmsg.php XoopsLanguages/polish/core/2.5.4/htdocs/language/polish/user.php XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/main.php XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/modinfo.php XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/admin.php XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/modinfo.php XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/language/polish/admin/images.php XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/language/polish/admin/tplsets.php XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/language/polish/admin/users.php XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/polish/admin.php XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/polish/localsupport.php XoopsLanguages/polish/core/2.5.4/htdocs/themes/suico/language/polish/main.php XoopsLanguages/polish/core/2.5.4/htdocs/themes/zetagenesis/language/polish/main.php XoopsLanguages/polish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/polish/admin.php Added Paths: ----------- XoopsLanguages/polish/core/2.5.4/ XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/ XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/ XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin/ XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin/language/ XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/ XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/index.html XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/main.php XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/help/ XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/help/help.html XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/help/index.html XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/help/ XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/help/help.html XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/help/index.html XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/ XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language/ XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language/polish/ XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language/polish/help/ XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language/polish/help/help.html XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language/polish/help/index.html Property changes on: XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin/language ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/index.html =================================================================== --- XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/index.html (rev 0) +++ XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/index.html 2012-02-17 19:28:02 UTC (rev 9006) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/main.php =================================================================== --- XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/main.php (rev 0) +++ XoopsLanguages/polish/core/2.5.4/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/main.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -0,0 +1,37 @@ +<?php +/** + * Frameworks Module Admin + * + * 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 Grégory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Grégory Mage (Aka Mage) + */ + +// Info +define('_AM_MODULEADMIN_CONFIG','Sprawdzenie konfiguracj'); +define('_AM_MODULEADMIN_CONFIG_CHMOD',"Katalog '%s' musi mieć nadane uprawnienia komendą chmod '%s' (bieżące uprawnienia to %s).'"); +define('_AM_MODULEADMIN_CONFIG_FOLDERKO',"Katalog '%s' nie istnieje"); +define('_AM_MODULEADMIN_CONFIG_FOLDEROK',"Katalog '%s' istnieje"); +define('_AM_MODULEADMIN_CONFIG_PHP','Wymagana minimalna wersja PHP: %s (obecna wersja to %s)'); +define('_AM_MODULEADMIN_CONFIG_XOOPS','Wymagana minimalna wersja XOOPS: %s (obecna wersja to %s)'); + +define('_AM_MODULEADMIN_CONFIG_DB','wymagana minimalna wersja: %s (obecnie wersja %s)'); +define('_AM_MODULEADMIN_CONFIG_ADMIN','Wymagana minimumalna wersja ModuleAdmin: %s (obecnia wersja to %s)'); + + +// About +define('_AM_MODULEADMIN_ABOUT_CHANGELOG','Dziennik zmian (Change log)'); +define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Opis'); +define('_AM_MODULEADMIN_ABOUT_MODULEINFO','Informacje o module'); +define('_AM_MODULEADMIN_ABOUT_MODULESTATUS','Status:'); +define('_AM_MODULEADMIN_ABOUT_UPDATEDATE','Data aktualizacji:'); +define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Witryna www:"); + +?> \ No newline at end of file Modified: XoopsLanguages/polish/core/2.5.4/htdocs/language/polish/findusers.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/language/polish/findusers.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/language/polish/findusers.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -81,4 +81,7 @@ define("_MA_USER_USERADDED", "Użytkownicy zostali dodani"); define("_MA_USER_SENDMAIL", "Wyślij email"); +//2.5.4 +define('_MA_USER_FACEBOOK', 'Odnośnik do Facebook'); //TO DO +define('_MA_USER_SKYPE', 'Odnośnik do Skype');//TO DO ?> Modified: XoopsLanguages/polish/core/2.5.4/htdocs/language/polish/misc.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/language/polish/misc.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/language/polish/misc.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -46,4 +46,8 @@ define('_MSC_CODE', 'Kod'); define('_MSC_EMOTION', 'Emocje'); +define('_MSC_CLICK_TO_OPEN_IMAGE', 'Kliknij aby zobaczyć oryginalny obraz w nowym oknie'); +define('_MSC_RESIZED_IMAGE', 'Przeskalowany obraz'); +define('_MSC_ORIGINAL_IMAGE', 'Oryginalny obraz'); + ?> Modified: XoopsLanguages/polish/core/2.5.4/htdocs/language/polish/pmsg.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/language/polish/pmsg.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/language/polish/pmsg.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -65,5 +65,7 @@ define('_PM_REPLY', 'Odpowiedz'); define('_PM_PLZREG', 'Proszę najpierw się zarejestrować, żeby wysyłać prywatne wiadomości!'); define('_PM_ONLINE', 'Online'); +//XOOPS 2.5.2 +define('_PM_SURE_TO_DELETE',"Are you sure you want to delete these message(s)?"); ?> Modified: XoopsLanguages/polish/core/2.5.4/htdocs/language/polish/user.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/language/polish/user.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/language/polish/user.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -58,7 +58,7 @@ define('_US_VERIFYPASS', 'Powtórz hasło'); define('_US_SUBMIT', 'Zatwierdź'); define('_US_USERNAME', 'Nazwa użytkownika'); -define('_US_FINISH', 'Potwierdź rejestrację'); +define('_US_FINISH', 'Koniec'); define('_US_REGISTERNG', 'Nie można zarejestrować nowego użytkownika.'); define('_US_MAILOK', 'Pozwolić administratorowi i <br /> moderatorom na wysyłanie wiadomości?'); define('_US_DISCLAIMER', 'Regulamin'); @@ -154,4 +154,9 @@ // Welcoming emai/PM subject define('_US_WELCOME_SUBJECT', 'Witamy na %s'); +//XOOPS 2.5.4 +define('_US_SKYPE', 'Skype'); +define('_US_FACEBOOK', 'Facebook'); + + ?> Property changes on: XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/help ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/help/help.html =================================================================== --- XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/help/help.html (rev 0) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/help/help.html 2012-02-17 19:28:02 UTC (rev 9006) @@ -0,0 +1,39 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/pm/admin/admin.php" + title="Back to the administration of PM"> Private Messaging + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of >M"/> + </a></h1> + <!-- ===== Help Content ======= --> + + <h4 class="odd">Description</h4><br/> + + The PM module is for private messaging between users<br/><br/> + <h4 class="odd">Install/uninstall</h4><br/> + + No special measures necessary, follow the standard installation process – + extract the /pm folder into the + ../modules directory. Install the module through Admin -> System Module -> + Modules. <br/><br/> + Detailed instructions on installing modules are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations + Manual</a><br/><br/> + + <h4 class="odd">Operating instructions</h4><br/> + To set up this module you need to:<br/><br/> + i) You enter your Inbox directly from the front page, or by clicking on the + top link "Go to module" in the PM's Admin area <br/><br/> + ii) Configure your preferences for the module (see ‘Preferences’) and + optionally the PM block if you intend to + use it (see ‘Blocks’)<br/><br/> + iii) You can do mass deleting of your messages by using the "Prune Messages" + tab<br/><br/> + <h4 class="odd">Tutorial</h4><br/> + + + Tutorial coming soon.<br/> + + <!-- ===== Help Content ======= --> + +</div> \ No newline at end of file Added: XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/help/index.html =================================================================== --- XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/help/index.html (rev 0) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/help/index.html 2012-02-17 19:28:02 UTC (rev 9006) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Modified: XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/main.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/modules/pm/language/polish/main.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/main.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -52,26 +52,18 @@ define("_PM_UNSAVED", "Wiadomości zostały usunięte z Zapisanych"); define("_PM_EMPTIED", "Skrzynka została opróżniona"); define("_PM_RUSUREEMPTY", "Na pewno chcesz opróżnić skrzynkę?"); -define("_PM_RUSUREDELETE", "Na pewno chcesz skasować te wiadomości?"); +define("_PM_SURE_TO_DELETE", "Na pewno chcesz skasować te wiadomości?"); define("_PM_ONLINE", "Online"); -define("_PM_RECEIVE", "RECEIVE"); -define("_PM_POST", "POST"); -define("_PM_READBOX", "READBOX"); -define("_PM_RSAVEBOX", "Receive_SAVEBOX"); -define("_PM_OUTBOX", "Wysłane"); +define("_PM_OUTBOX", "Odebrane"); define("_PM_SAVEBOX", "Zapisane"); define("_PM_SENTBOX", "Skrzynka nadawcza"); -define("_PM_PSAVEBOX", "Post_SAVEBOX"); -define("_PM_SAVE", "ZAPISZ"); -define("_PM_SAVED", "Zapisane poprawnie"); -define("_PM_TOC", "Od: "); +define("_PM_SAVE", "Zapisz"); //WANISYS.NET PM HACK1.5 define("_PM_SORT", "SORT"); define("_PM_ORDER", "ORDER"); -define("_PM_UID", "Partner's UID"); define("_PM_TIME", "Post DATE"); define("_PM_ASC", "ASC"); define("_PM_DESC", "DESC"); @@ -94,4 +86,8 @@ define("_PM_ACTION_DONE", "Operacja zakończona pomyślnie!"); define("_PM_ACTION_ERROR", "Operacja nie powiodła się!"); +//XOOPS 2.5.2 +define("_PM_READ","Przeczytane"); +define("_PM_SUBJECT_ICONS","Ikony tematu: "); + ?> Modified: XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/modinfo.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/modules/pm/language/polish/modinfo.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/pm/language/polish/modinfo.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -5,7 +5,7 @@ // Translator: tstempko define("_PM_MI_NAME", "Wiadomości"); -define("_PM_MI_DESC", "Moduł obsługujący PM pomiędzy użytkownikami"); +define("_PM_MI_DESC", "Moduł obsługujący prywatne wiadomości PM (Private Messages) pomiędzy użytkownikami"); define("_PM_MI_INDEX", "Indeks"); define("_PM_MI_PRUNE", "Usuń Wiadomości"); @@ -27,4 +27,7 @@ define("_PM_MI_PERPAGE", "Liczba PM na stronie"); define("_PM_MI_PERPAGE_DESC", ""); +//1.07 +define("_PM_MI_ABOUT", "O PM..."); + ?> Modified: XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/admin.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/modules/profile/language/polish/admin.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/admin.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -110,5 +110,7 @@ define("_PROFILE_AM_STEPORDER", "Kolejność kroku"); define("_PROFILE_AM_STEPSAVE", "Zapisz po kroku"); define("_PROFILE_AM_STEPINTRO", "Opis kroku"); +//1.62 +define('_PROFILE_AM_ACTION', 'Akcja'); ?> Property changes on: XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/help ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/help/help.html =================================================================== --- XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/help/help.html (rev 0) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/help/help.html 2012-02-17 19:28:02 UTC (rev 9006) @@ -0,0 +1,36 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/profile/admin/index.php" + title="Back to the administration of User Profile"> Profile <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Profile"/> + </a></h1> + <!-- ===== Help Content ======= --> + + <h4 class="odd">Description</h4><br/> + + + The Profile module is for managing custom user profile fields.<br/><br/> + <h4 class="odd">Install/uninstall</h4><br/> + + No special measures necessary, follow the standard installation process – extract the xoopspartners folder into the + ../modules directory. Install the module through Admin -> System Module -> Modules. <br/><br/> + Detailed instructions on installing modules are available in the <a href="http://goo.gl/adT2i">XOOPS Operations + Manual</a><br/><br/> + + + <h4 class="odd">Operating instructions</h4><br/> + To set up this module you need to:<br/><br/> + i) Configure your preferences for the module (see ‘Preferences’) and optionally the Partners block if you intend to + use it (see ‘Blocks’)<br/><br/> + ii) Edit existing Categories or add new ones.<br/><br/> + iii) Edit existing Fields or add new ones. Here you can specify which fields will be visible in which category, and if they will be visible during user registration<br/><br/> + iv) Define the order of Registration steps <br/><br/> + v) And finally, you can set permissions for individual fields - which ones are editable, which ones are searchable<br/><br/> + <h4 class="odd">Tutorial</h4><br/> + + + A Tutorial is coming soon. <br/><br/> + + <!-- ===== Help Content ======= --> + +</div> \ No newline at end of file Added: XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/help/index.html =================================================================== --- XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/help/index.html (rev 0) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/help/index.html 2012-02-17 19:28:02 UTC (rev 9006) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Modified: XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/modinfo.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/modules/profile/language/polish/modinfo.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/profile/language/polish/modinfo.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -50,5 +50,8 @@ define("_PROFILE_MI_CATEGORY_COMMUNITY", "Społeczność"); define("_PROFILE_MI_NEVER_LOGGED_IN", "Nigdy nie zalogowany"); +//1.62 +define("_PROFILE_MI_ABOUT", "O programie..."); +define("_PROFILE_MI_HOME", "Strona domowa"); ?> Property changes on: XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language/polish ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language/polish/help ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language/polish/help/help.html =================================================================== --- XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language/polish/help/help.html (rev 0) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language/polish/help/help.html 2012-02-17 19:28:02 UTC (rev 9006) @@ -0,0 +1,78 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/protector/admin/index.php" + title="Back to the administration of Protector"> Protector + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Protector"/> + </a></h1> + <!-- ===== Help Content ======= --> + + <h4 class="odd">Description</h4><br/> + + Protector is a module to defend your XOOPS CMS from various malicious attacks.<br/><br/> + <h4 class="odd">Install/uninstall</h4><br/> + + First, define XOOPS_TRUST_PATH into mainfile.php if you've never done it + yet.<br/><br/> + + Copy html/modules/protector in the archive into your + XOOPS_ROOT_PATH/modules/<br/> + Copy xoops_trust_path/modules/protector in the archive into your + XOOPS_TRUST_PATH/modules/<br/><br/> + + Turn permission of XOOPS_TRUST_PATH/modules/protector/configs writable<br/><br/> + + <h4 class="odd">= How to rescue =</h4><br/> + <br/>If you've been banned from Protector, just delete files under + XOOPS_TRUST_PATH/modules/protector/configs/<br/><br/> + + <h4 class="odd">Introduction for filter-plugins in this archive.</h4><br/> + - postcommon_post_deny_by_rbl.php<br/> + an anti-SPAM plugin.<br/> + All of Post from IP registered in RBL will be rejected.<br/> + This plugin can slow the performance of Post, especially chat + modules.<br/><br/> + + - postcommon_post_deny_by_httpbl.php<br/> + an anti-SPAM plugin.<br/> + All of Post from IP registered in http:BL will be rejected.<br/> + Before using it, get HTTPBL_KEY from http://www.projecthoneypot.org/ and set + it into the filter file.<br/> + define( 'PROTECTOR_HTTPBL_KEY' , '............' ) ;<br/><br/> + + - postcommon_post_need_multibyte.php<br/> + an anti-SPAM plugin.<br/> + Post without multi-byte characters will be rejected.<br/> + This plugin is only for sites of japanese, tchinese, schinese, and + korean.<br/><br/> + + -postcommon_post_htmlpurify4guest.php<br/> + All post data sent by guests will be purified by HTMLPurifier.<br/> + If you allow guests posting HTML, I strongly recommend you to enable + it.<br/><br/> + + -postcommon_register_insert_js_check.php<br/> + This plugin prevents your site from robot's user registering.<br/> + Required JavaScript working on the vistors browser.<br/><br/> + + -bruteforce_overrun_message.php<br/> + Specify a message for visitors tried wrong passwords more than the specified + times.<br/> + All plugins named *_message.php specifys the message for rejected + accesses.<br/><br/> + + -precommon_bwlimit_errorlog.php<br/> + When band width limitaion works unfortunately, this plugin logs it into + Apache's error_log.<br/><br/> + All plugins named *_errorlog.php log some informations into Apaches + error_log.<br/> + + + <h4 class="odd">Tutorial</h4><br/> + + + Tutorials is coming soon<br/><br/> + + <!-- ===== Help Content ======= --> + +</div> \ No newline at end of file Added: XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language/polish/help/index.html =================================================================== --- XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language/polish/help/index.html (rev 0) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/protector/language/polish/help/index.html 2012-02-17 19:28:02 UTC (rev 9006) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Modified: XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/language/polish/admin/images.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/modules/system/language/polish/admin/images.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/language/polish/admin/images.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -37,6 +37,7 @@ define("_AM_SYSTEM_IMAGES_IMGCATWEIGHT","Kolejność wyświetlania:"); define("_AM_SYSTEM_IMAGES_OFF","Wyświetlaj"); define("_AM_SYSTEM_IMAGES_ON","Nie wyświetlaj"); +define("_AM_SYSTEM_IMAGES_URL","Pokazuj adres URL obrazów"); // Messages define("_AM_SYSTEM_IMAGES_RUDELIMG","Czy na pewno chcesz usunąć ten obraz?"); Modified: XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/language/polish/admin/tplsets.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/modules/system/language/polish/admin/tplsets.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/language/polish/admin/tplsets.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -42,5 +42,5 @@ define("_AM_SYSTEM_TEMPLATES_ALL_MODULES","Wszystkie moduły"); define("_AM_SYSTEM_TEMPLATES_RESTORE_OK","Pomyślnie przywrócone"); define("_AM_SYSTEM_TEMPLATES_RESTORE_NOTOK","Nie udało się przywrócić"); - +define("_AM_SYSTEM_TEMPLATES_SET", "Wybierz szablon"); ?> Modified: XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/language/polish/admin/users.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/modules/system/language/polish/admin/users.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/language/polish/admin/users.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -50,6 +50,8 @@ define("_AM_SYSTEM_USERS_ICQ", "ICQ"); define("_AM_SYSTEM_USERS_AIM", "AIM"); define("_AM_SYSTEM_USERS_YIM", "YIM"); +define("_AM_SYSTEM_USERS_FACEBOOK","Odnośnik do Facebook"); //TODO +define("_AM_SYSTEM_USERS_SKYPE","Odnośnik do Skype"); //TODO define("_AM_SYSTEM_USERS_MSNM", "MSNM"); define("_AM_SYSTEM_USERS_TIMEZONE","Strefa czasowa"); define("_AM_SYSTEM_USERS_SHOWSIG","Zawsze załączaj moją sygnaturkę"); @@ -158,4 +160,7 @@ define("_AM_SYSTEM_USERS_PSEUDO_ERROR","Nazwa użytkownika %s już istnieje"); define("_AM_SYSTEM_USERS_MAIL_ERROR","Email użytkownika %s już istnieje"); +//2.5.4 +define("_AM_SYSTEM_USERS_ACCEPT_EMAIL","Akceptuj emaile od administratora"); + ?> Modified: XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/polish/admin.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/modules/system/themes/zetadigme/language/polish/admin.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/polish/admin.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -1,67 +1,63 @@ <?php -// $Id: admin.php 3928 2009-11-25 22:02:34Z kris_fr $ +// $Id: admin.php 8066 2011-11-06 05:09:33Z beckmi $ -define("_AD_SYSOPTIONS","System Options"); -define("_AD_INSTALLEDMODULES","Installed Modules"); +define("_AD_SYSOPTIONS","Opcje sytemowe"); +define("_AD_INSTALLEDMODULES","Zainstalowane moduły"); -define("_AD_XOOPSTHEMES","XOOPS Themes"); -define("_AD_XOOPSMODULES","Modules XOOPS"); +define("_AD_XOOPSTHEMES","Skórki XOOPS"); +define("_AD_XOOPSMODULES","Moduły XOOPS"); define("_AD_INTERESTSITES","Xoops Project"); -define("_AD_LOCALSUPPORT","Local Support"); +define("_AD_LOCALSUPPORT","Wsparcie lokalne"); define("_XOOPS_WEBSITE","XOOPS.ORG"); define("_SOURCEFORGE","Sourceforge"); -define("_AD_XDONATIONS","Donation"); +define("_AD_XDONATIONS","Datki"); -define("THEME_WELLCOME", "Welcome"); -define("THEME_PROFILE", "See profil"); -define("THEME_EDITPROFILE", "Edit profil"); -define("THEME_NOTIFICATION", "See notifications"); -define("THEME_MESSAGE", "See messages"); -define("THEME_YOUHAVE", "You have"); -define("THEME_NOTREAD", "message non read"); -define("THEME_MYACCOUNT", "My Account"); -define("THEME_SEARCH", "Search"); -define("THEME_DESC_SEARCH", "Search on"); -define("THEME_KEYWORDS", "Put the keywords"); -define("THEME_UPTOP", "Top page"); -define("THEME_USER", "Users"); -define("THEME_ADMTOOLS", "Tools"); -define("THEME_SYSSETTING", "System Module Settings"); -define("THEME_FINDUSER", "Find a user"); -define("THEME_MAINTENANCE", "Maintenance"); -define("THEME_TPLSET", "Theme Override"); +define("THEME_WELCOME", "Witamy"); +define("THEME_PROFILE", "Zobacz profil"); +define("THEME_EDITPROFILE", "Edytuj profil"); +define("THEME_NOTIFICATION", "Zobacz notyfikacje"); +define("THEME_MESSAGE", "Zobacz wiadomości"); +define("THEME_YOUHAVE", "Masz"); +define("THEME_NOTREAD", "nowych wiadomości"); +define("THEME_MYACCOUNT", "Moje konto"); +define("THEME_SEARCH", "Szukaj"); +define("THEME_DESC_SEARCH", "Szukaj"); +define("THEME_KEYWORDS", "Wprowadź słowa kluczowe"); +define("THEME_UPTOP", "Do góry"); +define("THEME_USER", "Użytkownicy"); +define("THEME_ADMTOOLS", "Narzędzia"); +define("THEME_SYSSETTING", "Ustawienia modułu systemowego"); +define("THEME_FINDUSER", "Znajdź użytkownika"); +define("THEME_MAINTENANCE", "Utrzymanie"); +define("THEME_TPLSET", "Nałożenie skórki"); -define("_MD_VERSION","Version"); -define("_MD_VERSION_XOOPS","XOOPS Version"); -define("_MD_VERSION_PHP","PHP Version"); -define("_MD_VERSION_MYSQL","mySQL Version"); -define("_MD_Server_API","Server API"); +define("_MD_VERSION","Wersja"); +define("_MD_VERSION_XOOPS","Wersja XOOPS"); +define("_MD_VERSION_PHP","Wersja PHP"); +define("_MD_VERSION_MYSQL","Wersja mySQL"); +define("_MD_Server_API","API serwera"); define("_MD_OS","OS"); -define("_MD_ABOUT","About XOOPS"); -define("_MD_ABOUT_TEXT",'XOOPS is an extensible, OO (Object Oriented), easy to use dynamic web content management system written in PHP. XOOPS is the ideal tool for developing small to large dynamic community websites, intra company portals, corporate portals, weblogs and much more. Read the <a href="http://www.xoops.org/modules/wfchannel/" rel="external">All about XOOPS</a> page for more details.'); -define("_MD_XOOPS_LINKS","XOOPS Links"); +define("_MD_ABOUT","Info o XOOPS"); +define("_MD_ABOUT_TEXT",'Przeczytaj stronę <a href="http://www.xoops.org/modules/wfchannel/" rel="external" title="All about XOOPS">All about XOOPS</a> aby uzyskać więcej informacji.'); +define("_MD_XOOPS_LINKS","Linki XOOPS"); -define("_MD_XOOPSPROJECT","XOOPS Project"); -define("_MD_LOCALSUPPORT","XOOPS Local supports"); -define("_MD_XOOPSCORE","XOOPS Core"); -define("_MD_XOOPSTHEME","XOOPS Themes"); +define("_THEME_SITEPREF","Preferencje"); +define("_THEME_GENERAL","Ustawienia ogólne"); +define("_THEME_USERSETTINGS","Ustawienia użytkonika"); +define("_THEME_METAFOOTER","Metatagi i stopka"); +define("_THEME_CENSOR","Opcje cnzury słów"); +define("_THEME_SEARCH","Opcje wyszukiwania"); +define("_THEME_MAILER","Ustawienia email"); +define("_THEME_AUTHENTICATION","Opcje autentykacji"); +define("_THEME_MODULESETTINGS","Ustawienia modułu systemowego"); + +define("_MD_XOOPSPROJECT","Projekt XOOPS"); +define("_MD_LOCALSUPPORT","XOOPS - wsparcie lokalne"); +define("_MD_XOOPSCORE","Jądro XOOPS"); +define("_MD_XOOPSTHEME","Skórki XOOPS"); define("_MD_XOOPSWIKI","XOOPS Wiki"); -define("_MD_XOOPSBOOKS","XOOPS Books"); -define("_MD_NEWMODULE","New Modules"); -define("_MD_XOOPSFAQ","XOOPS FAQ"); -define("_MD_CODESVN","Code SVN"); -define("_MD_REPORTBUG","Report Bug"); -define("_MD_XGIFTSHOP","XOOPS Gift Shop"); -define("_MD_XDONATIONS","Make a Donation"); -define("_MD_XDONATIONS_TEXT",'<h2>We Need Your Help - Make a Donation!</h2> -If you like the XOOPS system, and would like to give something in return, you can make a donation to the XOOPS Foundation! Simply use the PayPal payment system to transfer your donation to the Foundation account.<br /> -Your donation will be used to promote and advance the use and development of the XOOPS system. Guaranteed.<br /> -The XOOPS Foundation is a registered not-for-profit organisation in the USA, dedicated to promote XOOPS!<br /> -All donators will get the Friend of XOOPS rank here on this website. Thanks to the Friends of XOOPS for their donations and continued support<br /> -For Make a Donation and more info please visite <a href="http://www.xoops.org/modules/xdonations/" rel="external">here</a>'); -define("_MD_MOVETOBLUE","Install the official modules"); -define("_MD_MOVETOBLUE_LINK",'http://www.xoops.org/modules/repository/"); -/* for xoops 2.5.0 beta and RC */ -define("_MD_PROMOBANNER","OpenSource Awards - Please, vote for XOOPS !!"); -define("_MD_PROMOBANNER_LINK","http://www.packtpub.com/open-source-awards-home/vote-open-source-cms'); +define("_MD_CODESVN","Kod SVN"); +define("_MD_REPORTBUG","Raportuj błędy"); +define("_MD_MOVETOBLUE","Instaluj oficjalne moduły"); +define("_MD_MOVETOBLUE_LINK","http://www.xoops.org/modules/repository/"); ?> \ No newline at end of file Modified: XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/polish/localsupport.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/modules/system/themes/zetadigme/language/polish/localsupport.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/polish/localsupport.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -1,5 +1,5 @@ <?php -// $Id: localsupport.php 3860 2009-11-09 21:35:53Z kris_fr $ +// $Id: localsupport.php 8066 2011-11-06 05:09:33Z beckmi $ $menu = array(); Modified: XoopsLanguages/polish/core/2.5.4/htdocs/themes/suico/language/polish/main.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/themes/suico/language/polish/main.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/themes/suico/language/polish/main.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -78,7 +78,7 @@ define("THEME_LOSTACCOUNT", "Password lost ?"); // add for suico theme define("THEME_CLOSEPOPUP", "Close"); // add for suico theme -define("THEME_WELLCOME", "Wellcome"); +define("THEME_WELCOME", "Wellcome"); define("THEME_PROFILE", "See profil"); define("THEME_NOTIFICATION", "See notifications"); define("THEME_MESSAGE", "See private messages"); Modified: XoopsLanguages/polish/core/2.5.4/htdocs/themes/zetagenesis/language/polish/main.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/themes/zetagenesis/language/polish/main.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/themes/zetagenesis/language/polish/main.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -16,7 +16,7 @@ define("_THEME_ADMINISTRATION", "Administracja"); define("_THEME_LOGOUT", "Wyloguj"); -define("THEME_WELLCOME", "Witaj"); +define("THEME_WELCOME", "Witaj"); define("THEME_EDITPROFILE", "Edytuj profil"); define("THEME_NOTIFICATION", "Przeglądaj powiadomienia"); define("THEME_MESSAGE", "Przeglądaj wiadomości"); @@ -49,6 +49,6 @@ define("THEME_COMMENTS", "Zarządzanie komentarzami"); define("THEME_ADMTOOLS", "Narzędzia"); define("THEME_ADMCLEAN", "Utrzymanie"); -define("THEME_SYSSETTING", "Ustawienia Modyły Sytemowego"); +define("THEME_SYSSETTING", "Ustawienia modyłu sytemowego"); ?> Modified: XoopsLanguages/polish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/polish/admin.php =================================================================== --- XoopsLanguages/polish/core/2.5.0/htdocs/xoops_lib/modules/protector/language/polish/admin.php 2012-02-16 20:43:41 UTC (rev 9005) +++ XoopsLanguages/polish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/polish/admin.php 2012-02-17 19:28:02 UTC (rev 9006) @@ -60,10 +60,13 @@ define("_AM_ADV_LINK_TO_PREFIXMAN","Przejdź do managera prefixu"); define("_AM_ADV_MAINUNPATCHED","Powinieneś wyedytować plik mainfile.php tak jak napisano w pliku README."); -define("_AM_ADV_SUBTITLECHECK","Sprawdź, czy Protector jest skuteczny."); +define("_AM_ADV_SUBTITLECHECK","Sprawdź, czy Protector pracuje prawidłowo."); define("_AM_ADV_CHECKCONTAMI","Zanieczyszczenie danych"); define("_AM_ADV_CHECKISOCOM","Odseparowanie komentarzy"); +//XOOPS 2.5.4 +define("_AM_ADV_REGISTERGLOBALS2","i umieść w nim poniższą linię:"); + ?> \ 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: <dj...@us...> - 2012-02-16 20:43:48
|
Revision: 9005 http://xoops.svn.sourceforge.net/xoops/?rev=9005&view=rev Author: djculex Date: 2012-02-16 20:43:41 +0000 (Thu, 16 Feb 2012) Log Message: ----------- Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt Modified: XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt =================================================================== --- XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt 2012-02-16 20:41:09 UTC (rev 9004) +++ XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt 2012-02-16 20:43:41 UTC (rev 9005) @@ -2,45 +2,45 @@ Changelog v.1.11 RC ------------------------------ 9. february 2012 -- Bugfix: Takeover links not using XOOPS_URL correct(djculex) -- Bugfix: Created function smallworld_getImageSize to test if allow_url_fopen = on else try cUrl else return default for image sizes(djculex) +- Bugfix: Takeover links not using XOOPS_URL correct (djculex) +- Bugfix: Created function smallworld_getImageSize to test if allow_url_fopen = on else try cUrl else return default for image sizes (djculex) - Bugfix: ../js/smallworld.js added smallworld_url (xoops_url) to submit in registration (djculex) -- Bugfix: Check if 'interested in' and 'searchrelat' isset else create default serialized array +- Bugfix: Check if 'interested in' and 'searchrelat' isset else create default serialized array (djculex) 11. Februar 2012 -- Bugfix: Added check to see if user images folder already exists in uploads -- Bugfix: Check if dateTime obj is != null else return 01-01-1900 or 1900-01-01 -- Bugfix: check if gender or country images are set else return '' -- Bugfix: Added missing function previously added to svn ?? wierd! -- Bugfix: Gender was missing in select multi for form items -- Bugfix: Remove error in json reply +- Bugfix: Added check to see if user images folder already exists in uploads (djculex) +- Bugfix: Check if dateTime obj is != null else return 01-01-1900 or 1900-01-01 (djculex) +- Bugfix: check if gender or country images are set else return '' (djculex) +- Bugfix: Added missing function previously added to svn ?? wierd! (djculex) +- Bugfix: Gender was missing in select multi for form items (djculex) +- Bugfix: Remove error in json reply (djculex) 12. February 2012 -- Bugfix: Keep imagegallery in colorbox even if imageData.index is null +- Bugfix: Keep imagegallery in colorbox even if imageData.index is null (djculex) 13. February -- NEW: If number if comments >2 then show 2 comments and show "show more" / "Show less" container -- Bugfix: Removed php 5.30 function to convert dateformat and replaced with simpler function -- Bugfix: Textarea in updates did not resize while writing. -- Bugfix: Dom set max-width to ".update" -- Change: Removed php 5.30 function to calculate difference between dates in Years. -- change: Smallworld decreased min-php to >= 5.20 -- Change: Replace a split() -> explode() function to remove depreseated info -- Change: Center search field, and use imageResize function on avatars +- NEW: If number if comments >2 then show 2 comments and show "show more" / "Show less" container (djculex) +- Bugfix: Removed php 5.30 function to convert dateformat and replaced with simpler function (djculex) +- Bugfix: Textarea in updates did not resize while writing. (djculex) +- Bugfix: Dom set max-width to ".update" (djculex) +- Change: Removed php 5.30 function to calculate difference between dates in Years. (djculex) +- change: Smallworld decreased min-php to >= 5.20 (djculex) +- Change: Replace a split() -> explode() function to remove depreseated info (djculex) +- Change: Center search field, and use imageResize function on avatars (djculex) - Change: Minor css adjustments -- land_diff: see docs/lang_diff.txt for 2 changes in lang/js/variables.js +- land_diff: see docs/lang_diff.txt for 2 changes in lang/js/variables.js (djculex) 14. February -- Bugfix: Aply function to only run getSelects.php on register and editprofile.php. -- Bugfix: removed anoying pop up [object, object] error -- Change: adjusted jSon returned from checks +- Bugfix: Aply function to only run getSelects.php on register and editprofile.php. (djculex) +- Bugfix: removed anoying pop up [object, object] error (djculex) +- Change: adjusted jSon returned from checks (djculex) 16. February -- Bugfix: Friendship requests sometimes show when empty -- Bugfix: Get size of avatar function return void on blank.png -- Bugfix: Miss count is most active users in admin -- Bugfix: Miscount in todays most active users in admin -- Change: min mysql set to 5.0.5 instead of 5.0.7 +- Bugfix: Friendship requests sometimes show when empty (djculex) +- Bugfix: Get size of avatar function return void on blank.png (djculex) +- Bugfix: Miss count is most active users in admin (djculex) +- Bugfix: Miscount in todays most active users in admin (djculex) +- Change: min mysql set to 5.0.5 instead of 5.0.7 (djculex) ------------------------------ Changelog v.1.10 RC This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-02-16 20:41:16
|
Revision: 9004 http://xoops.svn.sourceforge.net/xoops/?rev=9004&view=rev Author: djculex Date: 2012-02-16 20:41:09 +0000 (Thu, 16 Feb 2012) Log Message: ----------- - Bugfix: Friendship requests sometimes show when empty - Bugfix: Get size of avatar function return void on blank.png - Bugfix: Miss count is most active users in admin - Bugfix: Miscount in todays most active users in admin - Change: min mysql set to 5.0.5 instead of 5.0.7 Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/admin/index.php XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt XoopsModules/smallworld/trunk/smallworld/include/functions.php XoopsModules/smallworld/trunk/smallworld/js/smallworld.js XoopsModules/smallworld/trunk/smallworld/preloads/core.php XoopsModules/smallworld/trunk/smallworld/xoops_version.php Modified: XoopsModules/smallworld/trunk/smallworld/admin/index.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-02-16 12:44:19 UTC (rev 9003) +++ XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-02-16 20:41:09 UTC (rev 9004) @@ -69,7 +69,7 @@ $ma = "<table class='smallworldadmin'><tr>"; $ma .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td><td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td><td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td><td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>"; $i = 1; - while ($i < count($maAllround)-1) { + while ($i < count($maAllround)) { $ma .= vsprintf('<tr><td>%s</td>',array($maAllround['counter'][$i])); $ma .= vsprintf('<td>%s</td>',array($maAllround['img'][$i])); $ma .= vsprintf('<td>%s</td>',array($maAllround['cnt'][$i])); @@ -93,7 +93,7 @@ $mat = "<table class='smallworldadmin'><tr>"; $mat .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td><td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td><td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td><td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>"; $i = 1; - while ($i <= count(array($maToday))) { + while ($i <= count($maToday)) { $mat .= vsprintf('<tr><td>%s</td>',array($maToday['counter'][$i])); $mat .= vsprintf('<td>%s</td>',array($maToday['img'][$i])); $mat .= vsprintf('<td>%s</td>',array($maToday['cnt'][$i])); Modified: XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt =================================================================== --- XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt 2012-02-16 12:44:19 UTC (rev 9003) +++ XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt 2012-02-16 20:41:09 UTC (rev 9004) @@ -35,6 +35,12 @@ - Bugfix: removed anoying pop up [object, object] error - Change: adjusted jSon returned from checks +16. February +- Bugfix: Friendship requests sometimes show when empty +- Bugfix: Get size of avatar function return void on blank.png +- Bugfix: Miss count is most active users in admin +- Bugfix: Miscount in todays most active users in admin +- Change: min mysql set to 5.0.5 instead of 5.0.7 ------------------------------ Changelog v.1.10 RC Modified: XoopsModules/smallworld/trunk/smallworld/include/functions.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/include/functions.php 2012-02-16 12:44:19 UTC (rev 9003) +++ XoopsModules/smallworld/trunk/smallworld/include/functions.php 2012-02-16 20:41:09 UTC (rev 9004) @@ -761,8 +761,8 @@ { $bn = basename($url); if ($bn != 'blank.gif' - && $bn != 'blank.png' - && $bn != 'blank.jpg' + || $bn != 'blank.png' + || $bn != 'blank.jpg' ) { if (ini_get('allow_url_fopen')) { Modified: XoopsModules/smallworld/trunk/smallworld/js/smallworld.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/js/smallworld.js 2012-02-16 12:44:19 UTC (rev 9003) +++ XoopsModules/smallworld/trunk/smallworld/js/smallworld.js 2012-02-16 20:41:09 UTC (rev 9004) @@ -64,6 +64,7 @@ // Function to make friend invitations form into ui dialog xoops_smallworld(function() { + xoops_smallworld('#friendInvitations_box').css('display','none'); if (hasmessages > 0) { if (xoops_smallworld('#friendInvitations_box').length) { // implies *not* zero xoops_smallworld('#friendInvitations_box').show(); @@ -72,12 +73,14 @@ inline:true, onCleanup:function() { xoops_smallworld('#friendInvitations_box').hide(); + xoops_smallworld('#friendInvitations_box').css('display','none'); }, href:"#friendInvitations_box" }); }; xoops_smallworld('#smallworldrequestlink').live('click',function() { //xoops_smallworld('#friendInvitations_box').dialog( "close" ); + xoops_smallworld('#friendInvitations_box').css('display','none'); xoops_smallworld.colorbox.close(); }); } Modified: XoopsModules/smallworld/trunk/smallworld/preloads/core.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/preloads/core.php 2012-02-16 12:44:19 UTC (rev 9003) +++ XoopsModules/smallworld/trunk/smallworld/preloads/core.php 2012-02-16 20:41:09 UTC (rev 9004) @@ -21,104 +21,105 @@ defined('XOOPS_ROOT_PATH') or die('Restricted access'); include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/class_collector.php"); include_once(XOOPS_ROOT_PATH."/modules/smallworld/include/functions.php"); -class SmallworldCorePreload extends XoopsPreloadItem{ - function eventCoreHeaderAddmeta(){ - global $xoTheme,$xoopsUser,$xoopsConfig; - if ($xoopsUser) { - $module_handler =& xoops_gethandler('module'); - $module = $module_handler->getByDirname('smallworld'); - $config_handler =& xoops_gethandler('config'); - if ($module) { - $moduleConfig =& $config_handler->getConfigsByCat(0, $module->getVar('mid')); - } - //Check Language - $lang = $xoopsConfig['language']; - // check geolocation style - if(isset($moduleConfig['geolocate'])) { - $geolocate = $moduleConfig['geolocate']; - } - $xoTheme->addStylesheet(XOOPS_URL.'/modules/smallworld/css/base/jquery.ui.all.css'); - $xoTheme->addStylesheet(XOOPS_URL.'/modules/smallworld/css/smallworld.css'); - $xoTheme->addStylesheet(XOOPS_URL.'/modules/smallworld/css/apprise.css'); - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery-1.5.1.min.js'); - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery-ui-1.8.11.custom.js'); - - $xoops_url= XOOPS_URL; - $myid = $xoopsUser->getVar('uid'); - // GET various variables from language folder - if ( file_exists(XOOPS_ROOT_PATH.'/modules/smallworld/language/js/'.$lang.'/variables.js')) { - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/'.$lang.'/js/variables.js'); - } else { - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/english/js/variables.js'); - } - // Check if USER is smallworld-registered user - $chkUser = new SmallWorldUser; - $ChkProf = $chkUser->CheckIfProfile($myid); - - // Check if there are requests pending - $count_invit = count($chkUser->getRequests($myid)); - - // Get module config for validation and place in javascript - $validate = $moduleConfig['validationstrenght']; - - // Check to see if smallworld should use username links to point to default xoops or smallworld - $takeoverlinks = $moduleConfig['takeoveruserlinks']; - $fieldstoshow = array_flip(smallworld_GetModuleOption('smallworldusethesefields', $repmodule='smallworld')); - $useverification = smallworld_GetModuleOption('smallworldmandatoryfields', $repmodule='smallworld'); - $smallworldUV = implode(',', $useverification); - //echo var_dump($smallworldUV); - - // Get users messages count based on users followerArray - $getUserMsgNum = smallworld_getCountFriendMessagesEtc (); - -$script= <<<SCRIPT - - var smallworld_url="$xoops_url/modules/smallworld/"; - var smallworld_uploaddir = "$xoops_url/uploads/avatars/"; - var xoops_smallworld = jQuery.noConflict(); - var myID = $myid; - var userHasProfile = $ChkProf; - var smallworldTakeOverLinks = $takeoverlinks; - var geoL = $geolocate; - var geocomplete = ''; - var smallworldVerString = "$smallworldUV"; - var smallworlduseverification = new Array(); - smallworlduseverification = smallworldVerString.split(","); - var hasmessages = $count_invit; - var smallworldvalidationstrenght = $validate; - var smallworld_getFriendsMsgComCount = $getUserMsgNum; - var $ = jQuery(); -SCRIPT; - $xoTheme->addScript('','',$script); - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/smallworld.js'); - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.validate.js'); - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.validation.functions.js'); - - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.stepy.js'); - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.elastic.source.js'); - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.countdown.js'); - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.innerfade.js'); - - if ( file_exists(XOOPS_ROOT_PATH.'/modules/smallworld/language/js/'.$lang.'/jquery.ui.datepicker-language.js')) { - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/'.$lang.'/js/jquery.ui.datepicker-language.js'); - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/'.$lang.'/js/jquery.countdown.js'); - } else { - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/english/js/jquery.ui.datepicker-language.js'); - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/english/js/jquery.countdown.js'); - } - - // Include geolocate styling - if ($geolocate != 1) { - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/geoname.js'); - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/geoname_now.js'); - } else { - $xoTheme->addScript("http://maps.google.com/maps/api/js?sensor=false&language="._LANGCODE); - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/ui.geo_autocomplete.js'); - $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/ui.geo_autocomplete_now.js'); - } +class SmallworldCorePreload extends XoopsPreloadItem +{ + + function eventCoreHeaderAddmeta() + { + global $xoTheme,$xoopsUser,$xoopsConfig; + if ($xoopsUser) { + $module_handler =& xoops_gethandler('module'); + $module = $module_handler->getByDirname('smallworld'); + $config_handler =& xoops_gethandler('config'); + if ($module) { + $moduleConfig =& $config_handler->getConfigsByCat(0, $module->getVar('mid')); + } + //Check Language + $lang = $xoopsConfig['language']; + // check geolocation style + if(isset($moduleConfig['geolocate'])) { + $geolocate = $moduleConfig['geolocate']; + } + $xoTheme->addStylesheet(XOOPS_URL.'/modules/smallworld/css/base/jquery.ui.all.css'); + $xoTheme->addStylesheet(XOOPS_URL.'/modules/smallworld/css/smallworld.css'); + $xoTheme->addStylesheet(XOOPS_URL.'/modules/smallworld/css/apprise.css'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery-1.5.1.min.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery-ui-1.8.11.custom.js'); + + $xoops_url= XOOPS_URL; + $myid = $xoopsUser->getVar('uid'); + // GET various variables from language folder + if (file_exists(XOOPS_ROOT_PATH.'/modules/smallworld/language/js/'.$lang.'/variables.js')) { + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/'.$lang.'/js/variables.js'); + } else { + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/english/js/variables.js'); + } - } // End if XoopsUser + // Check if USER is smallworld-registered user + $chkUser = new SmallWorldUser; + $ChkProf = $chkUser->CheckIfProfile($myid); + + // Check if there are requests pending + $count_invit = count($chkUser->getRequests($myid)); + + // Get module config for validation and place in javascript + $validate = $moduleConfig['validationstrenght']; + + // Check to see if smallworld should use username links to point to default xoops or smallworld + $takeoverlinks = $moduleConfig['takeoveruserlinks']; + $fieldstoshow = array_flip(smallworld_GetModuleOption('smallworldusethesefields', $repmodule='smallworld')); + $useverification = smallworld_GetModuleOption('smallworldmandatoryfields', $repmodule='smallworld'); + $smallworldUV = implode(',', $useverification); + + // Get users messages count based on users followerArray + $getUserMsgNum = smallworld_getCountFriendMessagesEtc (); + + $script = "var smallworld_url = '" . $xoops_url . "/modules/smallworld/" . "';\n"; + $script .= "var smallworld_uploaddir = '" . $xoops_url . "/uploads/avatars/" . "';\n"; + $script .= "var xoops_smallworld = jQuery.noConflict();\n"; + $script .= "var myID = " . $myid . ";\n"; + $script .= "var userHasProfile = " . $ChkProf . ";\n"; + $script .= "var smallworldTakeOverLinks = " . $takeoverlinks . ";\n"; + $script .= "var geoL = " . $geolocate . ";\n"; + $script .= "var geocomplete = '';\n"; + $script .= "var smallworldVerString = '" . $smallworldUV . "';\n"; + $script .= "var smallworlduseverification = new Array();\n"; + $script .= "smallworlduseverification = smallworldVerString.split(',');\n"; + $script .= "var hasmessages = " . $count_invit . ";\n"; + $script .= "var smallworldvalidationstrenght = " . $validate . ";\n"; + $script .= "var smallworld_getFriendsMsgComCount = " . $getUserMsgNum . ";\n"; + $script .= "var $ = jQuery();\n"; + + $xoTheme->addScript('','',$script); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/smallworld.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.validate.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.validation.functions.js'); + + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.stepy.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.elastic.source.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.countdown.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.innerfade.js'); + + if ( file_exists(XOOPS_ROOT_PATH.'/modules/smallworld/language/js/'.$lang.'/jquery.ui.datepicker-language.js')) { + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/'.$lang.'/js/jquery.ui.datepicker-language.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/'.$lang.'/js/jquery.countdown.js'); + } else { + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/english/js/jquery.ui.datepicker-language.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/english/js/jquery.countdown.js'); + } + + // Include geolocate styling + if ($geolocate != 1) { + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/geoname.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/geoname_now.js'); + } else { + $xoTheme->addScript("http://maps.google.com/maps/api/js?sensor=false&language="._LANGCODE); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/ui.geo_autocomplete.js'); + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/ui.geo_autocomplete_now.js'); + } + + } // End if XoopsUser } function isActive() { Modified: XoopsModules/smallworld/trunk/smallworld/xoops_version.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/xoops_version.php 2012-02-16 12:44:19 UTC (rev 9003) +++ XoopsModules/smallworld/trunk/smallworld/xoops_version.php 2012-02-16 20:41:09 UTC (rev 9004) @@ -36,7 +36,7 @@ $modversion['min_php'] = '5.2'; $modversion['min_xoops'] = '2.5'; $modversion['min_admin'] = '1.1'; -$modversion['min_db'] = array('mysql' => '5.0.7', 'mysqli' => '5.0.7'); +$modversion['min_db'] = array('mysql' => '5.0.5', 'mysqli' => '5.0.5'); $modversion['system_menu'] = 1; $modversion['official'] = 0; $modversion['image'] = "images/smallworld.png"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-02-16 12:44:32
|
Revision: 9003 http://xoops.svn.sourceforge.net/xoops/?rev=9003&view=rev Author: txmodxoops Date: 2012-02-16 12:44:19 +0000 (Thu, 16 Feb 2012) Log Message: ----------- Updated Revision Files Modified Paths: -------------- XoopsModules/xnews/branches/timgno/xnews/admin/stories.php XoopsModules/xnews/branches/timgno/xnews/index.php XoopsModules/xnews/branches/timgno/xnews/topics_directory.php Added Paths: ----------- XoopsModules/xnews/branches/timgno/xnews/blocks/news_archives.php XoopsModules/xnews/branches/timgno/xnews/blocks/news_bigstory.php XoopsModules/xnews/branches/timgno/xnews/blocks/news_block_tag.php XoopsModules/xnews/branches/timgno/xnews/blocks/news_latestnews.php XoopsModules/xnews/branches/timgno/xnews/blocks/news_moderate.php XoopsModules/xnews/branches/timgno/xnews/blocks/news_randomnews.php XoopsModules/xnews/branches/timgno/xnews/blocks/news_top.php XoopsModules/xnews/branches/timgno/xnews/blocks/news_topics.php XoopsModules/xnews/branches/timgno/xnews/blocks/news_topicsnav.php XoopsModules/xnews/branches/timgno/xnews/class/xnews_prunes.php Modified: XoopsModules/xnews/branches/timgno/xnews/admin/stories.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/admin/stories.php 2012-02-16 12:35:18 UTC (rev 9002) +++ XoopsModules/xnews/branches/timgno/xnews/admin/stories.php 2012-02-16 12:44:19 UTC (rev 9003) @@ -39,7 +39,7 @@ xoops_cp_header(); // Options $op = xnews_CleanVars($_REQUEST, 'op', 'default', 'string'); -$prune_op = xnews_CleanVars($_REQUEST, 'prune_op', 'default_prune', 'string'); +$pop = xnews_CleanVars($_REQUEST, 'pop', 'default_prune', 'string'); //Menu admin $storiesAdmin = new ModuleAdmin(); switch ($op) @@ -183,7 +183,7 @@ break; case "del_stories": - switch($prune_op) + switch($pop) { case 'default_prune': default: @@ -192,7 +192,7 @@ $storiesAdmin->addItemButton(_AM_XNEWS_STORIESLIST, 'stories.php?op=default', 'list'); echo $storiesAdmin->renderButton(); - /*$obj = $storiesHandler->get($_REQUEST["stories_topicid"]); + /*$obj = $topicsHandler->get($_REQUEST["topics_id"]); $sform = $obj->getFormPrune();*/ break; @@ -233,7 +233,7 @@ if($count) { $displaydate=formatTimestamp($timestamp,$dateformat); $msg=sprintf(_AM_XNEWS_PRUNE_CONFIRM,$displaydate, $count); - xoops_confirm(array( 'prune_op' => 'prunenews', 'expired' => $expired, 'pruned_topics' => $topiclist, 'prune_date' => $timestamp, 'ok' => 1), 'index.php', $msg); + xoops_confirm(array( 'pop' => 'prunenews', 'expired' => $expired, 'pruned_topics' => $topiclist, 'prune_date' => $timestamp, 'ok' => 1), 'index.php', $msg); } else { printf(_AM_XNEWS_NOTHING_PRUNE); } @@ -260,7 +260,7 @@ default: echo $storiesAdmin->addNavigation('stories.php'); $storiesAdmin->addItemButton(_AM_XNEWS_NEWSTORY, 'stories.php?op=new_stories', 'add'); - $storiesAdmin->addItemButton(_AM_XNEWS_DELETESTORIES, 'stories.php?op=del_stories&prune_op=default_prune', 'delete'); + $storiesAdmin->addItemButton(_AM_XNEWS_DELETESTORIES, 'stories.php?op=del_stories&pop=default_prune', 'delete'); echo $storiesAdmin->renderButton(); $criteria = new CriteriaCompo(); Added: XoopsModules/xnews/branches/timgno/xnews/blocks/news_archives.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/news_archives.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/news_archives.php 2012-02-16 12:44:19 UTC (rev 9003) @@ -0,0 +1,192 @@ +<?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 // +// ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +include_once NW_MODULE_PATH . '/class/class.newsstory.php'; + +/** + * Display archives + * @param array $options : + * 0 = sort order (0=older first, 1=newer first) + * 1 = Starting date, year + * 2 = Starting date, month + * 3 = Ending date, year + * 4 = Ending date, month + * 5 = until today ? + */ +function nw_b_news_archives_show($options) +{ + global $xoopsDB, $xoopsConfig; + include_once NW_MODULE_PATH . '/class/class.newsstory.php'; + include_once NW_MODULE_PATH . '/include/functions.php'; + include_once XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/calendar.php'; + if (file_exists(NW_MODULE_PATH . '/language/'.$xoopsConfig['language'].'/main.php')) { + include_once NW_MODULE_PATH . '/language/'.$xoopsConfig['language'].'/main.php'; + } else { + include_once NW_MODULE_PATH . '/language/english/main.php'; + } + + $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); + $block = array(); + $sort_order = $options[0] == 0 ? 'ASC' : 'DESC'; + $starting_date = mktime(0,0,0,intval($options[2]), 1, intval($options[1])); + if(intval($options[5])!=1) { + $ending_date = mktime(23,59,59,intval($options[4]), 28, intval($options[3])); + } else { + $ending_date = time(); + } + $sql = "SELECT distinct(FROM_UNIXTIME(published,'%Y-%m')) as published FROM ".$xoopsDB->prefix('nw_stories').' WHERE published>='.$starting_date .' AND published<='.$ending_date.' ORDER BY published '.$sort_order; + $result = $xoopsDB->query($sql); + if (!$result) { + return ''; + } + while ($myrow = $xoopsDB->fetchArray($result)) { + $year = intval(substr($myrow['published'],0,4)); + $month = intval(substr($myrow['published'],5,2)); + $formated_month = $months_arr[$month]; + $block['archives'][] = array('month' => $month, 'year' => $year, 'formated_month' => $formated_month); + } + //DNPROSSI ADDED + $block['newsmodule_url']= NW_MODULE_URL; + return $block; +} + + +function nw_b_news_archives_edit($options) +{ + global $xoopsDB; + $syear = $smonth = $eyear = $emonth = $older = $recent = 0; + $selsyear = $selsmonth = $seleyear = $selemonth = 0; + $form = ''; + + $selsyear = $options[1]; + $selsmonth = $options[2]; + $seleyear = $options[3]; + $selemonth = $options[4]; + + $tmpstory = new nw_NewsStory; + $tmpstory->GetOlderRecentnews($older, $recent); // We are searching for the module's older and more recent article's date + + // Min and max value for the two dates selectors + // We are going to use the older news for the starting date + $syear = date('Y', $older); + $smonth = date('n', $older); + $eyear = date('Y', $recent); + $emonth = date('n', $recent); + // Verify parameters + if($selsyear == 0 && $selsmonth == 0) { + $selsyear = $syear; + $selsmonth = $smonth; + } + if($seleyear == 0 && $selemonth == 0) { + $seleyear = $eyear; + $selemonth = $emonth; + } + + // Sort order ************************************************************* + // (0=older first, 1=newer first) + $form .= '<b>'._MB_NW_ORDER."</b> <select name='options[]'>"; + $form .= "<option value='0'"; + if ( $options[0] == 0 ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_NW_OLDER_FIRST."</option>\n"; + $form .= "<option value='1'"; + if($options[0] == 1){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_NW_RECENT_FIRST.'</option>'; + $form .= "</select>\n"; + + + // Starting and ending dates ********************************************** + $form .= '<br /><br /><b>'._MB_NW_STARTING_DATE.'</b><br />'; + $form .= _MB_NW_CAL_YEAR." <select name='options[]'>"; + for($i=$syear; $i<=$eyear; $i++) { + $selected = ($i == $selsyear) ? "selected='selected'" : ''; + $form .= "<option value='".$i."'".$selected.'>'.$i.'</option>'; + } + $form .= '</select> '._MB_NW_CAL_MONTH." <select name='options[]'>"; + for($i=1; $i<=12; $i++) { + $selected = ($i == $selsmonth) ? "selected='selected'" : ''; + $form .= "<option value='".$i."'".$selected.'>'.$i.'</option>'; + } + $form .= '</select>'; + + $form .= '<br /><br /><b>'._MB_NW_ENDING_DATE.'</b><br />'; + $form .= _MB_NW_CAL_YEAR." <select name='options[]'>"; + for($i=$syear; $i<=$eyear; $i++) { + $selected = ($i == $seleyear) ? "selected='selected'" : ''; + $form .= "<option value='".$i."'".$selected.'>'.$i.'</option>'; + } + $form .= '</select> '._MB_NW_CAL_MONTH." <select name='options[]'>"; + for($i=1; $i<=12; $i++) { + $selected = ($i == $selemonth) ? "selected='selected'" : ''; + $form .= "<option value='".$i."'".$selected.'>'.$i.'</option>'; + } + $form .= '</select>'; + + // Or until today ********************************************************* + $form .= '<br />'; + $checked = $options[5] == 1 ? " checked='checked'" : ''; + $form .= "<input type='checkbox' value='1' name='options[]'".$checked.'>'; + $form .= ' <b>'._MB_NW_UNTIL_TODAY.'</b>'; + + + return $form; +} + + +function nw_b_news_archives_onthefly($options) +{ + $options = explode('|',$options); + $block = & nw_b_news_archives_show($options); + + $tpl = new XoopsTpl(); + $tpl->assign('block', $block); + $tpl->display('db:nw_news_block_archives.html'); +} + +?> + Added: XoopsModules/xnews/branches/timgno/xnews/blocks/news_bigstory.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/news_bigstory.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/news_bigstory.php 2012-02-16 12:44:19 UTC (rev 9003) @@ -0,0 +1,106 @@ +<?php +// $Id: news_bigstory.php,v 1.3 2004/08/03 16:48:57 hthouzard 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 // +// ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +function nw_b_news_bigstory_show() { + include_once NW_MODULE_PATH . '/include/functions.php'; + include_once NW_MODULE_PATH . '/class/class.newsstory.php'; + $myts =& MyTextSanitizer::getInstance(); + $restricted=nw_getmoduleoption('restrictindex', NW_MODULE_DIR_NAME); + $dateformat=nw_getmoduleoption('dateformat', NW_MODULE_DIR_NAME); + $infotips=nw_getmoduleoption('infotips', NW_MODULE_DIR_NAME); + + $block = array(); + $onestory = new nw_NewsStory(); + $stories = $onestory->getBigStory(1,0,$restricted,0,1, true, 'counter'); + if(count($stories)==0) { + $block['message'] = _MB_NW_NOTYET; + } else { + foreach ( $stories as $key => $story ) { + $htmltitle=''; + if($infotips>0) { + $block['infotips'] = nw_make_infotips($story->hometext()); + $htmltitle=' title="'.$block['infotips'].'"'; + } + //DNPROSSI ADDED + $block['newsmodule_url']= NW_MODULE_URL; + + $block['htmltitle']=$htmltitle; + $block['message'] = _MB_NW_TMRSI; + $block['story_title'] = $story->title('Show'); + $block['story_id'] = $story->storyid(); + $block['story_date'] = formatTimestamp($story->published(), $dateformat); + $block['story_hits'] = $story->counter(); + $block['story_rating'] = $story->rating(); + $block['story_votes'] = $story->votes(); + $block['story_author']= $story->uname(); + $block['story_text']= $story->hometext(); + $block['story_topic_title']= $story->topic_title(); + $block['story_topic_color']= '#'.$myts->displayTarea($story->topic_color); + } + } + + // DNPROSSI SEO + $seo_enabled = nw_getmoduleoption('seo_enable', NW_MODULE_DIR_NAME); + if ( $seo_enabled != 0 ) { + $block['urlrewrite']= "true"; + } else { + $block['urlrewrite']= "false"; + } + + return $block; +} + +function nw_b_news_bigstory_onthefly($options) +{ + $options = explode('|',$options); + $block = & nw_b_news_bigstory_show($options); + + $tpl = new XoopsTpl(); + $tpl->assign('block', $block); + $tpl->display('db:nw_news_block_bigstory.html'); +} + +?> Added: XoopsModules/xnews/branches/timgno/xnews/blocks/news_block_tag.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/news_block_tag.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/news_block_tag.php 2012-02-16 12:44:19 UTC (rev 9003) @@ -0,0 +1,76 @@ +<?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 // +// ------------------------------------------------------------------------ // + +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +function nw_news_tag_block_cloud_show($options) +{ + require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; + if(!isset($module_dirname)) { + $module_dirname = NW_MODULE_DIR_NAME; + } + return tag_block_cloud_show($options, $module_dirname); +} + +function nw_news_tag_block_cloud_edit($options) +{ + require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; + return tag_block_cloud_edit($options); +} + +function nw_news_tag_block_top_show($options) +{ + require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; + if(!isset($module_dirname)) { + $module_dirname = NW_MODULE_DIR_NAME; + } + return tag_block_top_show($options, $module_dirname); +} + +function nw_news_tag_block_top_edit($options) +{ + require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; + return tag_block_top_edit($options); +} +?> Added: XoopsModules/xnews/branches/timgno/xnews/blocks/news_latestnews.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/news_latestnews.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/news_latestnews.php 2012-02-16 12:44:19 UTC (rev 9003) @@ -0,0 +1,374 @@ +<?php +// ###################################################################### +// # # +// # Latest News block by Mowaffak ( www.arabxoops.com ) # +// # based on Last Articles Block by Pete Glanz (www.glanz.ru) # +// # Thanks to: # +// # Trabis ( www.xuups.com ) and Bandit-x ( www.bandit-x.net ) # +// # # +// ###################################################################### +// # Use of this program is goverened by the terms of the GNU General # +// # Public License (GPL - version 1 or 2) as published by the # +// # Free Software Foundation (http://www.gnu.org/) # +// ###################################################################### +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +function nw_b_news_latestnews_show($options) +{ + global $xoopsTpl, $xoopsUser, $xoopsConfig; + include_once NW_MODULE_PATH . '/include/functions.php'; + + $block = array(); + + include_once NW_MODULE_PATH . '/class/class.newsstory.php'; + include_once NW_MODULE_PATH . '/class/class.sfiles.php'; + include_once NW_MODULE_PATH . '/class/class.newstopic.php'; + include_once NW_MODULE_PATH . '/class/class.latestnews.php'; //Bandit-X + include_once XOOPS_ROOT_PATH . '/class/tree.php'; + + if (file_exists(NW_MODULE_PATH . '/language/'.$xoopsConfig['language'].'/main.php')) { + include_once NW_MODULE_PATH . '/language/'.$xoopsConfig['language'].'/main.php'; + }else{ + include_once NW_MODULE_PATH . '/language/english/main.php'; + } + + //DNPROSSI Added - xlanguage installed and active + $module_handler =& xoops_gethandler('module'); + $xlanguage = $module_handler->getByDirname('xlanguage'); + if ( is_object($xlanguage) && $xlanguage->getVar('isactive') == true ) + { $xlang = true; } else { $xlang = false; } + + $myts =& MyTextSanitizer::getInstance(); + $sfiles = new nw_sFiles(); + + $dateformat = nw_getmoduleoption('dateformat', NW_MODULE_PATH); + if($dateformat == '') { + $dateformat = 's'; + } + + $limit = $options[0]; + $column_count = $options[1]; + $letters = $options[2]; + $imgwidth = $options[3]; + $imgheight = $options[4]; + $border = $options[5]; + $bordercolor = $options[6]; + $selected_stories = $options[7]; + + $block['spec']['columnwidth'] = intval(1/$column_count*100); + if ($options[8] == 1) { + $imgposition = 'right'; + } else { + $imgposition = 'left'; + } + + $xoopsTpl->assign( 'xoops_module_header' , '<style type="text/css"> + .itemText {text-align: left;} + .latestnews { border-bottom: 1px solid #cccccc; } + </style>' . $xoopsTpl->get_template_vars("xoops_module_header") ); + + if (!isset($options[26])) { + $sarray = nw_Latestnewsstory::getAllPublished($limit, $selected_stories, 0, true, 0, 0, true, $options[25], false); + } else { + $topics = array_slice($options, 26); + $sarray = nw_Latestnewsstory::getAllPublished($limit, $selected_stories, 0, true, $topics, 0, true, $options[25], false); + } + + $scount = count($sarray); + $k = 0; + $columns = array(); + if($scount > 0) + { + $storieslist=array(); + foreach ($sarray as $storyid => $thisstory) { + $storieslist[] = $thisstory->storyid(); + } + $filesperstory = $sfiles->getCountbyStories($storieslist); + + foreach ($sarray as $key => $thisstory) { + $storyid = $thisstory->storyid(); + $filescount = array_key_exists($thisstory->storyid(),$filesperstory) ? $filesperstory[$thisstory->storyid()] : 0; + $published = formatTimestamp($thisstory->published(), $dateformat); + $bodytext = $thisstory->bodytext; + $news = $thisstory->prepare2show($filescount); + + $len = strlen($thisstory->hometext()); + if ($letters < $len && $letters > 0) + { + + $patterns = array(); + $replacements = array(); + + if($options[4] != 0) { $height = 'height="'.$imgheight.'"'; } // set height = 0 in block option for auto height + + $startdiv = '<div style="float:'.$imgposition.'"><a href="' . NW_MODULE_URL . '/article.php?storyid='.$storyid.'">'; + $style = 'style="border: '.$border.'px solid #'.$bordercolor.'"'; + $enddiv = 'alt="'.$thisstory->title.'" width="'.$imgwidth.'" '.$height.' /></a></div>'; + + $patterns[] = "/\[img align=(['\"]?)(left|center|right)\\1 width=(['\"]?)([0-9]*)\\3]([^\"\(\)\?\&'<>]*)\[\/img\]/sU"; + $patterns[] = "/\[img align=(['\"]?)(left|center|right)\\1]([^\"\(\)\?\&'<>]*)\[\/img\]/sU"; + $patterns[] = "/\[img]([^\"\(\)\?\&'<>]*)\[\/img\]/sU"; + $patterns[] = "/<img src=\"(.*)\" \/>/sU"; + $patterns[] = "/<img src=(.*) \/>/sU"; + + $replacements[] = $startdiv.'<img '.$style.' src="\\3" '.$enddiv; + $replacements[] = $startdiv.'<img '.$style.' src="\\3" '.$enddiv; + $replacements[] = $startdiv.'<img '.$style.' src="\\1" '.$enddiv; + $replacements[] = $startdiv.'<img '.$style.' src="\\1" '.$enddiv; + $replacements[] = $startdiv.'<img '.$style.' src="\\1" '.$enddiv; + + //DNPROSSI Added - xlanguage installed and active + $story = ""; + $story = $thisstory->hometext; + + if ( $xlang == true ) + { + include_once XOOPS_ROOT_PATH.'/modules/xlanguage/include/functions.php'; + $story = xlanguage_ml($story); + + } + //DNPROSSI New truncate function - now works correctly with html and utf-8 + $html = $thisstory->nohtml() == 1 ? 0 : 1; + $dobr = $thisstory->dobr() == 1 ? 1 : 0; + $smiley = $thisstory->nosmiley() == 1 ? 0 : 1; + $news['text'] = nw_truncate($myts->displayTarea($story, $html, $smiley, 1, 1, $dobr), $letters+3, '...', false, $html); + } + + if(is_object($xoopsUser) && $xoopsUser->isAdmin(-1)){ + $news['admin'] = '<a href="' . NW_MODULE_URL . '/submit.php?op=edit&storyid='.$storyid.'"><img src="' . NW_MODULE_URL . '/images/edit_block.png" alt="'._EDIT.'" width="18" /></a> <a href="' . NW_MODULE_URL . '/admin/index.php?op=delete&storyid='.$storyid.'"><img src="' . NW_MODULE_URL . '/images/delete_block.png" alt="'._DELETE.'" width="20" /></a>'; + } else { + $news['admin'] = ''; + } + if ($options[9] == 1) { + $block['topiclink'] = '| <a href="' . NW_MODULE_URL . '/topics_directory.php">'._AM_NW_TOPICS_DIRECTORY.'</a> '; + } + if ($options[10] == 1) { + $block['archivelink'] = '| <a href="' . NW_MODULE_URL . '/archive.php">'._MA_NW_NEWSARCHIVES.'</a> '; + } + if ($options[11] == 1) { + if (empty($xoopsUser)) + { + $block['submitlink'] = ''; + } else { + $block['submitlink'] = '| <a href="' . NW_MODULE_URL . '/submit.php">'._MA_NW_SUBMITNEWS.'</a> '; + } + } + + $news['poster'] = ''; + if ($options[12] == 1) { + if ( $thisstory->uname() != '' ) { + $news['poster'] = ''._MB_NW_LATESTNEWS_POSTER.' '.$thisstory->uname().''; + } + } + $news['posttime'] = ''; + if ($options[13] == 1) { + if ( $thisstory->uname() != '' ) { + $news['posttime'] = ''._ON.' '.$published.''; + } else + { + $news['posttime'] = ''._MB_NW_POSTED.' '._ON.' '.$published.''; + } + } + $news['topic_image'] = ''; + $news['topic_articlepicture'] = ''; + if ($options[14] == 1) { + $news['topic_image'] = ''.$thisstory->imglink().''; + } + $news['topic_title'] = ''; + if ($options[15] == 1) { + $news['topic_title'] = ''.$thisstory->textlink().''; + $news['topic_separator'] = ( $thisstory->textlink() != '' ) ? _MB_NW_SP : ''; + } + + $news['read'] = ''; + if ($options[16] == 1) { + $news['read']= ' ('.$thisstory->counter.' '._READS.')'; + } + + $comments = $thisstory->comments(); + if(!empty($bodytext) || $comments>0){ + $news['more'] = '<a href="' . NW_MODULE_URL . '/article.php?storyid='.$storyid.'">'. _MA_NW_READMORE .'</a>'; + }else{ + $news['more'] = ''; + } + + if ($options[17] == 1) { + if ($comments > 0) { + //shows 1 comment instead of 1 comm. if comments ==1 + //langugage file modified accordingly + if ($comments == 1) { + $news['comment'] =' '._MA_NW_ONECOMMENT.'</a> '; + } else { + $news['comment'] =' '.$comments.' '._MB_NW_LATESTNEWS_COMMENT.'</a> '; + } + } else { + $news['comment'] =' '._MB_NW_NO_COMMENT.'</a> '; + } + } + + $news['print'] = ''; + if ($options[18] == 1) { + $news['print']= '<a href="' . NW_MODULE_URL . '/print.php?storyid='.$storyid.'" rel="nofollow"><img src="' . NW_MODULE_URL . '/images/print.png" width="22" alt="'._MA_NW_PRINTERFRIENDLY.'" /></a>'; + } + + $news['pdf'] = ''; + if ($options[19] == 1) { + $news['pdf']= ' <a href="' . NW_MODULE_URL . '/makepdf.php?storyid='.$storyid.'" rel="nofollow"><img src="' . NW_MODULE_URL . '/images/acrobat.png" width="22" alt="'._MA_NW_MAKEPDF.'" /></a> '; + } + + $news['email'] = ''; + if ($options[20] == 1) { + $news['email']= '<a href="mailto:?subject='.sprintf(_MA_NW_INTARTICLE,$xoopsConfig['sitename']).'&body='.sprintf(_MA_NW_INTARTFOUND, $xoopsConfig['sitename']).': ' . NW_MODULE_URL . '/article.php?storyid='.$storyid.'" rel="nofollow"><img src="' . NW_MODULE_URL . '/images/friend.png" width="20" alt="'._MA_NW_SENDSTORY.'" /></a> '; + } + + if ($options[21] == 1) { + $block['morelink'] = ' <a href="' . NW_MODULE_URL . '/index.php ">'._MB_NW_MORE_STORIES.'</A> '; + } + + if ($options[22] == 1) { + $block['latestnews_scroll'] = true; + } else { + $block['latestnews_scroll'] = false; + } + + $block['scrollheight'] = $options[23]; + $block['scrollspeed'] = $options[24]; + + $columns[$k][] = $news; + $k++; + if ($k == $column_count) { + $k = 0; + } + } + } + unset($news); + $block['columns'] = $columns; + return $block; +} + +function nw_b_news_latestnews_edit($options) +{ + global $xoopsDB; + include_once NW_MODULE_PATH . '/include/functions.php'; + include_once NW_MODULE_PATH . '/class/class.newstopic.php'; + + $tabletag1='<tr><td>'; + $tabletag2='</td><td>'; + + $form = "<table border='0'>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_DISPLAY.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[0]."' size='4'> "._MB_NW_LATESTNEWS."</td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_COLUMNS.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[1]."' size='4'> "._MB_NW_LATESTNEWS_COLUMN."</td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_TEXTLENGTH.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[2]."' size='4'> "._MB_NW_LATESTNEWS_LETTER."</td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_IMGWIDTH.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[3]."' size='4'> "._MB_NW_LATESTNEWS_PIXEL."</td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_IMGHEIGHT.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[4]."' size='4'> "._MB_NW_LATESTNEWS_PIXEL."</td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_BORDER.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[5]."' size='4'> "._MB_NW_LATESTNEWS_PIXEL."</td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_BORDERCOLOR.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[6]."' size='8'></td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_SELECTEDSTORIES.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[7]."' size='16'></td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_IMGPOSITION.$tabletag2; + $form .= nw_latestnews_mk_select($options,8); + $form .= $tabletag1._MB_NW_LATESTNEWS_TOPICLINK.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,9); + $form .= $tabletag1._MB_NW_LATESTNEWS_ARCHIVELINK.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,10); + $form .= $tabletag1._MB_NW_LATESTNEWS_SUBMITLINK.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,11); + $form .= $tabletag1._MB_NW_LATESTNEWS_POSTEDBY.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,12); + $form .= $tabletag1._MB_NW_LATESTNEWS_POSTTIME.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,13); + $form .= $tabletag1._MB_NW_LATESTNEWS_TOPICIMAGE.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,14); + $form .= $tabletag1._MB_NW_LATESTNEWS_TOPICTITLE.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,15); + $form .= $tabletag1._MB_NW_LATESTNEWS_READ.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,16); + $form .= $tabletag1._MB_NW_LATESTNEWS_COMMENT.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,17); + $form .= $tabletag1._MB_NW_LATESTNEWS_PRINT.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,18); + $form .= $tabletag1._MB_NW_LATESTNEWS_PDF.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,19); + $form .= $tabletag1._MB_NW_LATESTNEWS_EMAIL.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,20); + $form .= $tabletag1._MB_NW_LATESTNEWS_MORELINK.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,21); + $form .= $tabletag1._MB_NW_LATESTNEWS_SCROLL.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,22); + $form .= $tabletag1._MB_NW_LATESTNEWS_SCROLLHEIGHT.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[23]."' size='4'></td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_SCROLLSPEED.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[24]."' size='4'></td></tr>"; + + //order + $form .= $tabletag1._MB_NW_LATESTNEWS_ORDERBY.$tabletag2; + $form .= "<select name='options[]'>"; + $form .= "<option value='published'"; + if ( $options[25] == 'published' ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_NW_LATESTNEWS_DATE."</option>\n"; + + $form .= "<option value='counter'"; + if($options[25] == 'counter'){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_NW_LATESTNEWS_HITS.'</option>'; + $form .= "<option value='rating'"; + if ( $options[25] == 'rating' ) { + $form .= " selected='selected'"; + } + $form .= '>' . _MB_NW_LATESTNEWS_RATE . '</option>'; + $form .= "</select></td></tr>"; + //topics + $form .= $tabletag1._MB_NW_LATESTNEWS_TOPICSDISPLAY.$tabletag2; + $form .= "<select name='options[]' multiple='multiple'>"; + $topics_arr=array(); + $xt = new XoopsTree($xoopsDB->prefix('nw_topics'), 'topic_id', 'topic_pid'); + $topics_arr = $xt->getChildTreeArray(0,'topic_title'); + $size = count($options); + foreach ($topics_arr as $onetopic) { + $sel = ''; + if($onetopic['topic_pid']!=0) { + $onetopic['prefix'] = str_replace('.','-',$onetopic['prefix']) . ' '; + } else { + $onetopic['prefix'] = str_replace('.','',$onetopic['prefix']); + } + for ( $i = 26; $i < $size; $i++ ) { + if ($options[$i] == $onetopic['topic_id']) { + $sel = " selected='selected'"; + } + } + $form .= "<option value='".$onetopic['topic_id']."'$sel>".$onetopic['prefix'].$onetopic['topic_title'].'</option>'; + } + $form .= '</select></td></tr>'; + + $form .= "</table>"; + return $form; +} +?> Added: XoopsModules/xnews/branches/timgno/xnews/blocks/news_moderate.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/news_moderate.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/news_moderate.php 2012-02-16 12:44:19 UTC (rev 9003) @@ -0,0 +1,103 @@ +<?php +// $Id: news_moderate.php,v 1.8 2004/09/01 17:48:07 hthouzard 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 // +// ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +/** + * Dispay a block where news moderators can show news that need to be moderated. + */ +function nw_b_news_topics_moderate() { + include_once NW_MODULE_PATH . '/class/class.newsstory.php'; + include_once NW_MODULE_PATH . '/include/functions.php'; + $block = array(); + $dateformat=nw_getmoduleoption('dateformat', NW_MODULE_DIR_NAME); + $infotips=nw_getmoduleoption('infotips', NW_MODULE_DIR_NAME); + + $storyarray = nw_NewsStory :: getAllSubmitted(0, true, nw_getmoduleoption('restrictindex', NW_MODULE_DIR_NAME)); + if ( count( $storyarray ) > 0 ) + { + $block['lang_story_title'] = _MB_NW_TITLE; + $block['lang_story_date'] = _MB_NW_POSTED; + $block['lang_story_author'] =_MB_NW_POSTER; + $block['lang_story_action'] =_MB_NW_ACTION; + $block['lang_story_topic'] =_MB_NW_TOPIC; + $myts =& MyTextSanitizer::getInstance(); + foreach( $storyarray as $newstory ) + { + $title = $newstory -> title(); + $htmltitle=''; + if($infotips>0) { + $story['infotips'] = nw_make_infotips($newstory->hometext()); + $htmltitle=' title="'.$story['infotips'].'"'; + } + + if (!isset( $title ) || ($title == '')) { + $linktitle = "<a href='" . NW_MODULE_URL . "/index.php?op=edit&storyid=" . $newstory->storyid() . "' target='_blank'".$htmltitle.">" . _AD_NOSUBJECT . "</a>"; + } else { + $linktitle = "<a href='" . NW_MODULE_URL . "/submit.php?op=edit&storyid=" . $newstory->storyid() . "' target='_blank'".$htmltitle.">" . $title . "</a>"; + } + $story=array(); + $story['title'] = $linktitle; + $story['date'] = formatTimestamp($newstory->created(),$dateformat); + $story['author'] = "<a href='" . XOOPS_URL . "/userinfo.php?uid=" . $newstory -> uid() . "'>" . $newstory->uname() . "</a>"; + $story['action'] = "<a href='" . NW_MODULE_URL . "/admin/index.php?op=edit&storyid=" . $newstory->storyid() . "'>" . _EDIT. "</a> - <a href='" . NW_MODULE_URL . "/admin/index.php?op=delete&storyid=" . $newstory->storyid() . "'>" . _MB_NW_DELETE . "</a>"; + $story['topic_title'] = $newstory->topic_title(); + $story['topic_color']= '#'.$myts->displayTarea($newstory->topic_color); + $block['stories'][] =& $story; + unset($story); + } + } + return $block; +} + +function nw_b_news_topics_moderate_onthefly($options) +{ + $options = explode('|',$options); + $block = & nw_b_news_topics_moderate($options); + + $tpl = new XoopsTpl(); + $tpl->assign('block', $block); + $tpl->display('db:nw_news_block_moderate.html'); +} +?> Added: XoopsModules/xnews/branches/timgno/xnews/blocks/news_randomnews.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/news_randomnews.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/news_randomnews.php 2012-02-16 12:44:19 UTC (rev 9003) @@ -0,0 +1,194 @@ +<?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 // +// ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +include_once NW_MODULE_PATH . '/class/class.newsstory.php'; + +function nw_b_news_randomnews_show($options) { + include_once NW_MODULE_PATH . '/include/functions.php'; + $myts =& MyTextSanitizer::getInstance(); + $block = array(); + $block['sort']=$options[0]; + + //DNPROSSI Added - xlanguage installed and active + $module_handler =& xoops_gethandler('module'); + $xlanguage = $module_handler->getByDirname('xlanguage'); + if ( is_object($xlanguage) && $xlanguage->getVar('isactive') == true ) + { $xlang = true; } else { $xlang = false; } + + $tmpstory = new nw_NewsStory; + $restricted = nw_getmoduleoption('restrictindex', NW_MODULE_DIR_NAME); + $dateformat = nw_getmoduleoption('dateformat', NW_MODULE_DIR_NAME); + $infotips = nw_getmoduleoption('infotips', NW_MODULE_DIR_NAME); + if($dateformat == '') { + $dateformat = 's'; + } + if ($options[4] == 0) { + $stories = $tmpstory->getRandomNews($options[1],0,$restricted,0,1, $options[0]); + } else { + $topics = array_slice($options, 4); + $stories = $tmpstory->getRandomNews($options[1],0,$restricted,$topics, 1, $options[0]); + } + unset($tmpstory); + if(count($stories)==0) { + return ''; + } + foreach ( $stories as $story ) { + $news = array(); + $title = $story->title(); + if (strlen($title) > $options[2]) { + //DNPROSSI Added - xlanguage installed and active + $title = $thisstory->hometext; + + if ( $xlang == true ) + { + include_once XOOPS_ROOT_PATH.'/modules/xlanguage/include/functions.php'; + $title = xlanguage_ml($title); + } + + //DNPROSSI changed xoops_substr to mb_substr for utf-8 support + $title = mb_substr($title,0,$options[2]+3, 'UTF-8'); + } + $news['title'] = $title; + $news['id'] = $story->storyid(); + $news['date'] = formatTimestamp($story->published(), $dateformat); + $news['hits'] = $story->counter(); + $news['rating'] = $story->rating(); + $news['votes'] = $story->votes(); + $news['author']= sprintf("%s %s",_POSTEDBY,$story->uname()); + $news['topic_title'] = $story->topic_title(); + $news['topic_color']= '#'.$myts->displayTarea($story->topic_color); + + if ($options[3] > 0) { + $html = $story->nohtml() == 1 ? 0 : 1; + //$news['teaser'] = nw_truncate_tagsafe($myts->displayTarea($story->hometext, $html), $options[3]+3); + //DNPROSSI New truncate function - now works correctly with html and utf-8 + $news['teaser'] = nw_truncate($story->hometext(), $options[3]+3, '...', true, $html); + $news['infotips'] = ''; + } + else { + $news['teaser'] = ''; + if($infotips>0) { + $news['infotips'] = ' title="'.nw_make_infotips($story->hometext()).'"'; + } else { + $news['infotips'] = ''; + } + } + $block['stories'][] = $news; + } + //DNPROSSI ADDED + $block['newsmodule_url']= NW_MODULE_URL; + + $block['lang_read_more']=_MB_NW_READMORE; + + // DNPROSSI SEO + $seo_enabled = nw_getmoduleoption('seo_enable', NW_MODULE_DIR_NAME); + if ( $seo_enabled != 0 ) { + $block['urlrewrite']= "true"; + } else { + $block['urlrewrite']= "false"; + } + + return $block; +} + +function nw_b_news_randomnews_edit($options) { + global $xoopsDB; + $form = _MB_NW_ORDER." <select name='options[]'>"; + $form .= "<option value='published'"; + if ( $options[0] == "published" ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_NW_DATE."</option>\n"; + + $form .= "<option value='counter'"; + if($options[0] == 'counter'){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_NW_HITS.'</option>'; + + $form .= "<option value='rating'"; + if ( $options[0] == 'rating' ) { + $form .= " selected='selected'"; + } + $form .= '>' . _MB_NW_RATE . '</option>'; + + $form .= "</select>\n"; + $form .= ' '._MB_NW_DISP." <input type='text' name='options[]' value='".$options[1]."'/> "._MB_NW_ARTCLS; + $form .= ' <br><br />'._MB_NW_CHARS." <input type='text' name='options[]' value='".$options[2]."'/> "._MB_NW_LENGTH.'<br /><br />'; + + $form .= _MB_NW_TEASER." <input type='text' name='options[]' value='".$options[3]."' />"._MB_NW_LENGTH; + $form .= '<br /><br />'._MB_NW_SPOTLIGHT_TOPIC."<br /><select id='options[4]' name='options[]' multiple='multiple'>"; + + include_once XOOPS_ROOT_PATH.'/class/xoopsstory.php'; + $xt = new XoopsTopic($xoopsDB->prefix('nw_topics')); + $alltopics = $xt->getTopicsList(); + $alltopics[0]['title'] = _MB_NW_SPOTLIGHT_ALL_TOPICS; + ksort($alltopics); + $size = count($options); + foreach ($alltopics as $topicid => $topic) { + $sel = ''; + for ( $i = 4; $i < $size; $i++ ) { + if ($options[$i] == $topicid) { + $sel = " selected='selected'"; + } + } + $form .= "<option value='$topicid'$sel>".$topic['title'].'</option>'; + } + $form .= '</select><br />'; + return $form; +} + +function nw_b_news_randomnews_onthefly($options) +{ + $options = explode('|',$options); + $block = & nw_b_news_randomnews_show($options); + + $tpl = new XoopsTpl(); + $tpl->assign('block', $block); + $tpl->display('db:nw_news_block_moderate.html'); +} + +?> Added: XoopsModules/xnews/branches/timgno/xnews/blocks/news_top.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/news_top.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/news_top.php 2012-02-16 12:44:19 UTC (rev 9003) @@ -0,0 +1,762 @@ +<?php +// $Id: news_top.php,v 1.21 2004/09/01 17:48:07 hthouzard 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 // +// ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +include_once NW_MODULE_PATH . '/class/class.newsstory.php'; +include_once NW_MODULE_PATH . '/class/class.newstopic.php'; + +/** +* Notes about the spotlight : +* If you have restricted topics on index page (in fact if the program must completly respect the permissions) and if +* the news you have selected to be viewed in the spotlight can't be viewed by someone then the spotlight is not visible ! +* This is available in the classical and in the tabbed view. +* But if you have uncheck the option "Restrict topics on index page", then the news will be visible but users without +* permissions will be rejected when they will try to read news content. +* +* Also, if you have selected a tabbed view and wanted to use the Spotlight but did not choosed a story, then the block +* will switch to the "most recent news" mode (the visible news will be searched according to the permissions) +*/ +function nw_b_news_top_show($options) { + global $xoopsConfig; + include_once NW_MODULE_PATH . '/include/functions.php'; + $myts =& MyTextSanitizer::getInstance(); + $block = array(); + $displayname = nw_getmoduleoption('displayname', NW_MODULE_DIR_NAME); + $tabskin = nw_getmoduleoption('tabskin', NW_MODULE_DIR_NAME); + + if (file_exists(NW_MODULE_PATH . '/language/'.$xoopsConfig['language'].'/main.php')) { + include_once NW_MODULE_PATH . '/language/'.$xoopsConfig['language'].'/main.php'; + } else { + include_once NW_MODULE_PATH . '/language/english/main.php'; + } + + $block['displayview']=$options[8]; + $block['tabskin']=$tabskin; + $block['imagesurl']= NW_MODULE_URL . '/images/'; + + //DNPROSSI ADDED + $block['newsmodule_url']= NW_MODULE_URL; + + //DNPROSSI Added - xlanguage installed and active + $module_handler =& xoops_gethandler('module'); + $xlanguage = $module_handler->getByDirname('xlanguage'); + if ( is_object($xlanguage) && $xlanguage->getVar('isactive') == true ) + { $xlang = true; } else { $xlang = false; } + + $restricted=nw_getmoduleoption('restrictindex', NW_MODULE_DIR_NAME); + $dateformat=nw_getmoduleoption('dateformat', NW_MODULE_DIR_NAME); + $infotips=nw_getmoduleoption('infotips', NW_MODULE_DIR_NAME); + $newsrating=nw_getmoduleoption('ratenews', NW_MODULE_DIR_NAME); + if($dateformat=='') { + $dateformat='s'; + } + + $perm_verified=false; + $news_visible=true; + // Is the spotlight visible ? + if($options[4]==1 && $restricted && $options[5]==0) { + $perm_verified=true; + $permittedtopics=nw_MygetItemIds(); + $permstory = new nw_NewsStory($options[6]); + if(!in_array($permstory->topicid(),$permittedtopics)) { + $usespotlight=false; + $news_visible = false; + $topicstitles=array(); + } + $options[4]==0; + } + // Try to see what tabs are visibles (if we are in restricted view of course) + if($options[8]==2 && $restricted && $options[14] != 0) { + $topics2=array(); + $permittedtopics=nw_MygetItemIds(); + $topics = array_slice($options, 14); + foreach($topics as $onetopic) { + if(in_array($onetopic,$permittedtopics)) { + $topics2[]=$onetopic; + } + } + $before=array_slice($options, 0,14); + $options=array_merge($before,$topics2); + } + + if($options[8]==2) { // Tabbed view ******************************************************************************************** + $defcolors[1]=array('#F90','#FFFFFF','#F90','#C60','#999'); // Bar Style + $defcolors[2]=array('#F90','#FFFFFF','#F90','#AAA','#666'); // Beveled + $defcolors[3]=array('#F90','#FFFFFF','','#789','#789'); // Classic + $defcolors[4]=array('#F90','#FFFFFF','','',''); // Folders + $defcolors[5]=array('#F90','#FFFFFF','#CCC','inherit','#999'); // MacOs + $defcolors[6]=array('#F90','#FFFFFF','#FFF','#DDD','#999'); // Plain + $defcolors[7]=array('#F90','#FFFFFF','','',''); // Rounded + $defcolors[8]=array('#F90','#FFFFFF','#F90','#930','#C60'); // ZDnet + //DNPROSSI - Sanitized + $... [truncated message content] |
From: <txm...@us...> - 2012-02-16 12:35:31
|
Revision: 9002 http://xoops.svn.sourceforge.net/xoops/?rev=9002&view=rev Author: txmodxoops Date: 2012-02-16 12:35:18 +0000 (Thu, 16 Feb 2012) Log Message: ----------- Updated Revision Files Modified Paths: -------------- XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/about.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/admin_footer.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/admin_header.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/article.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/audience.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/files.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/index.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/link.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/menu.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/permissions.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/rating.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/setting.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/spotlight.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/text.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/topics.php XoopsModules/AMS - Article Management System/branches/timgno/ams/article.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/ams_article.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/ams_audience.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/ams_files.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/ams_link.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/ams_rating.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/ams_setting.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/ams_spotlight.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/ams_text.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/ams_topics.php XoopsModules/AMS - Article Management System/branches/timgno/ams/docs/changelog.txt XoopsModules/AMS - Article Management System/branches/timgno/ams/docs/licence.txt XoopsModules/AMS - Article Management System/branches/timgno/ams/header.php XoopsModules/AMS - Article Management System/branches/timgno/ams/include/configs.php XoopsModules/AMS - Article Management System/branches/timgno/ams/include/functions.php XoopsModules/AMS - Article Management System/branches/timgno/ams/include/install.php XoopsModules/AMS - Article Management System/branches/timgno/ams/index.php XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/admin.php XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/blocks.php XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/help/help.html XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/main.php XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/modinfo.php XoopsModules/AMS - Article Management System/branches/timgno/ams/link.php XoopsModules/AMS - Article Management System/branches/timgno/ams/sql/mysql.sql XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/ams_article.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/ams_index.html XoopsModules/AMS - Article Management System/branches/timgno/ams/xoops_version.php Added Paths: ----------- XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/modified.php XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/seo.php XoopsModules/AMS - Article Management System/branches/timgno/ams/archive.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/audience.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/class.newsstory.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/class.newstopic.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/class.sfiles.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/formimageselect.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/link.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/seo.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/spotlight.php XoopsModules/AMS - Article Management System/branches/timgno/ams/docs/.htaccess XoopsModules/AMS - Article Management System/branches/timgno/ams/docs/backend.php XoopsModules/AMS - Article Management System/branches/timgno/ams/images/new.png XoopsModules/AMS - Article Management System/branches/timgno/ams/images/topics/ XoopsModules/AMS - Article Management System/branches/timgno/ams/images/topics/599498e2a8a94ed6.gif XoopsModules/AMS - Article Management System/branches/timgno/ams/images/topics/7f000001c5cce170.gif XoopsModules/AMS - Article Management System/branches/timgno/ams/include/comment_functions.php XoopsModules/AMS - Article Management System/branches/timgno/ams/include/functions.inc.php XoopsModules/AMS - Article Management System/branches/timgno/ams/include/notification.inc.php XoopsModules/AMS - Article Management System/branches/timgno/ams/include/ratingform.inc.php XoopsModules/AMS - Article Management System/branches/timgno/ams/include/search.inc.php XoopsModules/AMS - Article Management System/branches/timgno/ams/include/searchform.php XoopsModules/AMS - Article Management System/branches/timgno/ams/include/uninstall.php XoopsModules/AMS - Article Management System/branches/timgno/ams/include/update.php XoopsModules/AMS - Article Management System/branches/timgno/ams/include/vars.inc.php XoopsModules/AMS - Article Management System/branches/timgno/ams/include/versionconflict.inc.php XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/ XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/admin.php XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/blocks.php XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/help/ XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/help/help.html XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/help/index.html XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/index.html XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/mail_template/ XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/mail_template/global_newcategory_notify.tpl XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/mail_template/global_newstory_notify.tpl XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/mail_template/global_storysubmit_notify.tpl XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/mail_template/index.html XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/mail_template/story_approve_notify.tpl XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/mail_template/topic_newstory_notify.tpl XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/main.php XoopsModules/AMS - Article Management System/branches/timgno/ams/language/english/modinfo.php XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/mail_template/ XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/mail_template/global_newcategory_notify.tpl XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/mail_template/global_newstory_notify.tpl XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/mail_template/global_storysubmit_notify.tpl XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/mail_template/index.html XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/mail_template/story_approve_notify.tpl XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/mail_template/topic_newstory_notify.tpl XoopsModules/AMS - Article Management System/branches/timgno/ams/list.tag.php XoopsModules/AMS - Article Management System/branches/timgno/ams/notification_update.php XoopsModules/AMS - Article Management System/branches/timgno/ams/print.php XoopsModules/AMS - Article Management System/branches/timgno/ams/ratefile.php XoopsModules/AMS - Article Management System/branches/timgno/ams/seo.php XoopsModules/AMS - Article Management System/branches/timgno/ams/showversion.php XoopsModules/AMS - Article Management System/branches/timgno/ams/sql/mysql300.sql XoopsModules/AMS - Article Management System/branches/timgno/ams/submit.php XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/admin/ams_admin_about.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/admin/ams_admin_help.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/ams_archive.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/ams_by_topic.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/ams_item.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/ams_ratearticle.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/ams_searchform.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/ams_version.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_authors.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_bigstory.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_moderate.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_spotlight.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_spotlight_ams_center.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_spotlight_ams_left.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_spotlight_ams_right.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_spotlight_ams_right.html.php XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_spotlight_ams_split_2.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_spotlight_ams_split_3.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_spotlight_ams_traditional.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_top.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_topicnav.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/blocks/ams_block_topics.html XoopsModules/AMS - Article Management System/branches/timgno/ams/versions.php XoopsModules/AMS - Article Management System/branches/timgno/ams/view.tag.php XoopsModules/AMS - Article Management System/branches/timgno/ams/viewlink.php XoopsModules/AMS - Article Management System/branches/timgno/ams/visit.php Modified: XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/about.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/about.php 2012-02-16 12:22:10 UTC (rev 9001) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/about.php 2012-02-16 12:35:18 UTC (rev 9002) @@ -1,15 +1,14 @@ <?php /** * **************************************************************************** - * - Original Copyright (TDM) - * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) - * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) - * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) * **************************************************************************** - * AMS - MODULE FOR XOOPS - * Copyright (c) 2007 - 2012 - * TXMod Xoops (http://www.txmodxoops.org) + * AMS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2011 + * TXMod Xoops (http://www.txmodxoops.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 @@ -25,13 +24,15 @@ * 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. - * --------------------------------------------------------------------------- - * @copyright TXMod Xoops (http://www.txmodxoops.org) - * @license GPL see LICENSE - * @package ams - * @author TXMod Xoops (in...@tx...) * - * Version : 3.01 Sat 2012/01/14 6:36:53 : Timgno Exp $ + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package ams + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.01 Thu 2011/11/24 6:00:35 : Timgno Exp $ * **************************************************************************** */ Modified: XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/admin_footer.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/admin_footer.php 2012-02-16 12:22:10 UTC (rev 9001) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/admin_footer.php 2012-02-16 12:35:18 UTC (rev 9002) @@ -1,15 +1,14 @@ <?php /** * **************************************************************************** - * - Original Copyright (TDM) - * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) - * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) - * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) * **************************************************************************** - * AMS - MODULE FOR XOOPS - * Copyright (c) 2007 - 2012 - * TXMod Xoops (http://www.txmodxoops.org) + * AMS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2011 + * TXMod Xoops (http://www.txmodxoops.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 @@ -25,17 +24,19 @@ * 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. - * --------------------------------------------------------------------------- - * @copyright TXMod Xoops (http://www.txmodxoops.org) - * @license GPL see LICENSE - * @package ams - * @author TXMod Xoops (in...@tx...) * - * Version : 3.01 Sat 2012/01/14 6:36:53 : Timgno Exp $ + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package ams + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.01 Thu 2011/11/24 6:00:35 : Timgno Exp $ * **************************************************************************** */ - -global $pathImageAdmin; -echo "<div align=\"center\"><a href=\"http://www.xoops.org\" target=\"_blank\"><img src='" . $pathImageAdmin."/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a></div>"; -echo "<div class='center smallsmall italic pad5'><strong>" . $xoopsModule->getVar("name") . "</strong> "._AM_AMS_MAINTAINEDBY." <a class='tooltip' rel='external' href='http://www.xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"; - xoops_cp_footer(); + global $pathImageAdmin; + +echo "<div align=\"center\"><a href=\"http://www.xoops.org\" target=\"_blank\"><img src=" . $pathImageAdmin.'/xoopsmicrobutton.gif'.' '." alt='XOOPS' title='XOOPS'></a></div>"; +echo "<div class='center smallsmall italic pad5'><strong>" . $xoopsModule->getVar("name") . "</strong> "._AM_MAINTAINEDBY." <a class='tooltip' rel='external' href='http://www.xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"; + xoops_cp_footer(); \ No newline at end of file Modified: XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/admin_header.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/admin_header.php 2012-02-16 12:22:10 UTC (rev 9001) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/admin_header.php 2012-02-16 12:35:18 UTC (rev 9002) @@ -1,15 +1,14 @@ <?php /** * **************************************************************************** - * - Original Copyright (TDM) - * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) - * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) - * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) * **************************************************************************** - * AMS - MODULE FOR XOOPS - * Copyright (c) 2007 - 2012 - * TXMod Xoops (http://www.txmodxoops.org) + * AMS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2011 + * TXMod Xoops (http://www.txmodxoops.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 @@ -25,25 +24,22 @@ * 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. - * --------------------------------------------------------------------------- - * @copyright TXMod Xoops (http://www.txmodxoops.org) - * @license GPL see LICENSE - * @package ams - * @author TXMod Xoops (in...@tx...) * - * Version : 3.01 Sat 2012/01/14 6:36:53 : Timgno Exp $ + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package ams + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.01 Thu 2011/11/24 6:00:35 : Timgno Exp $ * **************************************************************************** */ - -include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/mainfile.php"; -include_once XOOPS_ROOT_PATH."/include/cp_functions.php"; -include_once(XOOPS_ROOT_PATH."/class/xoopsmodule.php"); -include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php"; + include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +include_once '../include/functions.php'; +include_once '../include/functions.inc.php'; include_once XOOPS_ROOT_PATH."/class/tree.php"; -include_once XOOPS_ROOT_PATH."/class/xoopslists.php"; -include_once XOOPS_ROOT_PATH."/class/pagenav.php"; -include_once XOOPS_ROOT_PATH."/class/xoopsform/grouppermform.php"; -include_once "../include/functions.php"; $pathDir = $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin'); $globlang = $GLOBALS['xoopsConfig']['language']; @@ -59,25 +55,25 @@ //return true; }else{ xoops_cp_header(); - echo xoops_error(_AM_AMS_MODULEADMIN_MISSING); + echo xoops_error(_AM_ERROR_NOFRAMEWORKS); xoops_cp_footer(); //return false; } -$dirname = basename(dirname(dirname( __FILE__ ) )); + $module_handler =& xoops_gethandler('module'); -$xoopsModule = & $module_handler->getByDirname($dirname); +$xoopsModule = & $module_handler->getByDirname(basename(dirname(dirname( __FILE__ ) ))); $moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); $pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); $pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); -$articleHandler=& xoops_getModuleHandler('ams_article', $dirname ); -$filesHandler=& xoops_getModuleHandler('ams_files', $dirname ); -$textHandler=& xoops_getModuleHandler('ams_text', $dirname ); -$topicsHandler=& xoops_getModuleHandler('ams_topics', $dirname ); -$linkHandler=& xoops_getModuleHandler('ams_link', $dirname ); -$ratingHandler=& xoops_getModuleHandler('ams_rating', $dirname ); -$audienceHandler=& xoops_getModuleHandler('ams_audience', $dirname ); -$spotlightHandler=& xoops_getModuleHandler('ams_spotlight', $dirname ); -$settingHandler=& xoops_getModuleHandler('ams_setting', $dirname ); +$settingHandler=& xoops_getModuleHandler('ams_setting','ams'); +$articleHandler=& xoops_getModuleHandler('ams_article','ams'); +$textHandler=& xoops_getModuleHandler('ams_text','ams'); +$filesHandler=& xoops_getModuleHandler('ams_files','ams'); +$topicsHandler=& xoops_getModuleHandler('ams_topics','ams'); +$linkHandler=& xoops_getModuleHandler('ams_link','ams'); +$ratingHandler=& xoops_getModuleHandler('ams_rating','ams'); +$audienceHandler=& xoops_getModuleHandler('ams_audience','ams'); +$spotlightHandler=& xoops_getModuleHandler('ams_spotlight','ams'); $myts =& MyTextSanitizer::getInstance(); @@ -96,11 +92,10 @@ include_once(XOOPS_ROOT_PATH."/class/template.php"); $xoopsTpl = new XoopsTpl(); } + $xoopsTpl->assign('pathImageIcon', $pathImageIcon); $xoopsTpl->assign('pathImageAdmin', $pathImageAdmin); -$style_admin = "../css/admin.css"; - //Load languages xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); Modified: XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/article.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/article.php 2012-02-16 12:22:10 UTC (rev 9001) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/article.php 2012-02-16 12:35:18 UTC (rev 9002) @@ -1,15 +1,14 @@ <?php /** * **************************************************************************** - * - Original Copyright (TDM) - * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) - * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) - * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) * **************************************************************************** - * AMS - MODULE FOR XOOPS - * Copyright (c) 2007 - 2012 - * TXMod Xoops (http://www.txmodxoops.org) + * AMS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2011 + * TXMod Xoops (http://www.txmodxoops.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 @@ -25,207 +24,199 @@ * 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. - * --------------------------------------------------------------------------- - * @copyright TXMod Xoops (http://www.txmodxoops.org) - * @license GPL see LICENSE - * @package ams - * @author TXMod Xoops (in...@tx...) * - * Version : 3.01 Sat 2012/01/14 6:36:53 : Timgno Exp $ + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package ams + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.01 Thu 2011/11/24 6:00:35 : Timgno Exp $ * **************************************************************************** */ include "admin_header.php"; +include_once "../include/functions.php"; xoops_cp_header(); -global $pathImageIcon; +global $xoopsModuleConfig, $pathImageIcon; -//It retrieves the value of the argument in op URL$ -$op = ams_CleanVars($_REQUEST, 'op', 'list_article', 'string'); -// counts the number of uncommitted gets +//On recupere la valeur de l argument op dans l URL$ +$op = ams_CleanVars($_REQUEST, 'op', 'list', 'string'); + +// compte le nombre de téléchargement non validé $criteria = new CriteriaCompo(); $criteria->add(new Criteria('status', 0)); $article_waiting = $articleHandler->getCount($criteria); + $status_menu = ams_CleanVars($_REQUEST, 'status_display', 1, 'int'); switch ($op) { default: case "list_article": - $article_admin = new ModuleAdmin(); - echo $article_admin->addNavigation('article.php'); - if ($status_menu == 1){ - $article_admin->addItemButton(_AM_AMS_ARTICLENEW, 'article.php?op=new_article', 'add'); - }else{ - $article_admin->addItemButton(_AM_AMS_ARTICLE_LIST, 'article.php?op=list_article', 'list'); - $article_admin->addItemButton(_AM_AMS_ARTICLENEW, 'article.php?op=new_article', 'add'); - } - echo $article_admin->renderButton(); - $criteria = new CriteriaCompo(); - $criteria->setSort("article_storyid"); - $criteria->setOrder("ASC"); - $numrows = $articleHandler->getCount(); - $article_arr = $articleHandler->getall($criteria); + $article_admin = new ModuleAdmin(); + echo $article_admin->addNavigation('article.php'); + if ($status_menu == 1){ + $article_admin->addItemButton(_AM_AMS_ADDARTICLE, 'article.php?op=new_article', 'add'); + if ($article_waiting == 0){ + $article_admin->addItemButton(_AM_AMS_ARTICLEWAIT, 'article.php?op=waiting_article&display=0', 'add'); + }else{ + $article_admin->addItemButton(_AM_AMS_ARTICLEWAIT, 'article.php?op=waiting_article&display=1', 'add', ' (<span style="color : Red">article_waiting . </span>)'); + } + }else{ + $article_admin->addItemButton(_AM_AMS_ARTICLELIST, 'article.php?op=list_article', 'list'); + $article_admin->addItemButton(_AM_AMS_ADDARTICLE, 'article.php?op=new_article', 'add'); + } + echo $article_admin->renderButton(); + $criteria = new CriteriaCompo(); + $criteria->setSort("storyid"); + $criteria->add(new Criteria('topicid', '0', '>')); + $criteria->setOrder("ASC"); + $numrows = $articleHandler->getCount(); + $article_arr = $articleHandler->getall($criteria); - //Table view - if ($numrows>0) - { - echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\"> - <tr> - <th align=\"center\">"._AM_AMS_ARTICLE_TITLE."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_CREATED."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_PUBLISHED."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_EXPIRED."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_HOSTNAME."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_NOHTML."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_NOSMILEY."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_COUNTER."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_TOPICID."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_IHOME."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_NOTIFYPUB."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_STORY_TYPE."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_TOPICDISPLAY."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_TOPICALIGN."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_COMMENTS."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_RATING."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_BANNER."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_AUDIENCEID."</th> - <th align=\"center\">"._AM_AMS_ARTICLE_ONLINE."</th> - <th align=\"center\" width=\"10%\">"._AM_AMS_FORMACTION."</th> - </tr>"; - $class = "odd"; - foreach (array_keys($article_arr) as $i) - { - if ( $article_arr[$i]->getVar("topic_pid") == 0) - { - echo "<tr class=\"".$class."\">"; - $class = ($class == "even") ? "odd" : "even";echo "<td align='center'>".$article_arr[$i]->getVar("article_title")."</td>"; - echo "<td align='center'>".formatTimeStamp($article_arr[$i]->getVar("article_created"),"S")."</td>"; - echo "<td align='center'>".formatTimeStamp($article_arr[$i]->getVar("article_published"),"S")."</td>"; - echo "<td align='center'>".formatTimeStamp($article_arr[$i]->getVar("article_expired"),"S")."</td>"; - echo "<td align='center'>".$article_arr[$i]->getVar("article_hostname")."</td>"; + //Affichage du tableau + if ($numrows>0) + { + echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\"> + <tr> + <th align=\"center\">"._AM_AMS_TITLE."</th> + <th align=\"center\">"._AM_AMS_TOPICID."</th> + <th align=\"center\">"._AM_AMS_CREATED."</th> + <th align=\"center\">"._AM_AMS_PUBLISHED."</th> + <th align=\"center\">"._AM_AMS_EXPIRED."</th> + <th align=\"center\">"._AM_AMS_IHOME."</th> + <th align=\"center\">"._AM_AMS_STORY_TYPE."</th> + <th align=\"center\">"._AM_AMS_RATING."</th> + <th align=\"center\">"._AM_AMS_ONLINE."</th> + <th align=\"center\">"._AM_AMS_ACTION."</th> + </tr>"; + + $class = "odd"; + + foreach (array_keys($article_arr) as $i) + { + if ( $article_arr[$i]->getVar("topic_pid") == 0) + { + $class = ($class == "even") ? "odd" : "even"; + echo "<tr class=\"".$class."\">"; + echo "<td align=\"center\">".$article_arr[$i]->getVar("title")."</td>"; + echo "<td align=\"center\">".$article_arr[$i]->getVar("topicid")."</td>"; //topic_title + echo "<td align=\"center\">".formatTimeStamp($article_arr[$i]->getVar("created"),"S")."</td>"; + echo "<td align=\"center\">".formatTimeStamp($article_arr[$i]->getVar("published"),"S")."</td>"; + echo "<td align=\"center\">".formatTimeStamp($article_arr[$i]->getVar("expired"),"S")."</td>"; - $verif_article_nohtml = ( $article_arr[$i]->getVar("article_nohtml") == 1 ) ? _YES : _NO; - echo "<td align='center'>".$verif_article_nohtml."</td>"; - - $verif_article_nosmiley = ( $article_arr[$i]->getVar("article_nosmiley") == 1 ) ? _YES : _NO; - echo "<td align='center'>".$verif_article_nosmiley."</td>"; - echo "<td align='center'>".$article_arr[$i]->getVar("article_counter")."</td>"; - - $verif_article_ihome = ( $article_arr[$i]->getVar("article_ihome") == 1 ) ? _YES : _NO; - echo "<td align='center'>".$verif_article_ihome."</td>"; - - $verif_article_notifypub = ( $article_arr[$i]->getVar("article_notifypub") == 1 ) ? _YES : _NO; - echo "<td align='center'>".$verif_article_notifypub."</td>"; - echo "<td align='center'>".$article_arr[$i]->getVar("article_story_type")."</td>"; - - $verif_article_topicdisplay = ( $article_arr[$i]->getVar("article_topicdisplay") == 1 ) ? _YES : _NO; - echo "<td align='center'>".$verif_article_topicdisplay."</td>"; - echo "<td align='center'>".$article_arr[$i]->getVar("article_topicalign")."</td>"; - echo "<td align='center'>".$article_arr[$i]->getVar("article_comments")."</td>"; - echo "<td align='center'>".$article_arr[$i]->getVar("article_rating")."</td>"; - echo "<td align='center'>".$article_arr[$i]->getVar("article_banner")."</td>"; - echo "<td align='center'>".$article_arr[$i]->getVar("article_audienceid")."</td>"; - - $verif_article_online = ( $article_arr[$i]->getVar("article_online") == 1 ) ? _YES : _NO; - echo "<td align='center'>".$verif_article_online."</td>"; - - echo "<td align=\"center\" width=\"10%\"> - <a href=\"article.php?op=edit_article&article_storyid=".$article_arr[$i]->getVar("article_storyid")."\"><img src=".$pathImageIcon."/edit.png alt=\""._EDIT."\" title=\""._EDIT."\"></a> - <a href=\"article.php?op=delete_article&article_storyid=".$article_arr[$i]->getVar("article_storyid")."\"><img src=".$pathImageIcon."/delete.png alt=\""._DELETE."\" title=\""._DELETE."\"></a> - </td>"; - echo "</tr>"; + $verif_ihome = ( $article_arr[$i]->getVar("ihome") == 1 ) ? _YES : _NO; + echo "<td align=\"center\">".$verif_ihome."</td>"; + + echo "<td align=\"center\">".$article_arr[$i]->getVar("story_type")."</td>"; + echo "<td align=\"center\">".$article_arr[$i]->getVar("rating")."</td>"; + $online = $article_arr[$i]->getVar("online"); + + if( $online == 1 ) { + echo "<td align=\"center\"><a href=\"./article.php?op=update_online_article&storyid=".$article_arr[$i]->getVar("storyid")."&article_online=0\"><img src=".$pathImageIcon."/on.png border=\"0\" alt=\""._AM_AMS_ON."\" title=\""._AM_AMS_ON."\"></a></td>"; + } else { + echo "<td align=\"center\"><a href=\"./article.php?op=update_online_article&storyid=".$article_arr[$i]->getVar("storyid")."&article_online=1\"><img src=".$pathImageIcon."/off.png border=\"0\" alt=\""._AM_AMS_OFF."\" title=\""._AM_AMS_OFF."\"></a></td>"; + } + echo "<td align=\"center\" width=\"10%\"> + <a href=\"article.php?op=edit_article&storyid=".$article_arr[$i]->getVar("storyid")."\"><img src=".$pathImageIcon."/edit.png alt=\""._EDIT."\" title=\""._EDIT."\"></a> + <a href=\"article.php?op=delete_article&storyid=".$article_arr[$i]->getVar("storyid")."\"><img src=".$pathImageIcon."/delete.png alt=\""._DELETE."\" title=\""._DELETE."\"></a> + </td>"; + echo "</tr>"; } } echo "</table><br><br>"; } - // Form display - //$obj =& $articleHandler->create(); - //$form = $obj->getForm(); - //$form->display(); - break; + break; case "new_article": $member_admin = new ModuleAdmin(); echo $member_admin->addNavigation("article.php"); - $member_admin->addItemButton(_AM_AMS_ARTICLE_LIST, 'article.php?op=list_article', 'list'); + $member_admin->addItemButton(_AM_AMS_ARTICLELIST, 'article.php?op=list_article', 'list'); + echo $member_admin->renderButton(); $obj =& $articleHandler->create(); $form = $obj->getForm(); - $form->display(); - break; + break; + case "save_article": if ( !$GLOBALS["xoopsSecurity"]->check() ) { redirect_header("article.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); } - if (isset($_REQUEST["article_storyid"])) { - $obj =& $articleHandler->get($_REQUEST["article_storyid"]); + if (isset($_REQUEST["storyid"])) { + $obj =& $articleHandler->get($_REQUEST["storyid"]); } else { $obj =& $articleHandler->create(); - } - //Form article_title - $obj->setVar("article_title", $_REQUEST["article_title"]); - //Form article_created - $obj->setVar("article_created", ams_convertDate($_REQUEST["article_created"])); - //Form article_published - $obj->setVar("article_published", ams_convertDate($_REQUEST["article_published"])); - //Form article_expired - $obj->setVar("article_expired", ams_convertDate($_REQUEST["article_expired"])); - //Form article_hostname - $obj->setVar("article_hostname", $_REQUEST["article_hostname"]); - //Form article_nohtml - $verif_article_nohtml = ($_REQUEST["article_nohtml"] == 1) ? "1" : "0"; - $obj->setVar("article_nohtml", $verif_article_nohtml); - //Form article_nosmiley - $verif_article_nosmiley = ($_REQUEST["article_nosmiley"] == 1) ? "1" : "0"; - $obj->setVar("article_nosmiley", $verif_article_nosmiley); - //Form article_counter - $obj->setVar("article_counter", $_REQUEST["article_counter"]); - //Form article_topicid - $obj->setVar("article_topicid", $_REQUEST["article_topicid"]); - //Form article_ihome - $verif_article_ihome = ($_REQUEST["article_ihome"] == 1) ? "1" : "0"; - $obj->setVar("article_ihome", $verif_article_ihome); - //Form article_notifypub - $verif_article_notifypub = ($_REQUEST["article_notifypub"] == 1) ? "1" : "0"; - $obj->setVar("article_notifypub", $verif_article_notifypub); - //Form article_story_type - $obj->setVar("article_story_type", $_REQUEST["article_story_type"]); - //Form article_topicdisplay - $verif_article_topicdisplay = ($_REQUEST["article_topicdisplay"] == 1) ? "1" : "0"; - $obj->setVar("article_topicdisplay", $verif_article_topicdisplay); - //Form article_topicalign - $obj->setVar("article_topicalign", $_REQUEST["article_topicalign"]); - //Form article_comments - $obj->setVar("article_comments", $_REQUEST["article_comments"]); - //Form article_rating - $obj->setVar("article_rating", $_REQUEST["article_rating"]); - //Form article_banner - $obj->setVar("article_banner", $_REQUEST["article_banner"]); - //Form article_audienceid - $obj->setVar("article_audienceid", $_REQUEST["article_audienceid"]); - //Form article_online - $verif_article_online = ($_REQUEST["article_online"] == 1) ? "1" : "0"; - $obj->setVar("article_online", $verif_article_online); + } + //Form title + $obj->setVar("title", $_REQUEST["title"]); + //Form created + $obj->setVar("created", strtotime($_REQUEST["created"])); + //Form published + $obj->setVar("published", strtotime($_REQUEST["published"])); + //Form expired + $obj->setVar("expired", strtotime($_REQUEST["expired"])); + //Form hostname + $obj->setVar("hostname", $_REQUEST["hostname"]); + //Form nohtml + $verif_nohtml = ($_REQUEST["nohtml"] == 1) ? "1" : "0"; + $obj->setVar("nohtml", $verif_nohtml); + //Form nosmiley + $verif_nosmiley = ($_REQUEST["nosmiley"] == 1) ? "1" : "0"; + $obj->setVar("nosmiley", $verif_nosmiley); + //Form counter + $obj->setVar("counter", $_REQUEST["counter"]); + //Form topicid + $obj->setVar("topicid", $_REQUEST["topicid"]); + //Form ihome + $verif_ihome = ($_REQUEST["ihome"] == 1) ? "1" : "0"; + $obj->setVar("ihome", $verif_ihome); + //Form notifypub + $verif_notifypub = ($_REQUEST["notifypub"] == 1) ? "1" : "0"; + $obj->setVar("notifypub", $verif_notifypub); + //Form story_type + $obj->setVar("story_type", $_REQUEST["story_type"]); + //Form topicdisplay + $verif_topicdisplay = ($_REQUEST["topicdisplay"] == 1) ? "1" : "0"; + $obj->setVar("topicdisplay", $verif_topicdisplay); + //Form topicalign + $obj->setVar("topicalign", $_REQUEST["topicalign"]); + //Form comments + $obj->setVar("comments", $_REQUEST["comments"]); + //Form rating + $obj->setVar("rating", $_REQUEST["rating"]); + //Form banner + $obj->setVar("banner", $_REQUEST["banner"]); + //Form online + $online = ($_REQUEST["online"] == 1) ? "1" : "0"; + $obj->setVar("online", $online); + //Form audienceid + $obj->setVar("audienceid", $_REQUEST["audienceid"]); + if ($articleHandler->insert($obj)) { - redirect_header("article.php?op=list_article", 2, _AM_AMS_FORMOK); + redirect_header("article.php?op=show_list_article", 2, _AM_AMS_FORMOK); } - //include_once("../include/forms.php"); + echo $obj->getHtmlErrors(); $form =& $obj->getForm(); break; case "edit_article": - $obj = $articleHandler->get($_REQUEST["article_storyid"]); + $obj = $articleHandler->get($_REQUEST["storyid"]); $form = $obj->getForm(); - $form->display(); break; + case "waiting_article": + + break; + case "delete_article": - $obj =& $articleHandler->get($_REQUEST["article_storyid"]); + $obj =& $articleHandler->get($_REQUEST["storyid"]); if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { if ( !$GLOBALS["xoopsSecurity"]->check() ) { redirect_header("article.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); @@ -236,10 +227,24 @@ echo $obj->getHtmlErrors(); } } else { - xoops_confirm(array("ok" => 1, "article_storyid" => $_REQUEST["article_storyid"], "op" => "delete_article"), $_SERVER["REQUEST_URI"], sprintf(_AM_AMS_FORMSUREDEL, $obj->getVar("article"))); + xoops_confirm(array("ok" => 1, "storyid" => $_REQUEST["storyid"], "op" => "delete_article"), $_SERVER["REQUEST_URI"], sprintf(_AM_AMS_FORMSUREDEL, $obj->getVar("article"))); } break; + + case "update_online_article": + if (isset($_REQUEST["storyid"])) { + $obj =& $articleHandler->get($_REQUEST["storyid"]); + } + $obj->setVar("online", $_REQUEST["online"]); + + if ($articleHandler->insert($obj)) { + redirect_header("article.php", 3, _AM_AMS_FORMOK); + } + echo $obj->getHtmlErrors(); + + break; } include "admin_footer.php"; + ?> \ No newline at end of file Modified: XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/audience.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/audience.php 2012-02-16 12:22:10 UTC (rev 9001) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/audience.php 2012-02-16 12:35:18 UTC (rev 9002) @@ -1,15 +1,14 @@ <?php /** * **************************************************************************** - * - Original Copyright (TDM) - * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) - * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) - * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) * **************************************************************************** - * AMS - MODULE FOR XOOPS - * Copyright (c) 2007 - 2012 - * TXMod Xoops (http://www.txmodxoops.org) + * AMS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2011 + * TXMod Xoops (http://www.txmodxoops.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 @@ -25,104 +24,122 @@ * 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. - * --------------------------------------------------------------------------- - * @copyright TXMod Xoops (http://www.txmodxoops.org) - * @license GPL see LICENSE - * @package ams - * @author TXMod Xoops (in...@tx...) * - * Version : 3.01 Sat 2012/01/14 6:36:53 : Timgno Exp $ + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package ams + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.01 Thu 2011/11/24 6:00:35 : Timgno Exp $ * **************************************************************************** */ include "admin_header.php"; +include_once "../include/functions.php"; xoops_cp_header(); -global $pathImageIcon; +global $xoopsModuleConfig, $pathImageIcon; -//It retrieves the value of the argument in op URL$ -$op = ams_CleanVars($_REQUEST, 'op', 'list_audience', 'string'); -// counts the number of uncommitted gets +//On recupere la valeur de l argument op dans l URL$ +$op = ams_CleanVars($_REQUEST, 'op', 'list', 'string'); + +// compte le nombre de téléchargement non validé $criteria = new CriteriaCompo(); $criteria->add(new Criteria('status', 0)); $audience_waiting = $audienceHandler->getCount($criteria); + $status_menu = ams_CleanVars($_REQUEST, 'status_display', 1, 'int'); + switch ($op) { default: - case "list_audience": - $audience_admin = new ModuleAdmin(); - echo $audience_admin->addNavigation('audience.php'); - if ($status_menu == 1){ - $audience_admin->addItemButton(_AM_AMS_AUDIENCENEW, 'audience.php?op=new_audience', 'add'); - }else{ - $audience_admin->addItemButton(_AM_AMS_AUDIENCE_LIST, 'audience.php?op=list_audience', 'list'); - $audience_admin->addItemButton(_AM_AMS_AUDIENCENEW, 'audience.php?op=new_audience', 'add'); - } - echo $audience_admin->renderButton(); - $criteria = new CriteriaCompo(); - $criteria->setSort("audience_id"); - $criteria->setOrder("ASC"); - $numrows = $audienceHandler->getCount(); - $audience_arr = $audienceHandler->getall($criteria); + case "list_audience": + $audience_admin = new ModuleAdmin(); + echo $audience_admin->addNavigation('audience.php'); + if ($status_menu == 1){ + $audience_admin->addItemButton(_AM_AMS_AUDIENCE_NEW, 'audience.php?op=new_audience', 'add'); + }else{ + $audience_admin->addItemButton(_AM_AMS_AUDIENCE_LIST, 'audience.php?op=list_audience', 'list'); + $audience_admin->addItemButton(_AM_AMS_AUDIENCE_NEW, 'audience.php?op=new_audience', 'add'); + } + echo $audience_admin->renderButton(); + $criteria = new CriteriaCompo(); + $criteria->setSort("audienceid"); + $criteria->setOrder("ASC"); + $numrows = $audienceHandler->getCount(); + $audience_arr = $audienceHandler->getall($criteria); - //Table view - if ($numrows>0) - { - echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\"> - <tr> - <th align=\"center\">"._AM_AMS_AUDIENCE_AUDIENCE."</th> + //Affichage du tableau + if ($numrows>0) + { + echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\"> + <tr> + <th align=\"center\">"._AM_AMS_AUDIENCE_ID."</th> + <th align=\"center\">"._AM_AMS_AUDIENCE."</th> <th align=\"center\" width=\"10%\">"._AM_AMS_FORMACTION."</th> - </tr>"; - $class = "odd"; - foreach (array_keys($audience_arr) as $i) - { - if ( $audience_arr[$i]->getVar("topic_pid") == 0) - { - echo "<tr class=\"".$class."\">"; - $class = ($class == "even") ? "odd" : "even";echo "<td align='center'>".$audience_arr[$i]->getVar("audience_audience")."</td>"; - + </tr>"; + + $class = "odd"; + + foreach (array_keys($audience_arr) as $i) + { + if ( $audience_arr[$i]->getVar("topic_pid") == 0) + { + echo "<tr class=\"".$class."\">"; + $class = ($class == "even") ? "odd" : "even"; + echo "<td align=\"center\">".$audience_arr[$i]->getVar("audienceid")."</td>"; + echo "<td align=\"center\">".$audience_arr[$i]->getVar("audience")."</td>"; + //$online = $audience_arr[$i]->getVar("audience"); + + /*if( $online == 1 ) { + echo "<td align=\"center\"><a href=\"./audience.php?op=update_online_audience&audienceid=".$audience_arr[$i]->getVar("audienceid")."&audience_online=1\"><img src=".$pathImageIcon."/on.png border=\"0\" alt=\""._AM_AMS_ON."\" title=\""._AM_AMS_ON."\"></a></td>"; + } else { + echo "<td align=\"center\"><a href=\"./audience.php?op=update_online_audience&audienceid=".$audience_arr[$i]->getVar("audienceid")."&audience_online=0\"><img src=".$pathImageIcon."/off.png border=\"0\" alt=\""._AM_AMS_OFF."\" title=\""._AM_AMS_OFF."\"></a></td>"; + }*/ echo "<td align=\"center\" width=\"10%\"> - <a href=\"audience.php?op=edit_audience&audience_id=".$audience_arr[$i]->getVar("audience_id")."\"><img src=".$pathImageIcon."/edit.png alt=\""._EDIT."\" title=\""._EDIT."\"></a> - <a href=\"audience.php?op=delete_audience&audience_id=".$audience_arr[$i]->getVar("audience_id")."\"><img src=".$pathImageIcon."/delete.png alt=\""._DELETE."\" title=\""._DELETE."\"></a> - </td>"; + <a href=\"audience.php?op=edit_audience&audienceid=".$audience_arr[$i]->getVar("audienceid")."\"><img src=".$pathImageIcon."/edit.png alt=\""._AM_AMS_EDIT."\" title=\""._AM_AMS_EDIT."\"></a> + <a href=\"audience.php?op=delete_audience&audienceid=".$audience_arr[$i]->getVar("audienceid")."\"><img src=".$pathImageIcon."/delete.png alt=\""._AM_AMS_DELETE."\" title=\""._AM_AMS_DELETE."\"></a> + </td>"; echo "</tr>"; } } echo "</table><br><br>"; } - // Form display - //$obj =& $audienceHandler->create(); - //$form = $obj->getForm(); - //$form->display(); - break; + // Affichage du formulaire +// $obj =& $audienceHandler->create(); +// $form = $obj->getForm(); + break; - case "new_audience": +case "new_audience": $member_admin = new ModuleAdmin(); echo $member_admin->addNavigation("audience.php"); $member_admin->addItemButton(_AM_AMS_AUDIENCE_LIST, 'audience.php?op=list_audience', 'list'); + echo $member_admin->renderButton(); - $obj =& $audienceHandler->create(); - $form = $obj->getForm(); - $form->display(); - break; + $obj =& $audienceHandler->create(); + $form = $obj->getForm(); + break; - case "save_audience": + + case "save_audience": if ( !$GLOBALS["xoopsSecurity"]->check() ) { redirect_header("audience.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); } - if (isset($_REQUEST["audience_id"])) { - $obj =& $audienceHandler->get($_REQUEST["audience_id"]); + if (isset($_REQUEST["audienceid"])) { + $obj =& $audienceHandler->get($_REQUEST["audienceid"]); } else { $obj =& $audienceHandler->create(); - } - //Form audience_audience - $obj->setVar("audience_audience", $_REQUEST["audience_audience"]); + } + //Form audience + $obj->setVar("audience", $_REQUEST["audience"]); + if ($audienceHandler->insert($obj)) { - redirect_header("audience.php?op=list_audience", 2, _AM_AMS_FORMOK); + redirect_header("audience.php?op=show_list_audience", 2, _AM_AMS_FORMOK); } //include_once("../include/forms.php"); echo $obj->getHtmlErrors(); @@ -130,13 +147,12 @@ break; case "edit_audience": - $obj = $audienceHandler->get($_REQUEST["audience_id"]); + $obj = $audienceHandler->get($_REQUEST["audienceid"]); $form = $obj->getForm(); - $form->display(); break; case "delete_audience": - $obj =& $audienceHandler->get($_REQUEST["audience_id"]); + $obj =& $audienceHandler->get($_REQUEST["audienceid"]); if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { if ( !$GLOBALS["xoopsSecurity"]->check() ) { redirect_header("audience.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); @@ -147,10 +163,24 @@ echo $obj->getHtmlErrors(); } } else { - xoops_confirm(array("ok" => 1, "audience_id" => $_REQUEST["audience_id"], "op" => "delete_audience"), $_SERVER["REQUEST_URI"], sprintf(_AM_AMS_FORMSUREDEL, $obj->getVar("audience"))); + xoops_confirm(array("ok" => 1, "audienceid" => $_REQUEST["audienceid"], "op" => "delete_audience"), $_SERVER["REQUEST_URI"], sprintf(_AM_AMS_FORMSUREDEL, $obj->getVar("audience"))); } break; + + case "update_online_audience": + if (isset($_REQUEST["audienceid"])) { + $obj =& $audienceHandler->get($_REQUEST["audienceid"]); + } + $obj->setVar("audience_online", $_REQUEST["audience_online"]); + + if ($audienceHandler->insert($obj)) { + redirect_header("audience.php", 3, _AM_AMS_FORMOK); + } + echo $obj->getHtmlErrors(); + + break; } include "admin_footer.php"; + ?> \ No newline at end of file Modified: XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/files.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/files.php 2012-02-16 12:22:10 UTC (rev 9001) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/files.php 2012-02-16 12:35:18 UTC (rev 9002) @@ -1,15 +1,14 @@ <?php /** * **************************************************************************** - * - Original Copyright (TDM) - * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) - * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) - * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) * **************************************************************************** - * AMS - MODULE FOR XOOPS - * Copyright (c) 2007 - 2012 - * TXMod Xoops (http://www.txmodxoops.org) + * AMS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2011 + * TXMod Xoops (http://www.txmodxoops.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 @@ -25,123 +24,156 @@ * 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. - * --------------------------------------------------------------------------- - * @copyright TXMod Xoops (http://www.txmodxoops.org) - * @license GPL see LICENSE - * @package ams - * @author TXMod Xoops (in...@tx...) * - * Version : 3.01 Sat 2012/01/14 6:36:53 : Timgno Exp $ + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package ams + * @author TXMod Xoops (in...@tx...) + * + * Version : 3.01 Thu 2011/11/24 6:00:35 : Timgno Exp $ * **************************************************************************** */ include "admin_header.php"; +include_once "../include/functions.php"; xoops_cp_header(); -global $pathImageIcon; +global $xoopsModuleConfig, $pathImageIcon; -//It retrieves the value of the argument in op URL$ -$op = ams_CleanVars($_REQUEST, 'op', 'list_files', 'string'); -// counts the number of uncommitted gets +//On recupere la valeur de l argument op dans l URL$ +$op = ams_CleanVars($_REQUEST, 'op', 'list', 'string'); + +// compte le nombre de téléchargement non validé $criteria = new CriteriaCompo(); $criteria->add(new Criteria('status', 0)); $files_waiting = $filesHandler->getCount($criteria); + $status_menu = ams_CleanVars($_REQUEST, 'status_display', 1, 'int'); switch ($op) { default: - case "list_files": - $files_admin = new ModuleAdmin(); - echo $files_admin->addNavigation('files.php'); - if ($status_menu == 1){ - $files_admin->addItemButton(_AM_AMS_FILESNEW, 'files.php?op=new_files', 'add'); - }else{ - $files_admin->addItemButton(_AM_AMS_FILES_LIST, 'files.php?op=list_files', 'list'); - $files_admin->addItemButton(_AM_AMS_FILESNEW, 'files.php?op=new_files', 'add'); - } - echo $files_admin->renderButton(); - $criteria = new CriteriaCompo(); - $criteria->setSort("files_id"); - $criteria->setOrder("ASC"); - $numrows = $filesHandler->getCount(); - $files_arr = $filesHandler->getall($criteria); + case "list_files": + $files_admin = new ModuleAdmin(); + echo $files_admin->addNavigation('files.php'); + if ($status_menu == 1){ + $files_admin->addItemButton(_AM_AMS_NEWRECORD, 'files.php?op=new_files', 'add'); + if ($files_waiting == 0){ + $files_admin->addItemButton(_AM_AMS_WAIT, 'files.php?op=list&status_display=0', 'add'); + }else{ + $files_admin->addItemButton(_AM_AMS_WAIT, 'files.php?op=list&status_display=0', 'add', ' (<span style="color : Red">files_waiting . </span>)'); + } + }else{ + $files_admin->addItemButton(_AM_AMS_LIST, 'files.php?op=list_files', 'list'); + $files_admin->addItemButton(_AM_AMS_NEWRECORD, 'files.php?op=new_files', 'add'); + } + echo $files_admin->renderButton(); + $criteria = new CriteriaCompo(); + $criteria->setSort("fileid"); + $criteria->setOrder("ASC"); + $numrows = $filesHandler->getCount(); + $files_arr = $filesHandler->getall($criteria); - //Table view - if ($numrows>0) - { - echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\"> - <tr> - <th align=\"center\">"._AM_AMS_FILES_REALNAME."</th> - <th align=\"center\">"._AM_AMS_FILES_STORYID."</th> - <th align=\"center\">"._AM_AMS_FILES_DATE."</th> - <th align=\"center\">"._AM_AMS_FILES_MIMETYPE."</th> - <th align=\"center\">"._AM_AMS_FILES_DOWNLOADNAME."</th> - <th align=\"center\">"._AM_AMS_FILES_COUNTER."</th> + //Affichage du tableau + if ($numrows>0) + { + echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\"> + <tr> + <th align=\"center\">"._AM_AMS_FILEREALNAME."</th> + <th align=\"center\">"._AM_AMS_STORYID."</th> + <th align=\"center\">"._AM_AMS_DATE."</th> + <th align=\"center\">"._AM_AMS_MIMETYPE."</th> + <th align=\"center\">"._AM_AMS_DOWNLOADNAME."</th> + <th align=\"center\">"._AM_AMS_COUNTER."</th> + <th align=\"center\" width=\"10%\">"._AM_AMS_FORMACTION."</th> - </tr>"; - $class = "odd"; - foreach (array_keys($files_arr) as $i) - { - if ( $files_arr[$i]->getVar("topic_pid") == 0) - { - echo "<tr class=\"".$class."\">"; - $class = ($class == "even") ? "odd" : "even";echo "<td align='center'>".$files_arr[$i]->getVar("files_realname")."</td>"; - echo "<td align='center'>".formatTimeStamp($files_arr[$i]->getVar("files_date"),"S")."</td>"; - echo "<td align='center'>".$files_arr[$i]->getVar("files_mimetype")."</td>"; - echo "<td align='center'>".$files_arr[$i]->getVar("files_downloadname")."</td>"; - echo "<td align='center'>".$files_arr[$i]->getVar("files_counter")."</td>"; + </tr>"; + + $class = "odd"; + ... [truncated message content] |
From: <dj...@us...> - 2012-02-16 12:22:21
|
Revision: 9001 http://xoops.svn.sourceforge.net/xoops/?rev=9001&view=rev Author: djculex Date: 2012-02-16 12:22:10 +0000 (Thu, 16 Feb 2012) Log Message: ----------- missing ; in line 45 Modified Paths: -------------- XoopsModules/xim/releases/1.02/modules/xim/chat.php XoopsModules/xim/trunk/modules/xim/chat.php Modified: XoopsModules/xim/releases/1.02/modules/xim/chat.php =================================================================== --- XoopsModules/xim/releases/1.02/modules/xim/chat.php 2012-02-15 15:41:59 UTC (rev 9000) +++ XoopsModules/xim/releases/1.02/modules/xim/chat.php 2012-02-16 12:22:10 UTC (rev 9001) @@ -41,7 +41,7 @@ **/ include 'header.php'; -require_once XOOPS_ROOT_PATH."/modules/xim/include/functions.php" +require_once XOOPS_ROOT_PATH."/modules/xim/include/functions.php"; global $xoopsLogger; $xoopsLogger->activated = false; Modified: XoopsModules/xim/trunk/modules/xim/chat.php =================================================================== --- XoopsModules/xim/trunk/modules/xim/chat.php 2012-02-15 15:41:59 UTC (rev 9000) +++ XoopsModules/xim/trunk/modules/xim/chat.php 2012-02-16 12:22:10 UTC (rev 9001) @@ -41,7 +41,7 @@ **/ include 'header.php'; -require_once XOOPS_ROOT_PATH."/modules/xim/include/functions.php" +require_once XOOPS_ROOT_PATH."/modules/xim/include/functions.php"; global $xoopsLogger; $xoopsLogger->activated = false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <for...@us...> - 2012-02-15 15:42:10
|
Revision: 9000 http://xoops.svn.sourceforge.net/xoops/?rev=9000&view=rev Author: forxoops Date: 2012-02-15 15:41:59 +0000 (Wed, 15 Feb 2012) Log Message: ----------- Fix date problem with some old module Fix an error during install process for template Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.5/htdocs/include/calendar.js Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/include/calendar.js =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/include/calendar.js 2012-02-15 14:01:16 UTC (rev 8999) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/include/calendar.js 2012-02-15 15:41:59 UTC (rev 9000) @@ -453,7 +453,7 @@ if (el.ttip.substr(0, 1) == "_") { var date = null; with (el.calendar.date) { - date = new Date(getFullYear(), getMonth(), el.caldate); + date = new Date(getFullYear(), getMonthFormatted(), el.caldate); } el.ttip = date.print(el.calendar.ttDateFormat) + el.ttip.substr(1); } @@ -1230,7 +1230,7 @@ Date.prototype.getMonthDays = function(month) { var year = this.getFullYear(); if (typeof month == "undefined") { - month = this.getMonth(); + month = this.getMonthFormatted(); } if (((0 == (year%4)) && ( (0 != (year%100)) || (0 == (year%400)))) && month == 1) { return 29; @@ -1260,13 +1260,13 @@ /** Prints the date in a string according to the given format. */ Date.prototype.print = function (frm) { var str = new String(frm); - var m = this.getMonth(); + var m = this.getMonthFormatted(); var d = this.getDate(); var y = this.getFullYear(); var s = new Array(); s["j"] = d; s["d"] = (d < 10) ? ("0" + d) : d; - s["m"] = 1+m; + s["m"] = m; s["n"] = (m < 9) ? ("0" + (1+m)) : (1+m); s["Y"] = y; s["y"] = new String(y).substr(2, 2); @@ -1278,6 +1278,12 @@ return str; }; +Date.prototype.getMonthFormatted = function() { + var month = this.getMonth() + 1; + return month < 10 ? '0' + month : month; // ('' + month) for string result +} + + // END: DATE OBJECT PATCHES // global object that remembers the calendar This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |