|
From: <be...@us...> - 2013-02-07 08:38:27
|
Revision: 11002
http://sourceforge.net/p/xoops/svn/11002
Author: beckmi
Date: 2013-02-07 08:38:13 +0000 (Thu, 07 Feb 2013)
Log Message:
-----------
Adding RMCommon files
Added Paths:
-----------
RMC/rmcommon/trunk/rmcommon/ajax/
RMC/rmcommon/trunk/rmcommon/ajax/blocks.php
RMC/rmcommon/trunk/rmcommon/ajax/index.html
RMC/rmcommon/trunk/rmcommon/ajax/updates.php
RMC/rmcommon/trunk/rmcommon/ajax/users.php
RMC/rmcommon/trunk/rmcommon/api/
RMC/rmcommon/trunk/rmcommon/api/editors/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/editor-exmcode.php
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/editor-popups.js
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/bold.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/center.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/code.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/color.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/down.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/font.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/hide.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/image.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/images.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/italic.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/left.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/link.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/mail.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/more.gif
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/page.gif
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/quote.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/right.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/show.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/simbol.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/size.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/smiley.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/strike.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/symbol.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/images/under.png
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/chars/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/chars/chars.html
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/chars/css/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/chars/css/chars.css
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/chars/js/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/chars/js/chars.js
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/chars/plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/dropdown/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/dropdown/css/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/dropdown/css/dropdowns.css
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/dropdown/plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/email/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/email/plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/emotions/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/emotions/css/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/emotions/css/emotions.css
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/emotions/emotions.php
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/emotions/plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/fonts/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/fonts/plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/link/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/link/css/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/link/css/links.css
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/link/lang/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/link/lang/en.php
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/link/links.html
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/link/plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/more/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/more/plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/rmimage/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/rmimage/plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/texts/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/texts/plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/xcode/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/xcode/code.html
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/xcode/lang/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/xcode/lang/en.php
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/xcode/plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/xquote/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/xquote/lang/
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/xquote/lang/en.php
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/xquote/plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/plugins/xquote/quote.html
RMC/rmcommon/trunk/rmcommon/api/editors/exmcode/urls.php
RMC/rmcommon/trunk/rmcommon/api/editors/index.html
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/langs/en.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/license.txt
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advhr/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advhr/css/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advhr/css/advhr.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advhr/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advhr/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advhr/js/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advhr/js/rule.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advhr/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advhr/langs/en_dlg.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advhr/rule.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advimage/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advimage/css/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advimage/css/advimage.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advimage/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advimage/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advimage/image.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advimage/img/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advimage/img/sample.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advimage/js/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advimage/js/image.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advimage/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advimage/langs/en_dlg.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advlink/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advlink/css/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advlink/css/advlink.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advlink/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advlink/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advlink/js/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advlink/js/advlink.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advlink/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advlink/langs/en_dlg.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advlink/link.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advlist/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advlist/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/advlist/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/autolink/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/autolink/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/autolink/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/autoresize/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/autoresize/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/autoresize/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/autosave/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/autosave/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/autosave/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/autosave/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/autosave/langs/en.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/bbcode/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/bbcode/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/bbcode/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/contextmenu/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/contextmenu/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/contextmenu/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/directionality/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/directionality/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/directionality/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/emotions.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-cool.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-cry.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-embarassed.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-frown.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-innocent.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-kiss.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-laughing.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-money-mouth.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-sealed.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-smile.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-surprised.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-tongue-out.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-undecided.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-wink.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/img/smiley-yell.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/js/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/js/emotions.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/emotions/langs/en_dlg.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example/dialog.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example/img/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example/img/example.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example/js/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example/js/dialog.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example/langs/en.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example/langs/en_dlg.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example_dependency/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example_dependency/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/example_dependency/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/css/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/css/content.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/css/exmimg.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/editor_plugin.php
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/audio.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/back.png
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/big.png
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/exmimg.png
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/first.png
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/help.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/icon.png
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/icon24.png
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/image.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/last.png
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/link.png
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/media.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/more.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/more_bug.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/next.png
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/page.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/page_bug.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/thumb.png
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/toolbars.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/trans.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/img/video.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/js/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/js/functions.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/js/images.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/langs/en.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/exmsystem/langs/en_dlg.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullpage/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullpage/css/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullpage/css/fullpage.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullpage/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullpage/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullpage/fullpage.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullpage/js/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullpage/js/fullpage.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullpage/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullpage/langs/en_dlg.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullscreen/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullscreen/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullscreen/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/fullscreen/fullscreen.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/iespell/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/iespell/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/iespell/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/clearlooks2/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/clearlooks2/img/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/exm/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/exm/img/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/exm/img/alert.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/exm/img/buttons.png
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/exm/img/confirm.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/skins/exm/window.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/inlinepopups/template.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/insertdatetime/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/insertdatetime/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/insertdatetime/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/layer/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/layer/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/layer/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/legacyoutput/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/legacyoutput/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/legacyoutput/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/lists/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/lists/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/lists/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/media/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/media/css/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/media/css/media.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/media/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/media/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/media/js/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/media/js/embed.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/media/js/media.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/media/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/media/langs/en_dlg.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/media/media.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/media/moxieplayer.swf
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/nonbreaking/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/nonbreaking/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/nonbreaking/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/noneditable/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/noneditable/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/noneditable/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/pagebreak/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/pagebreak/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/pagebreak/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/paste/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/paste/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/paste/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/paste/js/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/paste/js/pastetext.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/paste/js/pasteword.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/paste/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/paste/langs/en_dlg.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/paste/pastetext.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/paste/pasteword.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/preview/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/preview/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/preview/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/preview/example.html
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/preview/jscripts/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/preview/jscripts/embed.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/preview/preview.html
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/print/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/print/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/print/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/save/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/save/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/save/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/searchreplace/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/searchreplace/css/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/searchreplace/css/searchreplace.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/searchreplace/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/searchreplace/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/searchreplace/js/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/searchreplace/js/searchreplace.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/searchreplace/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/searchreplace/langs/en_dlg.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/searchreplace/searchreplace.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/spellchecker/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/spellchecker/css/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/spellchecker/css/content.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/spellchecker/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/spellchecker/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/spellchecker/img/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/spellchecker/img/wline.gif
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/style/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/style/css/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/style/css/props.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/style/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/style/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/style/js/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/style/js/props.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/style/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/style/langs/en_dlg.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/style/props.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/style/readme.txt
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/tabfocus/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/tabfocus/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/tabfocus/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/cell.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/css/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/css/cell.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/css/row.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/css/table.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/js/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/js/cell.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/js/merge_cells.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/js/row.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/js/table.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/langs/en_dlg.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/merge_cells.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/row.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/table/table.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/template/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/template/blank.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/template/css/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/template/css/template.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/template/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/template/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/template/js/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/template/js/template.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/template/langs/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/template/langs/en_dlg.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/template/template.htm
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/visualblocks/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/visualblocks/css/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/visualblocks/css/visualblocks.css
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/visualblocks/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/visualblocks/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/visualchars/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/visualchars/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/visualchars/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/wordcount/
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/wordcount/editor_plugin.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/wordcount/editor_plugin_src.js
RMC/rmcommon/trunk/rmcommon/api/editors/tinymce/plugins/xhtmlxtras/
RMC/rmcommon...
[truncated message content] |
|
From: <be...@us...> - 2013-02-07 08:43:11
|
Revision: 11003
http://sourceforge.net/p/xoops/svn/11003
Author: beckmi
Date: 2013-02-07 08:43:07 +0000 (Thu, 07 Feb 2013)
Log Message:
-----------
Adding RMCommon files
Added Paths:
-----------
RMC/rmcommon/trunk/rmcommon/events/
RMC/rmcommon/trunk/rmcommon/events/index.html
RMC/rmcommon/trunk/rmcommon/events/rmcommon.php
RMC/rmcommon/trunk/rmcommon/images/
RMC/rmcommon/trunk/rmcommon/images/avatar.gif
RMC/rmcommon/trunk/rmcommon/images/bgpops.png
RMC/rmcommon/trunk/rmcommon/images/blocks.png
RMC/rmcommon/trunk/rmcommon/images/border.gif
RMC/rmcommon/trunk/rmcommon/images/butt2.png
RMC/rmcommon/trunk/rmcommon/images/cancel.png
RMC/rmcommon/trunk/rmcommon/images/category.png
RMC/rmcommon/trunk/rmcommon/images/category_add.png
RMC/rmcommon/trunk/rmcommon/images/closeb.png
RMC/rmcommon/trunk/rmcommon/images/comments.png
RMC/rmcommon/trunk/rmcommon/images/configure.png
RMC/rmcommon/trunk/rmcommon/images/cp/
RMC/rmcommon/trunk/rmcommon/images/cp/blank.gif
RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_background.png
RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hex.png
RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_b.png
RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_h.png
RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_s.png
RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_indic.gif
RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_overlay.png
RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_b.png
RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_g.png
RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_r.png
RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_select.gif
RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_submit.png
RMC/rmcommon/trunk/rmcommon/images/cp/custom_background.png
RMC/rmcommon/trunk/rmcommon/images/cp/custom_hex.png
RMC/rmcommon/trunk/rmcommon/images/cp/custom_hsb_b.png
RMC/rmcommon/trunk/rmcommon/images/cp/custom_hsb_h.png
RMC/rmcommon/trunk/rmcommon/images/cp/custom_hsb_s.png
RMC/rmcommon/trunk/rmcommon/images/cp/custom_indic.gif
RMC/rmcommon/trunk/rmcommon/images/cp/custom_rgb_b.png
RMC/rmcommon/trunk/rmcommon/images/cp/custom_rgb_g.png
RMC/rmcommon/trunk/rmcommon/images/cp/custom_rgb_r.png
RMC/rmcommon/trunk/rmcommon/images/cp/custom_submit.png
RMC/rmcommon/trunk/rmcommon/images/cp/select.png
RMC/rmcommon/trunk/rmcommon/images/cp/select2.png
RMC/rmcommon/trunk/rmcommon/images/cp/slider.png
RMC/rmcommon/trunk/rmcommon/images/dashboard.png
RMC/rmcommon/trunk/rmcommon/images/delete.png
RMC/rmcommon/trunk/rmcommon/images/done.png
RMC/rmcommon/trunk/rmcommon/images/down.png
RMC/rmcommon/trunk/rmcommon/images/downl.png
RMC/rmcommon/trunk/rmcommon/images/ed-bg.png
RMC/rmcommon/trunk/rmcommon/images/emots/
RMC/rmcommon/trunk/rmcommon/images/emots/confused.png
RMC/rmcommon/trunk/rmcommon/images/emots/cool.png
RMC/rmcommon/trunk/rmcommon/images/emots/cry.png
RMC/rmcommon/trunk/rmcommon/images/emots/grin.png
RMC/rmcommon/trunk/rmcommon/images/emots/happy.png
RMC/rmcommon/trunk/rmcommon/images/emots/mad.png
RMC/rmcommon/trunk/rmcommon/images/emots/neutral.png
RMC/rmcommon/trunk/rmcommon/images/emots/red.png
RMC/rmcommon/trunk/rmcommon/images/emots/roll.png
RMC/rmcommon/trunk/rmcommon/images/emots/smile.png
RMC/rmcommon/trunk/rmcommon/images/emots/surprised.png
RMC/rmcommon/trunk/rmcommon/images/emots/tongue.png
RMC/rmcommon/trunk/rmcommon/images/emots/unhappy.png
RMC/rmcommon/trunk/rmcommon/images/emots/wink.png
RMC/rmcommon/trunk/rmcommon/images/emots/yell.png
RMC/rmcommon/trunk/rmcommon/images/error.png
RMC/rmcommon/trunk/rmcommon/images/first.gif
RMC/rmcommon/trunk/rmcommon/images/homebc.png
RMC/rmcommon/trunk/rmcommon/images/icon32.png
RMC/rmcommon/trunk/rmcommon/images/icon48.png
RMC/rmcommon/trunk/rmcommon/images/image.png
RMC/rmcommon/trunk/rmcommon/images/image_add.png
RMC/rmcommon/trunk/rmcommon/images/images.png
RMC/rmcommon/trunk/rmcommon/images/index.html
RMC/rmcommon/trunk/rmcommon/images/last.gif
RMC/rmcommon/trunk/rmcommon/images/loading.gif
RMC/rmcommon/trunk/rmcommon/images/loading_2.gif
RMC/rmcommon/trunk/rmcommon/images/loadinga.gif
RMC/rmcommon/trunk/rmcommon/images/logo.png
RMC/rmcommon/trunk/rmcommon/images/modbk.png
RMC/rmcommon/trunk/rmcommon/images/modules.png
RMC/rmcommon/trunk/rmcommon/images/next.gif
RMC/rmcommon/trunk/rmcommon/images/plugin.png
RMC/rmcommon/trunk/rmcommon/images/points.gif
RMC/rmcommon/trunk/rmcommon/images/popbuts.png
RMC/rmcommon/trunk/rmcommon/images/prev.gif
RMC/rmcommon/trunk/rmcommon/images/remove.gif
RMC/rmcommon/trunk/rmcommon/images/rmc16.png
RMC/rmcommon/trunk/rmcommon/images/rmc24.png
RMC/rmcommon/trunk/rmcommon/images/rss.png
RMC/rmcommon/trunk/rmcommon/images/rss_s.png
RMC/rmcommon/trunk/rmcommon/images/rssimage.png
RMC/rmcommon/trunk/rmcommon/images/separator.gif
RMC/rmcommon/trunk/rmcommon/images/submenu_btn.gif
RMC/rmcommon/trunk/rmcommon/images/themes.png
RMC/rmcommon/trunk/rmcommon/images/updates.png
RMC/rmcommon/trunk/rmcommon/images/user_add.png
RMC/rmcommon/trunk/rmcommon/images/users.png
RMC/rmcommon/trunk/rmcommon/images/wait.gif
RMC/rmcommon/trunk/rmcommon/include/
RMC/rmcommon/trunk/rmcommon/include/emotions.php
RMC/rmcommon/trunk/rmcommon/include/function.breadcrumb.php
RMC/rmcommon/trunk/rmcommon/include/index.html
RMC/rmcommon/trunk/rmcommon/include/install.php
RMC/rmcommon/trunk/rmcommon/include/js/
RMC/rmcommon/trunk/rmcommon/include/js/blocks.js
RMC/rmcommon/trunk/rmcommon/include/js/color-picker.html
RMC/rmcommon/trunk/rmcommon/include/js/colorpicker.js
RMC/rmcommon/trunk/rmcommon/include/js/comments.js
RMC/rmcommon/trunk/rmcommon/include/js/dashboard.js
RMC/rmcommon/trunk/rmcommon/include/js/dates.js
RMC/rmcommon/trunk/rmcommon/include/js/editor.js
RMC/rmcommon/trunk/rmcommon/include/js/forms.js
RMC/rmcommon/trunk/rmcommon/include/js/image_mgr_launcher.js
RMC/rmcommon/trunk/rmcommon/include/js/images.js
RMC/rmcommon/trunk/rmcommon/include/js/images_editor.js
RMC/rmcommon/trunk/rmcommon/include/js/imgmanager.js
RMC/rmcommon/trunk/rmcommon/include/js/index.html
RMC/rmcommon/trunk/rmcommon/include/js/jkmenu.js
RMC/rmcommon/trunk/rmcommon/include/js/jquery-ui-timepicker-addon.js
RMC/rmcommon/trunk/rmcommon/include/js/jquery-ui.min.js
RMC/rmcommon/trunk/rmcommon/include/js/jquery.checkboxes.js
RMC/rmcommon/trunk/rmcommon/include/js/jquery.ck.js
RMC/rmcommon/trunk/rmcommon/include/js/jquery.fieldselection.js
RMC/rmcommon/trunk/rmcommon/include/js/jquery.gcharts.js
RMC/rmcommon/trunk/rmcommon/include/js/jquery.min.js
RMC/rmcommon/trunk/rmcommon/include/js/jquery.sort.js
RMC/rmcommon/trunk/rmcommon/include/js/jquery.uploadify.js
RMC/rmcommon/trunk/rmcommon/include/js/jquery.validate.min.js
RMC/rmcommon/trunk/rmcommon/include/js/modules.js
RMC/rmcommon/trunk/rmcommon/include/js/modules_field.js
RMC/rmcommon/trunk/rmcommon/include/js/quicktags.js
RMC/rmcommon/trunk/rmcommon/include/js/swfobject.js
RMC/rmcommon/trunk/rmcommon/include/js/updates.js
RMC/rmcommon/trunk/rmcommon/include/js/users.js
RMC/rmcommon/trunk/rmcommon/include/proxy.php
RMC/rmcommon/trunk/rmcommon/include/right_widgets.php
RMC/rmcommon/trunk/rmcommon/include/tiny-images.php
RMC/rmcommon/trunk/rmcommon/include/tpl_functions.php
RMC/rmcommon/trunk/rmcommon/include/upload.php
RMC/rmcommon/trunk/rmcommon/include/uploadify.swf
RMC/rmcommon/trunk/rmcommon/lang/
RMC/rmcommon/trunk/rmcommon/lang/en.po
RMC/rmcommon/trunk/rmcommon/lang/en.pot
RMC/rmcommon/trunk/rmcommon/lang/es.mo
RMC/rmcommon/trunk/rmcommon/lang/es.po
RMC/rmcommon/trunk/rmcommon/lang/index.html
RMC/rmcommon/trunk/rmcommon/language/
RMC/rmcommon/trunk/rmcommon/language/english/
RMC/rmcommon/trunk/rmcommon/language/english/index.html
RMC/rmcommon/trunk/rmcommon/language/english/modinfo.php
RMC/rmcommon/trunk/rmcommon/language/index.html
RMC/rmcommon/trunk/rmcommon/plugins/
RMC/rmcommon/trunk/rmcommon/plugins/index.html
Added: RMC/rmcommon/trunk/rmcommon/events/index.html
===================================================================
--- RMC/rmcommon/trunk/rmcommon/events/index.html (rev 0)
+++ RMC/rmcommon/trunk/rmcommon/events/index.html 2013-02-07 08:43:07 UTC (rev 11003)
@@ -0,0 +1,3 @@
+<script type="text/javascript">
+ history.go(-1);
+</script>
\ No newline at end of file
Added: RMC/rmcommon/trunk/rmcommon/events/rmcommon.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/events/rmcommon.php (rev 0)
+++ RMC/rmcommon/trunk/rmcommon/events/rmcommon.php 2013-02-07 08:43:07 UTC (rev 11003)
@@ -0,0 +1,48 @@
+<?php
+// $Id: rmcommon.php 825 2011-12-09 00:06:11Z i.bitcero $
+// --------------------------------------------------------------
+// Red México Common Utilities
+// A framework for Red México Modules
+// Author: Eduardo Cortés <i.b...@gm...>
+// Email: i.b...@gm...
+// License: GPL 2.0
+// --------------------------------------------------------------
+
+class RmcommonRmcommonPreload
+{
+ public function eventRmcommonLoadRightWidgets($widgets){
+
+ if(!defined('RMCLOCATION')) return;
+
+ include_once RMCPATH.'/include/right_widgets.php';
+
+ global $xoopsModule;
+ if (RMCLOCATION=='modules' && $xoopsModule->dirname()=='rmcommon' && rmc_server_var($_REQUEST, 'action', '')=='')
+ $widgets[] = rmc_available_mods();
+
+ if (RMCLOCATION=='blocks' && $xoopsModule->dirname()=='rmcommon'){
+ //$widgets[] = rmc_blocks_new();
+ //$widgets[] = rmc_blocks_addpos();
+ }
+
+ return $widgets;
+
+ }
+
+ public function eventRmcommonXoopsCommonEnd(){
+ global $xoopsConfig;
+
+ // Get preloaders from current theme
+ RMEvents::get()->load_extra_preloads(XOOPS_THEME_PATH.'/'.$xoopsConfig['theme_set'], ucfirst($xoopsConfig['theme_set'].'Theme'));
+
+ $url = RMFunctions::current_url();
+ $p = parse_url($url);
+
+ $config = RMFunctions::configs();
+
+ if(substr($p['path'], -11)=='backend.php' && $config['rss_enable']){
+ include_once RMCPATH.'/rss.php';
+ die();
+ }
+ }
+}
Added: RMC/rmcommon/trunk/rmcommon/images/avatar.gif
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/avatar.gif
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/avatar.gif 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/avatar.gif 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/avatar.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/bgpops.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/bgpops.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/bgpops.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/bgpops.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/bgpops.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/blocks.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/blocks.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/blocks.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/blocks.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/blocks.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/border.gif
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/border.gif
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/border.gif 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/border.gif 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/border.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/butt2.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/butt2.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/butt2.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/butt2.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/butt2.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cancel.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cancel.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cancel.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cancel.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cancel.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/category.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/category.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/category.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/category.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/category.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/category_add.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/category_add.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/category_add.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/category_add.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/category_add.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/closeb.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/closeb.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/closeb.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/closeb.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/closeb.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/comments.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/comments.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/comments.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/comments.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/comments.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/configure.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/configure.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/configure.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/configure.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/configure.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/blank.gif
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/blank.gif
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/blank.gif 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/blank.gif 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/blank.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_background.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_background.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_background.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_background.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_background.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hex.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hex.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hex.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hex.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hex.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_b.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_b.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_b.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_b.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_b.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_h.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_h.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_h.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_h.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_h.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_s.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_s.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_s.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_s.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_hsb_s.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_indic.gif
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_indic.gif
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_indic.gif 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_indic.gif 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_indic.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_overlay.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_overlay.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_overlay.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_overlay.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_overlay.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_b.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_b.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_b.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_b.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_b.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_g.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_g.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_g.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_g.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_g.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_r.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_r.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_r.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_r.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_rgb_r.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_select.gif
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_select.gif
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_select.gif 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_select.gif 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_select.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_submit.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_submit.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_submit.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_submit.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/colorpicker_submit.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/custom_background.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/custom_background.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/custom_background.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/custom_background.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/custom_background.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/custom_hex.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/custom_hex.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/custom_hex.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/custom_hex.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/custom_hex.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/custom_hsb_b.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/custom_hsb_b.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/custom_hsb_b.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/custom_hsb_b.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/custom_hsb_b.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/images/cp/custom_hsb_h.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/cp/custom_hsb_h.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/cp/custom_hsb_h.png 2013-02-07 08:38:13 UTC (rev 11002)
+++ RMC/rmcommon/trunk/rmcommon/images/cp/custom_hsb_h.png 2013-02-07 08:43:07 UTC (rev 11003)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/cp/custom_hsb_h.png
___________________________________________________________________
Added:...
[truncated message content] |
|
From: <be...@us...> - 2013-02-07 08:50:06
|
Revision: 11004
http://sourceforge.net/p/xoops/svn/11004
Author: beckmi
Date: 2013-02-07 08:49:53 +0000 (Thu, 07 Feb 2013)
Log Message:
-----------
Adding RMCommon files
Added Paths:
-----------
RMC/rmcommon/trunk/rmcommon/admin_loader.php
RMC/rmcommon/trunk/rmcommon/blocks.php
RMC/rmcommon/trunk/rmcommon/comments.php
RMC/rmcommon/trunk/rmcommon/images.php
RMC/rmcommon/trunk/rmcommon/index.php
RMC/rmcommon/trunk/rmcommon/loader.php
RMC/rmcommon/trunk/rmcommon/menu.php
RMC/rmcommon/trunk/rmcommon/modules.php
RMC/rmcommon/trunk/rmcommon/plugins.php
RMC/rmcommon/trunk/rmcommon/post_comment.php
RMC/rmcommon/trunk/rmcommon/preloads/
RMC/rmcommon/trunk/rmcommon/preloads/core.php
RMC/rmcommon/trunk/rmcommon/rss.php
RMC/rmcommon/trunk/rmcommon/sql/
RMC/rmcommon/trunk/rmcommon/sql/mysql.sql
RMC/rmcommon/trunk/rmcommon/templates/
RMC/rmcommon/trunk/rmcommon/templates/ajax/
RMC/rmcommon/trunk/rmcommon/templates/ajax/rmc_files_list.php
RMC/rmcommon/trunk/rmcommon/templates/ajax/rmc_updates_list.php
RMC/rmcommon/trunk/rmcommon/templates/blocks/
RMC/rmcommon/trunk/rmcommon/templates/blocks/rmc_bk_comments.html
RMC/rmcommon/trunk/rmcommon/templates/categories_form.php
RMC/rmcommon/trunk/rmcommon/templates/editor_image.php
RMC/rmcommon/trunk/rmcommon/templates/form_users.php
RMC/rmcommon/trunk/rmcommon/templates/forms.php
RMC/rmcommon/trunk/rmcommon/templates/images_categories.php
RMC/rmcommon/trunk/rmcommon/templates/images_edit.php
RMC/rmcommon/trunk/rmcommon/templates/images_images.php
RMC/rmcommon/trunk/rmcommon/templates/images_list_editor.php
RMC/rmcommon/trunk/rmcommon/templates/images_uploadimages.php
RMC/rmcommon/trunk/rmcommon/templates/navigation_pages.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_block_form.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_blocks.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_breadcrumb.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_comments.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_comments_display.html
RMC/rmcommon/trunk/rmcommon/templates/rmc_comments_form.html
RMC/rmcommon/trunk/rmcommon/templates/rmc_dashboard.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_header.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_mod_log.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_mod_preinstall.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_mods_installed.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_modules.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_plugins.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_rss.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_rss_center.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_updates.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_users.php
RMC/rmcommon/trunk/rmcommon/templates/uploadify.js.php
RMC/rmcommon/trunk/rmcommon/templates/widgets/
RMC/rmcommon/trunk/rmcommon/templates/widgets/rmc_aw_bknew.php
RMC/rmcommon/trunk/rmcommon/templates/widgets/rmc_aw_posnew.php
RMC/rmcommon/trunk/rmcommon/themes/
RMC/rmcommon/trunk/rmcommon/themes/designia/
RMC/rmcommon/trunk/rmcommon/themes/designia/admin_gui.php
RMC/rmcommon/trunk/rmcommon/themes/designia/ajax/
RMC/rmcommon/trunk/rmcommon/themes/designia/ajax/about.php
RMC/rmcommon/trunk/rmcommon/themes/designia/ajax/modules.php
RMC/rmcommon/trunk/rmcommon/themes/designia/class/
RMC/rmcommon/trunk/rmcommon/themes/designia/class/designiafunctions.class.php
RMC/rmcommon/trunk/rmcommon/themes/designia/css/
RMC/rmcommon/trunk/rmcommon/themes/designia/css/colors-blue.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/colors-peaceful.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/colors.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/debugger.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/form-and-buttons.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/jqtransform.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/jquery.mCustomScrollbar.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/jquery.window.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/main-red.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/main.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/menu.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/reset.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/rmcommon/
RMC/rmcommon/trunk/rmcommon/themes/designia/css/rmcommon/dashboard.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/rmcommon/general.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/rmcommon/modules.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/rmcommon/pagenav.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/settings.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/system-messages.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/tpl.css
RMC/rmcommon/trunk/rmcommon/themes/designia/css/tsort.css
RMC/rmcommon/trunk/rmcommon/themes/designia/designia.php
RMC/rmcommon/trunk/rmcommon/themes/designia/events/
RMC/rmcommon/trunk/rmcommon/themes/designia/events/rmcommon.php
RMC/rmcommon/trunk/rmcommon/themes/designia/images/
RMC/rmcommon/trunk/rmcommon/themes/designia/images/arrows-ffffff.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/asc.gif
RMC/rmcommon/trunk/rmcommon/themes/designia/images/bg.gif
RMC/rmcommon/trunk/rmcommon/themes/designia/images/bggrad.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/bginputs.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/blocks.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/blog.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/bullet_green.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/buttons.gif
RMC/rmcommon/trunk/rmcommon/themes/designia/images/cancel.gif
RMC/rmcommon/trunk/rmcommon/themes/designia/images/close.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/closeb.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/closed.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/colors.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/coms.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/dashboard.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/data.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/desc.gif
RMC/rmcommon/trunk/rmcommon/themes/designia/images/designia.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/disable.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/edit.gif
RMC/rmcommon/trunk/rmcommon/themes/designia/images/enable.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/error_32.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/face.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/gals.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/help.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/info.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/info_32.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/loading.gif
RMC/rmcommon/trunk/rmcommon/themes/designia/images/logab.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/logo.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/mainbg.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/module16.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/module32.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/module48.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules/
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules/bxpress.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules/docs.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules/dtransport.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules/extcal.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules/fmcontent.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules/mywords.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules/news.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules/pm.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules/profile.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules/protector.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules/rmcommon.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules/system.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/modules.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/msg_32.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/navoverlay.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/navoverlay1.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/navoverlayv.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/ok_32.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/open.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/overlay.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/plugins.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/preload.gif
RMC/rmcommon/trunk/rmcommon/themes/designia/images/profile.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/rename.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/save.gif
RMC/rmcommon/trunk/rmcommon/themes/designia/images/save_32.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/settings.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/shadow.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/shots/
RMC/rmcommon/trunk/rmcommon/themes/designia/images/shots/colors-blue.jpg
RMC/rmcommon/trunk/rmcommon/themes/designia/images/shots/colors-peaceful.jpg
RMC/rmcommon/trunk/rmcommon/themes/designia/images/shots/colors.jpg
RMC/rmcommon/trunk/rmcommon/themes/designia/images/social/
RMC/rmcommon/trunk/rmcommon/themes/designia/images/social/digg.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/social/facebook.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/social/flickr.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/social/linkedin.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/social/myspace.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/social/rss.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/social/skype.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/social/tumblr.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/social/twitter.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/social/vimeo.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/social/wordpress.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/social/youtube.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/system.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/twitter.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/uninstall.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/update.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/view.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/warning_32.png
RMC/rmcommon/trunk/rmcommon/themes/designia/images/xoops.png
RMC/rmcommon/trunk/rmcommon/themes/designia/include/
RMC/rmcommon/trunk/rmcommon/themes/designia/include/modules.php
RMC/rmcommon/trunk/rmcommon/themes/designia/include/settings.php
RMC/rmcommon/trunk/rmcommon/themes/designia/include/sorter.inc
RMC/rmcommon/trunk/rmcommon/themes/designia/include/xoops_metas.php
RMC/rmcommon/trunk/rmcommon/themes/designia/js/
RMC/rmcommon/trunk/rmcommon/themes/designia/js/designia.js
RMC/rmcommon/trunk/rmcommon/themes/designia/js/hoverIntent.js
RMC/rmcommon/trunk/rmcommon/themes/designia/js/jquery.bgiframe.min.js
RMC/rmcommon/trunk/rmcommon/themes/designia/js/jquery.easing.1.3.js
RMC/rmcommon/trunk/rmcommon/themes/designia/js/jquery.jqtransform.js
RMC/rmcommon/trunk/rmcommon/themes/designia/js/jquery.mCustomScrollbar.js
RMC/rmcommon/trunk/rmcommon/themes/designia/js/jquery.mousewheel.min.js
RMC/rmcommon/trunk/rmcommon/themes/designia/js/jquery.tablesorter.min.js
RMC/rmcommon/trunk/rmcommon/themes/designia/js/jquery.window.min.js
RMC/rmcommon/trunk/rmcommon/themes/designia/js/rmcommon/
RMC/rmcommon/trunk/rmcommon/themes/designia/js/rmcommon/include/
RMC/rmcommon/trunk/rmcommon/themes/designia/js/rmcommon/include/modules.js
RMC/rmcommon/trunk/rmcommon/themes/designia/js/superfish.js
RMC/rmcommon/trunk/rmcommon/themes/designia/js/supersubs.js
RMC/rmcommon/trunk/rmcommon/themes/designia/lang/
RMC/rmcommon/trunk/rmcommon/themes/designia/lang/en.po
RMC/rmcommon/trunk/rmcommon/themes/designia/lang/en.pot
RMC/rmcommon/trunk/rmcommon/themes/designia/lang/es.mo
RMC/rmcommon/trunk/rmcommon/themes/designia/lang/es.po
RMC/rmcommon/trunk/rmcommon/themes/designia/modules/
RMC/rmcommon/trunk/rmcommon/themes/designia/modules/rmcommon/
RMC/rmcommon/trunk/rmcommon/themes/designia/modules/rmcommon/navigation_pages.php
RMC/rmcommon/trunk/rmcommon/themes/designia/modules/rmcommon/rmc_modules.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/
RMC/rmcommon/trunk/rmcommon/themes/twop6/admin_gui.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/ajax/
RMC/rmcommon/trunk/rmcommon/themes/twop6/ajax/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/ajax/modules.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/class/
RMC/rmcommon/trunk/rmcommon/themes/twop6/class/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/bootstrap-responsive.min.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/bootstrap.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/bootstrap.min.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/font-awesome-ie7.min.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/font-awesome.min.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/colorpicker.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/dashboard.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/imgmgr.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/modules.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/font/
RMC/rmcommon/trunk/rmcommon/themes/twop6/font/FontAwesome.otf
RMC/rmcommon/trunk/rmcommon/themes/twop6/font/fontawesome-webfont.eot
RMC/rmcommon/trunk/rmcommon/themes/twop6/font/fontawesome-webfont.svg
RMC/rmcommon/trunk/rmcommon/themes/twop6/font/fontawesome-webfont.ttf
RMC/rmcommon/trunk/rmcommon/themes/twop6/font/fontawesome-webfont.woff
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/cancel.gif
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/closed.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/down.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/edit.gif
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/glyphicons-halflings-white.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/glyphicons-halflings.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/loader.gif
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/logo.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/modules/
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/open.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/save.gif
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/xo-icons.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/include/
RMC/rmcommon/trunk/rmcommon/themes/twop6/include/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/include/modules.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/include/xoops_metas.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/2.6.js
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/bootstrap.min.js
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/rmcommon/
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/rmcommon/include/
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/rmcommon/include/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/rmcommon/include/modules.js
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/rmcommon/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/lang/
RMC/rmcommon/trunk/rmcommon/themes/twop6/lang/en.po
RMC/rmcommon/trunk/rmcommon/themes/twop6/lang/es.mo
RMC/rmcommon/trunk/rmcommon/themes/twop6/lang/es.po
RMC/rmcommon/trunk/rmcommon/themes/twop6/lang/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/rmcommon/
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/rmcommon/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/rmcommon/navigation_pages.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/rmcommon/rmc_dashboard.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/rmcommon/rmc_modules.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/system/
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/system/index.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/system/system_modules.html
RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php
RMC/rmcommon/trunk/rmcommon/updates.php
RMC/rmcommon/trunk/rmcommon/users.php
RMC/rmcommon/trunk/rmcommon/xoops_version.php
Added: RMC/rmcommon/trunk/rmcommon/admin_loader.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/admin_loader.php (rev 0)
+++ RMC/rmcommon/trunk/rmcommon/admin_loader.php 2013-02-07 08:49:53 UTC (rev 11004)
@@ -0,0 +1,38 @@
+<?php
+// $Id: admin_loader.php 825 2011-12-09 00:06:11Z i.bitcero $
+// --------------------------------------------------------------
+// Red México Common Utilities
+// A framework for Red México Modules
+// Author: Eduardo Cortés <i.b...@gm...>
+// Email: i.b...@gm...
+// License: GPL 2.0
+// --------------------------------------------------------------
+
+/**
+* Admin loader file
+*/
+
+//require_once 'loader.php';
+
+// Usefull admin clases
+$tpl = RMTemplate::get();
+
+$rmc_config = RMFunctions::get()->configs();
+$rmc_theme = isset($rmc_config['theme']) ? $rmc_config['theme'] : 'designia';
+
+if (!file_exists(RMCPATH.'/themes/'.$rmc_theme.'/admin_gui.php')){
+ $rmc_theme = 'default';
+}
+
+RMTemplate::get()->add_style('general.css','rmcommon');
+
+define('RMTHEMEPATH', RMCPATH.'/themes/'.$rmc_theme);
+define('RMTHEMEURL', RMCURL.'/themes/'.$rmc_theme);
+
+// Load theme events
+RMEvents::get()->load_extra_preloads(RMTHEMEPATH, ucfirst($rmc_theme).'Theme');
+
+header ("Expires: Mon, 26 Jul 1990 05:00:00 GMT");
+header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
+header ("Cache-Control: no-cache, must-revalidate");
+header ("Pragma: no-cache");
Added: RMC/rmcommon/trunk/rmcommon/blocks.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/blocks.php (rev 0)
+++ RMC/rmcommon/trunk/rmcommon/blocks.php 2013-02-07 08:49:53 UTC (rev 11004)
@@ -0,0 +1,359 @@
+<?php
+// $Id: blocks.php 952 2012-05-06 23:23:46Z i.bitcero $
+// --------------------------------------------------------------
+// Red México Common Utilities
+// A framework for Red México Modules
+// Author: Eduardo Cortés <i.b...@gm...>
+// Email: i.b...@gm...
+// License: GPL 2.0
+// --------------------------------------------------------------
+
+define('RMCLOCATION','blocks');
+include '../../include/cp_header.php';
+
+function createSQL()
+{
+ $mid = isset($_GET['mid']) ? intval($_GET['mid']) : 0;
+ $subpage = isset($_GET['subpage']) ? $_GET['subpage'] : '';
+ $group = isset($_GET['group']) ? intval($_GET['group']) : 0;
+ $visible = isset($_GET['visible']) ? intval($_GET['visible']) : -1;
+ $pos = isset($_GET['pos']) ? intval($_GET['pos']) : -1;
+
+ $wid_globals = array(
+ 'mid'=>$mid,
+ 'subpage'=>$subpage,
+ 'group'=>$group,
+ 'visible'=>$visible
+ );
+
+ $db = XoopsDatabaseFactory::getDatabaseConnection();
+
+ // Obtenemos los widgets
+ $tblw = $db->prefix("rmc_blocks");
+ $tbll = $db->prefix("rmc_bkmod");
+ $tblp = $db->prefix("group_permission");
+
+ $sql = "SELECT $tblw.* FROM $tblw ".($subpage!='' || $mid>0 ? ", $tbll" : '').($group > 0 ? ", $tblp" : '');
+
+ $and = false;
+
+ if ($mid>0){
+ $sql .= " WHERE ($tbll.mid='$mid' AND $tblw.bid=$tbll.bid ".($subpage!='' ? " AND $tbll.subpage='$subpage'" : '').") ";
+ $and = true;
+ }
+
+ if ($group>0){
+ $sql .= $and ? " AND " : " WHERE ";
+ $sql .= " ($tblp.gperm_itemid=$tblw.bid AND $tblp.gperm_name='rmblock_read' AND $tblp.gperm_groupid='$group')";
+ }
+
+ if ($pos>0){
+ $sql .= $and ? " AND " : ' WHERE ';
+ $sql .= " $tblw.canvas='$pos'";
+ $and = true;
+ }
+
+ if($visible>-1){
+ $sql .= $and ? " AND " : " WHERE ";
+ $sql .= " $tblw.visible=$visible";
+ $and = true;
+ }
+
+ $sql .= " ORDER BY weight";
+
+ return $sql;
+
+}
+
+function show_rm_blocks()
+{
+ global $xoopsModule, $xoopsConfig, $wid_globals, $xoopsSecurity, $rmc_config;
+ define('RMCSUBLOCATION','blocks');
+ $db = XoopsDatabaseFactory::getDatabaseConnection();
+
+ $modules = RMFunctions::get_modules_list(1);
+
+ // ** API Event **
+ // Allows other methods to add o modify the list of available widgets
+ $modules = RMEvents::get()->run_event('rmcommon.blocks.modules', $modules);
+
+ // Cargamos los grupos
+ $sql = "SELECT groupid, name FROM " . $db->prefix("groups") . " ORDER BY name";
+ $result = $db->query($sql);
+ $groups = array();
+ while ($row = $db->fetchArray($result)) {
+ $groups[] = array('id' => $row['groupid'], 'name' => $row['name']);
+ }
+
+ // Cargamos las posiciones de bloques
+ $bpos = RMBlocksFunctions::block_positions();
+
+ $sql = createSQL();
+ $result = $db->query($sql);
+ $blocks = array();
+ $used_blocks = array();
+ while ($row = $db->fetchArray($result)) {
+ $mod = RMFunctions::load_module($row['element']);
+ if(!$mod) continue;
+ $used_blocks[] = array(
+ 'id' => $row['bid'],
+ 'title' => $row['name'],
+ 'module' => array('id' => $mod->mid(), 'dir' => $mod->dirname(), 'name' => $mod->name()),
+ 'canvas' => $bpos[$row['canvas']],
+ 'weight' => $row['weight'],
+ 'visible'=>$row['visible'],
+ 'active'=>$row['isactive'],
+ 'type'=>$row['type'],
+ 'options'=>$row['edit_func']!='' ? 1 : 0,
+ 'description'=>$row['description']
+ );
+ }
+
+ // ** API **
+ // Event for manege the used widgets list
+ $used_blocks = RMEvents::get()->run_event('rmcommon.used.blocks.list', $used_blocks);
+
+ $positions = array();
+ foreach ($bpos as $row){
+ $positions[] = array(
+ 'id' => $row['id_position'],
+ 'name' => $row['name'],
+ 'tag' => $row['tag'],
+ 'active' => $row['active']
+ );
+ }
+
+ $positions = RMEvents::get()->run_event('rmcommon.block.positions.list', $positions);
+
+ if(rmc_server_var($_REQUEST, 'pos', '')!=''){
+ RMTemplate::get()->add_local_script('jquery.sort.js', 'rmcommon', 'include');
+ }
+
+ xoops_cp_location('<a href="./">' . $xoopsModule->getVar('name') .
+ '</a> » ' . __('Blocks','rmcommon'));
+ RMTemplate::get()->add_style('blocks.css', 'rmcommon');
+ RMTemplate::get()->add_local_script('blocks.js', 'rmcommon', 'include');
+ RMTemplate::get()->add_local_script('jkmenu.js', 'rmcommon', 'include');
+ RMTemplate::get()->add_style('forms.css', 'rmcommon');
+ RMTemplate::get()->add_local_script('jquery-ui.min.js', 'rmcommon', 'include');
+
+ if(!$rmc_config['blocks_enable']){
+ showMessage(__('Internal blocks manager is currenlty disabled!','rmcommon'), 0);
+ }
+
+ RMTemplate::get()->add_local_script('jquery.checkboxes.js','rmcommon','include');
+ RMTemplate::get()->add_head('<script type="text/javascript">var bks_message = "'.__('Do you really wish to delete selected items?','rmcommon').'";
+ var bks_select_message = "'.__('Select at least one item to delete it!','rmcommon').'";
+ var lang_save = "'.__('Save','rmcommon').'";
+ var lang_cancel = "'.__('Cancel','rmcommon').'";
+ var lang_positions = "'.__('Show Positions','rmcommon').'";
+ var lang_blocks = "'.__('Show Blocks','rmcommon').'";</script>');
+
+ RMFunctions::create_toolbar();
+
+ xoops_cp_header();
+
+ // Available Widgets
+
+ $blocks = RMBlocksFunctions::get_available_list($modules);
+
+ foreach($blocks as $id => $block){
+ if(empty($block['blocks'])) continue;
+ foreach($block['blocks'] as $bid => $val){
+ $str = isset($val['show_func']) ? $val['show_func'] : '';
+ $str .= isset($val['edit_func']) ? $val['edit_func'] : '';
+ $str .= isset($val['dir']) ? $val['dir'] : $id;
+ $val['id'] = md5($str);
+ $blocks[$id]['blocks'][$bid] = $val;
+ }
+ }
+
+ // Position
+ $the_position = isset($_GET['pos']) ? intval($_GET['pos']) : '';
+
+ // Parameters
+ $mid = rmc_server_var($_GET,'mid',0);
+ $subpage = isset($_GET['subpage']) ? $_GET['subpage'] : '';
+ $group = isset($_GET['group']) ? intval($_GET['group']) : 0;
+ $visible = rmc_server_var($_GET,'visible',-1);
+ $pid = rmc_server_var($_GET,'pos',0);
+
+ include RMTemplate::get()->get_template("rmc_blocks.php", 'module', 'rmcommon');
+
+ xoops_cp_footer();
+}
+
+/**
+* Save the current positions
+*/
+function save_position($edit = 0){
+ global $xoopsSecurity;
+
+ if (!$xoopsSecurity->check()){
+ redirectMsg('blocks.php', __('You are not allowed to do this action!','rmcommon'), 1);
+ die();
+ }
+
+ $name = rmc_server_var($_POST, 'posname', '');
+ $tag = rmc_server_var($_POST, 'postag', '');
+
+ if($name=='' || $tag==''){
+ redirectMsg(__('Please provide a name and tag for this new position!','rmcommon'));
+ die();
+ }
+
+ if($edit){
+
+ $id = rmc_server_var($_POST, 'id', '');
+ if($id<=0)
+ redirectMsg('blocks.php',__('You must specify a valid position ID!','rmcommon'), 1);
+
+ $pos = new RMBlockPosition($id);
+ if($pos->isNew())
+ redirectMsg('blocks.php', __('Specified position does not exists!','rmcommon'), 1);
+
+ } else {
+ $pos = new RMBlockPosition();
+ }
+
+ $db = XoopsDatabaseFactory::getDatabaseConnection();
+
+ $pos->setVar('name',$name);
+ $pos->setVar('tag',$tag);
+ $pos->setVar('active',1);
+
+ $sql = "SELECT COUNT(*) FROM ".$db->prefix("rmc_blocks_positions")." WHERE name='$name' OR tag='$tag'";
+ if($edit) $sql .= " AND id_position<>$id";
+
+ list($num) = $db->fetchRow($db->query($sql));
+
+ if($num>0)
+ redirectMsg('blocks.php', __('Already exists another position with same name or same tag!','rmcommon'), 1);
+
+ if($pos->save())
+ redirectMsg('blocks.php?from=positions',__('Database updated successfully!','rmcommon'));
+ else
+ redirectMsg('blocks.php', __('Errors ocurred while trying to save data','rmcommon').'<br />'.$pos->errors());
+
+}
+
+/**
+* Change the current visibility status for a set of selected widgets
+*/
+function toggle_visibility($s){
+ global $xoopsSecurity;
+
+ if (!$xoopsSecurity->check()){
+ redirectMsg('blocks.php', __('You are not allowed to do this action!','rmcommon'), 1);
+ die();
+ }
+
+ $ids = rmc_server_var($_POST, 'ids', array());
+
+ if(empty($ids) || !is_array($ids)){
+ redirectMsg('blocks.php', __('Select at least a block!','rmcommon'), 1);
+ die();
+ }
+
+ $db = XoopsDatabaseFactory::getDatabaseConnection();
+ $db->queryF("UPDATE ".$db->prefix("rmc_blocks")." SET visible=$s WHERE bid IN (".join(",",$ids).")");
+
+ if ($db->error()==''){
+ redirectMsg('blocks.php', __('Database updated successfully','rmcommon'), 0);
+ } else {
+ redirectMsg('blocks.php', __('Errors ocurred while trying to do this action','rmcommon').'<br />'.$db->error(), 1);
+ }
+
+}
+
+/**
+* Delete a set of selected widgets
+*/
+function delete_blocks(){
+
+ global $xoopsSecurity;
+
+ if (!$xoopsSecurity->check()){
+ redirectMsg('blocks.php', __('You are not allowed to do this action!','rmcommon'), 1);
+ die();
+ }
+
+ $ids = rmc_server_var($_POST, 'ids', array());
+
+ if(empty($ids) || !is_array($ids)){
+ redirectMsg('blocks.php', __('You must select at least one block!','rmcommon'), 1);
+ die();
+ }
+
+ $error = '';
+ foreach ($ids as $id){
+ $block = new RMInternalBlock($id);
+ // API: Before delete a widget
+ $block = RMEvents::get()->run_event('rmcommon.deleting.block',$block);
+ if (!$block->delete()) $error .= $block->errors();
+ }
+
+ if ($errors!=''){
+ redirectMsg('blocks.php', __('There was some errors:','rmcommon').'<br />'.$error, 1);
+ } else {
+ redirectMsg('blocks.php',__('Database updated successfully','rmcommon'), 0);
+ }
+
+}
+
+function delete_positions(){
+ global $xoopsSecurity;
+ ...
[truncated message content] |
|
From: <bi...@us...> - 2013-02-11 23:34:41
|
Revision: 11022
http://sourceforge.net/p/xoops/svn/11022
Author: bitc3r0
Date: 2013-02-11 23:34:38 +0000 (Mon, 11 Feb 2013)
Log Message:
-----------
Fixed htaccess class, version on styles and scripts, RMCVERSION
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/class/htaccess.class.php
RMC/rmcommon/trunk/rmcommon/class/template.php
RMC/rmcommon/trunk/rmcommon/loader.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php
Modified: RMC/rmcommon/trunk/rmcommon/class/htaccess.class.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/htaccess.class.php 2013-02-11 23:28:17 UTC (rev 11021)
+++ RMC/rmcommon/trunk/rmcommon/class/htaccess.class.php 2013-02-11 23:34:38 UTC (rev 11022)
@@ -29,6 +29,14 @@
$this->module = $module;
$this->file = XOOPS_ROOT_PATH.'/.htaccess';
+
+ if(strpos($_SERVER['SERVER_SOFTWARE'], 'Apache')!==FALSE){
+
+ if(!file_exists($this->file))
+ file_put_contents($this->file, '');
+
+ }
+
$this->content = file_get_contents($this->file);
$this->checkHealth();
Modified: RMC/rmcommon/trunk/rmcommon/class/template.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/template.php 2013-02-11 23:28:17 UTC (rev 11021)
+++ RMC/rmcommon/trunk/rmcommon/class/template.php 2013-02-11 23:34:38 UTC (rev 11022)
@@ -58,6 +58,10 @@
*/
private $metas = array();
/**
+ * Version to add as parameter to scripts and styles
+ */
+ private $version = '';
+ /**
* At this moment this method do nothing
* Maybe later i will add some functionality... i must to think ;)
*/
@@ -65,7 +69,9 @@
global $rmc_config;
if (!function_exists("xoops_cp_header") && !$rmc_config['jquery']) return;
+ $this->version = str_replace(" ", '-', RMCVERSION);
$this->add_jquery(true);
+
}
/**
@@ -279,10 +285,10 @@
if($url=='') return;
if (strpos($url, "?")>1){
if (strpos($url, 'ver=')===FALSE){
- $url .= "&ver=".RMCVERSION;
+ $url .= "&ver=".$this->version;
}
} else {
- $url .= "?ver=".RMCVERSION;
+ $url .= "?ver=".$this->version;
}
$id = crc32($url.$type);
@@ -331,10 +337,10 @@
if (strpos($url, "?")>1){
if (strpos($url, 'ver=')===FALSE){
- $url .= "&ver=".RMCVERSION;
+ $url .= "&ver=".$this->version;
}
} else {
- $url .= "?ver=".RMCVERSION;
+ $url .= "?ver=".$this->version;
}
$id = crc32($url.$type.$more);
@@ -361,10 +367,10 @@
if (strpos($url, "?")>1){
if (strpos($url, 'ver=')===FALSE){
- $url .= "&ver=".RMCVERSION;
+ $url .= "&ver=".$this->version;
}
} else {
- $url .= "?ver=".RMCVERSION;
+ $url .= "?ver=".$this->version;
}
$this->tpl_scripts[$id] = array('url'=>$url,'type'=>$type, 'more'=>$more, 'footer' => $footer);
@@ -394,10 +400,10 @@
if (strpos($url, "?")>1){
if (strpos($url, 'ver=')===FALSE){
- $url .= "&ver=".RMCVERSION;
+ $url .= "&ver=".$this->version;
}
} else {
- $url .= "?ver=".RMCVERSION;
+ $url .= "?ver=".$this->version;
}
$this->tpl_scripts[$id] = array(
@@ -422,7 +428,7 @@
$this->add_script("http://code.jquery.com/jquery-latest.js");
if ($ui)
- $this->add_script(RMCURL.'/include/js/jquery-ui.min.js');
+ $this->add_local_script('jquery-ui.min.js', 'rmcommon', 'include');
}
/**
* Get all scripts stored in class
@@ -483,10 +489,10 @@
if (strpos($url, "?")>1){
if (strpos($url, 'ver=')===FALSE){
- $url .= "&ver=".RMCVERSION;
+ $url .= "&ver=".$this->version;
}
} else {
- $url .= "?ver=".RMCVERSION;
+ $url .= "?ver=".$this->version;
}
$this->tpl_styles[$id] = array(
@@ -539,10 +545,10 @@
if (strpos($url, "?")>1){
if (strpos($url, 'ver=')===FALSE){
- $url .= "&ver=".RMCVERSION;
+ $url .= "&ver=".$this->version;
}
} else {
- $url .= "?ver=".RMCVERSION;
+ $url .= "?ver=".$this->version;
}
$this->tpl_styles[$id] = array(
@@ -581,10 +587,10 @@
if (strpos($url, "?")>1){
if (strpos($url, 'ver=')===FALSE){
- $url .= "&ver=".RMCVERSION;
+ $url .= "&ver=".$this->version;
}
} else {
- $url .= "?ver=".RMCVERSION;
+ $url .= "?ver=".$this->version;
}
return $url;
@@ -652,7 +658,7 @@
}
/**
- * Add option to menu. This method is only functionall in admin section or with the themes
+ * Add option to menu. This method is only functional in admin section or with the themes
* that support this feature
*
* @param string Menu parent name
@@ -661,14 +667,14 @@
* @param string Option icon url
* @param string Target window (_clank, _self, etc.)
*/
- public function add_menu_option($caption, $link, $icon='', $target=''){
+ public function add_menu_option($caption, $link, $icon='', $class='', $target=''){
if ($caption=='' || $link=='') return;
$id = crc32($link);
if (isset($this->tpl_menus[$id])) return;
- $this->tpl_menus[$id] = array('caption'=>$caption,'link'=>$link,'icon'=>$icon,'target'=>$target, 'type'=>'normal');
+ $this->tpl_menus[$id] = array('caption'=>$caption,'link'=>$link,'icon'=>$icon,'class'=>$class,'target'=>$target, 'type'=>'normal');
}
public function add_separator(){
@@ -687,11 +693,12 @@
/**
* Menu Widgets
*/
- public function add_menu($title, $link, $icon='', $location='', $options=array()){
+ public function add_menu($title, $link, $icon='', $class='', $location='', $options=array()){
$this->menus[] = array(
'title' => $title,
'link' => $link,
'icon' => $icon,
+ 'class' => $class,
'location' => $location,
'options' => $options
);
Modified: RMC/rmcommon/trunk/rmcommon/loader.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/loader.php 2013-02-11 23:28:17 UTC (rev 11021)
+++ RMC/rmcommon/trunk/rmcommon/loader.php 2013-02-11 23:34:38 UTC (rev 11022)
@@ -12,7 +12,7 @@
define("RMCURL",XOOPS_URL.'/modules/rmcommon');
define('ABSURL', XOOPS_URL);
define('ABSPATH', XOOPS_ROOT_PATH);
-define('RMCVERSION','2.1.8.4 Beta');
+define('RMCVERSION','2.1.8.7 RC');
// Message Levels
define('RMMSG_INFO', 0);
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php 2013-02-11 23:28:17 UTC (rev 11021)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php 2013-02-11 23:34:38 UTC (rev 11022)
@@ -41,10 +41,12 @@
} else {
$icon = '';
}
+
$rmTpl->add_menu(
$menu['title'],
strpos($menu['link'], 'http://')!==FALSE && strpos($menu['link'], 'ftp://')!==FALSE ? $menu['link'] : XOOPS_URL.'/modules/'.$mod->getVar('dirname','n').'/'.$menu['link'],
$icon,
+ !empty($menu['class']) ? $menu['class'] : '',
isset($menu['location']) ? $menu['location'] : '',
isset($menu['options']) ? $menu['options'] : array()
);
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php 2013-02-11 23:28:17 UTC (rev 11021)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php 2013-02-11 23:34:38 UTC (rev 11022)
@@ -40,7 +40,7 @@
<?php echo $xoopsModule->name(); ?>
<b class="caret"></b>
</a>
-
+
<ul class="dropdown-menu">
<?php foreach($this->get_menus() as $menu): ?>
<?php if($menu['icon']=='option'): ?>
@@ -48,7 +48,11 @@
<?php endif; ?>
<li<?php if(isset($menu['options']) && !empty($menu['options'])): ?> class="dropdown-submenu"<?php endif; ?>>
<a href="<?php echo $menu['link']; ?>"<?php if(isset($menu['options']) && !empty($menu['options'])): ?> tabindex="-1"<?php endif; ?>>
- <i class="xo-icon<?php echo $menu['icon']=='option' ? ' xicon-settings' : ''; ?>"<?php if($menu['icon']!='' && $menu['icon']!=='option'): ?> style="background-image: url(<?php echo $menu['icon']; ?>); background-size: 16px 16px;"<?php endif; ?>></i>
+ <?php if((empty($menu['icon']) || $menu['icon']=='') && (!empty($menu['class']) && $menu['class']!='')): ?>
+ <i class="<?php echo $menu['class']; ?>"></i>
+ <?php else: ?>
+ <i class="xo-icon<?php echo $menu['icon']=='option' ? ' xicon-settings' : ''; ?>"<?php if($menu['icon']!='' && $menu['icon']!=='option'): ?> style="background-image: url(<?php echo $menu['icon']; ?>); background-size: 16px 16px;"<?php endif; ?>></i>
+ <?php endif; ?>
<?php echo $menu['title']; ?>
</a>
<?php if($menu['options']): ?>
@@ -148,7 +152,7 @@
<?php endif; ?>
<li>
- <a href="#" id="xo-showmodules" title="<?php _e('Select Module','twop6'); ?>">
+ <a href="#" id="xo-showmodules" title="<?php _e('Modules Box','twop6'); ?>">
<i class="xo-icon xicon-modules"></i>
<?php _e('Modules','twop6'); ?>
</a>
|
|
From: <bi...@us...> - 2013-02-14 16:48:41
|
Revision: 11052
http://sourceforge.net/p/xoops/svn/11052
Author: bitc3r0
Date: 2013-02-14 16:48:37 +0000 (Thu, 14 Feb 2013)
Log Message:
-----------
Added support for help in jquery windows
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/class/textcleaner.php
RMC/rmcommon/trunk/rmcommon/themes/designia/js/designia.js
RMC/rmcommon/trunk/rmcommon/themes/twop6/admin_gui.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/2.6.js
RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php
Added Paths:
-----------
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/jquery.window.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/buttons.gif
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/jquery.window.min.js
Modified: RMC/rmcommon/trunk/rmcommon/class/textcleaner.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/textcleaner.php 2013-02-13 22:57:25 UTC (rev 11051)
+++ RMC/rmcommon/trunk/rmcommon/class/textcleaner.php 2013-02-14 16:48:37 UTC (rev 11052)
@@ -34,7 +34,7 @@
/**
* Singleton
*/
- public function getInstance(){
+ static function getInstance(){
static $instance;
if (!isset($instance)) {
$instance = new TextCleaner();
Modified: RMC/rmcommon/trunk/rmcommon/themes/designia/js/designia.js
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/designia/js/designia.js 2013-02-13 22:57:25 UTC (rev 11051)
+++ RMC/rmcommon/trunk/rmcommon/themes/designia/js/designia.js 2013-02-14 16:48:37 UTC (rev 11052)
@@ -99,7 +99,7 @@
minWidth: 500,
height: 600,
resizable: true,
- maximizable: false,
+ maximizable: true,
minimizable: false,
y: 10,
x: $(window).width()-510
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/admin_gui.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/admin_gui.php 2013-02-13 22:57:25 UTC (rev 11051)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/admin_gui.php 2013-02-14 16:48:37 UTC (rev 11052)
@@ -51,8 +51,10 @@
$this->add_theme_style('bootstrap.min.css','twop6');
$this->add_theme_style('2.6.css','twop6');
$this->add_theme_style('font-awesome.min.css','twop6');
+$this->add_theme_style('jquery.window.css','twop6');
$this->add_theme_script('bootstrap.min.js', 'twop6');
$this->add_theme_script('2.6.js', 'twop6');
+$this->add_theme_script('jquery.window.min.js', 'twop6');
// Delete unused scripts and styles
$content = preg_replace("/<script.*".str_replace("/",'\/', XOOPS_URL)."\/js\/.*/",'', $content);
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css 2013-02-13 22:57:25 UTC (rev 11051)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css 2013-02-14 16:48:37 UTC (rev 11052)
@@ -10,6 +10,7 @@
padding-top: 90px;
position: relative;
background: #F7F7F7;
+ font-size: 13px;
}
#xo-menubar{
box-shadow: 0 0 5px #333;
@@ -336,12 +337,25 @@
color: #333;
font-size: 14px;
font-weight: bold;
- padding: 5px;
+ padding: 8px;
+ text-shadow: 1px 1px 0 #FFF;
}
div.th{
border-radius: 4px 4px 0 0;
line-height: 100%;
}
+.box-collapse .control{
+ display: block;
+ float: right;
+ color: #999;
+ cursor: pointer;
+}
+.box-collapse .collapsable{
+ display: block;
+}
+.box-collapse .collapsed{
+ display: none;
+}
div.even, div.odd{
padding: 5px;
border-bottom: 1px solid #DDDDDD;
Added: RMC/rmcommon/trunk/rmcommon/themes/twop6/css/jquery.window.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/css/jquery.window.css (rev 0)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/css/jquery.window.css 2013-02-14 16:48:37 UTC (rev 11052)
@@ -0,0 +1,195 @@
+.window_panel {
+ position: fixed;
+ left: 0;
+ top: 0;
+ margin: 0;
+ padding: 0;
+ z-index: 2000;
+ background: #eee;
+ color: #222;
+ font-family: Arial;
+ font-size: 16px;
+ text-decoration: none;
+ clear: both;
+ text-align: left;
+ vertical-align: top;
+ border: 1px solid #aaa;
+ border-radius: 4px;
+ overflow: hidden;
+ box-shadow: 0 0 10px #666;
+}
+
+.window_panel .window_header {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ border-bottom: 1px solid #aaa;
+ overflow: hidden;
+ white-space: nowrap;
+ border-radius: 4px 4px 0 0;
+}
+
+.window_panel .window_header_normal {
+ /*background: url('../images/header_bg.gif') repeat-x;*/ /* change to use jquery-ui theme instead */
+ height: 20px;
+ line-height: 20px;
+ padding: 2px 5px;
+ text-align: left;
+ cursor: move;
+}
+
+.window_panel .window_header_minimize {
+ /*background: #CFF4F4;*/ /* change to use jquery-ui theme instead */
+ cursor: pointer;
+ width: 100%;
+ height: 100%;
+ padding: 2px 5px;
+ line-height: 20px;
+ text-align: left;
+}
+
+.window_panel .window_header_minimize_vertical {
+ padding: 7px 0px;
+ line-height: 13px;
+ text-align: center;
+}
+
+.window_panel .window_header_maximize {
+ /*background: url('../images/header_bg.gif') repeat-x;*/ /* change to use jquery-ui theme instead */
+ height: 20px;
+ line-height: 20px;
+ padding: 2px 5px;
+ text-align: left;
+ cursor: default;
+}
+
+.window_panel .window_frame {
+ margin: 0;
+ padding: 0;
+ border: 0;
+}
+
+.window_panel .window_footer {
+ width: 100%;
+ height: 16px;
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ margin: 0;
+ padding: 0;
+ border: 0;
+ border-top: 1px solid #aaa;
+ overflow: hidden;
+ font-size: 12px;
+}
+
+.window_panel .window_footer div {
+ margin-left: 5px;
+}
+
+.window_panel .window_header .window_title_icon {
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ left: 4px;
+ top: 4px;
+}
+
+.window_panel .window_header .window_title_text {
+ font-weight: bold;
+ font-size: 13px;
+ overflow: hidden;
+ white-space: nowrap;
+ -o-text-overflow: ellipsis;
+ text-overflow: ellipsis;
+ position: absolute;
+ left: 24px;
+ top: 3px;
+ margin-left: -20px;
+}
+
+.window_panel .window_header .window_title_text_vertical {
+ left: 20px;
+}
+
+.window_panel .window_header .window_title_text_vertical_with_icon {
+ left: 0;
+ top: 23px;
+}
+
+.window_panel .window_header .window_function_bar {
+ height: 23px;
+ width: 72px;
+ position: absolute;
+ right: 0;
+ top: 2px;
+ overflow: hidden;
+ white-space: nowrap;
+}
+
+.window_panel .window_header .window_icon_button {
+ width: 16px;
+ height: 16px;
+ z-index: 3200;
+ cursor: pointer;
+ float: right;
+ margin-right: 4px;
+ margin-top: 2px;
+}
+
+.window_panel .window_header .bookmarkImg {
+ background: url(../images/buttons.gif) no-repeat;
+ background-position: 0;
+ top: 4px;
+}
+
+.window_panel .window_header .minimizeImg {
+ background: url(../images/buttons.gif) no-repeat;
+ background-position: -16px;
+ top: 4px;
+}
+
+.window_panel .window_header .cascadeImg {
+ background: url(../images/buttons.gif) no-repeat;
+ background-position: -32px;
+ top: 4px;
+}
+
+.window_panel .window_header .maximizeImg {
+ background: url(../images/buttons.gif) no-repeat;
+ background-position: -48px;
+ top: 4px;
+}
+
+.window_panel .window_header .closeImg {
+ background: url(../images/buttons.gif) no-repeat;
+ background-position: -64px;
+ top: 4px;
+}
+
+.window_panel .frame_loading {
+ background: url('../images/loading.gif') no-repeat;
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ font-size: 14px;
+ font-weight: bold;
+ color: #777;
+ padding-left: 20px;
+ text-align: left;
+ text-decoration: none;
+ clear: both;
+ cursor: crosshair;
+}
+
+#window_overlay {
+ background: black;
+ opacity: 0;
+ width: 100%;
+ height: 100%;
+ position: fixed;
+ left: 0;
+ top: 0;
+}
Added: RMC/rmcommon/trunk/rmcommon/themes/twop6/images/buttons.gif
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/themes/twop6/images/buttons.gif
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/images/buttons.gif 2013-02-13 22:57:25 UTC (rev 11051)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/images/buttons.gif 2013-02-14 16:48:37 UTC (rev 11052)
Property changes on: RMC/rmcommon/trunk/rmcommon/themes/twop6/images/buttons.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/js/2.6.js
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/js/2.6.js 2013-02-13 22:57:25 UTC (rev 11051)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/js/2.6.js 2013-02-14 16:48:37 UTC (rev 11052)
@@ -67,6 +67,34 @@
});
});
+
+ $(".box-collapse .control").click(function(){
+ $(this).parent().parent().children(".collapsable").slideToggle('fast');
+ if($(this).hasClass("icon-caret-down"))
+ $(this).removeClass("icon-caret-down").addClass('icon-caret-up');
+ else
+ $(this).removeClass("icon-caret-up").addClass('icon-caret-down');
+
+ });
+
+ $("a.rm_help_button").click(function(){
+
+ $.window({
+ title: $(this).attr('title'),
+ headerClass: "th bg_dark",
+ url: $(this).attr('href'),
+ width: '40%',
+ minWidth: '300px',
+ height: 500,
+ resizable: true,
+ maximizable: true,
+ minimizable: false,
+ y: 10,
+ x: $(window).width()-510,
+ });
+ return false;
+
+ });
});
Added: RMC/rmcommon/trunk/rmcommon/themes/twop6/js/jquery.window.min.js
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/js/jquery.window.min.js (rev 0)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/js/jquery.window.min.js 2013-02-14 16:48:37 UTC (rev 11052)
@@ -0,0 +1,167 @@
+
+$.window=function(options){return $.Window.getInstance(null,options);};$.fn.window=function(options){return $.Window.getInstance($(this),options);}
+$.Window=(function(){var VERSION="5.03";var ICON_WH=16;var ICON_MARGIN=4;var ICON_OFFSET=ICON_WH+ICON_MARGIN;var OPACITY_MINIMIZED=0.7;var MINIMIZED_NARROW=24;var MINIMIZED_LONG=120;var RESIZE_EVENT_DELAY=200;var ua=navigator.userAgent.toLowerCase();var windowIndex=0;var lastSelectedWindow=null;var windowStorage=[];var initialized=false;var resizeTimer=null;var parentCallers=[];var minWinData={long:MINIMIZED_LONG,storage:[]};var setting={dock:'left',dockArea:null,animationSpeed:400,minWinNarrow:MINIMIZED_NARROW,minWinLong:MINIMIZED_LONG,handleScrollbar:true,showLog:false};function selectWindow(parent,wnd){if(parent==null){if(lastSelectedWindow!=null&&lastSelectedWindow!=wnd){lastSelectedWindow.unselect();wnd.select();}else if(lastSelectedWindow==null){wnd.select();}
+lastSelectedWindow=wnd;}else{if(parent.get(0)._lastSelectedWindow!=null&&parent.get(0)._lastSelectedWindow!=wnd){parent.get(0)._lastSelectedWindow.unselect();wnd.select();}else if(parent.get(0)._lastSelectedWindow==null){wnd.select();}
+parent.get(0)._lastSelectedWindow=wnd;}}
+function getWindow(windowId){for(var i=0,len=windowStorage.length;i<len;i++){var wnd=windowStorage[i];if(wnd.getWindowId()==windowId){return wnd;}}}
+function pushWindow(wnd){windowStorage.push(wnd);}
+function popWindow(wnd){for(var i=0,len=windowStorage.length;i<len;i++){var w=windowStorage[i];if(w==wnd){windowStorage.splice(i--,1);break;}}}
+function pushMinWindow(parent,wnd){if(setting.dockArea!=null){parent=$(setting.dockArea);}
+if(parent!=null){parent.get(0)._minWinData.storage.push(wnd);}else{minWinData.storage.push(wnd);}}
+function popMinWindow(parent,wnd){var doAdjust=false;parent=(setting.dockArea!=null)?$(setting.dockArea):parent;var storage=(parent!=null)?parent.get(0)._minWinData.storage:minWinData.storage;for(var i=0;i<storage.length;i++){var w=storage[i];if(w==wnd){storage.splice(i--,1);doAdjust=true;continue;}
+if(doAdjust){w._decreaseMiniIndex();}}}
+function getMinWindowLength(parent){parent=(setting.dockArea!=null)?$(setting.dockArea):parent;var storage=(parent!=null)?parent.get(0)._minWinData.storage:minWinData.storage;return storage.length;}
+function checkMinWindowSize(parent,bPush){var bAdjust=false;var rect=null;var mwdata=null;if(setting.dockArea!=null){parent=$(setting.dockArea);}
+if(parent!=null){rect={width:parent.innerWidth(),height:parent.innerHeight()};mwdata=parent.get(0)._minWinData;}else{rect=getBrowserScreenWH();mwdata=minWinData;}
+var count=getMinWindowLength(parent);if(setting.dock=='left'||setting.dock=='right'){if(bPush){if(((count+1)*mwdata.long)>rect.height){mwdata.long=rect.height/(count+1);adjustAllMinWindows(parent);}}else if(mwdata.long<setting.minWinLong){if((count*setting.minWinLong)<rect.height){mwdata.long=setting.minWinLong;}else{mwdata.long=rect.height/count;}}}else if(setting.dock=='top'||setting.dock=='bottom'){if(bPush){if(((count+1)*mwdata.long)>rect.width){mwdata.long=rect.width/(count+1);adjustAllMinWindows(parent);}}else if(mwdata.long<setting.minWinLong){if((count*setting.minWinLong)<rect.width){mwdata.long=setting.minWinLong;}else{mwdata.long=rect.width/count;}}}}
+function adjustAllMinWindows(parent){parent=(setting.dockArea!=null)?$(setting.dockArea):parent;var storage=(parent!=null)?parent.get(0)._minWinData.storage:minWinData.storage;for(var i=0;i<storage.length;i++){storage[i]._adjustMinimizedPos(false);}}
+function hideBrowserScrollbar(){if(setting.handleScrollbar){if(ua.indexOf("msie 7")>=0){$("body").attr("scroll","no");}else{document.body.style.overflow="hidden";}}}
+function showBrowserScrollbar(){if(setting.handleScrollbar){if(ua.indexOf("msie 7")>=0){$("body").removeAttr("scroll");}else{document.body.style.overflow="auto";}}}
+function getBrowserScreenWH(){var width=document.documentElement.clientWidth;var height=document.documentElement.clientHeight;return{width:width,height:height};}
+function getBrowserScrollXY(){var scrOfX=0,scrOfY=0;if(typeof(window.pageYOffset)=='number'){scrOfY=window.pageYOffset;scrOfX=window.pageXOffset;}else if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){scrOfY=document.body.scrollTop;scrOfX=document.body.scrollLeft;}else if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){scrOfY=document.documentElement.scrollTop;scrOfX=document.documentElement.scrollLeft;}
+return{left:scrOfX,top:scrOfY};}
+function getParentPanelStartPos(parent,bWithoutCheckAbsolute){var pos=null;if(parent!=null){var bAbsolute=(parent.css('position')=='absolute');if(bAbsolute&&!bWithoutCheckAbsolute){pos={left:0,top:0};}else{pos=parent.offset();var bTop=parseInt(parent.css('borderTopWidth'));var bLeft=parseInt(parent.css('borderLeftWidth'));pos.left+=bLeft;pos.top+=bTop;}
+log('start pos: '+pos.left+','+pos.top);}
+return pos;}
+function getCssStyleByDock(parent,miniIndex){var targetCss={};var screenWH=getBrowserScreenWH();var cpos=null;var narrow=setting.minWinNarrow;var long=minWinData.long;if(setting.dockArea!=null){var pOffset={left:0,top:0};if(parent!=null){var bAbsolute=(parent.css('position')=='absolute');if(bAbsolute){pOffset=getParentPanelStartPos(parent,true);}}
+parent=$(setting.dockArea);cpos=getParentPanelStartPos(parent,true);cpos.left-=pOffset.left;cpos.top-=pOffset.top;long=parent.get(0)._minWinData.long;}else if(parent!=null){cpos=getParentPanelStartPos(parent);long=parent.get(0)._minWinData.long;}
+if(setting.dock=='left'||setting.dock=='right'){targetCss.width=narrow;targetCss.height=long-1;targetCss.top=miniIndex*long;if(setting.dock=='left'){if(parent!=null){targetCss.top+=cpos.top;targetCss.left=cpos.left;}else{targetCss.left=0;}}else if(setting.dock=='right'){if(parent!=null){targetCss.top+=cpos.top;targetCss.left=cpos.left+parent.width()-narrow-2;}else{targetCss.left=screenWH.width-narrow;}}}else if(setting.dock=='top'||setting.dock=='bottom'){targetCss.width=long-1;targetCss.height=narrow;targetCss.left=miniIndex*long;if(setting.dock=='top'){if(parent!=null){targetCss.top=cpos.top;targetCss.left+=cpos.left;}else{targetCss.top=0;}}else if(setting.dock=='bottom'){if(parent!=null){targetCss.top=cpos.top+parent.height()-narrow-2;targetCss.left+=cpos.left;}else{targetCss.top=screenWH.height-narrow;}}}
+log(targetCss);return targetCss;}
+function log(msg){if(setting.showLog&&window.console!=null){console.log(msg);}}
+function info(msg){if(window.console!=null){console.info(msg);}}
+function warn(msg){if(window.console!=null){console.warn(msg);}}
+function error(msg){if(window.console!=null){console.error(msg);}}
+function constructor(caller,options){var _this=null;var windowId="window_"+(windowIndex++);var minimized=false;var maximized=false;var selected=false;var redirectCheck=false;var pos=new Object();var wh=new Object();var orgPos=new Object();var orgWh=new Object();var targetCssStyle={};var headerFuncPanel=null;var funcBarWidth=0;var miniStackIndex=-1;var animating=false;var textPanelWidthOffset=0;var container=null;var header=null;var frame=null;var footer=null;var options=$.extend({icon:"auto",title:"",url:"",content:"",footerContent:"",containerClass:"",headerClass:"",frameClass:"",footerClass:"",selectedHeaderClass:"",x:-1,y:-1,z:2000,width:400,height:300,minWidth:200,minHeight:150,maxWidth:800,maxHeight:600,showModal:false,modalOpacity:0.5,showFooter:true,showRoundCorner:false,closable:true,minimizable:true,maximizable:true,bookmarkable:true,draggable:true,resizable:true,scrollable:true,checkBoundary:false,withinBrowserWindow:false,custBtns:null,onOpen:null,onShow:null,onClose:null,onSelect:null,onUnselect:null,onDrag:null,afterDrag:null,onResize:null,afterResize:null,onMinimize:null,afterMinimize:null,onMaximize:null,afterMaximize:null,onCascade:null,afterCascade:null,onIframeStart:null,onIframeEnd:null,iframeRedirectCheckMsg:null,createRandomOffset:{x:0,y:0}},options);function initialize(instance){_this=instance;if(options.showModal){showOverlay();}
+var realCaller=caller!=null?caller:$("body");var cornerClass=options.showRoundCorner?"ui-corner-all ":"";realCaller.append("<div id='"+windowId+"' class='window_panel "+cornerClass+options.containerClass+"'></div>");container=realCaller.children("div#"+windowId);if($.isFunction(options.onOpen)){options.onOpen(_this);}
+wh.w=options.width;wh.h=options.height;container.width(options.width);container.height(options.height);container.css("z-index",options.z);if($.browser.msie){container.css({paddingRight:1,paddingBottom:1});}
+if(options.x>=0||options.y>=0){var scrollPos=getBrowserScrollXY();if(options.x>=0){var pLeft=0;if(caller!=null){var cpos=getParentPanelStartPos(caller);pLeft=options.x+cpos.left;}else{pLeft=options.x+scrollPos.left;}
+container.css("left",pLeft);}else{alignHorizontalCenter();}
+if(options.y>=0){var pTop=0;if(caller!=null){var cpos=getParentPanelStartPos(caller);pTop=options.y+cpos.top;}else{pTop=options.y+scrollPos.top;}
+container.css("top",pTop);}else{alignVerticalCenter();}}else{alignCenter();}
+var currPos=container.position();container.css({left:currPos.left,top:currPos.top});if(options.icon=="auto"){options.icon=_prepareFaviconUrl();}
+var iconHtml='';if(options.icon!=null){iconHtml="<img class='window_title_icon' src='"+options.icon+"' style='display:none;' onload='javascript:$.Window._iconOnLoad(this);'/>";}
+cornerClass=options.showRoundCorner?"ui-corner-top ":"";var headerHtml="<div class='window_header window_header_normal ui-widget-header "+cornerClass+"no-resizable "+options.headerClass+"'>"+
+iconHtml+"<div class='window_title_text'>"+options.title+"</div>"+"<div class='window_function_bar'></div>"+"</div>";container.append(headerHtml);header=container.children("div.window_header");hideIcon();if(options.maximizable){header.dblclick(function(){if(maximized){restore();}else{maximize();}});}
+headerFuncPanel=header.children("div.window_function_bar");if(options.closable){headerFuncPanel.append("<div title='close window' class='closeImg window_icon_button no-draggable'></div>");headerFuncPanel.children(".closeImg").click(function(){close();});funcBarWidth+=ICON_OFFSET;}
+if(options.maximizable){headerFuncPanel.append("<div title='maximize window' class='maximizeImg window_icon_button no-draggable'></div>");headerFuncPanel.append("<div title='cascade window' class='cascadeImg window_icon_button no-draggable' style='display:none;'></div>");headerFuncPanel.children(".maximizeImg").click(function(){maximize();});headerFuncPanel.children(".cascadeImg").click(function(){restore();});funcBarWidth+=ICON_OFFSET;}
+if(options.minimizable){headerFuncPanel.append("<div title='minimize window' class='minimizeImg window_icon_button no-draggable'></div>");headerFuncPanel.children(".minimizeImg").click(function(){minimize();});funcBarWidth+=ICON_OFFSET;}
+if(options.bookmarkable&&options.url!=null&&$.trim(options.url)!=""){headerFuncPanel.append("<div title='bookmark this' class='bookmarkImg window_icon_button no-draggable'></div>");headerFuncPanel.children(".bookmarkImg").click(function(){doBookmark(options.title,options.url);});funcBarWidth+=ICON_OFFSET;}
+addCustomizedButtns(headerFuncPanel);$(".window_icon_button").dblclick(function(){return false;});adjustHeaderTextPanelWidth();headerFuncPanel.width(funcBarWidth);var frameHeight=getFrameHeight(wh.h);if(options.url!=null&&$.trim(options.url)!=""){if($.isFunction(options.onIframeStart)){log("start connecting iframe: "+options.url);options.onIframeStart(_this,options.url);}
+if(options.iframeRedirectCheckMsg){redirectCheck=true;window.onbeforeunload=function(){if(redirectCheck){var msg=options.iframeRedirectCheckMsg.replace("{url}",options.url);return msg;}}}
+container.append("<div class='frame_loading'>Loading...</div>");var loading=container.children(".frame_loading");loading.css("marginLeft",'-'+(loading.outerWidth()/2)-20+'px');loading.click(function(){loading.remove();});var scrollingHtml=options.scrollable?"yes":"no";container.append("<iframe name='rmdocs' style='display:none;' class='window_frame ui-widget-content no-draggable no-resizable "+options.frameClass+"' scrolling='"+scrollingHtml+"' src='"+options.url+"' width='100%' height='"+frameHeight+"px' frameborder='0'></iframe>");frame=container.children(".window_frame");frame.ready(function(){frame.show();});frame.load(function(){redirectCheck=false;loading.remove();log("load iframe finished: "+options.url);if($.isFunction(options.onIframeEnd)){options.onIframeEnd(_this,options.url);}});}else{container.append("<div class='window_frame ui-widget-content no-draggable no-resizable "+options.frameClass+"' style='width:100%; height:"+frameHeight+"px;'></div>");frame=container.children(".window_frame");if(options.content!=null){setContent(options.content);frame.children().show();}
+frame.css({overflow:options.scrollable?"auto":"hidden"});}
+if(options.showFooter){cornerClass=options.showRoundCorner?"ui-corner-bottom ":"";container.append("<div class='window_footer ui-widget-content "+cornerClass+"no-draggable no-resizable "+options.footerClass+"'><div></div></div>");footer=container.children("div.window_footer");if(options.footerContent!=null){setFooterContent(options.footerContent);footer.children("div").children().show();}}else{cornerClass=options.showRoundCorner?"ui-corner-bottom ":"";frame.addClass(cornerClass);}
+container.mousedown(function(){selectWindow(caller,_this);});if(options.draggable){container.draggable({cancel:".no-draggable",start:function(){log("drag start");if(minimized||maximized){container.css("position","fixed");container.css(targetCssStyle);}
+showOverlay();hideContent();if(options.onDrag){options.onDrag(_this);}},stop:function(){log("drag stop");if(minimized||maximized){container.css("position","fixed");container.css(targetCssStyle);}
+hideOverlay();showContent();if(options.afterDrag){options.afterDrag(_this);}}});if(options.checkBoundary){if(options.withinBrowserWindow&&caller==null){container.draggable('option','containment','window');}else{container.draggable('option','containment','parent');}}}
+if(options.resizable){container.resizable({cancel:".no-resizable",alsoResize:frame,start:function(){log("resize start");if(minimized||maximized){return false;}
+showOverlay();hideContent();if(options.onResize){options.onResize(_this);}},stop:function(){log("resize stop");if(minimized||maximized){return false;}
+hideOverlay();adjustHeaderTextPanelWidth();showContent();if(options.afterResize){options.afterResize(_this);}}});if(options.checkBoundary){}
+if(options.maxWidth>=0){container.resizable('option','maxWidth',options.maxWidth);}
+if(options.maxHeight>=0){container.resizable('option','maxHeight',options.maxHeight);}
+if(options.minWidth>=0){container.resizable('option','minWidth',options.minWidth);}
+if(options.minHeight>=0){container.resizable('option','minHeight',options.minHeight);}}
+if($.isFunction(options.onShow)){options.onShow(_this);}}
+function getDomain(url){var tmp=url.match(/:\/\/(.[^/]+)/);if(tmp!=null&&tmp.length>=2){return tmp[1];}else{return null;}}
+function _addIcon(){if(options.icon!=null&&options.icon!=''){var html="<img class='window_title_icon' src='"+options.icon+"' style='display:none;' onload='javascript:$.Window._iconOnLoad(this);'/>";header.prepend(html);}}
+function setIcon(iconUrl){options.icon=iconUrl;if(options.icon=="auto"){options.icon=_prepareFaviconUrl();}
+if(options.icon!=null){var icon=header.children('.window_title_icon');if(icon.get(0)!=null){hideIcon();icon.attr('src',options.icon);}else{_addIcon();}}}
+function showIcon(){var icon=header.children('.window_title_icon');if(icon.get(0)!=null){icon.show();var txt=header.children('.window_title_text');txt.css('margin-left','0');textPanelWidthOffset=20;adjustHeaderTextPanelWidth();}}
+function hideIcon(){var icon=header.children('.window_title_icon');if(icon.get(0)!=null){icon.hide();var txt=header.children('.window_title_text');txt.css('margin-left','-20px');textPanelWidthOffset=0;adjustHeaderTextPanelWidth();}}
+function setTitle(title){options.title=title;header.children(".window_title_text").text(title);if(minimized){_transformTitleText();}}
+function getTitle(){return options.title;}
+function setUrl(url){options.url=url;frame.attr("src",url);if(options.icon!=null){setIcon('auto');}}
+function _prepareFaviconUrl(){if(options.url!=null&&$.trim(options.url)!=""){var domain=getDomain(options.url);if(domain!=null){return'http://'+domain+'/favicon.ico';}}
+return null;}
+function getUrl(){return options.url;}
+function setContent(content){options.content=content;if(typeof content=='object'){content=$(content).clone(true);}else if(typeof content=='string'){}
+frame.empty();frame.append(content);}
+function getContent(){return frame.html();}
+function setFooterContent(content){if(options.showFooter){options.footerContent=content;if(typeof content=='object'){content=$(content).clone(true);}else if(typeof content=='string'){}
+footer.children("div").empty();footer.children("div").append(content);}}
+function getFooterContent(){return footer.children("div").html();}
+function showOverlay(){var overlay=$("#window_overlay");if(overlay.get(0)==null){$("body").append("<div id='window_overlay'> </div>");overlay=$("#window_overlay");overlay.css('z-index',options.z+1);}
+if(options.showModal){overlay.css({opacity:options.modalOpacity});}else{overlay.css({opacity:0});}
+overlay.show();}
+function hideOverlay(bForce){if(options.showModal==false||bForce){$("#window_overlay").hide();}}
+function transferToFixed(){var currPos=container.offset();var scrollPos=getBrowserScrollXY();container.css({position:"fixed",left:currPos.left-scrollPos.left,top:currPos.top-scrollPos.top});}
+function transferToAbsolute(){var currPos=container.offset();container.css({position:"absolute",left:currPos.left,top:currPos.top});}
+function addCustomizedButtns(headerFuncPanel){if(options.custBtns!=null&&typeof options.custBtns=='object'){for(var i=0;i<options.custBtns.length;i++){var btnData=options.custBtns[i];if(btnData!=null&&typeof btnData=='object'){if(btnData.id!=null&&btnData.callback!=null){var id=btnData.id!=null?btnData.id:"";var clazz=btnData.clazz!=null?btnData.clazz:"";var title=btnData.title!=null?btnData.title:"";var style=btnData.style!=null?btnData.style:"";var image=btnData.image!=null?btnData.image:"";var callback=btnData.callback!=null?btnData.callback:"";if(btnData.image!=null&&btnData.image!=""){headerFuncPanel.append("<img id='"+id+"' src='"+image+"' title='"+title+"' class='"+clazz+" window_icon_button no-draggable' style='"+style+"'/>");}else{headerFuncPanel.append("<div id='"+id+"' src='"+image+"' title='"+title+"' class='"+clazz+" window_icon_button no-draggable' style='"+style+"'></div>");}
+var btn=headerFuncPanel.children("[id="+id+"]");btn.get(0).clickCb=callback;if($.isFunction(callback)){btn.click(function(){this.clickCb($(this),_this);});}}else{var btn=$(btnData).clone(true);btn.addClass("window_icon_button no-draggable cust_button");headerFuncPanel.append(btn);btn.show();}}
+funcBarWidth+=ICON_OFFSET;}}}
+function _adjustMinimizedPos(bImmediate,callback){animating=true;targetCssStyle=getCssStyleByDock(caller,miniStackIndex);if(bImmediate){container.css(targetCssStyle);animating=false;if($.isFunction(callback)){callback();}}else{container.animate(targetCssStyle,setting.animationSpeed,'swing',function(){animating=false;if($.isFunction(callback)){callback();}});}}
+function adjustHeaderTextPanelWidth(){header.children("div.window_title_text").width(header.width()-funcBarWidth-textPanelWidthOffset);}
+function adjustFrameWH(){var width=container.width();var height=container.height();var frameHeight=getFrameHeight(height);frame.width(width);frame.height(frameHeight);}
+function doBookmark(title,url){if($.browser.mozilla&&window.sidebar){window.sidebar.addPanel(title,url,"");}else if($.browser.msie&&window.external){window.external.AddFavorite(url,title);}else if(ua.indexOf("chrome")>=0){alert("Sorry! Chrome doesn't support bookmark function currently.");}else if($.brows...
[truncated message content] |
|
From: <bi...@us...> - 2013-02-14 22:12:29
|
Revision: 11054
http://sourceforge.net/p/xoops/svn/11054
Author: bitc3r0
Date: 2013-02-14 22:12:26 +0000 (Thu, 14 Feb 2013)
Log Message:
-----------
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/loader.php
RMC/rmcommon/trunk/rmcommon/xoops_version.php
Modified: RMC/rmcommon/trunk/rmcommon/loader.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/loader.php 2013-02-14 18:32:41 UTC (rev 11053)
+++ RMC/rmcommon/trunk/rmcommon/loader.php 2013-02-14 22:12:26 UTC (rev 11054)
@@ -12,7 +12,7 @@
define("RMCURL",XOOPS_URL.'/modules/rmcommon');
define('ABSURL', XOOPS_URL);
define('ABSPATH', XOOPS_ROOT_PATH);
-define('RMCVERSION','2.1.8.7 RC');
+define('RMCVERSION','2.1.8.8 RC');
// Message Levels
define('RMMSG_INFO', 0);
Modified: RMC/rmcommon/trunk/rmcommon/xoops_version.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/xoops_version.php 2013-02-14 18:32:41 UTC (rev 11053)
+++ RMC/rmcommon/trunk/rmcommon/xoops_version.php 2013-02-14 22:12:26 UTC (rev 11054)
@@ -34,7 +34,7 @@
$modversion['icon24'] = 'images/rmc24.png';
$modversion['icon48'] = 'images/icon48.png';
$modversion['rmnative'] = 1;
-$modversion['rmversion'] = array('major'=>2,'minor'=>1,'revision'=>87,'stage'=>-1,'name'=>'Common Utilities');
+$modversion['rmversion'] = array('major'=>2,'minor'=>1,'revision'=>88,'stage'=>-1,'name'=>'Common Utilities');
$modversion['onUninstall'] = 'include/install.php';
$modversion['onInstall'] = 'include/install.php';
$modversion['onUpdate'] = 'include/install.php';
|
|
From: <bi...@us...> - 2013-03-02 05:08:56
|
Revision: 11139
http://sourceforge.net/p/xoops/svn/11139
Author: bitc3r0
Date: 2013-03-02 05:08:50 +0000 (Sat, 02 Mar 2013)
Log Message:
-----------
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/class/form.class.php
RMC/rmcommon/trunk/rmcommon/class/textcleaner.php
RMC/rmcommon/trunk/rmcommon/loader.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/2.6.js
Added Paths:
-----------
RMC/rmcommon/trunk/rmcommon/api/customcode.php
Added: RMC/rmcommon/trunk/rmcommon/api/customcode.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/api/customcode.php (rev 0)
+++ RMC/rmcommon/trunk/rmcommon/api/customcode.php 2013-03-02 05:08:50 UTC (rev 11139)
@@ -0,0 +1,312 @@
+<?php
+/**
+ * This code is a modified fragment toaken from Wordpress.
+ * The idea is to provide the functionallity of shortcodes
+ * directly on XOOPS using rmcommon
+ */
+
+class RMCustomCode
+{
+ /**
+ * Contains all custom codes registered
+ */
+ private $custom_codes = array();
+
+ static function get(){
+ static $instance;
+
+ if (isset($instance))
+ return $instance;
+
+ $instance = new RMCustomCode();
+ return $instance;
+ }
+
+ /**
+ * Add hook for customcode tag.
+ *
+ * There can only be one hook for each customcode. Which means that if another
+ * plugin has a similar customcode, it will override yours or yours will override
+ * theirs depending on which order the plugins are included and/or ran.
+ *
+ * Simplest example of a customcode tag using the API:
+ *
+ * <code>
+ * // [footag foo="bar"]
+ * function footag_func($atts) {
+ * return "foo = {$atts[foo]}";
+ * }
+ * add_customcode('footag', 'footag_func');
+ * </code>
+ *
+ * Example with nice attribute defaults:
+ *
+ * <code>
+ * // [bartag foo="bar"]
+ * function bartag_func($atts) {
+ * extract(customcode_atts(array(
+ * 'foo' => 'no foo',
+ * 'baz' => 'default baz',
+ * ), $atts));
+ *
+ * return "foo = {$foo}";
+ * }
+ * add_customcode('bartag', 'bartag_func');
+ * </code>
+ *
+ * Example with enclosed content:
+ *
+ * <code>
+ * // [baztag]content[/baztag]
+ * function baztag_func($atts, $content='') {
+ * return "content = $content";
+ * }
+ * add_customcode('baztag', 'baztag_func');
+ * </code>
+ *
+ * @since 2.5
+ * @uses $customcode_tags
+ *
+ * @param string $tag customcode tag to be searched in post content.
+ * @param callable $func Hook to run when customcode is found.
+ */
+ function add($tag, $func) {
+
+ if ( is_callable($func) )
+ $this->custom_codes[$tag] = $func;
+
+ }
+
+ /**
+ * Removes hook for customcode.
+ *
+ * @since 2.5
+ * @uses $customcode_tags
+ *
+ * @param string $tag customcode tag to remove hook for.
+ */
+ function remove($tag) {
+
+ unset($this->custom_codes[$tag]);
+ }
+
+ /**
+ * Clear all customcodes.
+ *
+ * This function is simple, it clears all of the customcode tags by replacing the
+ * customcodes global by a empty array. This is actually a very efficient method
+ * for removing all customcodes.
+ *
+ * @since 2.5
+ * @uses $customcode_tags
+ */
+ function removeAll() {
+
+ $this->custom_codes = array();
+
+ }
+
+ /**
+ * Search content for customcodes and filter customcodes through their hooks.
+ *
+ * If there are no customcode tags defined, then the content will be returned
+ * without any filtering. This might cause issues when plugins are disabled but
+ * the customcode will still show up in the post or content.
+ *
+ * @since 2.5
+ * @uses $customcode_tags
+ * @uses get_customcode_regex() Gets the search pattern for searching customcodes.
+ *
+ * @param string $content Content to search for customcodes
+ * @return string Content with customcodes filtered out.
+ */
+ function doCode($content) {
+
+ if (empty($this->custom_codes) || !is_array($this->custom_codes))
+ return $content;
+
+ $pattern = $this->getRegex();
+ return preg_replace_callback( "/$pattern/s", array($this, 'doTag'), $content );
+ }
+
+ /**
+ * Retrieve the customcode regular expression for searching.
+ *
+ * The regular expression combines the customcode tags in the regular expression
+ * in a regex class.
+ *
+ * The regular expression contains 6 different sub matches to help with parsing.
+ *
+ * 1 - An extra [ to allow for escaping customcodes with double [[]]
+ * 2 - The customcode name
+ * 3 - The customcode argument list
+ * 4 - The self closing /
+ * 5 - The content of a customcode when it wraps some content.
+ * 6 - An extra ] to allow for escaping customcodes with double [[]]
+ *
+ * @since 2.5
+ * @uses $customcode_tags
+ *
+ * @return string The customcode search regular expression
+ */
+ function getRegex() {
+
+ $tagnames = array_keys($this->custom_codes);
+ $tagregexp = join( '|', array_map('preg_quote', $tagnames) );
+
+ // WARNING! Do not change this regex without changing do_customcode_tag() and strip_customcode_tag()
+ // Also, see customcode_unautop() and customcode.js.
+ return
+ '\\[' // Opening bracket
+ . '(\\[?)' // 1: Optional second opening bracket for escaping customcodes: [[tag]]
+ . "($tagregexp)" // 2: customcode name
+ . '(?![\\w-])' // Not followed by word character or hyphen
+ . '(' // 3: Unroll the loop: Inside the opening customcode tag
+ . '[^\\]\\/]*' // Not a closing bracket or forward slash
+ . '(?:'
+ . '\\/(?!\\])' // A forward slash not followed by a closing bracket
+ . '[^\\]\\/]*' // Not a closing bracket or forward slash
+ . ')*?'
+ . ')'
+ . '(?:'
+ . '(\\/)' // 4: Self closing tag ...
+ . '\\]' // ... and closing bracket
+ . '|'
+ . '\\]' // Closing bracket
+ . '(?:'
+ . '(' // 5: Unroll the loop: Optionally, anything between the opening and closing customcode tags
+ . '[^\\[]*+' // Not an opening bracket
+ . '(?:'
+ . '\\[(?!\\/\\2\\])' // An opening bracket not followed by the closing customcode tag
+ . '[^\\[]*+' // Not an opening bracket
+ . ')*+'
+ . ')'
+ . '\\[\\/\\2\\]' // Closing customcode tag
+ . ')?'
+ . ')'
+ . '(\\]?)'; // 6: Optional second closing brocket for escaping customcodes: [[tag]]
+ }
+
+ /**
+ * Regular Expression callable for do_customcode() for calling customcode hook.
+ * @see get_customcode_regex for details of the match array contents.
+ *
+ * @since 2.5
+ * @access private
+ * @uses $customcode_tags
+ *
+ * @param array $m Regular expression match array
+ * @return mixed False on failure.
+ */
+ function doTag( $m ) {
+
+ // allow [[foo]] syntax for escaping a tag
+ if ( $m[1] == '[' && $m[6] == ']' ) {
+ return substr($m[0], 1, -1);
+ }
+
+ $tag = $m[2];
+ $attr = $this->parseAtts( $m[3] );
+
+ if ( isset( $m[5] ) ) {
+ // enclosing tag - extra parameter
+ return $m[1] . call_user_func( $this->custom_codes[$tag], $attr, $m[5], $tag ) . $m[6];
+ } else {
+ // self-closing tag
+ return $m[1] . call_user_func( $this->custom_codes[$tag], $attr, null, $tag ) . $m[6];
+ }
+ }
+
+ /**
+ * Retrieve all attributes from the customcodes tag.
+ *
+ * The attributes list has the attribute name as the key and the value of the
+ * attribute as the value in the key/value pair. This allows for easier
+ * retrieval of the attributes, since all attributes have to be known.
+ *
+ * @since 2.5
+ *
+ * @param string $text
+ * @return array List of attributes and their value.
+ */
+ function parseAtts($text) {
+ $atts = array();
+ $pattern = '/(\w+)\s*=\s*"([^"]*)"(?:\s|$)|(\w+)\s*=\s*\'([^\']*)\'(?:\s|$)|(\w+)\s*=\s*([^\s\'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|(\S+)(?:\s|$)/';
+ $text = preg_replace("/[\x{00a0}\x{200b}]+/u", " ", $text);
+ if ( preg_match_all($pattern, $text, $match, PREG_SET_ORDER) ) {
+ foreach ($match as $m) {
+ if (!empty($m[1]))
+ $atts[strtolower($m[1])] = stripcslashes($m[2]);
+ elseif (!empty($m[3]))
+ $atts[strtolower($m[3])] = stripcslashes($m[4]);
+ elseif (!empty($m[5]))
+ $atts[strtolower($m[5])] = stripcslashes($m[6]);
+ elseif (isset($m[7]) and strlen($m[7]))
+ $atts[] = stripcslashes($m[7]);
+ elseif (isset($m[8]))
+ $atts[] = stripcslashes($m[8]);
+ }
+ } else {
+ $atts = ltrim($text);
+ }
+ return $atts;
+ }
+
+ /**
+ * Combine user attributes with known attributes and fill in defaults when needed.
+ *
+ * The pairs should be considered to be all of the attributes which are
+ * supported by the caller and given as a list. The returned attributes will
+ * only contain the attributes in the $pairs list.
+ *
+ * If the $atts list has unsupported attributes, then they will be ignored and
+ * removed from the final returned list.
+ *
+ * @since 2.5
+ *
+ * @param array $pairs Entire list of supported attributes and their defaults.
+ * @param array $atts User defined attributes in customcode tag.
+ * @return array Combined and filtered attribute list.
+ */
+ function atts($pairs, $atts) {
+ $atts = (array)$atts;
+ $out = array();
+ foreach($pairs as $name => $default) {
+ if ( array_key_exists($name, $atts) )
+ $out[$name] = $atts[$name];
+ else
+ $out[$name] = $default;
+ }
+ return $out;
+ }
+
+ /**
+ * Remove all customcode tags from the given content.
+ *
+ * @since 2.5
+ * @uses $customcode_tags
+ *
+ * @param string $content Content to remove customcode tags.
+ * @return string Content without customcode tags.
+ */
+ function strip( $content ) {
+
+ if (empty($this->custom_codes) || !is_array($this->custom_codes))
+ return $content;
+
+ $pattern = $this->getRegex();
+
+ return preg_replace_callback( "/$pattern/s", array($this, 'strip'), $content );
+ }
+
+ function stripTag( $m ) {
+ // allow [[foo]] syntax for escaping a tag
+ if ( $m[1] == '[' && $m[6] == ']' ) {
+ return substr($m[0], 1, -1);
+ }
+
+ return $m[1] . $m[6];
+ }
+
+}
+
Modified: RMC/rmcommon/trunk/rmcommon/class/form.class.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/form.class.php 2013-03-02 02:34:12 UTC (rev 11138)
+++ RMC/rmcommon/trunk/rmcommon/class/form.class.php 2013-03-02 05:08:50 UTC (rev 11139)
@@ -44,7 +44,7 @@
'skin'=>"exm_theme",
'inlinepopups_skin'=>'exm',
//'plugins'=>"inlinepopups,spellchecker,media,fullscreen,exmsystem",
- 'plugins' => $rmEvents->run_event('rmcommon.tiny.plugins.editor',"exmsystem,autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template"),
+ 'plugins' => $rmEvents->run_event('rmcommon.tiny.plugins.editor',"exmsystem,autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template"),
'theme_advanced_buttons1'=>RMEvents::get()->run_event('rmcommon.tinybuttons.toolbar1', "bold,italic,strikethrough,|,bullist,numlist,blockquote,|,justifyleft,justifycenter,justifyright,|,link,unlink,|,image,fullscreen,|,exm_more,exm_adv"),
'theme_advanced_buttons2'=>RMEvents::get()->run_event('rmcommon.tinybuttons.toolbar2', "underline,justifyfull,forecolor,|,removeformat,|,media,charmap,|,outdent,indent,|,undo,redo,|,exm_page,exm_img,exm_icons"),
'theme_advanced_buttons3'=>RMEvents::get()->run_event('rmcommon.tinybuttons.toolbar3', "styleselect,formatselect,insertimage,|,tablecontrols"),
Modified: RMC/rmcommon/trunk/rmcommon/class/textcleaner.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/textcleaner.php 2013-03-02 02:34:12 UTC (rev 11138)
+++ RMC/rmcommon/trunk/rmcommon/class/textcleaner.php 2013-03-02 05:08:50 UTC (rev 11139)
@@ -621,6 +621,10 @@
$text = $this->codeConv($text, $rmc_config['doxcode']); // Ryuji_edit(2003-11-18)
if($paragraph) $text = $this->double_br($text);
+ // Custom Codes
+ global $rmCodes;
+ $text = $rmCodes->doCode($text);
+
// Before to send the formatted string we send it to interceptor methods
return RMEvents::get()->run_event('rmcommon.text.todisplay', $text, $original_text);
}
Modified: RMC/rmcommon/trunk/rmcommon/loader.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/loader.php 2013-03-02 02:34:12 UTC (rev 11138)
+++ RMC/rmcommon/trunk/rmcommon/loader.php 2013-03-02 05:08:50 UTC (rev 11139)
@@ -157,8 +157,9 @@
// Base classes
$GLOBALS['rmEvents'] = RMEvents::get();
$GLOBALS['rmTpl'] = RMTemplate::get();
+$GLOBALS['rmCodes'] = RMCustomCode::get();
-global $rmEvents, $rmTpl;
+global $rmEvents, $rmTpl, $rmCodes;
define('RMCLANG', $rmEvents->run_event('rmcommon.set.language', $rmc_config['lang']));
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css 2013-03-02 02:34:12 UTC (rev 11138)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css 2013-03-02 05:08:50 UTC (rev 11139)
@@ -320,6 +320,13 @@
table{
width: 100%;
}
+.outer{
+ border: 1px solid #DDD;
+ border-radius: 3px;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ margin-bottom: 20px;
+}
th, .th, .table th{
background-color: #ebebeb;
background-image: -moz-linear-gradient(top, #f2f2f2, #ebebeb);
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/js/2.6.js
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/js/2.6.js 2013-03-02 02:34:12 UTC (rev 11138)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/js/2.6.js 2013-03-02 05:08:50 UTC (rev 11139)
@@ -20,7 +20,7 @@
$("input[type='button']").addClass('btn');
$("input[type='submit']").addClass('btn').addClass('btn-primary');
- $(".outer").addClass("table").addClass("table-hover").addClass('table-bordered');
+ $("table.outer").addClass("table").addClass("table-hover").addClass('table-bordered');
$("#xo-contents").css('min-height', $(window).height()-290+'px');
$("#xo-menubar .search-query").typeahead({
@@ -70,6 +70,7 @@
$(".box-collapse .control").click(function(){
$(this).parent().parent().children(".collapsable").slideToggle('fast');
+
if($(this).hasClass("icon-caret-down"))
$(this).removeClass("icon-caret-down").addClass('icon-caret-up');
else
|
|
From: <bi...@us...> - 2013-03-05 20:15:19
|
Revision: 11160
http://sourceforge.net/p/xoops/svn/11160
Author: bitc3r0
Date: 2013-03-05 20:15:16 +0000 (Tue, 05 Mar 2013)
Log Message:
-----------
Improves the updates system
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/include/install.php
RMC/rmcommon/trunk/rmcommon/include/js/updates.js
RMC/rmcommon/trunk/rmcommon/index.php
RMC/rmcommon/trunk/rmcommon/templates/ajax/rmc_updates_list.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_updates.php
RMC/rmcommon/trunk/rmcommon/updates.php
RMC/rmcommon/trunk/rmcommon/xoops_version.php
Modified: RMC/rmcommon/trunk/rmcommon/include/install.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/include/install.php 2013-03-05 19:56:43 UTC (rev 11159)
+++ RMC/rmcommon/trunk/rmcommon/include/install.php 2013-03-05 20:15:16 UTC (rev 11160)
@@ -44,13 +44,3 @@
return true;
}
-
-function xoops_module_update_rmcommon($mod, $prev){
-
- $db = XoopsDatabaseFactory::getDatabaseConnection();
-
- // Add tables to database
- $sql = "ALTER TABLE `".$db->prefix("rmc_blocks")."` ADD `content` TEXT NOT NULL AFTER `content_type`";
- return $db->queryF($sql);
-
-}
Modified: RMC/rmcommon/trunk/rmcommon/include/js/updates.js
===================================================================
--- RMC/rmcommon/trunk/rmcommon/include/js/updates.js 2013-03-05 19:56:43 UTC (rev 11159)
+++ RMC/rmcommon/trunk/rmcommon/include/js/updates.js 2013-03-05 20:15:16 UTC (rev 11160)
@@ -83,7 +83,16 @@
var id = $(this).attr("data-id");
if(id==undefined || id<0) return;
credentials[id] = $("#uname").val()+':'+$("#upass").val();
- installUpdate(id);
+
+ if($("#upd-login").data('next')=='download'){
+
+ downloadUpdate(id);
+
+ } else {
+
+ installUpdate(id);
+
+ }
});
@@ -203,6 +212,72 @@
}
+/**
+ * This function allows to download update package in order to install manually
+ * @param id
+ * @return {*}
+ */
+function downloadUpdate(id){
+
+ if(id==null || id==undefined) return false;
+
+ var updates = eval($("#json-container").html());
+ var update = updates[id].data;
+ if(update.url.match(/^http:\/\//)==null) return false;
+
+ var url = update.url.replace(/\&/,'&');
+
+ if(update.login==1 && credentials[id]==undefined){
+ $("#upd-login .ok-login").attr("data-id", id);
+ $("#upd-login").data("next", 'download');
+ showLogin(update);
+ return;
+ }
+
+ var params = {
+ action: 'later',
+ url: url,
+ credentials: credentials[id]==undefined ? '' : credentials[id],
+ type: update.type,
+ dir: update.dir
+ };
+
+ $.post("updates.php", params, function(data){
+
+ if(data.error==1){
+ alert(data.message);
+ return;
+ }
+
+ $("#upd-"+id+" .button-later > i").removeClass("icon-spinner icon-spin").addClass("icon-time");
+
+ window.location.href="updates.php?action=getfile&file="+data.data.file;
+
+ }, 'json');
+
+}
+
+function installLater(id){
+ if(id==null || id==undefined) return false;
+
+ $("#upd-"+id+" .button-later > i").removeClass("icon-time").addClass("icon-spinner icon-spin");
+
+ var updates = eval($("#json-container").html());
+ var update = updates[id].data;
+ if(update.url.match(/^http:\/\//)==null) return false;
+
+ var url = update.url.replace(/\&/,'&')+'&action=download';
+
+ if(update.login==1 && credentials[id]==undefined){
+ $("#upd-login .ok-login").attr("data-id", id);
+ $("#upd-login").data("next", 'download');
+ showLogin(update);
+ return;
+ }
+
+ downloadUpdate(id);
+}
+
function showWarning(update){
$("#upd-info-blocker").fadeIn('fast');
Modified: RMC/rmcommon/trunk/rmcommon/index.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/index.php 2013-03-05 19:56:43 UTC (rev 11159)
+++ RMC/rmcommon/trunk/rmcommon/index.php 2013-03-05 20:15:16 UTC (rev 11160)
@@ -80,7 +80,7 @@
RMTemplate::get()->add_style('dashboard.css', 'rmcommon');
RMTemplate::get()->add_script(RMCURL.'/include/js/dashboard.js');
RMTemplate::get()->add_style('pagenav.css', 'rmcommon');
- RMTemplate::get()->add_help(__('Dashboard Help','rmcommon'),'http://www.redmexico.com.mx/docs/common-utilities/uso-de-common-utilities/standalone/1/#dashboard');
+ RMTemplate::get()->add_help(__('Dashboard Help','rmcommon'),'http://www.xoopsmexico.net/docs/common-utilities/uso-de-common-utilities/standalone/1/#dashboard');
include RMTemplate::get()->get_template('rmc_dashboard.php', 'module', 'rmcommon');
xoops_cp_footer();
Modified: RMC/rmcommon/trunk/rmcommon/templates/ajax/rmc_updates_list.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/templates/ajax/rmc_updates_list.php 2013-03-05 19:56:43 UTC (rev 11159)
+++ RMC/rmcommon/trunk/rmcommon/templates/ajax/rmc_updates_list.php 2013-03-05 20:15:16 UTC (rev 11160)
@@ -8,7 +8,7 @@
<?php echo sprintf(__('Version: %s','rmcommon'), '<strong>'.$upd['data']['version'].'</strong>'); ?> |
<?php echo sprintf(__('Released on: %s','rmcommon'), '<strong>'.$upd['data']['released'].'</strong>'); ?>
<?php if($upd['data']['login']): ?>
- | <?php _e('Login required','rmcommon'); ?>
+ | <i class="icon-lock"></i> <?php _e('Login required','rmcommon'); ?>
<?php endif; ?>
</div>
<div class="upd-progress">
@@ -23,6 +23,7 @@
<div class="btn-group pull-right">
<button type="button" class="btn" onclick="loadUpdateDetails(<?php echo $i; ?>);"><i class="icon-info-sign"></i> <?php _e('View details','rmcommon'); ?></button>
<button type="button" class="btn" onclick="installUpdate(<?php echo $i; ?>);" data-id="<?php echo $i; ?>"><i class="icon-circle-arrow-down"></i> <?php _e('Update now!','rmcommon'); ?></button>
+ <button type="button" class="btn button-later" onclick="installLater(<?php echo $i; ?>);" data-id="<?php echo $i; ?>"><i class="icon-time"></i> <?php _e('Install Later','rmcommon'); ?></button>
</div>
</div>
</div>
Modified: RMC/rmcommon/trunk/rmcommon/templates/rmc_updates.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/templates/rmc_updates.php 2013-03-05 19:56:43 UTC (rev 11159)
+++ RMC/rmcommon/trunk/rmcommon/templates/rmc_updates.php 2013-03-05 20:15:16 UTC (rev 11160)
@@ -81,7 +81,7 @@
</div>
<div id="login-blocker"></div>
-<div id="upd-login">
+<div id="upd-login" data-next="">
<div class="title xo-bluebar">
<button class="close" type="button">×</button>
<i class="icon-user icon-white"></i> <?php _e('User Credentials','rmcommon'); ?>
Modified: RMC/rmcommon/trunk/rmcommon/updates.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/updates.php 2013-03-05 19:56:43 UTC (rev 11159)
+++ RMC/rmcommon/trunk/rmcommon/updates.php 2013-03-05 20:15:16 UTC (rev 11160)
@@ -42,6 +42,8 @@
$rmTpl->add_local_script('updates.js', 'rmcommon', 'include');
$rmTpl->add_head_script('var xoToken = "'.$xoopsSecurity->createToken().'";');
$rmTpl->add_head_script('var langUpdated = "'.__('Item updated!','rmcommon').'";');
+
+ $rmTpl->add_help(__('Updates Help','rmcommon'), 'http://www.xoopsmexico.net/docs/common-utilities/actualizaciones-automaticas/standalone/1/');
$ftpserver = parse_url(XOOPS_URL);
$ftpserver = $ftpserver['host'];
@@ -338,6 +340,69 @@
}
+function download_for_later(){
+ global $xoopsLogger;
+
+ $xoopsLogger->activated = false;
+
+ $url = rmc_server_var($_POST, 'url', '');
+ $cred = rmc_server_var($_POST, 'credentials', '');
+ $type = rmc_server_var($_POST, 'type', '');
+ $dir = rmc_server_var($_POST, 'dir', '');
+
+ if($url=='')
+ jsonReturn(__('Invalid parameters!','rmcommon'));
+
+ // Request access
+ $response = json_decode(file_get_contents($url.'&action=login'.($cred!='' ? '&l='.$cred : '')), true);
+ if($response['error']==1)
+ jsonReturn($response['message']);
+
+ if(!is_dir(XOOPS_CACHE_PATH.'/updates/'))
+ mkdir(XOOPS_CACHE_PATH.'/updates/', 511);
+
+ if(!file_put_contents(XOOPS_CACHE_PATH.'/updates/'.$type.'-'.$dir.'.zip', file_get_contents($response['data']['url'])))
+ jsonReturn(__('Unable to download update file!','rmcommon'));
+
+ jsonReturn(__('Downloaded!', 'rmcommon'), 0, array(
+ 'file' => $type.'-'.$dir.'.zip'
+ ));
+}
+
+
+/**
+ * Send downloaded file to user
+ */
+function get_file_now(){
+
+ global $xoopsSecurity;
+ $tfile = rmc_server_var($_GET, 'file', '');
+
+ if($tfile=='')
+ redirectMsg('updates.php', __('File not found!','rmcommon'), RMMSG_ERROR);
+
+ $tfile = str_replace(array("/","\\"), '', $tfile);
+
+ $file = XOOPS_CACHE_PATH.'/updates/'.$tfile;
+ if(!is_file($file))
+ redirectMsg("updates.php", __('File not found!','rmcommon')." $tfile = $file", RMMSG_ERROR);
+
+ header('Content-type: application/zip');
+ header('Cache-control: no-store');
+ header('Expires: 0');
+ header('Content-disposition: attachment; filename='.urlencode($tfile));
+ header('Content-Transfer-Encoding: binary');
+ header('Content-Lenght: '.filesize($file));
+ header('Last-Modified: '.gmdate("D, d M Y H:i:s",$file).'GMT');
+ ob_clean();
+ flush();
+ readfile($file);
+ unlink($file);
+ exit();
+
+}
+
+
$action = rmc_server_var($_REQUEST, 'action', '');
switch($action){
@@ -350,8 +415,12 @@
case 'first-step':
download_file();
break;
- case 'second-step':
-
+ case 'later':
+ download_for_later();
+ break;
+ case 'getfile':
+ get_file_now();
+ break;
default:
show_available_updates();
break;
Modified: RMC/rmcommon/trunk/rmcommon/xoops_version.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/xoops_version.php 2013-03-05 19:56:43 UTC (rev 11159)
+++ RMC/rmcommon/trunk/rmcommon/xoops_version.php 2013-03-05 20:15:16 UTC (rev 11160)
@@ -34,10 +34,9 @@
$modversion['icon24'] = 'images/rmc24.png';
$modversion['icon48'] = 'images/icon48.png';
$modversion['rmnative'] = 1;
-$modversion['rmversion'] = array('major'=>2,'minor'=>1,'revision'=>88,'stage'=>-1,'name'=>'Common Utilities');
+$modversion['rmversion'] = array('major'=>2,'minor'=>1,'revision'=>89.1,'stage'=>-1,'name'=>'Common Utilities');
$modversion['onUninstall'] = 'include/install.php';
$modversion['onInstall'] = 'include/install.php';
-$modversion['onUpdate'] = 'include/install.php';
$modversion['social'][0] = array('title' => __('Twitter', 'rmcommon'),'type' => 'twitter','url' => 'http://www.twitter.com/bitcero/');
$modversion['social'][1] = array('title' => __('LinkedIn', 'rmcommon'),'type' => 'linkedin','url' => 'http://www.linkedin.com/bitcero/');
@@ -450,7 +449,7 @@
'description' => '',
'formtype' => 'textbox',
'valuetype' => 'int',
- 'default' => 7
+ 'default' => 1
);
// BLOCKS
|
|
From: <bi...@us...> - 2013-04-23 03:34:33
|
Revision: 11434
http://sourceforge.net/p/xoops/svn/11434
Author: bitc3r0
Date: 2013-04-23 03:34:29 +0000 (Tue, 23 Apr 2013)
Log Message:
-----------
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/api/events.php
RMC/rmcommon/trunk/rmcommon/class/functions.php
RMC/rmcommon/trunk/rmcommon/class/internalblock.php
RMC/rmcommon/trunk/rmcommon/class/template.php
RMC/rmcommon/trunk/rmcommon/preloads/core.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/bootstrap-responsive.min.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/bootstrap.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/bootstrap.min.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/glyphicons-halflings.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/bootstrap.min.js
Added Paths:
-----------
RMC/rmcommon/trunk/rmcommon/lang/fr.mo
RMC/rmcommon/trunk/rmcommon/lang/fr.po
Modified: RMC/rmcommon/trunk/rmcommon/api/events.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/api/events.php 2013-04-23 03:34:13 UTC (rev 11433)
+++ RMC/rmcommon/trunk/rmcommon/api/events.php 2013-04-23 03:34:29 UTC (rev 11434)
@@ -63,7 +63,7 @@
/**
* Get an singleton instance for events api
*/
- public function get(){
+ static function get(){
static $instance;
if (isset($instance))
Modified: RMC/rmcommon/trunk/rmcommon/class/functions.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/functions.php 2013-04-23 03:34:13 UTC (rev 11433)
+++ RMC/rmcommon/trunk/rmcommon/class/functions.php 2013-04-23 03:34:29 UTC (rev 11434)
@@ -12,7 +12,7 @@
{
private $plugin_settings = array();
- public function get(){
+ static function get(){
static $instance;
if (!isset($instance))
Modified: RMC/rmcommon/trunk/rmcommon/class/internalblock.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/internalblock.php 2013-04-23 03:34:13 UTC (rev 11433)
+++ RMC/rmcommon/trunk/rmcommon/class/internalblock.php 2013-04-23 03:34:29 UTC (rev 11434)
@@ -35,19 +35,28 @@
*/
function __construct($id = null)
{
- $this->db =& XoopsDatabaseFactory::getDatabaseConnection();
- $this->_dbtable = $this->db->prefix("rmc_blocks");
- $this->setNew();
- $this->initVarsFromTable();
- $this->setVarType('options', XOBJ_DTYPE_ARRAY);
- $this->setVarType('content', XOBJ_DTYPE_OTHER);
+ global $xoopsConfig;
+
+ $this->db =& XoopsDatabaseFactory::getDatabaseConnection();
+ $this->_dbtable = $this->db->prefix("rmc_blocks");
+ $this->setNew();
+ $this->initVarsFromTable();
+ $this->setVarType('options', XOBJ_DTYPE_ARRAY);
+ $this->setVarType('content', XOBJ_DTYPE_OTHER);
+
+ if ($id==null) return;
+
+ if (!$this->loadValues($id)) return;
+
+ $this->unsetNew();
+
+ $file = XOOPS_ROOT_PATH.'/modules/'.$this->getVar('dirname').'/language/'.$xoopsConfig['language'].'/blocks.php';
+
+ if(file_exists($file))
+ @include_once $file;
+ else
+ @include_once str_replace('/'.$xoopsConfig['language'].'/', '/english/', $file);
- if ($id==null) return;
-
- if (!$this->loadValues($id)) return;
-
- $this->unsetNew();
-
// Cargamos los grupos con permisos
//$this->readGroups();
}
Modified: RMC/rmcommon/trunk/rmcommon/class/template.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/template.php 2013-04-23 03:34:13 UTC (rev 11433)
+++ RMC/rmcommon/trunk/rmcommon/class/template.php 2013-04-23 03:34:29 UTC (rev 11434)
@@ -79,7 +79,7 @@
* @staticvar <type> $instance
* @return object EXMTemplate
*/
- public function get(){
+ static function get(){
static $instance;
if (!isset($instance)) {
Added: RMC/rmcommon/trunk/rmcommon/lang/fr.mo
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/lang/fr.mo
===================================================================
--- RMC/rmcommon/trunk/rmcommon/lang/fr.mo 2013-04-23 03:34:13 UTC (rev 11433)
+++ RMC/rmcommon/trunk/rmcommon/lang/fr.mo 2013-04-23 03:34:29 UTC (rev 11434)
Property changes on: RMC/rmcommon/trunk/rmcommon/lang/fr.mo
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/lang/fr.po
===================================================================
--- RMC/rmcommon/trunk/rmcommon/lang/fr.po (rev 0)
+++ RMC/rmcommon/trunk/rmcommon/lang/fr.po 2013-04-23 03:34:29 UTC (rev 11434)
@@ -0,0 +1,3261 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Common Utilities\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-11-22 22:03-0600\n"
+"PO-Revision-Date: 2013-04-19 18:08-0600\n"
+"Last-Translator: Eduardo Cortés <i.b...@gm...>\n"
+"Language-Team: Red Mexico <xoo...@gm...>\n"
+"Language: en\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-KeywordsList: __;_e\n"
+"X-Poedit-Basepath: .\n"
+"X-Poedit-SourceCharset: UTF-8\n"
+"X-Generator: Poedit 1.5.4\n"
+"X-Poedit-SearchPath-0: C:\\wamp\\www\\xm\\modules\\rmcommon\n"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:133
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:29
+#: C:\wamp\www\xm\modules\rmcommon/class/functions.php:97
+msgid "Blocks"
+msgstr "Blocs"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:141
+msgid "Internal blocks manager is currenlty disabled!"
+msgstr "Le gestionnaire interne de blocs est désactivé!"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:145
+msgid "Do you really wish to delete selected items?"
+msgstr "Voulez vous vraiment effacer les items sélectionnés?"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:146
+msgid "Select at least one item to delete it!"
+msgstr "Sélectionnez au minimum un item pour l'effacer!"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:147
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_block_form.php:75
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_updates.php:35
+msgid "Save"
+msgstr "Sauver"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:148
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:287
+#: C:\wamp\www\xm\modules\rmcommon/plugins.php:469
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:229
+#: C:\wamp\www\xm\modules\rmcommon/users.php:303
+#: C:\wamp\www\xm\modules\rmcommon/users.php:418
+#: C:\wamp\www\xm\modules\rmcommon/templates/categories_form.php:122
+#: C:\wamp\www\xm\modules\rmcommon/templates/editor_image.php:80
+#: C:\wamp\www\xm\modules\rmcommon/templates/images_edit.php:44
+#: C:\wamp\www\xm\modules\rmcommon/templates/images_uploadimages.php:13
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_blocks.php:226
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_blocks.php:234
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_block_form.php:74
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_modules.php:99
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_mod_preinstall.php:120
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_updates.php:78
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_updates.php:93
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_users.php:73
+msgid "Cancel"
+msgstr "Annuler"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:149
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_blocks.php:45
+msgid "Show Positions"
+msgstr "Montrer les positions"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:150
+msgid "Show Blocks"
+msgstr "Montrer les blocs"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:193
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:247
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:277
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:308
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:28
+msgid "You are not allowed to do this action!"
+msgstr "Vous n'êtes pas autorisé à effectuer cette action!"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:201
+msgid "Please provide a name and tag for this new position!"
+msgstr "Merci d'attribuer un nom et un tag pour cette nouvelle position!"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:209
+msgid "You must specify a valid position ID!"
+msgstr "Vous devez spécifier un ID avec une position valide!"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:213
+msgid "Specified position does not exists!"
+msgstr "La position spécifiée n'existe pas!"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:231
+msgid "Already exists another position with same name or same tag!"
+msgstr "Il existe déjà une autre position avec le même nom ou le même tag!"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:234
+#: C:\wamp\www\xm\modules\rmcommon/images.php:400
+#: C:\wamp\www\xm\modules\rmcommon/users.php:377
+msgid "Database updated successfully!"
+msgstr "Base de données mise à jour avec succès!"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:236
+msgid "Errors ocurred while trying to save data"
+msgstr "Des erreurs sont apparues lors de la sauvegarde des données"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:254
+msgid "Select at least a block!"
+msgstr "Sélectionnez au moins un bloc!"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:262
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:299
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:330
+msgid "Database updated successfully"
+msgstr "Base de données mise à jour avec succès"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:264
+msgid "Errors ocurred while trying to do this action"
+msgstr "Des erreurs sont apparues lors de l'exécution de cette action"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:284
+msgid "You must select at least one block!"
+msgstr "Vous devez sélectionner au moins un bloc!"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:297
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:328
+msgid "There was some errors:"
+msgstr "Il y a eu quelques erreurs:"
+
+#: C:\wamp\www\xm\modules\rmcommon/blocks.php:315
+msgid "You must select at least one position!"
+msgstr "Vous devez sélectionner au moins une position!"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:105
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:226
+#: C:\wamp\www\xm\modules\rmcommon/blocks/comments.php:81
+msgid "Unknow"
+msgstr "Inconnu"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:114
+#: C:\wamp\www\xm\modules\rmcommon/class/functions.php:268
+#, php-format
+msgid "Posted on %s"
+msgstr "Posté le %s"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:131
+msgid "Do you really want to delete this comment?"
+msgstr "Voulez vous vraiment effacer ce commentaire?"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:146
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:168
+msgid "Invalid operation"
+msgstr "Opération non valide"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:158
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:197
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:308
+msgid "Sorry, session token expired!"
+msgstr "Désolé, la session a expirée!"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:163
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:202
+msgid "Unrecognized data!"
+msgstr "Données non reconnues!"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:174
+msgid "Comments updated successfully!"
+msgstr "Les commentaires ont été mis à jour avec succès!"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:179
+msgid "Errors occurrs while trying to update comments!"
+msgstr "Des erreurs sont apparues lors de la mise à jour des commentaires!"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:232
+msgid "Comments deleted successfully!"
+msgstr "Commentaires effacés avec succès!"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:246
+msgid "Sorry, comment id is not valid"
+msgstr "Désolé l'ID du commentaire n'est pas valide"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:252
+msgid "Sorry, comment does not found"
+msgstr "Désolé, le commentaire n'a pas été trouvé"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:264
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:207
+msgid "Edit Comment"
+msgstr "Editer le commentaire"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:265
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:208
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_comments.php:47
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_comments.php:57
+msgid "In reply to"
+msgstr "En réponse à"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:266
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:209
+msgid "Posted date"
+msgstr "Date d'envoi"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:267
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:210
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_blocks.php:98
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_blocks.php:108
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_comments.php:46
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_comments.php:56
+msgid "Module"
+msgstr "Module"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:268
+msgid "IP"
+msgstr "IP"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:271
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:214
+msgid "Poster"
+msgstr "Auteur"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:274
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:219
+#: C:\wamp\www\xm\modules\rmcommon/templates/images_categories.php:18
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_comments.php:45
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_comments.php:55
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_plugins.php:14
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_plugins.php:23
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_users.php:122
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_users.php:133
+msgid "Status"
+msgstr "Status"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:275
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:220
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_comments.php:28
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_comments.php:30
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_comments.php:92
+msgid "Approved"
+msgstr "Approuvé"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:276
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:221
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_comments.php:23
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_comments.php:25
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_comments.php:95
+msgid "Unapproved"
+msgstr "Désapprouvé"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:279
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:225
+msgid "Content"
+msgstr "Contenu"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:286
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:228
+msgid "Update Comment"
+msgstr "Mettre à jour les commentaires"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:313
+msgid "Comment ID not specified!"
+msgstr "Id du commentaire non spécifiée!"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:319
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:186
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:273
+msgid "Specified comment does not exist!"
+msgstr "Le commentaire spécifié n'existe pas!"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:354
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:315
+msgid "Comment updated successfully!"
+msgstr "Commentaire mis à jour avec succès"
+
+#: C:\wamp\www\xm\modules\rmcommon/comments.php:356
+#: C:\wamp\www\xm\modules\rmcommon/post_comment.php:317
+msgid "Errros ocurrs while trying to update comment!"
+msgstr "Des erreurs sont apparues lors de la mise à jour du commentaire!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:33
+#: C:\wamp\www\xm\modules\rmcommon/include/tiny-images.php:119
+msgid "There are not categories yet! Please create one in order to add images."
+msgstr ""
+"Il n'y a pas encore de catégories. Merci d'en créer une pour y ajouter des "
+"images."
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:132
+#, php-format
+msgid "Category %s is closed. Please, select another category."
+msgstr "La catégorie %s est fermée. Sélectionnez-en une autre."
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:147
+#: C:\wamp\www\xm\modules\rmcommon/include/tiny-images.php:49
+msgid "All Images (*.jpg, *.png, *.gif)"
+msgstr "Toutes les images (*.jpg, *.png, *.gif)"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:149
+#: C:\wamp\www\xm\modules\rmcommon/include/tiny-images.php:51
+msgid "Browse Images..."
+msgstr "Naviguer dans les images..."
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:158
+#: C:\wamp\www\xm\modules\rmcommon/include/tiny-images.php:67
+msgid "Uploaded successfully!"
+msgstr "Envoyé avec succès!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:265
+msgid "You must specify a category id to edit!"
+msgstr "Vous devez spécifier un ID de catégorie à éditer!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:272
+msgid "The specified category does not exist!"
+msgstr "La catégorie spécifiée n'existe pas."
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:320
+msgid "Specify a valid category id"
+msgstr "Spécifiez un ID de catégorie valide"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:326
+msgid "Specified category does not exists!"
+msgstr "La catégorie spécifiée n'existe pas!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:335
+msgid "Please specify a category name"
+msgstr "Merci de spécifier le nom d'une catégorie"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:351
+msgid "You must create one size for this category at least!"
+msgstr "Vous devez créer une taille au moins pour cette catégorie!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:358
+msgid "There is already a category with the same name!"
+msgstr "Il y a déjà une catégorie avec le même nom!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:370
+msgid "Category updated successfully!"
+msgstr "Catégorie mise à jour avec succès!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:372
+msgid "There were some erros while trying to save this category."
+msgstr "Il y a eu quelques erreurs, lors de la sauvegarde de cette catégorie."
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:388
+msgid "Specify one category at least to change status!"
+msgstr "Spécifiez au moins une catégorie pour changer le status!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:403
+msgid "There were some erros while updating database:"
+msgstr ""
+"Il y a eu quelques erreurs lors de la mise à jour de la base de données:"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:428
+#: C:\wamp\www\xm\modules\rmcommon/images.php:439
+#: C:\wamp\www\xm\modules\rmcommon/images.php:443
+#: C:\wamp\www\xm\modules\rmcommon/images.php:447
+msgid "Unauthorized!"
+msgstr "Non autorisé!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:432
+msgid "Invalid image!"
+msgstr "Image invalide!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:452
+#: C:\wamp\www\xm\modules\rmcommon/images.php:549
+msgid "Image not found!"
+msgstr "Image introuvable!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:458
+msgid "Unauthorized"
+msgstr "Non autorisé"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:525
+#, php-format
+msgid "%s done!"
+msgstr "%s effectué!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:543
+msgid "Invalid image ID"
+msgstr "ID d'image invalide"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:614
+#: C:\wamp\www\xm\modules\rmcommon/images.php:763
+#: C:\wamp\www\xm\modules\rmcommon/ajax/blocks.php:32
+msgid "Operation not allowed!"
+msgstr "Opération non autorisée!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:619
+msgid "Image ID not provided!"
+msgstr "ID d'image non fourni!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:624
+msgid "You must provide a title for this image"
+msgstr "Vous devez donner un titre pour cette image"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:630
+#: C:\wamp\www\xm\modules\rmcommon/images.php:721
+msgid "Image not exists!"
+msgstr "L'image n'existe pas!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:636
+msgid "Category not exist!"
+msgstr "La catégorie n'existe pas!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:649
+msgid "the image could not be updated!"
+msgstr "L'image ne peut pas être mise à jour!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:655
+msgid "Image updated succesfully!"
+msgstr "Image mise à jour avec succès!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:697
+msgid "Image updated successfully!"
+msgstr "Image mise à jour avec succès!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:711
+msgid "Please, speciy an image at least!"
+msgstr "Merci de spécifier au moins une image!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:747
+msgid "Errors ocurred during images deletion!"
+msgstr "Des erreurs sont apparues durant l'effacement de l'image!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:749
+msgid "Images deleted successfully!"
+msgstr "Image effacée avec succès!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:768
+msgid "Category ID not provided"
+msgstr "ID de catégorie non fourni"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:774
+msgid "Category not found"
+msgstr "Catégorie introuvable"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:807
+msgid "Category deleted successfully!"
+msgstr "Catégorie effacée avec succès!"
+
+#: C:\wamp\www\xm\modules\rmcommon/images.php:809
+msgid "Errors ocurred while deleting the category"
+msgstr "Des erreurs sont apparues durant l'effacement de la catégorie"
+
+#: C:\wamp\www\xm\modules\rmcommon/index.php:83
+msgid "Dashboard Help"
+msgstr "Aide sur le tableau de contrôle "
+
+#: C:\wamp\www\xm\modules\rmcommon/index.php:99
+msgid "Theme changed successfully!"
+msgstr "Thème changé avec succès!"
+
+#: C:\wamp\www\xm\modules\rmcommon/index.php:102
+msgid "Theme could not be changed!"
+msgstr "Le thème ne peut pas être changé!"
+
+#: C:\wamp\www\xm\modules\rmcommon/index.php:107
+msgid "Specified theme does not exist!"
+msgstr "Le thème spécifié n'existe pas!"
+
+#: C:\wamp\www\xm\modules\rmcommon/loader.php:209
+msgid "Sorry, Red Mexico Common Utilities has not been installed yet!"
+msgstr "Désolé, RMCommon Utilitaires n'a pas encore été installé!"
+
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:15
+#: C:\wamp\www\xm\modules\rmcommon/class/functions.php:95
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_dashboard.php:1
+msgid "Dashboard"
+msgstr "Tableau de contrôle"
+
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:22
+#: C:\wamp\www\xm\modules\rmcommon/class/functions.php:96
+msgid "Modules"
+msgstr "Modules"
+
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:36
+#: C:\wamp\www\xm\modules\rmcommon/users.php:406
+#: C:\wamp\www\xm\modules\rmcommon/class/functions.php:98
+msgid "Users"
+msgstr "Utilisateurs"
+
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:41
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_users.php:53
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_users.php:60
+msgid "All users"
+msgstr "Tous les utilisateurs"
+
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:42
+msgid "New user"
+msgstr "Nouvel utilisateur"
+
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:47
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:60
+#: C:\wamp\www\xm\modules\rmcommon/class/functions.php:89
+#: C:\wamp\www\xm\modules\rmcommon/class/functions.php:99
+#: C:\wamp\www\xm\modules\rmcommon/templates/categories_form.php:66
+#: C:\wamp\www\xm\modules\rmcommon/templates/categories_form.php:94
+#: C:\wamp\www\xm\modules\rmcommon/templates/images_categories.php:21
+#: C:\wamp\www\xm\modules\rmcommon/templates/images_categories.php:37
+msgid "Images"
+msgstr "Images"
+
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:52
+#: C:\wamp\www\xm\modules\rmcommon/templates/images_categories.php:1
+msgid "Categories"
+msgstr "Catégories"
+
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:56
+msgid "New category"
+msgstr "Nouvelle catégorie"
+
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:64
+msgid "Add images"
+msgstr "Ajouter des images"
+
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:72
+#: C:\wamp\www\xm\modules\rmcommon/xoops_version.php:461
+#: C:\wamp\www\xm\modules\rmcommon/class/functions.php:100
+msgid "Comments"
+msgstr "Commentaires"
+
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:79
+#: C:\wamp\www\xm\modules\rmcommon/class/functions.php:101
+msgid "Plugins"
+msgstr "Plugins"
+
+#: C:\wamp\www\xm\modules\rmcommon/menu.php:86
+#: C:\wamp\www\xm\modules\rmcommon/class/functions.php:105
+msgid "Updates"
+msgstr "Mises à jour"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:110
+#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_modules.php:1
+msgid "Modules Management"
+msgstr "Management des modules"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:129
+msgid "Specified module is not valid!"
+msgstr "Le module spécifié n'est pas valide!"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:136
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:172
+#, php-format
+msgid "%s is already installed!"
+msgstr "%s est déjà installé"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:142
+msgid "Sepecified module is not a valid Xoops Module!"
+msgstr "Le modules spécifié n'est pas un module valide XOOPS!"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:165
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:219
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:654
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:700
+msgid "Sorry, this operation could not be completed!"
+msgstr "Désolé, cette opération ne peut être terminée!"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:204
+#, php-format
+msgid "Installation log for %s"
+msgstr "Log d'installation pour %s"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:226
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:662
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:707
+#, php-format
+msgid "Module %s is not installed yet!"
+msgstr "Le module %s n'est pas encore installé!"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:251
+#, php-format
+msgid "Uninstall log for %s"
+msgstr "Désinstallation log pour %s"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:279
+#, php-format
+msgid "Could not update %s"
+msgstr "Impossible de mettre à jour %s"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:283
+#, php-format
+msgid "Updating module %s"
+msgstr "Mise à jour du module %s"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:298
+msgid "Updating templates..."
+msgstr "Mise à jour des templates..."
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:318
+#, php-format
+msgid "Template %s could not be inserted!"
+msgstr "Template %s ne peut pas être inséré!"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:321
+#, php-format
+msgid "Template %s inserted to the database."
+msgstr "Template %s inséré dans la base de données."
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:324
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:393
+#, php-format
+msgid "ERROR: Could not recompile template %s"
+msgstr "ERREUR: Impossible de recompiler le template %s"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:326
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:395
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:454
+#, php-format
+msgid "Template %s recompiled"
+msgstr "Template %s recompilé"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:332
+#, php-format
+msgid "ERROR: Could not delete old template %s. Aborting update of this file."
+msgstr ""
+"ERREUR: Impossible d'effacer l'ancien template %s. Annulation de la mise à "
+"jour de ce fichier."
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:337
+msgid "Rebuilding blocks..."
+msgstr "Reconstruction des blocs"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:368
+#, php-format
+msgid "ERROR: Could not update %s"
+msgstr "ERREUR: impossible de mettre à jour %s"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:370
+#, php-format
+msgid "Block %s updated."
+msgstr "Bloc %s mis à jour"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:370
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:428
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:430
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:459
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:471
+#, php-format
+msgid "Block ID: %s"
+msgstr "Bloc ID: %s"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:388
+#, php-format
+msgid "ERROR: Could not update %s template."
+msgstr "ERREUR: Impossible de mettre à jour %s template"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:390
+#, php-format
+msgid "Template %s updated."
+msgstr "Template %s mis à jour"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:410
+#, php-format
+msgid "ERROR: Could not create %s"
+msgstr "ERREUR: Impossible de créer %s"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:428
+msgid "ERROR: Could not add block access right"
+msgstr "ERREUR: Impossible d'ajouter les droits d'accès au bloc"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:428
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:430
+#, php-format
+msgid "Group ID: %s"
+msgstr "ID du groupe: %s"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:430
+msgid "Added block access right"
+msgstr "Droit d'accès au bloc ajoutés"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:446
+#, php-format
+msgid "ERROR: Could not insert template %s to the database."
+msgstr "ERREUR: Impossible d'insérer le template %s dans la base de données."
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:449
+#, php-format
+msgid "Template %s added to the database"
+msgstr "Le template %s a été ajouté à la base de données"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:452
+#, php-format
+msgid "ERROR: Template %s recompile failed"
+msgstr "ERREUR: Echec de la recompilation du Template %s "
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:459
+#, php-format
+msgid "Block %s created"
+msgstr "Bloc %s créé"
+
+#: C:\wamp\www\xm\modules\rmcommon/modules.php:471
+#, php-format
+msgid "ERROR: Could not delete block %s"
+msgstr "ERREUR: Impossible d'effacer le bloc %s"
+
+#: C:\wamp\www\xm\modules\rmcommon/modul...
[truncated message content] |
|
From: <bi...@us...> - 2013-05-06 17:56:56
|
Revision: 11508
http://sourceforge.net/p/xoops/svn/11508
Author: bitc3r0
Date: 2013-05-06 17:56:51 +0000 (Mon, 06 May 2013)
Log Message:
-----------
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/class/functions.php
RMC/rmcommon/trunk/rmcommon/class/textcleaner.php
RMC/rmcommon/trunk/rmcommon/class/timeformatter.php
RMC/rmcommon/trunk/rmcommon/include/js/dates.js
RMC/rmcommon/trunk/rmcommon/index.php
RMC/rmcommon/trunk/rmcommon/loader.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/dashboard.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/bootstrap.min.js
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/rmcommon/navigation_pages.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/rmcommon/rmc_dashboard.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php
RMC/rmcommon/trunk/rmcommon/xoops_version.php
Modified: RMC/rmcommon/trunk/rmcommon/class/functions.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/functions.php 2013-05-06 08:07:10 UTC (rev 11507)
+++ RMC/rmcommon/trunk/rmcommon/class/functions.php 2013-05-06 17:56:51 UTC (rev 11508)
@@ -595,5 +595,17 @@
$tpl->add_meta('keywords', $keywords);
}
+
+ /**
+ * Convert a timestamp to UTC timezone
+ * @param int timestamp
+ * @return int timestamp
+ */
+ public function timestampToUTC($time){
+
+
+
+
+ }
}
Modified: RMC/rmcommon/trunk/rmcommon/class/textcleaner.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/textcleaner.php 2013-05-06 08:07:10 UTC (rev 11507)
+++ RMC/rmcommon/trunk/rmcommon/class/textcleaner.php 2013-05-06 17:56:51 UTC (rev 11508)
@@ -603,13 +603,13 @@
}
// Convert [code] tag
- $text = $this->codePreConv($text, $rmc_config['doxcode']);
+ $text = $this->codePreConv($text, $rmc_config['doxcode'] && !defined('XOOPS_CPFUNC_LOADED'));
- if ($rmc_config['dosmileys'])
+ if ($rmc_config['dosmileys'] && !defined('XOOPS_CPFUNC_LOADED'))
$text = $this->smiley($text);
// Decode exmcode
- if ($rmc_config['doxcode'])
+ if ($rmc_config['doxcode'] && !defined('XOOPS_CPFUNC_LOADED'))
$text = $this->codeDecode($text, $rmc_config['doimage']);
// Replace breaklines
@@ -623,8 +623,10 @@
// Custom Codes
global $rmCodes;
- $text = $rmCodes->doCode($text);
+ if(!defined('XOOPS_CPFUNC_LOADED'))
+ $text = $rmCodes->doCode($text);
+
// Before to send the formatted string we send it to interceptor methods
return RMEvents::get()->run_event('rmcommon.text.todisplay', $text, $original_text);
}
Modified: RMC/rmcommon/trunk/rmcommon/class/timeformatter.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/timeformatter.php 2013-05-06 08:07:10 UTC (rev 11507)
+++ RMC/rmcommon/trunk/rmcommon/class/timeformatter.php 2013-05-06 17:56:51 UTC (rev 11508)
@@ -39,8 +39,10 @@
}
public function format($time=0, $format=''){
+ global $xoopsConfig;
- $time = $time<=0 ? $this->time : $time;
+ $time = xoops_getUserTimestamp($time<=0 ? $this->time : $time, '');
+
$format = $format=='' ? $this->format : $format;
if ($format=='' || $time<0){
@@ -73,6 +75,8 @@
date('i', $time),
date('s', $time)
);
+
+
return str_replace($find, $replace, $format);
Modified: RMC/rmcommon/trunk/rmcommon/include/js/dates.js
===================================================================
--- RMC/rmcommon/trunk/rmcommon/include/js/dates.js 2013-05-06 08:07:10 UTC (rev 11507)
+++ RMC/rmcommon/trunk/rmcommon/include/js/dates.js 2013-05-06 17:56:51 UTC (rev 11508)
@@ -276,12 +276,12 @@
field = $(this).attr('id').replace('exmdate-','');
eval('var convert = '+field+'_time==2?false:true;');
+
if(convert){
if(time!=undefined && time.length>0)
valtime = exmDates.mktime(time[0]-7,time[1],time[2]>=0?time[2]:1,date[0],date[1],date[2]);
else
valtime = exmDates.mktime(1,1,1,date[0],date[1],date[2]);
-
$("#"+field).val(valtime);
} else {
$("#"+field).val($(this).val());
Modified: RMC/rmcommon/trunk/rmcommon/index.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/index.php 2013-05-06 08:07:10 UTC (rev 11507)
+++ RMC/rmcommon/trunk/rmcommon/index.php 2013-05-06 17:56:51 UTC (rev 11508)
@@ -75,6 +75,15 @@
$i++;
}
+ $donateButton = '<form id="paypal-form" name="_xclick" action="https://www.paypal.com/fr/cgi-bin/webscr" method="post">
+ <input type="hidden" name="cmd" value="_xclick">
+ <input type="hidden" name="business" value="oh...@re...">
+ <input type="hidden" name="item_name" value="D-Transport">
+ <input type="hidden" name="amount" value=0>
+ <input type="hidden" name="currency_code" value="USD">
+ <img src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" onclick="$(\'#paypal-form\').submit()" alt="PayPal - The safer, easier way to pay online!" />
+ </form>';
+
xoops_cp_header();
RMTemplate::get()->add_style('dashboard.css', 'rmcommon');
Modified: RMC/rmcommon/trunk/rmcommon/loader.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/loader.php 2013-05-06 08:07:10 UTC (rev 11507)
+++ RMC/rmcommon/trunk/rmcommon/loader.php 2013-05-06 17:56:51 UTC (rev 11508)
@@ -12,7 +12,7 @@
define("RMCURL",XOOPS_URL.'/modules/rmcommon');
define('ABSURL', XOOPS_URL);
define('ABSPATH', XOOPS_ROOT_PATH);
-define('RMCVERSION','2.1.8.8 RC');
+define('RMCVERSION','2.1.8.95 RC');
// Message Levels
define('RMMSG_INFO', 0);
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php 2013-05-06 08:07:10 UTC (rev 11507)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php 2013-05-06 17:56:51 UTC (rev 11508)
@@ -234,7 +234,7 @@
'updates' => 'xicon-refresh',
);
- if(isset($menu['type']))
+ if(isset($menu['type']) || (isset($menu['icon']) && $menu['icon']=='option'))
return '<i class="xo-icon xicon-settings"></i> ';
if (isset($menu['location']) && isset($accepted[$menu['location']]))
@@ -244,14 +244,14 @@
return '<i class="xo-icon '.$accepted[$menu['selected']].'"></i> ';
$modurl = XOOPS_URL.'/modules/'.$xoopsModule->dirname().'/';
-
+
if(isset($menu['icon']) && $menu['icon']!='')
return '<i class="xo-icon" style="background-image: url('.preg_replace("/^[\.]+/",'',$menu['icon']).'); background-size: 16px 16px;"></i> ';
// Check system menu
$matches = array();
preg_match("/.*admin\.php\?fct=(.*)/", $menu['link'], $matches);
-
+
if (!empty($matches) && isset($accepted[$matches[1]]))
return '<i class="xo-icon '.$accepted[$matches[1]].'"></i> ';
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css 2013-05-06 08:07:10 UTC (rev 11507)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css 2013-05-06 17:56:51 UTC (rev 11508)
@@ -7,7 +7,7 @@
*/
body{
- padding-top: 90px;
+ padding-top: 100px;
position: relative;
background: #F7F7F7;
font-size: 13px;
@@ -149,53 +149,46 @@
/* TOOLBAR
---------------------------------*/
#xo-toolbar{
- top: 40px; left: 0; right: 0;
- z-index: 1025;
+ top: 42px;
+ z-index: 1025;
}
#xo-toolbar .navbar-inner{
- background: #049CD9; /* Old browsers */
- background: -moz-linear-gradient(top, #049CD9 0%, #0490C8 100%); /* FF3.6+ */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#049CD9), color-stop(100%,#0490C8)); /* Chrome,Safari4+ */
- background: -webkit-linear-gradient(top, #049CD9 0%,#0490C8 100%); /* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(top, #049CD9 0%,#0490C8 100%); /* Opera 11.10+ */
- background: -ms-linear-gradient(top, #049CD9 0%,#0490C8 100%); /* IE10+ */
- background: linear-gradient(to bottom, #049CD9 0%,#0490C8 100%); /* W3C */
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#049CD9', endColorstr='#0490C8',GradientType=0 ); /* IE6-9 */
- border: 0;
- border-bottom: 1px solid #FFF;
- padding-left: 0;
- padding-right: 0;
- border-radius: 0;
- -moz-border-radius: 0;
- -webkit-border-radius: 0;
- -o-border-radius: 0;
+ border-bottom: 1px solid rgba(0,0,0,0.2);
+ border-top: 1px solid rgba(255,255,255,0.2);
}
#xo-toolbar .navbar-inner .brand{
- color: #FFF!important;
- text-shadow: 0 0 4px #03739F;
+ color: rgba(0,0,0,0.5)!important;
+ text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
+ font-size: 1.1em;
+ text-transform: uppercase;
+ font-weight: bold;
}
-#xo-toolbar .navbar-inner .nav > li > a{
- color: #FFF;
- text-shadow: 1px 1px 0 #035576;
- font-size: 10px;
- text-transform: uppercase;
-}
#xo-toolbar .navbar-inner .nav > li.divider-vertical{
- border-left-color: #0489BE;
- border-right-color: #17A3DC;
- margin: 0 3px;
+ margin: 0;
}
#xo-toolbar .navbar-inner .nav > li > a{
- padding: 10px;
+ padding: 10px 8px;
+ color: rgba(255,255,255,0.9);
+ text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}
+#xo-toolbar .navbar-inner .nav > li.open > a,
+#xo-toolbar .navbar-inner .nav > li > a:hover{
+ background-color: rgba(0,0,0,0.1);
+}
#xo-toolbar .navbar-inner .nav > li > a > .caret{
- border-top-color: #FFF;
+ border-bottom-color: #FFF7F2;
+ border-top-color: #FFF7F2;
}
-#xo-toolbar .nav li.dropdown.open > .dropdown-toggle,
-#xo-toolbar .nav li.dropdown.active > .dropdown-toggle,
-#xo-toolbar .nav li.dropdown.open.active > .dropdown-toggle {
- background-color: #121212!important;
+#xo-toolbar .navbar-inner .nav > li.open > a > .caret{
+ border-bottom-color: #602A0A;
+ border-top-color: #602A0A;
}
+#xo-toolbar .divider-vertical{
+ border-right-color: #BF9244;
+ border-right-color: rgba(255,255,255,0.3);
+ border-left-color: #F4CB86;
+ border-left-color: rgba(0,0,0,0.2);
+}
#rmc-toolbar .divider-vertical{
margin:0 2px;
@@ -221,6 +214,7 @@
-moz-box-shadow: 1px 1px 0 #FFF;
-webkit-box-shadow: 1px 1px 0 #FFF;
-o-box-shadow: 1px 1px 0 #FFF;
+ position: relative;
}
#xo-contents:after{
content:"";
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/dashboard.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/dashboard.css 2013-05-06 08:07:10 UTC (rev 11507)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/dashboard.css 2013-05-06 17:56:51 UTC (rev 11508)
@@ -2,7 +2,26 @@
$Id: dashboard.css 550 2010-11-15 01:44:13Z i.bitcero $
*/
-.rmcw-container .system_tools a{
+.support-me{
+ background: #E7F5FB;
+ box-shadow: inset 0 0 2px #FFF;
+ color: #3A87AD;
+ text-shadow: 1px 1px 0 rgba(255,255,255,0.4);
+}
+.support-me:after{
+ content: '';
+ display: block;
+ clear: both;
+}
+.support-me img.avatar{
+ float: left;
+ padding: 1px;
+ border: 1px solid #CCC;
+ border-radius: 2px;
+ margin: 0 5px 0 0;
+}
+
+.system_tools a{
display: block;
padding: 2px 0 2px 20px;
background-position: left;
@@ -122,18 +141,26 @@
margin: 0 0 10px 0;
font-size: 15px;
}
-.news_item a.thumb img{
- float: left;
- margin: 0 5px 2px 0;
- padding: 1px;
- border: 1px solid #CCC;
- width: 60px;
+.news_item a.thumb{
+ display: none;
}
.news_item .news_content{
line-height: 150%;
color: #666;
font-size: 12px;
}
-.news_item .link{
- display: inline-block;
+.news_item:nth-child(1) .link:before,
+.news_item:nth-child(2) .link:before{
+ content: '';
+ display: block;
+}
+.news_item:nth-child(n+3) .news_content{
+ display: none;
+}
+.news_item:nth-child(n+3) h3{
+ margin: 0;
+ display: inline-block;
+}
+.news_item:nth-child(n+3) .link{
+ display: inline-block;
}
\ No newline at end of file
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/js/bootstrap.min.js
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/js/bootstrap.min.js 2013-05-06 08:07:10 UTC (rev 11507)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/js/bootstrap.min.js 2013-05-06 17:56:51 UTC (rev 11508)
@@ -3,4 +3,17 @@
* Copyright 2012 Twitter, Inc.
* http://www.apache.org/licenses/LICENSE-2.0.txt
*/
-!function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=n&&e(n);if(!r||!r.length)r=t.parent();return r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||s.toggleClass("open"),n.focus(),!1},keydown:function(n){var r,s,o,u,a,f;if(!/(38|40|27)/.test(n.keyCode))return;r=e(this),n.preventDefault(),n.stopPropagation();if(r.is(".disabled, :disabled"))return;u=i(r),a=u.hasClass("open");if(!a||a&&n.keyCode==27)return n.which==27&&u.find(t).focus(),r.click();s=e("[role=menu] li:not(.divider):visible a",u);if(!s.length)return;f=s.index(s.filter(":focus")),n.keyCode==38&&f>0&&f--,n.keyCode==40&&f<s.length-1&&f++,~f||(f=0),s.eq(f).focus()}};var s=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var r=e(this),i=r.data("dropdown");i||r.data("dropdown",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.dropdown.data-api",r).on("click.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.dropdown-menu",function(e){e.stopPropagation()}).on("click.dropdown.data-api",t,n.prototype.toggle).on("keydown.dropdown.data-api",t+", [role=menu]",n.prototype.keydown)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),n?t.$element.one(e.support.transition.end,function(){t.$element.focus().trigger("shown")}):t.$element.focus().trigger("shown")})},hide:function(t){t&&t.preventDefault();var n=this;t=e.Event("hide"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var t=this;e(document).on("focusin.modal",function(e){t.$element[0]!==e.target&&!t.$element.has(e.target).length&&t.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){t.which==27&&e.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,n=setTimeout(function(){t.$element.off(e.support.transition.end),t.hideModal()},500);this.$element.one(e.support.transition.end,function(){clearTimeout(n),t.hideModal()})},hideModal:function(){var e=this;this.$element.hide(),this.backdrop(function(){e.removeBackdrop(),e.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&r;this.$backdrop=e('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?e.proxy(this.$element[0].focus,this.$element[0]):e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in");if(!t)return;i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,t):t()):t&&t()}};var n=e.fn.modal;e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s,o,u,a;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,o=this.options.trigger.split(" ");for(a=o.length;a--;)u=o[a],u=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):u!="manual"&&(i=u=="hover"?"mouseenter":"focus",s=u=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this)));this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,this.$element.data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e.fn[this.type].defaults,r={},i;this._options&&e.each(this._options,function(e,t){n[e]!=t&&(r[e]=t)},this),i=e(t.currentTarget)[this.type](r).data(this.type);if(!i.options.delay||!i.options.delay.show)return i.show();clearTimeout(this.timeout),i.hoverState="in",this.timeout=setTimeout(function(){i.hoverState=="in"&&i.show()},i.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var t,n,r,i,s,o,u=e.Event("show");if(this.hasContent()&&this.enabled){this.$element.trigger(u);if(u.isDefaultPrevented())return;t=this.tip(),this.setContent(),this.options.animation&&t.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,t.detach().css({top:0,left:0,display:"block"}),this.options.container?t.appendTo(this.options.container):t.insertAfter(this.$element),n=this.getPosition(),r=t[0].offsetWidth,i=t[0].offsetHeight;switch(s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}this.applyPlacement(o,s),this.$element.trigger("shown")}},applyPlacement:function(e,t){var n=this.tip(),r=n[0].offsetWidth,i=n[0].offsetHeight,s,o,u,a;n.offset(e).addClass(t).addClass("in"),s=n[0].offsetWidth,o=n[0].offsetHeight,t=="top"&&o!=i&&(e.top=e.top+i-o,a=!0),t=="bottom"||t=="top"?(u=0,e.left<0&&(u=e.left*-2,e.left=0,n.offset(e),s=n[0].offsetWidth,o=n[0].offsetHeight),this.replaceArrow(u-r+s,s,"left")):this.replaceArrow(o-i,o,"top"),a&&n.offset(e)},replaceArrow:function(e,t,n){this.arrow().css(n,e?50*(1-e/t)+"%":"")},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function i(){var t=setTimeout(function(){n.off(e.support.transition.end).detach()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.detach()})}var t=this,n=this.tip(),r=e.Event("hide");this.$element.trigger(r);if(r.isDefaultPrevented())return;return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?i():n.detach(),this.$element.trigger("hidden"),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var t=this.$element[0];return e.extend({},typeof t.getBoundingClientRect=="function"?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},to...
[truncated message content] |
|
From: <bi...@us...> - 2013-05-19 07:40:29
|
Revision: 11556
http://sourceforge.net/p/xoops/svn/11556
Author: bitc3r0
Date: 2013-05-19 07:40:23 +0000 (Sun, 19 May 2013)
Log Message:
-----------
Improved Two?\194?\1836 theme. Now modules navigation is easier than previous versions.
Updated FontAwesome files and bootsrap js file.
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/class/breadcrumb.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/font-awesome-ie7.min.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/font-awesome.min.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/font/FontAwesome.otf
RMC/rmcommon/trunk/rmcommon/themes/twop6/font/fontawesome-webfont.eot
RMC/rmcommon/trunk/rmcommon/themes/twop6/font/fontawesome-webfont.svg
RMC/rmcommon/trunk/rmcommon/themes/twop6/font/fontawesome-webfont.ttf
RMC/rmcommon/trunk/rmcommon/themes/twop6/font/fontawesome-webfont.woff
RMC/rmcommon/trunk/rmcommon/themes/twop6/include/modules.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/bootstrap.min.js
RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php
Added Paths:
-----------
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/rmcommon/rmc_breadcrumb.php
Modified: RMC/rmcommon/trunk/rmcommon/class/breadcrumb.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/breadcrumb.php 2013-05-19 07:06:25 UTC (rev 11555)
+++ RMC/rmcommon/trunk/rmcommon/class/breadcrumb.php 2013-05-19 07:40:23 UTC (rev 11556)
@@ -24,7 +24,7 @@
/**
* Singleton
*/
- public function get(){
+ static function get(){
static $instance;
if (!isset($instance)) {
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php 2013-05-19 07:06:25 UTC (rev 11555)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php 2013-05-19 07:40:23 UTC (rev 11556)
@@ -201,38 +201,42 @@
/**
* Generate menu icon
*/
- public function getIcon($menu){
+ public function getIcon($menu, $noaccept = false){
global $xoopsModule;
// Icon equivalences
- $accepted = array(
- 'dashboard' => 'xicon-home',
- 'modules' => 'xicon-plus',
- 'blocks' => 'xicon-block',
- 'users' => 'xicon-user',
- 'imgmanager' => 'xicon-picture',
- 'comments' => 'xicon-comment',
- 'plugins' => 'xicon-plugin',
- 'avatars' => 'xicon-account',
- 'banners' => 'xicon-offer',
- 'blocksadmin' => 'xicon-block',
- 'groups' => 'xicon-users',
- 'images' => 'xicon-picture',
- 'mailusers' => 'xicon-email',
- 'modulesadmin' => 'xicon-plus',
- 'maintenance' => 'xicon-publish',
- 'preferences' => 'xicon-settings',
- 'smilies' => 'xicon-smile',
- 'tplsets' => 'xicon-invoice',
- 'userrank' => 'xicon-star',
- 'allusers' => 'xicon-users',
- 'newuser' => 'xicon-plus',
- 'rmc_imgcats' => 'xicon-category',
- 'rmc_imgnewcat' => 'xicon-addfolder',
- 'rmc_images' => 'xicon-picture',
- 'rmc_newimages' => 'xicon-addpicture',
- 'updates' => 'xicon-refresh',
- );
+ if($noaccept){
+ $accepted = array('preferences' => 'xicon-settings');
+ } else {
+ $accepted = array(
+ 'dashboard' => 'xicon-home',
+ 'modules' => 'xicon-plus',
+ 'blocks' => 'xicon-block',
+ 'users' => 'xicon-user',
+ 'imgmanager' => 'xicon-picture',
+ 'comments' => 'xicon-comment',
+ 'plugins' => 'xicon-plugin',
+ 'avatars' => 'xicon-account',
+ 'banners' => 'xicon-offer',
+ 'blocksadmin' => 'xicon-block',
+ 'groups' => 'xicon-users',
+ 'images' => 'xicon-picture',
+ 'mailusers' => 'xicon-email',
+ 'modulesadmin' => 'xicon-plus',
+ 'maintenance' => 'xicon-publish',
+ 'preferences' => 'xicon-settings',
+ 'smilies' => 'xicon-smile',
+ 'tplsets' => 'xicon-invoice',
+ 'userrank' => 'xicon-star',
+ 'allusers' => 'xicon-users',
+ 'newuser' => 'xicon-plus',
+ 'rmc_imgcats' => 'xicon-category',
+ 'rmc_imgnewcat' => 'xicon-addfolder',
+ 'rmc_images' => 'xicon-picture',
+ 'rmc_newimages' => 'xicon-addpicture',
+ 'updates' => 'xicon-refresh',
+ );
+ }
if(isset($menu['type']) || (isset($menu['icon']) && $menu['icon']=='option'))
return '<i class="xo-icon xicon-settings"></i> ';
@@ -245,8 +249,10 @@
$modurl = XOOPS_URL.'/modules/'.$xoopsModule->dirname().'/';
- if(isset($menu['icon']) && $menu['icon']!='')
- return '<i class="xo-icon" style="background-image: url('.preg_replace("/^[\.]+/",'',$menu['icon']).'); background-size: 16px 16px;"></i> ';
+ if(isset($menu['icon']) && $menu['icon']!=''){
+ //return '<i class="xo-icon" style="background-image: url('.preg_replace("/^[\.]+/",'',$menu['icon']).'); background-size: 16px 16px;"></i> ';
+ return '<i class="xo-icon" style="background-image: url('.$menu['icon'].'); background-size: 16px 16px;"></i> ';
+ }
// Check system menu
$matches = array();
@@ -256,5 +262,19 @@
return '<i class="xo-icon '.$accepted[$matches[1]].'"></i> ';
}
+
+ public function submenuIcon($menu, $dir=''){
+
+ if(isset($menu['location']) && $menu['location']!='' && isset($menu['icon']) && $menu['icon']!=''){
+ $menu['icon'] = ($dir!='' ? XOOPS_URL.'/modules/'.$dir.'/' : '').str_replace("../",'', $menu['icon']);
+ }
+
+ if(isset($menu['selected']) && $menu['selected']!='' && isset($menu['icon']) && $menu['icon']!=''){
+ $menu['icon'] = ($dir!='' ? XOOPS_URL.'/modules/'.$dir.'/' : '').str_replace("../",'', $menu['icon']);
+ }
+
+ return $this->getIcon($menu, true);
+
+ }
}
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css 2013-05-19 07:06:25 UTC (rev 11555)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css 2013-05-19 07:40:23 UTC (rev 11556)
@@ -190,21 +190,87 @@
border-left-color: rgba(0,0,0,0.2);
}
+#rmc-toolbar{
+ position: absolute;
+ margin: 0;
+ top: 40px; left: 0; right: 0;
+}
+#rmc-toolbar > .navbar-inner{
+ border-top: 0;
+ border-left: 0;
+ border-right: 0;
+ border-radius: 0;
+ padding: 0;
+ min-height: 30px;
+ background-color: #fafafa;
+ background-image: -moz-linear-gradient(top, #f2f2f2, #ebebeb);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#ebebeb));
+ background-image: -webkit-linear-gradient(top, #f2f2f2, #ebebeb);
+ background-image: -o-linear-gradient(top, #f2f2f2, #ebebeb);
+ background-image: linear-gradient(to bottom, #f2f2f2, #ebebeb);
+ background-repeat: repeat-x;
+}
#rmc-toolbar .divider-vertical{
margin:0 2px;
+ height: 36px;
+ border-left: 1px solid #ebebeb;
+ border-left: 1px solid rgba(0,0,0,0.05);
+ border-right: 1px solid #f2f2f2;
+ border-right: 1px solid rgba(255,255,255,0.5);
}
#rmc-toolbar .nav > li > a{
- padding: 10px 8px;
+ padding: 10px;
+ text-align: center;
}
+#rmc-toolbar .nav > li > a > i{
+ display: block;
+ text-align: center;
+ margin: 0 auto;
+}
.typeahead {
z-index: 1070;
}
+.rmc-breadcrumb{
+ background-color: #fafafa;
+ background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));
+ background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
+ background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);
+ background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
+ background-repeat: repeat-x;
+ border: 1px solid #e2e2e2;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
+ *zoom: 1;
+ -webkit-box-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
+ -moz-box-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
+ box-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
+}
+
+.rmc-breadcrumb li .indicator{
+ color: #999;
+ font-weight: bold;
+ text-transform: uppercase;
+ font-size: 0.8em;
+}
+.rmc-breadcrumb .caret{
+ border-top-color: #999;
+}
+.rmc-breadcrumb li:nth-child(2) a{
+ color: #1a1a1a;
+}
+.rmc-breadcrumb li:nth-child(2) a:hover{
+ text-decoration: none;
+}
+
/* CONTENTS
---------------------------------*/
#xo-contents{
background: #fff;
- padding: 10px;
+ padding: 45px 10px 10px 10px;
border: 1px solid #D4D4D4;
border-radius: 3px;
-moz-border-radius: 3px;
@@ -222,7 +288,6 @@
display: block;
}
#xo-contents h1.rmc_titles{
- margin: -11px -11px 10px -11px;
background: #049CD9; /* Old browsers */
background: -moz-linear-gradient(top, #049CD9 0%, #0490C8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#049CD9), color-stop(100%,#0490C8)); /* Chrome,Safari4+ */
@@ -245,12 +310,19 @@
-moz-box-shadow:inset 0px 1px 0 0px #5EBFE6;
-webkit-box-shadow:inset 0px 1px 0 0px #5EBFE6;
-o-box-shadow:inset 0px 1px 0 0px #5EBFE6;
+ max-height: 27px;
+ position: absolute;
+ top: -1px; left: -1px; right: -1px;
+ margin: 0;
}
#xo-contents h1.rmc_titles > span{
vertical-align: text-bottom;
display: inline-block;
float: none;
}
+.xo-contents-toolbar{
+ padding-top: 86px!important;
+}
/* Widgets */
.xo-widget{
@@ -354,7 +426,7 @@
.box-collapse .collapsable{
display: block;
}
-.box-collapse .collapsed{
+.box-collapse .box-collapsed{
display: none;
}
div.even, div.odd{
@@ -500,3 +572,6 @@
background-repeat: no-repeat;
background-position: center;
}
+.text-center{text-align: center!important;}
+.text-left{text-align: left!important;}
+.text-right{text-align: right!important;}
\ No newline at end of file
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/css/font-awesome-ie7.min.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/css/font-awesome-ie7.min.css 2013-05-19 07:06:25 UTC (rev 11555)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/css/font-awesome-ie7.min.css 2013-05-19 07:40:23 UTC (rev 11556)
@@ -1,22 +1,24 @@
/*!
- * Font Awesome 3.0.2
- * the iconic font designed for use with Twitter Bootstrap
+ * Font Awesome 3.1.0
+ * the iconic font designed for Bootstrap
* -------------------------------------------------------
* The full suite of pictographic icons, examples, and documentation
- * can be found at: http://fortawesome.github.com/Font-Awesome/
+ * can be found at: http://fontawesome.io
*
* License
* -------------------------------------------------------
- * - The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL
+ * - The Font Awesome font is licensed under the SIL Open Font License v1.1 -
+ * http://scripts.sil.org/OFL
* - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License -
* http://opensource.org/licenses/mit-license.html
- * - The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/
+ * - Font Awesome documentation licensed under CC BY 3.0 License -
+ * http://creativecommons.org/licenses/by/3.0/
* - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
- * "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome"
+ * "Font Awesome by Dave Gandy - http://fontawesome.io"
* Contact
* -------------------------------------------------------
- * Email: da...@da...
+ * Email: da...@fo...
* Twitter: http://twitter.com/fortaweso_me
* Work: Lead Product Designer @ http://kyruus.com
- */.icon-large{font-size:1.3333333333333333em;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;vertical-align:middle}.nav [class^="icon-"],.nav [class*=" icon-"]{vertical-align:inherit;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px}.nav [class^="icon-"].icon-large,.nav [class*=" icon-"].icon-large{vertical-align:-25%}.nav-pills [class^="icon-"].icon-large,.nav-tabs [class^="icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large{line-height:.75em;margin-top:-7px;padding-top:5px;margin-bottom:-5px;padding-bottom:4px}.btn [class^="icon-"].pull-left,.btn [class*=" icon-"].pull-left,.btn [class^="icon-"].pull-right,.btn [class*=" icon-"].pull-right{vertical-align:inherit}.btn [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large{margin-top:-0.5em}a [class^="icon-"],a [class*=" icon-"]{cursor:pointer}ul.icons{text-indent:-1.5em;margin-left:3em}.icon-glass{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-music{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-search{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-envelope{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-heart{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-star{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-star-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-user{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-film{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-th-large{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-th{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-th-list{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ok{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-remove{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-zoom-in{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-zoom-out{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-off{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-signal{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cog{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-trash{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-home{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-file{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-time{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-road{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-download-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-download{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-upload{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-inbox{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-play-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-repeat{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-refresh{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-list-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-lock{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-flag{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-headphones{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-volume-off{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-volume-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-volume-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-qrcode{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-barcode{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tag{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tags{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-book{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bookmark{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-print{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-camera{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-font{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bold{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-italic{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-text-height{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-text-width{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-align-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-align-center{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-align-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-align-justify{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-list{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-indent-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-indent-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-facetime-video{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-picture{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-pencil{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-map-marker{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-adjust{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tint{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-edit{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-share{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-check{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-move{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-step-backward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fast-backward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-backward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-play{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-pause{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-stop{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-forward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fast-forward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-step-forward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-eject{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-chevron-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-chevron-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-plus-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-minus-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-remove-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ok-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-question-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-info-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-screenshot{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-remove-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ok-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ban-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-arrow-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-arrow-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-arrow-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-arrow-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-share-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-resize-full{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-resize-small{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-plus{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-minus{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-asterisk{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-exclamation-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-gift{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-leaf{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fire{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-eye-open{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-eye-close{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-warning-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-plane{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-calendar{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-random{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-comment{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-magnet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-chevron-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-chevron-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-retweet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-shopping-cart{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-folder-close{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-folder-open{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-resize-vertical{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-resize-horizontal{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bar-chart{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-twitter-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-facebook-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-camera-retro{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-key{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cogs{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-comments{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-thumbs-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-thumbs-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-star-half{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-heart-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-signout{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-linkedin-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-pushpin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-external-link{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-signin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-trophy{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-github-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-upload-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-lemon{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-phone{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-check-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bookmark-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-phone-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-twitter{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-facebook{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-github{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-unlock{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-credit-card{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-rss{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hdd{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bullhorn{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bell{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-certificate{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hand-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hand-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hand-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hand-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-arrow-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-arrow-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-arrow-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-arrow-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-globe{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-wrench{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tasks{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-filter{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-briefcase{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fullscreen{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-group{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-link{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cloud{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-beaker{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cut{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-copy{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-paper-clip{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-save{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-sign-blank{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-reorder{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-list-ul{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-list-ol{*zoom:expression(this.run...
[truncated message content] |
|
From: <bi...@us...> - 2013-05-20 04:18:31
|
Revision: 11560
http://sourceforge.net/p/xoops/svn/11560
Author: bitc3r0
Date: 2013-05-20 04:18:25 +0000 (Mon, 20 May 2013)
Log Message:
-----------
Templates fixed and applied the new graphical features (toolbar, breadcrumb, menus)
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/blocks.php
RMC/rmcommon/trunk/rmcommon/class/fields/groups.class.php
RMC/rmcommon/trunk/rmcommon/class/functions.php
RMC/rmcommon/trunk/rmcommon/comments.php
RMC/rmcommon/trunk/rmcommon/css/comms-admin.css
RMC/rmcommon/trunk/rmcommon/css/forms.css
RMC/rmcommon/trunk/rmcommon/css/imgmgr.css
RMC/rmcommon/trunk/rmcommon/images.php
RMC/rmcommon/trunk/rmcommon/include/js/images.js
RMC/rmcommon/trunk/rmcommon/include/js/imgmanager.js
RMC/rmcommon/trunk/rmcommon/lang/es.mo
RMC/rmcommon/trunk/rmcommon/lang/es.po
RMC/rmcommon/trunk/rmcommon/modules.php
RMC/rmcommon/trunk/rmcommon/plugins.php
RMC/rmcommon/trunk/rmcommon/templates/categories_form.php
RMC/rmcommon/trunk/rmcommon/templates/images_categories.php
RMC/rmcommon/trunk/rmcommon/templates/images_edit.php
RMC/rmcommon/trunk/rmcommon/templates/images_images.php
RMC/rmcommon/trunk/rmcommon/templates/images_uploadimages.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_comments.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_plugins.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_users.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/rmcommon/rmc_breadcrumb.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php
RMC/rmcommon/trunk/rmcommon/updates.php
RMC/rmcommon/trunk/rmcommon/users.php
Removed Paths:
-------------
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/imgmgr.css
Modified: RMC/rmcommon/trunk/rmcommon/blocks.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/blocks.php 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/blocks.php 2013-05-20 04:18:25 UTC (rev 11560)
@@ -67,7 +67,7 @@
function show_rm_blocks()
{
- global $xoopsModule, $xoopsConfig, $wid_globals, $xoopsSecurity, $rmc_config;
+ global $xoopsModule, $xoopsConfig, $wid_globals, $xoopsSecurity, $rmc_config, $rmTpl;
define('RMCSUBLOCATION','blocks');
$db = XoopsDatabaseFactory::getDatabaseConnection();
@@ -129,8 +129,9 @@
RMTemplate::get()->add_local_script('jquery.sort.js', 'rmcommon', 'include');
}
- xoops_cp_location('<a href="./">' . $xoopsModule->getVar('name') .
- '</a> » ' . __('Blocks','rmcommon'));
+ RMBreadCrumb::get()->add_crumb(__('Blocks Management','rmcommon'));
+ $rmTpl->assign('xoops_pagetitle', __('Blocks Management','rmcommon'));
+
RMTemplate::get()->add_style('blocks.css', 'rmcommon');
RMTemplate::get()->add_local_script('blocks.js', 'rmcommon', 'include');
RMTemplate::get()->add_local_script('jkmenu.js', 'rmcommon', 'include');
Modified: RMC/rmcommon/trunk/rmcommon/class/fields/groups.class.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/fields/groups.class.php 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/class/fields/groups.class.php 2013-05-20 04:18:25 UTC (rev 11560)
@@ -154,7 +154,7 @@
$rtn .= " checked='checked'";
}
}
- $rtn .= ">".__('All','rmcommon')."</label></li>";
+ $rtn .= "> ".__('All','rmcommon')."</label></li>";
while ($row = $db->fetchArray($result)){
$rtn .= "<li><label><input type='$typeinput' name='$name' id='".$this->id()."' value='$row[groupid]'";
@@ -163,7 +163,7 @@
$rtn .= " checked='checked'";
}
}
- $rtn .= ">$row[name]</label>";
+ $rtn .= "> $row[name]</label>";
if ($this->_showdesc){
$rtn .= "<br /><span style='font-size: 10px;' class='description'>$row[description]</span>";
Modified: RMC/rmcommon/trunk/rmcommon/class/functions.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/functions.php 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/class/functions.php 2013-05-20 04:18:25 UTC (rev 11560)
@@ -99,10 +99,10 @@
RMTemplate::get()->add_tool(__('Images','rmcommon'), 'images.php', 'images/images.png', 'imgmanager');
RMTemplate::get()->add_tool(__('Comments','rmcommon'), 'comments.php', 'images/comments.png', 'comments');
RMTemplate::get()->add_tool(__('Plugins','rmcommon'), 'plugins.php', 'images/plugin.png', 'plugins');
+ RMTemplate::get()->add_tool(__('Updates','rmcommon'), 'updates.php', 'images/updates.png', 'updates');
}
-
- RMTemplate::get()->add_tool(__('Updates','rmcommon'), 'updates.php', 'images/updates.png', 'updates');
+
RMEvents::get()->run_event('rmcommon.create.toolbar');
}
Modified: RMC/rmcommon/trunk/rmcommon/comments.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/comments.php 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/comments.php 2013-05-20 04:18:25 UTC (rev 11560)
@@ -12,7 +12,7 @@
define('RMCLOCATION','comments');
function show_comments(){
- global $xoopsSecurity;
+ global $xoopsSecurity, $rmTpl;
$db = XoopsDatabaseFactory::getDatabaseConnection();
@@ -121,7 +121,11 @@
}
$comments = RMEvents::get()->run_event('rmcommon.loading.admin.comments', $comments);
-
+
+ RMBreadCrumb::get()->add_crumb(__('Comments Manager','rmcommon'));
+
+ $rmTpl->assign('xoops_pagetitle', __('Comments Manager','rmcommon'));
+
xoops_cp_header();
RMFunctions::create_toolbar();
RMTemplate::get()->add_style('comms-admin.css', 'rmcommon');
@@ -234,7 +238,8 @@
}
function edit_comment(){
-
+ global $rmTpl;
+
$id = rmc_server_var($_GET,'id',0);
$page = rmc_server_var($_GET, 'page', 1);
$filter = rmc_server_var($_GET, 'filter', '');
@@ -288,6 +293,12 @@
$form->addElement($ele);
RMFunctions::create_toolbar();
+
+ RMBreadCrumb::get()->add_crumb(__('Comments Manager','rmcommon'),'comments.php');
+ RMBreadCrumb::get()->add_crumb(__('Edit Comment','rmcommon'));
+
+ $rmTpl->assign('xoops_pagetitle', __('Edit Comment','rmcommon'));
+
xoops_cp_header();
$form->display();
xoops_cp_footer();
Modified: RMC/rmcommon/trunk/rmcommon/css/comms-admin.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/css/comms-admin.css 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/css/comms-admin.css 2013-05-20 04:18:25 UTC (rev 11560)
@@ -18,6 +18,3 @@
font-size: 0.9em;
color: #666;
}
-.comments_search{
- float: right;
-}
\ No newline at end of file
Modified: RMC/rmcommon/trunk/rmcommon/css/forms.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/css/forms.css 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/css/forms.css 2013-05-20 04:18:25 UTC (rev 11560)
@@ -289,3 +289,13 @@
padding: 1px;
border: 1px solid #CCC;
}
+
+/** Groups **/
+.groups_field_list{
+ list-style: none;
+ padding: 0;
+ margin: 0;
+}
+.groups_field_list input{
+ vertical-align: text-top;
+}
\ No newline at end of file
Modified: RMC/rmcommon/trunk/rmcommon/css/imgmgr.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/css/imgmgr.css 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/css/imgmgr.css 2013-05-20 04:18:25 UTC (rev 11560)
@@ -1,23 +1,56 @@
+.form-container{
+ margin: 0 60px;
+}
+.form-container label.control-label{
+ font-weight: bold;
+}
+.single-size{
+ border: 1px solid #ddd;
+ border-radius: 3px;
+ display: inline-block;
+ width: 250px;
+ padding: 15px;
+ margin: 0 5px 5px 0;
+ color: #666;
+}
+.form-container .form-actions{
+ padding: 10px!important;
+ margin: 15px -15px -15px -15px;
+ border-radius: 0 0 3px 3px;
+}
+.form-container .new-container{
+ margin: 15px 0;
+}
+.form-container input[name*="[name]"]{
+ font-weight: bold;
+ text-decoration: underline;
+}
+.form-container .cat-buttons{
+ padding: 15px 0 0 0;
+ border-top: 1px solid #eee;
+ margin-top: 20px;
+}
+
a.delsize{
- float: right;
- font-weight: normal;
- background: url(../images/delete.png) no-repeat left;
- padding: 3px 3px 3px 19px;
+ float: right;
+ font-weight: normal;
+ background: url(../images/delete.png) no-repeat left;
+ padding: 3px 3px 3px 19px;
}
td#sizes-container-all{
- overflow: hidden;
+ overflow: hidden;
}
td#sizes-container-all table.outer{
- width: 435px;
- float: left;
+ width: 435px;
+ float: left;
}
td#sizes-container-all table{
- margin: 5px;
+ margin: 5px;
}
td#sizes-container-all div.new_container{
- clear: both;
- margin-top: 10px;
- text-align: center;
+ clear: both;
+ margin-top: 10px;
+ text-align: center;
}
td.sizes_data{
font-size: 0.9em;
@@ -30,92 +63,76 @@
/** IMAGES **/
div.select_image_cat{
- padding: 4px;
- border: 1px solid #CCC;
- margin: 0 auto;
- background: #ebebeb;
+ border-bottom: 1px dotted #ddd;
+ margin: 0 0 20px 0;
font-weight: bold;
- text-align: center;
margin-bottom: 10px;
}
#upload-errors{
- padding: 10px;
- margin: 10px 0;
- float: right;
- width: 300px;
+ padding: 10px;
+ margin: 10px 0;
+ float: right;
+ width: 300px;
}
#upload-errors span.failed{
- background: url(../images/error.png) no-repeat left;
- padding: 5px 0 5px 19px;
- color: #f00;
- margin: 2px 0;
- display: block;
+ background: url(../images/error.png) no-repeat left;
+ padding: 5px 0 5px 19px;
+ color: #f00;
+ margin: 2px 0;
+ display: block;
}
#upload-errors span.done{
- background: url(../images/done.png) no-repeat left;
- padding: 5px 0 5px 19px;
- margin: 2px 0;
- display: block;
+ background: url(../images/done.png) no-repeat left;
+ padding: 5px 0 5px 19px;
+ margin: 2px 0;
+ display: block;
}
#resizer-bar{
- text-align: center;
- font-size: 0.9em;
- color: #666;
- display: none;
+ text-align: center;
+ font-size: 0.9em;
+ color: #666;
+ display: none;
}
#resizer-bar span.message{
- display: block;
- float: left;
- color: #008000;
+ display: block;
+ float: left;
+ color: #008000;
}
#resizer-bar span.message span{
- color: #F00;
+ color: #F00;
}
-#resizer-bar .thebar{
- background: #999;
- height: 16px;
- border: 1px inset #666;
- margin: 5px;
- clear: both;
-}
-#resizer-bar .thebar .indicator{
- background: #ff4400;
- color: #FFF;
- font-weight: bold;
- height: 16px;
- width: 0;
- text-align: right;
- position: relative;
-}
div.donebutton{
- display: none;
- margin: 10px 0;
+ display: none;
+ margin: 10px 0;
}
div#gen-thumbnails img{
- width: 90px;
- height: 70px;
- margin: 4px;
- padding: 1px;
- border: 1px solid #666;
+ width: 90px;
+ height: 70px;
+ margin: 4px;
+ padding: 1px;
+ border: 1px solid #666;
}
.even .description, .odd .description{
- font-size: 0.9em;
- display: block;
- padding: 2px 0;
- font-style: italic;
- color: #666;
+ font-size: 0.9em;
+ display: block;
+ padding: 2px 0;
+ font-style: italic;
+ color: #666;
}
.rmc_pages_navigation_container{
- float: right;
+ float: right;
}
#image-loader{
- display: none;
- position: absolute;
- padding: 10px;
- background: #fff;
- top: 50%;
- left: 50%;
- -moz-box-shadow: 0 0 20px #000;
- -webkit-box-shadow: 0 0 20px #000;
- box-shadow: 0 0 20px #000;
+ display: none;
+ position: absolute;
+ padding: 10px;
+ background: #fff;
+ top: 50%;
+ left: 50%;
+ -moz-box-shadow: 0 0 20px #000;
+ -webkit-box-shadow: 0 0 20px #000;
+ box-shadow: 0 0 20px #000;
+}
+#upload-controls input{
+ float: none;
}
\ No newline at end of file
Modified: RMC/rmcommon/trunk/rmcommon/images.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images.php 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/images.php 2013-05-20 04:18:25 UTC (rev 11560)
@@ -21,7 +21,7 @@
* Show all images existing in database
*/
function show_images(){
- global $xoopsModule, $xoopsModuleConfig;
+ global $xoopsModule, $xoopsModuleConfig, $rmTpl;
define('RMCSUBLOCATION','showimages');
@@ -109,7 +109,12 @@
RMLightbox::get()->add_element('#list-images a.bigimages');
RMLightbox::get()->render();
}
-
+
+ RMBreadCrumb::get()->add_crumb(__('Images Management','rmcommon'),'images.php');
+ RMBreadCrumb::get()->add_crumb($category->getVar('name'));
+
+ $rmTpl->assign('xoops_pagetitle', sprintf(__('Images Management: %s', 'rmcommon'), $category->getVar('name')));
+
xoops_cp_header();
RMFunctions::create_toolbar();
RMTemplate::get()->add_style('imgmgr.css','rmcommon');
@@ -185,9 +190,18 @@
// Load Categories
$categories = RMFunctions::load_images_categories("WHERE status='open' ORDER BY id_cat DESC");
-
+
+ RMFunctions::create_toolbar();
+
+ RMBreadCrumb::get()->add_crumb(__('Images Manager','rmcommon'), 'images.php');
+ if(!$cat->isNew()){
+ RMBreadCrumb::get()->add_crumb($cat->getVar('name'), 'images.php?category='.$cat->id());
+ RMBreadCrumb::get()->add_crumb(__('Upload Images','rmcommon'));
+ } else {
+ RMBreadCrumb::get()->add_crumb(__('Upload Images','rmcommon'));
+ }
+
xoops_cp_header();
- RMFunctions::create_toolbar();
include RMTemplate::get()->get_template('images_uploadimages.php','module','rmcommon');
@@ -196,7 +210,7 @@
}
function show_categories(){
- global $xoopsModule, $xoopsModuleConfig, $xoopsConfig, $xoopsSecurity;
+ global $xoopsModule, $xoopsModuleConfig, $xoopsConfig, $xoopsSecurity, $rmTpl;
define('RMCSUBLOCATION','showcategories');
@@ -242,6 +256,12 @@
RMTemplate::get()->add_style('imgmgr.css','rmcommon');
RMTemplate::get()->add_script('include/js/jquery.checkboxes.js');
RMFunctions::create_toolbar();
+
+ RMBreadCrumb::get()->add_crumb(__('Images Manager','rmcommon'), 'images.php');
+ RMBreadCrumb::get()->add_crumb(__('Categories','rmcommon'));
+
+ $rmTpl->assign('xoops_pagetitle', __('Images Manager: Categories','rmcommon'));
+
xoops_cp_header();
@@ -255,6 +275,8 @@
* Show form to create categories
*/
function new_category($edit = 0){
+ global $rmTpl;
+
define('RMCSUBLOCATION','newcategory');
extract($_GET);
@@ -283,6 +305,12 @@
}
RMFunctions::create_toolbar();
+
+ RMBreadCrumb::get()->add_crumb(__('Images Manager','rmcommon'),'images.php');
+ RMBreadCrumb::get()->add_crumb(__('Add Category','rmcommon'));
+
+ $rmTpl->assign('xoops_pagetitle', __('Images Manager: Add category','rmcommon'));
+
xoops_cp_header();
$form = new RMForm('','','');
@@ -535,7 +563,7 @@
* Function to edit images
*/
function edit_image(){
- global $xoopsUser, $xoopsSecurity;
+ global $xoopsUser, $xoopsSecurity, $rmTpl, $rmEvents;
$id = rmc_server_var($_GET, 'id', 0);
$page = rmc_server_var($_GET, 'page', '');
@@ -566,7 +594,10 @@
$current_size = $size;
}
}
-
+
+ if(!file_exists(XOOPS_UPLOAD_PATH.$updir.'/sizes/'.$fd['filename'].'_'.$size['width'].'x'.$size['height'].'.'.$fd['extension']))
+ continue;
+
$image_data['sizes'][] = array(
'file' => XOOPS_UPLOAD_URL.$updir.'/sizes/'.$fd['filename'].'_'.$size['width'].'x'.$size['height'].'.'.$fd['extension'],
'name' => $size['name']
@@ -584,9 +615,14 @@
$image_data['url'] = XOOPS_UPLOAD_URL.$updir.'/'.$image->getVar('file');
$categories = RMFunctions::load_images_categories("WHERE status='open' ORDER BY id_cat DESC");
-
+
+ RMFunctions::create_toolbar();
+ RMBreadCrumb::get()->add_crumb(__('Images Manager','rmcommon'),'images.php');
+ RMBreadCrumb::get()->add_crumb(__('Edit Image','rmcommon'));
+
+ $rmTpl->assign('xoops_pagetitle', __('Edit Image','rmcommon'));
+
xoops_cp_header();
- RMFunctions::create_toolbar();
RMTemplate::get()->add_script('include/js/images.js');
RMTemplate::get()->add_script('include/js/jquery.validate.min.js');
Modified: RMC/rmcommon/trunk/rmcommon/include/js/images.js
===================================================================
--- RMC/rmcommon/trunk/rmcommon/include/js/images.js 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/include/js/images.js 2013-05-20 04:18:25 UTC (rev 11560)
@@ -29,11 +29,11 @@
$("#bar-indicator").html('100%');
$("#bar-indicator").animate({
width: '100%'
- }, 1000);
+ }, 300);
current = 0;
total = 0;
ids = new Array();
- $("div.donebutton").show('slow');
+ $("div.donebutton").fadeIn('fast');
return;
}
@@ -42,7 +42,7 @@
send_resize(ids[current], params);
$("#bar-indicator").animate({
width: percent*(current)+'%'
- }, 1000);
+ }, 300);
//$("#bar-indicator").css('width', percent*(current+1)+'%');
$("#bar-indicator").html(Math.round(percent*current+1)+'%');
current++;
@@ -51,12 +51,12 @@
function imgcontinue(){
$("#resizer-bar").hide('slow');
- $('.select_image_cat').show('slow');
- $('#upload-errors').show('slow');
- $('#upload-controls').show('slow');
+ $('.select_image_cat').fadeIn('fast');
+ $('#upload-errors').fadeIn('fast');
+ $('#upload-controls').fadeIn('fast');
$("#bar-indicator").html(0);
$("#bar-indicator").css('width','0px');
- $("#gen-thumbnails").hide('slow', function(){
+ $("#gen-thumbnails").fadeOut('fast', function(){
$("#gen-thumbnails").html('');
});
Modified: RMC/rmcommon/trunk/rmcommon/include/js/imgmanager.js
===================================================================
--- RMC/rmcommon/trunk/rmcommon/include/js/imgmanager.js 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/include/js/imgmanager.js 2013-05-20 04:18:25 UTC (rev 11560)
@@ -8,15 +8,16 @@
// --------------------------------------------------------------
$(document).ready(function(){
- $("#new-size-button").click(function(){
- var table = $("#sizes-container-all table:last");
- var id = table.attr("id").replace("table-single-size-",'');
+ $(".new-size-button").click(function(){
+ var table = $("#sizes-container-all .single-size:last");
+ var id = table.attr("id").replace("single-size-",'');
var newid = id; newid++;
var clone = table.clone();
- clone.attr("id", 'table-single-size-'+newid);
+ clone.attr("id", 'single-size-'+newid);
//var repl = "replace(/sizes\["+id+"\]/g, \"sizes["+newid+"]\");";
html = eval("clone.html().replace(/sizes\\["+id+"\\]/g, \"sizes["+newid+"]\");");
html = html.replace('delete-'+id, 'delete-'+newid);
+ html = html.replace(/value="*"/g, 'value=""');
clone.html(html);
clone.insertAfter(table);
clone.effect('highlight',{});
@@ -25,10 +26,13 @@
});
function delete_size(e){
- var id = $(e).attr("id").substring(7);
+
+ var id = $(e).attr("id").substring(7);
- var tables = $("#sizes-container-all table");
- if (tables.length<=1) return;
- $("table#table-single-size-"+id).remove();
+ var tables = $("#sizes-container-all .single-size");
+ if (tables.length<=1) return;
+ $("#single-size-"+id).remove();
+
+ return false;
}
\ No newline at end of file
Modified: RMC/rmcommon/trunk/rmcommon/lang/es.mo
===================================================================
(Binary files differ)
Modified: RMC/rmcommon/trunk/rmcommon/lang/es.po
===================================================================
--- RMC/rmcommon/trunk/rmcommon/lang/es.po 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/lang/es.po 2013-05-20 04:18:25 UTC (rev 11560)
@@ -6,7 +6,7 @@
"Project-Id-Version: XOOPS Modules\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-22 22:04-0600\n"
-"PO-Revision-Date: 2012-11-22 22:07-0600\n"
+"PO-Revision-Date: 2013-05-19 20:12-0600\n"
"Last-Translator: Eduardo Cortés <i.b...@gm...>\n"
"Language-Team: Spanish (Spain) (http://www.transifex.net/projects/p/xoops-"
"mods-i18n/language/es_ES/)\n"
@@ -764,7 +764,7 @@
#: C:\wamp\www\xm\modules\rmcommon/modules.php:685
#, php-format
msgid "Update log for %s"
-msgstr "Registro actualizado para %s"
+msgstr "Registro de actualización para %s"
#: C:\wamp\www\xm\modules\rmcommon/modules.php:716
#, php-format
@@ -1080,7 +1080,7 @@
#: C:\wamp\www\xm\modules\rmcommon/users.php:261
#: C:\wamp\www\xm\modules\rmcommon/templates/rmc_dashboard.php:74
msgid "Users Management"
-msgstr "Módulos Xoops"
+msgstr "Administración de Usuarios"
#: C:\wamp\www\xm\modules\rmcommon/users.php:251
#: C:\wamp\www\xm\modules\rmcommon/users.php:334
@@ -2296,7 +2296,7 @@
#: C:\wamp\www\xm\modules\rmcommon/templates/images_edit.php:2
msgid "Edit Image"
-msgstr "Editar Imágen"
+msgstr "Editar Imagen"
#: C:\wamp\www\xm\modules\rmcommon/templates/images_edit.php:20
msgid "Original Size"
@@ -2388,7 +2388,7 @@
#: C:\wamp\www\xm\modules\rmcommon/templates/images_uploadimages.php:5
msgid "Select Category:"
-msgstr "Seleccionar imágenes"
+msgstr "Seleccionar Categoría:"
#: C:\wamp\www\xm\modules\rmcommon/templates/images_uploadimages.php:12
msgid "Change Category"
Modified: RMC/rmcommon/trunk/rmcommon/modules.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/modules.php 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/modules.php 2013-05-20 04:18:25 UTC (rev 11560)
@@ -105,6 +105,8 @@
$available_mods = RMEvents::get()->run_event('rmcommon.available.modules', $available_mods);
$GLOBALS['available_mods'] = $available_mods;
+
+ RMBreadCrumb::get()->add_crumb(__('Modules Management','rmcommon'));
RMFunctions::create_toolbar();
RMTemplate::get()->assign('xoops_pagetitle', __('Modules Management','rmcommon'));
@@ -121,7 +123,7 @@
* This function show a resume of the changes that will be made by module
*/
function module_install(){
- global $xoopsSecurity;
+ global $xoopsSecurity, $rmTpl;
$dir = rmc_server_var($_GET,'dir','');
@@ -148,6 +150,12 @@
RMTEmplate::get()->add_script('include/js/modules.js');
RMTemplate::get()->add_style('modules.css', 'rmcommon');
RMFunctions::create_toolbar();
+
+ RMBreadCrumb::get()->add_crumb(__('Modules Management','rmcommon'), 'modules.php');
+ RMBreadCrumb::get()->add_crumb(sprintf(__('Install %s','rmcommon'), $module->getInfo('name')));
+
+ $rmTpl->assign('xoops_pagetitle', sprintf(__('Install %s','rmcommon'), $module->getInfo('name')));
+
xoops_cp_header();
include RMTemplate::get()->get_template('rmc_mod_preinstall.php', 'module', 'rmcommon');
@@ -211,7 +219,7 @@
function module_uninstall_now(){
- global $xoopsSecurity, $xoopsConfig;
+ global $xoopsSecurity, $xoopsConfig, $rmTpl;
$mod = rmc_server_var($_POST, 'module', '');
@@ -244,6 +252,12 @@
RMFunctions::create_toolbar();
RMTemplate::get()->add_style('modules.css', 'rmcommon');
+
+ RMBreadCrumb::get()->add_crumb(__('Modules Management','rmcommon'), 'modules.php');
+ RMBreadCrumb::get()->add_crumb(sprintf(__('%s install log','rmcommon'), $mod->getVar('name')));
+
+ $rmTpl->assign('xoops_pagetitle', sprintf(__('%s install log','rmcommon'), $mod->getVar('name')));
+
xoops_cp_header();
$module = new XoopsModule();
@@ -646,7 +660,7 @@
function module_update_now(){
- global $xoopsSecurity, $xoopsConfig;
+ global $xoopsSecurity, $xoopsConfig, $rmTpl;
$mod = rmc_server_var($_POST, 'module', '');
@@ -683,6 +697,12 @@
xoops_cp_header();
$log_title = sprintf(__('Update log for %s', 'rmcommon'), $module ? $module->getInfo('name') : $mod);
+
+ RMBreadCrumb::get()->add_crumb(__('Modules Management','rmcommon'), 'modules.php');
+ RMBreadCrumb::get()->add_crumb($log_title);
+
+ $rmTpl->assign('xoops_pagetitle', $log_title);
+
$action = rmc_server_var($_POST, 'action', '');
include RMTemplate::get()->get_template('rmc_mod_log.php','module','rmcommon');
Modified: RMC/rmcommon/trunk/rmcommon/plugins.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/plugins.php 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/plugins.php 2013-05-20 04:18:25 UTC (rev 11560)
@@ -45,7 +45,8 @@
}
function show_rm_plugins(){
-
+ global $rmTpl;
+
$path = RMCPATH.'/plugins';
$dir_list = XoopsLists::getDirListAsArray($path);
@@ -72,6 +73,10 @@
}
rm_reload_plugins();
+
+ RMBreadCrumb::get()->add_crumb(__('Plugins Manager','rmcommon'));
+
+ $rmTpl->assign('xoops_pagetitle', __('Plugins Manager','rmcommon'));
RMFunctions::create_toolbar();
xoops_cp_header();
@@ -218,7 +223,8 @@
}
function configure_rm_plugin(){
-
+ global $rmTpl;
+
$name = rmc_server_var($_GET, 'plugin', '');
if ($name==''){
redirectMsg('plugins.php', __('You must specify a existing plugin', 'rmcommon'), 1);
@@ -474,6 +480,12 @@
$form = RMEvents::get()->run_event("rmcommon.settings.form", $form, $plugin);
RMFunctions::create_toolbar();
+
+ RMBreadCrumb::get()->add_crumb(__('Plugins Manager','rmcommon'), 'plugins.php');
+ RMBreadCrumb::get()->add_crumb(__('Configure Plugin ','rmcommon'));
+
+ $rmTpl->assign('xoops_pagetitle', __('Configure Plugin ','rmcommon'));
+
xoops_cp_header();
$form->display();
xoops_cp_footer();
Modified: RMC/rmcommon/trunk/rmcommon/templates/categories_form.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/templates/categories_form.php 2013-05-19 14:35:55 UTC (rev 11559)
+++ RMC/rmcommon/trunk/rmcommon/templates/categories_form.php 2013-05-20 04:18:25 UTC (rev 11560)
@@ -1,130 +1,120 @@
<h1 class="rmc_titles"><?php _e('Create New Category','rmcommon'); ?></h1>
-<form name="frmcats" id="img-cat-form" method="post" accept="images.php">
-<div class="form_container">
- <table class="table_form" cellspacing="0">
- <tr valign="top" class="cell_fields">
- <td class="form_captions">
- <label for="cat-name"><?php _e('Category Name:','rmcommon'); ?></label>
- </td>
- <td><input type="text" name="name" id="cat-name" value="<?php echo $edit ? $cat->getVar('name') : $name; ?>" class="required" size="50" />
- </tr>
- <tr valign="top" class="cell_fields">
- <td class="form_captions">
- <label for="cat-status"><?php _e('Category Status:','rmcommon'); ?></label>
- </td>
- <td>
- <label><input type="radio" name="status" id="cat-status" value="close"<?php echo $active!='open' ? ' checked="checked"' : ''; ?> /> <?php _e('Inactive','rmcommon'); ?></label>
- <label><input type="radio" name="status" id="cat-status" value="open"<?php echo $active=='open' ? ' checked="checked"' : ($edit ? '' : ' checked="checked"'); ?> /> <?php _e('Active','rmcommon'); ?></label>
- </td>
- </tr>
- <tr valign="top" class="cell_fields">
- <td class="form_captions">
- <label for="write[]"><?php _e('Groups that can upload images:','rmcommon'); ?></label>
- </td>
- <td>
+<form name="frmcats" id="img-cat-form" method="post" accept="images.php" class="form-horizontal">
+ <div class="form-container">
+
+ <div class="control-group">
+ <label for="cat-name" class="control-label"><?php _e('Category Name:','rmcommon'); ?></label>
+ <div class="controls">
+ <input type="text" name="name" id="cat-name" value="<?php echo $edit ? $cat->getVar('name') : $name; ?>" class="required" size="50" class="input-block-level" />
+ </div>
+ </div>
+
+ <div class="control-group">
+ <label for="cat-status" class="control-label"><?php _e('Category Status:','rmcommon'); ?></label>
+ <div class="controls">
+ <label class="radio inline">
+ <input type="radio" name="status" id="cat-status" value="close"<?php echo $active!='open' ? ' checked="checked"' : ''; ?> /> <?php _e('Inactive','rmcommon'); ?>
+ </label>
+ <label class="radio inline">
+ <input type="radio" name="status" id="cat-status" value="open"<?php echo $active=='open' ? ' checked="checked"' : ($edit ? '' : ' checked="checked"'); ?> /> <?php _e('Active','rmcommon'); ?>
+ </label>
+ </div>
+ </div>
+
+ <div class="control-group">
+ <label for="write[]" class="control-label"><?php _e('Groups that can upload images:','rmcommon'); ?></label>
+ <div class="controls">
<?php echo $fwrite->render(); ?>
- </td>
- </tr>
- <tr valign="top" class="cell_fields">
- <td class="form_captions">
- <label for="read[]"><?php _e('Groups that can use this category:','rmcommon'); ?></label>
- </td>
- <td>
+ </div>
+ </div>
+
+ <div class="control-group">
+ <label for="read[]" class="control-label"><?php _e('Groups that can use this category:','rmcommon'); ?></label>
+ <div class="controls">
<?php echo $fread->render(); ?>
- </td>
- </tr>
- <tr class="cell_fields">
- <td class="form_captions">
- <label for="filesize"><?php _e('Maximum file size:','rmcommon'); ?></label>
- </td>
- <td>
- <input type="text" name="filesize" id="filesize" size="5" value="<?php echo $edit ? $cat->getVar('filesize') : '50'; ?>" />
+ </div>
+ </div>
+
+ <div class="control-group">
+ <label for="filesize" class="control-label"><?php _e('Maximum file size:','rmcommon'); ?></label>
+ <div class="controls">
+ <input type="text" name="filesize" id="filesize" size="5" value="<?php echo $edit ? $cat->getVar('filesize') : '50'; ?>" class="input-mini" />
<select name="sizeunit">
<option value="1"<?php echo $edit && $cat->getVar('sizeunit')=='1' ? ' selected="selected"' : ''; ?>><?php _e('Bytes','rmcommon'); ?></option>
<option value="1024"<?php echo $edit && $cat->getVar('sizeunit')=='1024' ? ' selected="selected"' : (!$edit ? 'selected="selected"' : ''); ?>><?php _e('Kilobytes','rmcommon'); ?></option>
<option value="1048576"<?php echo $edit && $cat->getVar('sizeunit')=='1048576' ?...
[truncated message content] |
|
From: <bi...@us...> - 2013-06-06 01:45:48
|
Revision: 11635
http://sourceforge.net/p/xoops/svn/11635
Author: bitc3r0
Date: 2013-06-06 01:45:45 +0000 (Thu, 06 Jun 2013)
Log Message:
-----------
Improved class RMHtaccess. Now supports remotion of rules.
Improved Two?\194?\1836 theme. Now navigation between modules and elements is more efficient.
Change to version 2.1.9.0 Production.
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/class/htaccess.class.php
RMC/rmcommon/trunk/rmcommon/loader.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php
RMC/rmcommon/trunk/rmcommon/xoops_version.php
Added Paths:
-----------
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/imgmgr.css
Modified: RMC/rmcommon/trunk/rmcommon/class/htaccess.class.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/htaccess.class.php 2013-06-05 21:41:27 UTC (rev 11634)
+++ RMC/rmcommon/trunk/rmcommon/class/htaccess.class.php 2013-06-06 01:45:45 UTC (rev 11635)
@@ -43,7 +43,29 @@
}
- /**
+ /**
+ * Verify if file is writable
+ * @return bool
+ */
+ public function canWrite(){
+ return is_writable($this->file);
+ }
+
+ /**
+ * Verify if mod_rewrite enabled
+ * @return bool
+ */
+ public function isCapable(){
+ if(function_exists('apache_get_modules')){
+ $mods = apache_get_modules();
+ if(!in_array('mod_rewrite', $mods))
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
* Verify basic rules for rmcommon
*/
private function checkHealth(){
@@ -107,6 +129,18 @@
}
+ public function removeRule($rule){
+ $count = 0;
+ $replace = str_replace("\n# begin $this->module\n$rule\n# end $this->module\n", '', $this->content, $count);
+
+ if($count<=0)
+ return false;
+
+ file_put_contents($this->file, $replace);
+ return true;
+
+ }
+
private function makeCode(){
$code = "# begin $this->module\n$this->rules\n# end $this->module\n";
Modified: RMC/rmcommon/trunk/rmcommon/loader.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/loader.php 2013-06-05 21:41:27 UTC (rev 11634)
+++ RMC/rmcommon/trunk/rmcommon/loader.php 2013-06-06 01:45:45 UTC (rev 11635)
@@ -12,7 +12,7 @@
define("RMCURL",XOOPS_URL.'/modules/rmcommon');
define('ABSURL', XOOPS_URL);
define('ABSPATH', XOOPS_ROOT_PATH);
-define('RMCVERSION','2.1.8.95 RC');
+define('RMCVERSION','2.1.9.0');
// Message Levels
define('RMMSG_INFO', 0);
Added: RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/imgmgr.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/imgmgr.css (rev 0)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/imgmgr.css 2013-06-06 01:45:45 UTC (rev 11635)
@@ -0,0 +1,124 @@
+a.delsize{
+ float: right;
+ font-weight: normal;
+ background: url(../images/delete.png) no-repeat left;
+ padding: 3px 3px 3px 19px;
+}
+td#sizes-container-all{
+ overflow: hidden;
+}
+td#sizes-container-all table.outer{
+ width: 435px;
+ float: left;
+}
+td#sizes-container-all table{
+ margin: 5px;
+}
+td#sizes-container-all div.new_container{
+ clear: both;
+ margin-top: 10px;
+ text-align: center;
+}
+td.sizes_data{
+ font-size: 0.9em;
+ color: #666;
+}
+td.sizes_data em{
+ font-style: normal;
+ color: #800000;
+}
+
+/** IMAGES **/
+div.select_image_cat{
+ padding: 4px;
+ border: 1px solid #CCC;
+ margin: 0 auto;
+ background: #ebebeb;
+ font-weight: bold;
+ text-align: center;
+ margin-bottom: 10px;
+}
+#upload-errors{
+ padding: 10px;
+ margin: 10px 0;
+ float: right;
+ width: 300px;
+}
+#upload-errors span.failed{
+ background: url(../images/error.png) no-repeat left;
+ padding: 5px 0 5px 19px;
+ color: #f00;
+ margin: 2px 0;
+ display: block;
+}
+#upload-errors span.done{
+ background: url(../images/done.png) no-repeat left;
+ padding: 5px 0 5px 19px;
+ margin: 2px 0;
+ display: block;
+}
+#resizer-bar{
+ text-align: center;
+ font-size: 0.9em;
+ color: #666;
+ display: none;
+}
+#resizer-bar span.message{
+ display: block;
+ float: left;
+ color: #008000;
+}
+#resizer-bar span.message span{
+ color: #F00;
+}
+#resizer-bar .thebar{
+ background: #999;
+ height: 16px;
+ border: 1px inset #666;
+ margin: 5px;
+ clear: both;
+}
+#resizer-bar .thebar .indicator{
+ background: #ff4400;
+ color: #FFF;
+ font-weight: bold;
+ height: 16px;
+ width: 0;
+ text-align: right;
+ position: relative;
+}
+div.donebutton{
+ display: none;
+ margin: 10px 0;
+}
+div#gen-thumbnails img{
+ width: 90px;
+ height: 70px;
+ margin: 4px;
+ padding: 1px;
+ border: 1px solid #666;
+}
+.even .description, .odd .description{
+ font-size: 0.9em;
+ display: block;
+ padding: 2px 0;
+ font-style: italic;
+ color: #666;
+}
+.rmc_pages_navigation_container{
+ float: right;
+}
+#image-loader{
+ display: none;
+ position: absolute;
+ padding: 10px;
+ background: #fff;
+ top: 50%;
+ left: 50%;
+ -moz-box-shadow: 0 0 20px #000;
+ -webkit-box-shadow: 0 0 20px #000;
+ box-shadow: 0 0 20px #000;
+}
+#upload-controls input{
+ float: none;
+}
\ No newline at end of file
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php 2013-06-05 21:41:27 UTC (rev 11634)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php 2013-06-06 01:45:45 UTC (rev 11635)
@@ -309,6 +309,7 @@
<?php foreach($rmc_messages as $message): ?>
<div class="container-fluid">
<div class="alert <?php echo $tp6Alerts[$message['level']]; ?>"<?php if($message['level']>4 && $message['icon']!=''): ?> style="background-image: url(<?php echo $message['icon']; ?>);"<?php endif; ?>>
+ <?php echo $message['level']==RMMSG_WARN ? '<h4>'.__('Warning!','rmcommon').'</h4>' : ''; ?>
<button type="button" class="close" data-dismiss="alert">×</button>
<?php echo html_entity_decode($message['text']); ?>
</div>
Modified: RMC/rmcommon/trunk/rmcommon/xoops_version.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/xoops_version.php 2013-06-05 21:41:27 UTC (rev 11634)
+++ RMC/rmcommon/trunk/rmcommon/xoops_version.php 2013-06-06 01:45:45 UTC (rev 11635)
@@ -34,7 +34,7 @@
$modversion['icon24'] = 'images/rmc24.png';
$modversion['icon48'] = 'images/icon48.png';
$modversion['rmnative'] = 1;
-$modversion['rmversion'] = array('major'=>2,'minor'=>1,'revision'=>89.5,'stage'=>-1,'name'=>'Common Utilities');
+$modversion['rmversion'] = array('major'=>2,'minor'=>1,'revision'=>90,'stage'=>0,'name'=>'Common Utilities');
$modversion['onUninstall'] = 'include/install.php';
$modversion['onInstall'] = 'include/install.php';
|
|
From: <bi...@us...> - 2013-06-07 04:35:46
|
Revision: 11637
http://sourceforge.net/p/xoops/svn/11637
Author: bitc3r0
Date: 2013-06-07 04:35:43 +0000 (Fri, 07 Jun 2013)
Log Message:
-----------
Fixed some minor issues with new GUI features.
Improving blocks manager by adding drag and drop.
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/ajax/blocks.php
RMC/rmcommon/trunk/rmcommon/blocks.php
RMC/rmcommon/trunk/rmcommon/css/blocks.css
RMC/rmcommon/trunk/rmcommon/images.php
RMC/rmcommon/trunk/rmcommon/include/js/blocks.js
RMC/rmcommon/trunk/rmcommon/index.php
RMC/rmcommon/trunk/rmcommon/menu.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_blocks.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_comments.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_dashboard.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php
RMC/rmcommon/trunk/rmcommon/xoops_version.php
Added Paths:
-----------
RMC/rmcommon/trunk/rmcommon/include/js/jquery.nestable.js
Removed Paths:
-------------
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/rmcommon/imgmgr.css
Modified: RMC/rmcommon/trunk/rmcommon/ajax/blocks.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/ajax/blocks.php 2013-06-07 04:30:16 UTC (rev 11636)
+++ RMC/rmcommon/trunk/rmcommon/ajax/blocks.php 2013-06-07 04:35:43 UTC (rev 11637)
@@ -92,6 +92,8 @@
$result = $db->query($sql);
if ($result)
list($canvas, $canvas_name) = $db->fetchRow($result);
+ else
+ $canvas = '';
}
$block->setReadGroups(array(0));
Modified: RMC/rmcommon/trunk/rmcommon/blocks.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/blocks.php 2013-06-07 04:30:16 UTC (rev 11636)
+++ RMC/rmcommon/trunk/rmcommon/blocks.php 2013-06-07 04:35:43 UTC (rev 11637)
@@ -95,12 +95,12 @@
while ($row = $db->fetchArray($result)) {
$mod = RMFunctions::load_module($row['element']);
if(!$mod) continue;
- $used_blocks[] = array(
- 'id' => $row['bid'],
+ $used_blocks[$row['canvas']][] = array(
+ 'id' => $row['bid'],
'title' => $row['name'],
- 'module' => array('id' => $mod->mid(), 'dir' => $mod->dirname(), 'name' => $mod->name()),
- 'canvas' => $bpos[$row['canvas']],
- 'weight' => $row['weight'],
+ 'module' => array('id' => $mod->mid(), 'dir' => $mod->dirname(), 'name' => $mod->name()),
+ 'canvas' => $bpos[$row['canvas']],
+ 'weight' => $row['weight'],
'visible'=>$row['visible'],
'active'=>$row['isactive'],
'type'=>$row['type'],
@@ -108,7 +108,7 @@
'description'=>$row['description']
);
}
-
+
// ** API **
// Event for manege the used widgets list
$used_blocks = RMEvents::get()->run_event('rmcommon.used.blocks.list', $used_blocks);
@@ -124,11 +124,9 @@
}
$positions = RMEvents::get()->run_event('rmcommon.block.positions.list', $positions);
-
- if(rmc_server_var($_REQUEST, 'pos', '')!=''){
- RMTemplate::get()->add_local_script('jquery.sort.js', 'rmcommon', 'include');
- }
+ RMTemplate::get()->add_local_script('jquery.nestable.js', 'rmcommon', 'include');
+
RMBreadCrumb::get()->add_crumb(__('Blocks Management','rmcommon'));
$rmTpl->assign('xoops_pagetitle', __('Blocks Management','rmcommon'));
@@ -150,8 +148,6 @@
var lang_positions = "'.__('Show Positions','rmcommon').'";
var lang_blocks = "'.__('Show Blocks','rmcommon').'";</script>');
- RMFunctions::create_toolbar();
-
xoops_cp_header();
// Available Widgets
Modified: RMC/rmcommon/trunk/rmcommon/css/blocks.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/css/blocks.css 2013-06-07 04:30:16 UTC (rev 11636)
+++ RMC/rmcommon/trunk/rmcommon/css/blocks.css 2013-06-07 04:35:43 UTC (rev 11637)
@@ -1,11 +1,120 @@
-.rmc_blocks_options{
- padding: 5px 0;
- overflow: hidden;
+.rmc-position-item{
+ width: 300px;
+ border: 1px solid #CCC;
+ border: 1px solid rgba(0,0,0,0.1);
+ border-radius: 2px;
+ -moz-border-radius: 2px;
+ -webkit-border-radius: 2px;
+ display: inline-block;
+ vertical-align: text-top;
+ padding: 1px;
+ background-color: #fafafa;
}
-.rmc_blocks_options input,
-.rmc_blocks_options select{
- margin: 3px 0 0 0;
+.rmc-position-item h3{
+ margin: 0;
+ padding: 5px;
+ font-size: 1.1em;
+ color: #333;
+ color: rgba(0,0,0,0.5);
+ border-radius: 2px 2px 0 0;
+ -moz-border-radius: 2px 2px 0 0;
+ -webkit-border-radius: 2px 2px 0 0;
+ border-bottom: 1px solid rgba(0,0,0,0.1);
+ text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
+ background-color: #ebebeb;
+ background-color: rgba(0,0,0,0.05);
}
+.rmc-position-item ol{
+ list-style: none;
+ padding: 5px;
+ margin: 0;
+}
+.rmc-position-item ol li{
+ border: 1px solid #ddd;
+ border-radius: 2px;
+ -moz-border-radius: 2px;
+ -webkit-border-radius: 2px;
+ margin: 0 0 6px 0;
+ background-color: #fff;
+}
+.rmc-position-item ol li > .dd-handle > a{
+ display: inline-block;
+ line-height: 30px;
+ padding: 0 7px;
+ border-left: 1px solid #ddd;
+ box-shadow: inset 1px 1px 1px rgba(255,255,255,0.5);
+}
+.rmc-position-item ol li > .dd-handle > a:last-child{
+ border-radius: 0 0 0 2px;
+}
+.rmc-position-item ol li > .dd-handle > a:hover{
+ background-color: rgba(255,255,255,0.5);
+ text-decoration: none;
+}
+.rmc-position-item ol li > .dd-handle{
+ border-bottom: 1px solid #ddd;
+ box-shadow: 0 1px 1px rgba(255,255,255,0.5);
+ border-radius: 2px 2px 0 0;
+ background: #ffffff; /* Old browsers */
+ background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* IE10+ */
+ background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C */
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
+}
+.rmc-position-item ol li > .dd-handle > strong{
+ line-height: 30px;
+ display: inline-block;
+ padding: 0 5px;
+ max-width: 190px;
+ text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
+ font-size: 1.1em;
+ cursor: move;
+}
+.rmc-position-item ol li > .block-data{
+ line-height: 18px;
+ text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
+ padding: 5px;
+}
+.rmc-position-item ol li > .block-data > p{
+ font-size: 12px;
+ color: #666;
+ margin: 0;
+}
+.rmc-position-item ol li i{
+ font-size: 14px;
+}
+
+#bks-and-pos{
+ display: none;
+}
+
+/* NESTABLE */
+.dd-item,
+.dd-empty,
+.dd-placeholder { display: block; position: relative; margin: 0; padding: 0; min-height: 20px; font-size: 13px; line-height: 20px; }
+.dd-list { display: block; position: relative; margin: 0; padding: 0; list-style: none; }
+.dd-placeholder,
+.dd-empty {
+ margin: 5px 0;
+ padding: 0;
+ min-height: 30px;
+ background: #f2fbff;
+ border: 1px dashed #b6bcbf;
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ text-align: center;
+}
+
+.dd-dragel { position: absolute; pointer-events: none; z-index: 9999; }
+.dd-dragel > .dd-item .dd-handle { margin-top: 0; }
+.dd-dragel .dd-handle {
+ -webkit-box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
+ box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
+}
+
.disabled{
font-style: italic;
background: url(../images/modbk.png) no-repeat left;
Modified: RMC/rmcommon/trunk/rmcommon/images.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images.php 2013-06-07 04:30:16 UTC (rev 11636)
+++ RMC/rmcommon/trunk/rmcommon/images.php 2013-06-07 04:35:43 UTC (rev 11637)
@@ -307,9 +307,9 @@
RMFunctions::create_toolbar();
RMBreadCrumb::get()->add_crumb(__('Images Manager','rmcommon'),'images.php');
- RMBreadCrumb::get()->add_crumb(__('Add Category','rmcommon'));
+ RMBreadCrumb::get()->add_crumb($edit ? __('Edit Category','rmcommon') : __('Add Category','rmcommon'));
- $rmTpl->assign('xoops_pagetitle', __('Images Manager: Add category','rmcommon'));
+ $rmTpl->assign('xoops_pagetitle', sprintf(__('Images Manager: %s','rmcommon'), $edit ? __('Edit Category','rmcommon') : __('Add category','rmcommon')));
xoops_cp_header();
Modified: RMC/rmcommon/trunk/rmcommon/include/js/blocks.js
===================================================================
--- RMC/rmcommon/trunk/rmcommon/include/js/blocks.js 2013-06-07 04:30:16 UTC (rev 11636)
+++ RMC/rmcommon/trunk/rmcommon/include/js/blocks.js 2013-06-07 04:35:43 UTC (rev 11637)
@@ -176,17 +176,27 @@
jkmegamenu.definemenu("newban", "megamenu1", "click")
$("#newpos").click(function(){
- $("#form-pos").toggle('slow', function(){
- if($(this).is(":visible")){
- $("#form-pos").effect('highlight', {}, 1000);
+
+ if($("#bks-and-pos").is(":visible")){
+
+ $("#bks-and-pos").fadeOut('fast', function(){
+
+ $("#blocks-list").fadeIn('fast');
+ $("#newpos").html(lang_positions);
+
+ });
+
+ } else {
+
+ $("#blocks-list").fadeOut('fast', function(){
+
+ $("#bks-and-pos").fadeIn('fast');
$("#newpos").html(lang_blocks);
- } else {
- $("#newpos").html(lang_positions);
- }
- });
- $("#blocks-positions").slideToggle(500);
- $("#blocks-list").slideToggle(500);
- $("#blocks-modpos").fadeToggle(500);
+
+ });
+
+ }
+
return false;
});
@@ -213,7 +223,7 @@
}
$.post('ajax/blocks.php', params, function(data){
-
+
$("#wait-buttons").fadeOut('slow');
if(data.error){
@@ -271,8 +281,9 @@
});
- $("a.bk_edit").click(function(){
- var id = $(this).attr("id").replace("edit-",'');
+ $("li.dd-item .dd-handle a").click(function(){
+
+ alert($(this).data("block")); return;
blocksAjax.loadForm(id,'');
return false;
@@ -393,89 +404,7 @@
});
});
-
- $("a.sort_blocks").click(function(){
-
- $("#bks-and-pos").fadeOut('fast', function(){
- $("#bk-sorts").fadeIn('fast');
- });
-
- });
-
- if($("#bk-sorts").length>0){
-
- $("ol.bk-sort").nestedSortable({
- disableNesting: 'no-nest',
- forcePlaceholderSize: true,
- handle: 'div',
- helper: 'clone',
- items: 'li',
- maxLevels: 1,
- opacity: .6,
- placeholder: 'placeholder',
- revert: 250,
- tabSize: 25,
- tolerance: 'pointer',
- toleranceElement: '> div',
- axis: 'y'
- });
-
- $("a.cancel-order").click(function(){
-
- $("#bk-sorts").fadeOut('fast', function(){
- $("#bks-and-pos").fadeIn('fast');
- });
-
- })
-
- $("a.save-order").click(function(){
-
- s = $("ol.bk-sort").nestedSortable('serialize');
- $(".bk_waiting").fadeIn('fast');
-
- params = {
- XOOPS_TOKEN_REQUEST: $("#XOOPS_TOKEN_REQUEST").val(),
- action: 'save_orders',
- items: s
- };
-
-
- $.post("ajax/blocks.php", params, function(data){
-
- if(data.error){
- $("#bk-messages").removeClass("infoMsg");
- $("#bk-messages .msg").html(data.message);
- $("#bk-messages").addClass("errorMsg");
- $("#bk-messages").slideDown('slow');
- if(data.token==null || data.token==''){
- window.location.href = 'blocks.php';
- } else {
- $("#XOOPS_TOKEN_REQUEST").val(data.token)
- }
- return false;
- }
-
- if(data.message!=null && data.message!=''){
- $("#bk-messages").removeClass("errorMsg");
- $("#bk-messages .msg").html(data.message);
- $("#bk-messages").addClass("infoMsg");
- $("#bk-messages").slideDown('slow');
- }
- if(data.token==null || data.token==''){
- window.location.href = 'blocks.php';
- } else {
- $("#XOOPS_TOKEN_REQUEST").val(data.token);
- }
-
- window.location.href = 'blocks.php?mid='+$("select[name='mid']").val()+"&pos="+$("select[name='pos']").val()+'&visible='+$("select[name='visible']").val();
-
- }, 'json');
-
- });
-
- }
-
});
function before_submit(id){
Added: RMC/rmcommon/trunk/rmcommon/include/js/jquery.nestable.js
===================================================================
--- RMC/rmcommon/trunk/rmcommon/include/js/jquery.nestable.js (rev 0)
+++ RMC/rmcommon/trunk/rmcommon/include/js/jquery.nestable.js 2013-06-07 04:35:43 UTC (rev 11637)
@@ -0,0 +1,485 @@
+/*!
+ * Nestable jQuery Plugin - Copyright (c) 2012 David Bushell - http://dbushell.com/
+ * Dual-licensed under the BSD or MIT licenses
+ */
+;(function($, window, document, undefined)
+{
+ var hasTouch = 'ontouchstart' in window;
+
+ /**
+ * Detect CSS pointer-events property
+ * events are normally disabled on the dragging element to avoid conflicts
+ * https://github.com/ausi/Feature-detection-technique-for-pointer-events/blob/master/modernizr-pointerevents.js
+ */
+ var hasPointerEvents = (function()
+ {
+ var el = document.createElement('div'),
+ docEl = document.documentElement;
+ if (!('pointerEvents' in el.style)) {
+ return false;
+ }
+ el.style.pointerEvents = 'auto';
+ el.style.pointerEvents = 'x';
+ docEl.appendChild(el);
+ var supports = window.getComputedStyle && window.getComputedStyle(el, '').pointerEvents === 'auto';
+ docEl.removeChild(el);
+ return !!supports;
+ })();
+
+ var eStart = hasTouch ? 'touchstart' : 'mousedown',
+ eMove = hasTouch ? 'touchmove' : 'mousemove',
+ eEnd = hasTouch ? 'touchend' : 'mouseup';
+ eCancel = hasTouch ? 'touchcancel' : 'mouseup';
+
+ var defaults = {
+ listNodeName : 'ol',
+ itemNodeName : 'li',
+ rootClass : 'dd',
+ listClass : 'dd-list',
+ itemClass : 'dd-item',
+ dragClass : 'dd-dragel',
+ handleClass : 'dd-handle',
+ collapsedClass : 'dd-collapsed',
+ placeClass : 'dd-placeholder',
+ noDragClass : 'dd-nodrag',
+ emptyClass : 'dd-empty',
+ expandBtnHTML : '<button data-action="expand" type="button">Expand</button>',
+ collapseBtnHTML : '<button data-action="collapse" type="button">Collapse</button>',
+ group : 0,
+ maxDepth : 5,
+ threshold : 20
+ };
+
+ function Plugin(element, options)
+ {
+ this.w = $(window);
+ this.el = $(element);
+ this.options = $.extend({}, defaults, options);
+ this.init();
+ }
+
+ Plugin.prototype = {
+
+ init: function()
+ {
+ var list = this;
+
+ list.reset();
+
+ list.el.data('nestable-group', this.options.group);
+
+ list.placeEl = $('<div class="' + list.options.placeClass + '"/>');
+
+ $.each(this.el.find(list.options.itemNodeName), function(k, el) {
+ list.setParent($(el));
+ });
+
+ list.el.on('click', 'button', function(e) {
+ if (list.dragEl || (!hasTouch && e.button !== 0)) {
+ return;
+ }
+ var target = $(e.currentTarget),
+ action = target.data('action'),
+ item = target.parent(list.options.itemNodeName);
+ if (action === 'collapse') {
+ list.collapseItem(item);
+ }
+ if (action === 'expand') {
+ list.expandItem(item);
+ }
+ });
+
+ var onStartEvent = function(e)
+ {
+ var handle = $(e.target);
+ if (!handle.hasClass(list.options.handleClass)) {
+ if (handle.closest('.' + list.options.noDragClass).length) {
+ return;
+ }
+ handle = handle.closest('.' + list.options.handleClass);
+ }
+ if (!handle.length || list.dragEl || (!hasTouch && e.button !== 0) || (hasTouch && e.touches.length !== 1)) {
+ return;
+ }
+ e.preventDefault();
+ list.dragStart(hasTouch ? e.touches[0] : e);
+ };
+
+ var onMoveEvent = function(e)
+ {
+ if (list.dragEl) {
+ e.preventDefault();
+ list.dragMove(hasTouch ? e.touches[0] : e);
+ }
+ };
+
+ var onEndEvent = function(e)
+ {
+ if (list.dragEl) {
+ e.preventDefault();
+ list.dragStop(hasTouch ? e.touches[0] : e);
+ }
+ };
+
+ if (hasTouch) {
+ list.el[0].addEventListener(eStart, onStartEvent, false);
+ window.addEventListener(eMove, onMoveEvent, false);
+ window.addEventListener(eEnd, onEndEvent, false);
+ window.addEventListener(eCancel, onEndEvent, false);
+ } else {
+ list.el.on(eStart, onStartEvent);
+ list.w.on(eMove, onMoveEvent);
+ list.w.on(eEnd, onEndEvent);
+ }
+
+ },
+
+ serialize: function()
+ {
+ var data,
+ depth = 0,
+ list = this;
+ step = function(level, depth)
+ {
+ var array = [ ],
+ items = level.children(list.options.itemNodeName);
+ items.each(function()
+ {
+ var li = $(this),
+ item = $.extend({}, li.data()),
+ sub = li.children(list.options.listNodeName);
+ if (sub.length) {
+ item.children = step(sub, depth + 1);
+ }
+ array.push(item);
+ });
+ return array;
+ };
+ data = step(list.el.find(list.options.listNodeName).first(), depth);
+ return data;
+ },
+
+ serialise: function()
+ {
+ return this.serialize();
+ },
+
+ reset: function()
+ {
+ this.mouse = {
+ offsetX : 0,
+ offsetY : 0,
+ startX : 0,
+ startY : 0,
+ lastX : 0,
+ lastY : 0,
+ nowX : 0,
+ nowY : 0,
+ distX : 0,
+ distY : 0,
+ dirAx : 0,
+ dirX : 0,
+ dirY : 0,
+ lastDirX : 0,
+ lastDirY : 0,
+ distAxX : 0,
+ distAxY : 0
+ };
+ this.moving = false;
+ this.dragEl = null;
+ this.dragRootEl = null;
+ this.dragDepth = 0;
+ this.hasNewRoot = false;
+ this.pointEl = null;
+ },
+
+ expandItem: function(li)
+ {
+ li.removeClass(this.options.collapsedClass);
+ li.children('[data-action="expand"]').hide();
+ li.children('[data-action="collapse"]').show();
+ li.children(this.options.listNodeName).show();
+ },
+
+ collapseItem: function(li)
+ {
+ var lists = li.children(this.options.listNodeName);
+ if (lists.length) {
+ li.addClass(this.options.collapsedClass);
+ li.children('[data-action="collapse"]').hide();
+ li.children('[data-action="expand"]').show();
+ li.children(this.options.listNodeName).hide();
+ }
+ },
+
+ expandAll: function()
+ {
+ var list = this;
+ list.el.find(list.options.itemNodeName).each(function() {
+ list.expandItem($(this));
+ });
+ },
+
+ collapseAll: function()
+ {
+ var list = this;
+ list.el.find(list.options.itemNodeName).each(function() {
+ list.collapseItem($(this));
+ });
+ },
+
+ setParent: function(li)
+ {
+ if (li.children(this.options.listNodeName).length) {
+ li.prepend($(this.options.expandBtnHTML));
+ li.prepend($(this.options.collapseBtnHTML));
+ }
+ li.children('[data-action="expand"]').hide();
+ },
+
+ unsetParent: function(li)
+ {
+ li.removeClass(this.options.collapsedClass);
+ li.children('[data-action]').remove();
+ li.children(this.options.listNodeName).remove();
+ },
+
+ dragStart: function(e)
+ {
+ var mouse = this.mouse,
+ target = $(e.target),
+ dragItem = target.closest(this.options.itemNodeName);
+
+ this.placeEl.css('height', dragItem.height());
+
+ mouse.offsetX = e.offsetX !== undefined ? e.offsetX : e.pageX - target.offset().left;
+ mouse.offsetY = e.offsetY !== undefined ? e.offsetY : e.pageY - target.offset().top;
+ mouse.startX = mouse.lastX = e.pageX;
+ mouse.startY = mouse.lastY = e.pageY;
+
+ this.dragRootEl = this.el;
+
+ this.dragEl = $(document.createElement(this.options.listNodeName)).addClass(this.options.listClass + ' ' + this.options.dragClass);
+ this.dragEl.css('width', dragItem.width());
+
+ // fix for zepto.js
+ //dragItem.after(this.placeEl).detach().appendTo(this.dragEl);
+ dragItem.after(this.placeEl);
+ dragItem[0].parentNode.removeChild(dragItem[0]);
+ dragItem.appendTo(this.dragEl);
+
+ $(document.body).append(this.dragEl);
+ this.dragEl.css({
+ 'left' : e.pageX - mouse.offsetX,
+ 'top' : e.pageY - mouse.offsetY
+ });
+ // total depth of dragging item
+ var i, depth,
+ items = this.dragEl.find(this.options.itemNodeName);
+ for (i = 0; i < items.length; i++) {
+ depth = $(items[i]).parents(this.options.listNodeName).length;
+ if (depth > this.dragDepth) {
+ this.dragDepth = depth;
+ }
+ }
+ },
+
+ dragStop: function(e)
+ {
+ // fix for zepto.js
+ //this.placeEl.replaceWith(this.dragEl.children(this.options.itemNodeName + ':first').detach());
+ var el = this.dragEl.children(this.options.itemNodeName).first();
+ el[0].parentNode.removeChild(el[0]);
+ this.placeEl.replaceWith(el);
+
+ this.dragEl.remove();
+ this.el.trigger('change');
+ if (this.hasNewRoot) {
+ this.dragRootEl.trigger('change');
+ }
+ this.reset();
+ },
+
+ dragMove: function(e)
+ {
+ var list, parent, prev, next, depth,
+ opt = this.options,
+ mouse = this.mouse;
+
+ this.dragEl.css({
+ 'left' : e.pageX - mouse.offsetX,
+ 'top' : e.pageY - mouse.offsetY
+ });
+
+ // mouse position last events
+ mouse.lastX = mouse.nowX;
+ mouse.lastY = mouse.nowY;
+ // mouse position this events
+ mouse.nowX = e.pageX;
+ mouse.nowY = e.pageY;
+ // distance mouse moved between events
+ mouse.distX = mouse.nowX - mouse.lastX;
+ mouse.distY = mouse.nowY - mouse.lastY;
+ // direction mouse was moving
+ mouse.lastDirX = mouse.dirX;
+ mouse.lastDirY = mouse.dirY;
+ // direction mouse is now moving (on both axis)
+ mouse.dirX = mouse.distX === 0 ? 0 : mouse.distX > 0 ? 1 : -1;
+ mouse.dirY = mouse.distY === 0 ? 0 : mouse.distY > 0 ? 1 : -1;
+ // axis mouse is now moving on
+ var newAx = Math.abs(mouse.distX) > Math.abs(mouse.distY) ? 1 : 0;
+
+ // do nothing on first move
+ if (!mouse.moving) {
+ mouse.dirAx = newAx;
+ mouse.moving = true;
+ return;
+ }
+
+ // calc distance moved on this axis (and direction)
+ if (mouse.dirAx !== newAx) {
+ mouse.distAxX = 0;
+ mouse.distAxY = 0;
+ } else {
+ mouse.distAxX += Math.abs(mouse.distX);
+ if (mouse.dirX !== 0 && mouse.dirX !== mouse.lastDirX) {
+ mouse.distAxX = 0;
+ }
+ mouse.distAxY += Math.abs(mouse.distY);
+ if (mouse.dirY !== 0 && mouse.dirY !== mouse.lastDirY) {
+ mouse.distAxY = 0;
+ }
+ }
+ mouse.dirAx = newAx;
+
+ /**
+ * move horizontal
+ */
+ if (mouse.dirAx && mouse.distAxX >= opt.threshold) {
+ // reset move distance on x-axis for new phase
+ mouse.distAxX = 0;
+ prev = this.placeEl.prev(opt.itemNodeName);
+ // increase horizontal level if previous sibling exists and is not collapsed
+ if (mouse.distX > 0 && prev.length && !prev.hasClass(opt.collapsedClass)) {
+ // cannot increase level when item above is collapsed
+ list = prev.find(opt.listNodeName).last();
+ // check if depth limit has reached
+ depth = this.placeEl.parents(opt.listNodeName).length;
+ if (depth + this.dragDepth <= opt.maxDepth) {
+ // create new sub-level if one doesn't exist
+ if (!list.length) {
+ list = $('<' + opt.listNodeName + '/>').addClass(opt.listClass);
+ list.append(this.placeEl);
+ prev.append(list);
+ this.setParent(prev);
+ } else {
+ // else append to next level up
+ list = prev.children(opt.listNodeName).last();
+ list.append(this.placeEl);
+ }
+ }
+ }
+ // decrease horizontal level
+ if (mouse.distX < 0) {
+ // we can't decrease a level if an item preceeds the current one
+ next = this.placeEl.next(opt.itemNodeName);
+ if (!next.length) {
+ parent = this.placeEl.parent();
+ this.placeEl.closest(opt.itemNodeName).after(this.placeEl);
+ if (!parent.children().length) {
+ this.unsetParent(parent.parent());
+ }
+ }
+ }
+ }
+
+ var isEmpty = false;
+
+ // find list item under cursor
+ if (!hasPointerEvents) {
+ this.dragEl[0].style.visibility = 'hidden';
+ }
+ this.pointEl = $(document.elementFromPoint(e.pageX - document.body.scrollLeft, e.pageY - (window.pageYOffset || document.documentElement.scrollTop)));
+ if (!hasPointerEvents) {
+ this.dragEl[0].style.visibility = 'visible';
+ }
+ if (this.pointEl.hasClass(opt.handleClass)) {
+ this.pointEl = this.pointEl.parent(opt.itemNodeName);
+ }
+ if (this.pointEl.hasClass(opt.emptyClass)) {
+ isEmpty = true;
+ }
+ else if (!this.pointEl.length || !this.pointEl.hasClass(opt.itemClass)) {
+ return;
+ }
+
+ // find parent list of item under cursor
+ var pointElRoot = this.pointEl.closest('.' + opt.rootClass),
+ isNewRoot = this.dragRootEl.data('nestable-id') !== pointElRoot.data('nestable-id');
+
+ /**
+ * move vertical
+ */
+ if (!mouse.dirAx || isNewRoot || isEmpty) {
+ // check if groups match if dragging over new root
+ if (isNewRoot && opt.group !== pointElRoot.data('nestable-group')) {
+ return;
+ ...
[truncated message content] |
|
From: <bi...@us...> - 2013-06-08 05:58:34
|
Revision: 11639
http://sourceforge.net/p/xoops/svn/11639
Author: bitc3r0
Date: 2013-06-08 05:58:31 +0000 (Sat, 08 Jun 2013)
Log Message:
-----------
Finished save blocks positions for the new block manager with drag and drop features.
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/ajax/blocks.php
RMC/rmcommon/trunk/rmcommon/blocks.php
RMC/rmcommon/trunk/rmcommon/class/blockposition.php
RMC/rmcommon/trunk/rmcommon/css/blocks.css
RMC/rmcommon/trunk/rmcommon/include/js/blocks.js
RMC/rmcommon/trunk/rmcommon/templates/rmc_blocks.php
Added Paths:
-----------
RMC/rmcommon/trunk/rmcommon/images/ok.png
Modified: RMC/rmcommon/trunk/rmcommon/ajax/blocks.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/ajax/blocks.php 2013-06-08 05:57:03 UTC (rev 11638)
+++ RMC/rmcommon/trunk/rmcommon/ajax/blocks.php 2013-06-08 05:58:31 UTC (rev 11639)
@@ -14,15 +14,17 @@
error_reporting(0);
$xoopsLogger->activated = false;
-function response($data, $error=0, $token=0){
+function response($message, $data = array(), $error=0, $token=0){
global $xoopsSecurity;
-
- if($token)
- $data = array_merge($data, array('token'=>$xoopsSecurity->createToken()));
-
- $data = array_merge($data, array('error'=>$error));
-
- echo json_encode($data);
+
+ $response = array(
+ 'message' => $message,
+ 'data' => $data,
+ 'error' => $error,
+ 'token' => $token==1 ? $xoopsSecurity->createToken() : '',
+ );
+
+ echo json_encode($response);
die();
}
@@ -292,34 +294,46 @@
*/
function save_block_order(){
global $xoopsSecurity;
-
- if(!$xoopsSecurity->check())
- response(array('message'=>__('Session token expired!','rmcommon')), 1, 0);
-
- parse_str(rmc_server_var($_POST, 'items', ''));
-
- if(!isset($item))
- response(array('message'=>__('No items has been specified!','rmcommon')), 1, 1);
-
+
+ $blocks = rmc_server_var($_POST, 'blocks', '');
+ $pos_id = rmc_server_var($_POST, 'position', '');
+
+ if(!$xoopsSecurity->check(false, false))
+ response(__('Blocks order could not be saved!','rmcommon'), array('error' => __('Session token expired!','rmcommon')), 1, 0);
+
+ if($pos_id<=0)
+ response(__('Position not specified!','rmcommon'), array('error' => ''), 1, 0);
+
+ $blocks = json_decode($blocks, true);
+
+ if(empty($blocks))
+ response('', array('position' => $pos_id), 0, 0);
+
$db = XoopsDatabaseFactory::getDatabaseConnection();
-
- $i = 0;
- foreach($item as $id => $v){
- $sql = "UPDATE ".$db->prefix("rmc_blocks")." SET weight=$i WHERE bid=$id";
- $db->queryF($sql);
- $i++;
+ $ids = array();
+ $sql = "UPDATE ".$db->prefix("rmc_blocks")." SET canvas = $pos_id, weight = CASE bid\n";
+ foreach($blocks as $i => $block){
+ $sql .= "WHEN $block[id] THEN $i\n";
+ $ids[] = $block['id'];
}
-
- showMessage(__('Blocks order saved successfully!','rmcommon'), 0);
-
- response(array(
- 'message' => __('Changes saved successfully!','rmcommon')
- ), 0, 1);
-
+ $sql .= "END\n WHERE bid IN (".implode(",",$ids).");";
+
+ if($db->queryF($sql))
+ response(__('Blocks order saved successfully!','rmcommon'), array('position'=>$pos_id), 0, 0);
+ else
+ response(
+ __('Blocks order could ot be saved!','rmcommon'),
+ array(
+ 'position' => $pos_id,
+ 'error' => $db->error()
+ ),
+ 1, 0
+ );
+
}
-$action = rmc_server_var($_REQUEST, 'action', '');
+$action = rmc_server_var($_POST, 'action', '');
switch($action){
case 'insert':
@@ -334,7 +348,7 @@
case 'savepos':
save_block_position();
break;
- case 'save_orders':
+ case 'save-orders':
save_block_order();
break;
}
\ No newline at end of file
Modified: RMC/rmcommon/trunk/rmcommon/blocks.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/blocks.php 2013-06-08 05:57:03 UTC (rev 11638)
+++ RMC/rmcommon/trunk/rmcommon/blocks.php 2013-06-08 05:58:31 UTC (rev 11639)
@@ -72,6 +72,8 @@
$db = XoopsDatabaseFactory::getDatabaseConnection();
$modules = RMFunctions::get_modules_list(1);
+
+ $from = rmc_server_var($_GET, 'from', '');
// ** API Event **
// Allows other methods to add o modify the list of available widgets
@@ -194,10 +196,13 @@
$name = rmc_server_var($_POST, 'posname', '');
$tag = rmc_server_var($_POST, 'postag', '');
- if($name=='' || $tag==''){
- redirectMsg(__('Please provide a name and tag for this new position!','rmcommon'));
+ if($name==''){
+ redirectMsg('blocks.php', __('Please provide a name and tag for this new position!','rmcommon'), RMMSG_ERROR);
die();
}
+
+ if($tag=='')
+ $tag = str_replace("-", "_", TextCleaner::getInstance()->sweetstring($name));
if($edit){
@@ -300,7 +305,7 @@
function delete_positions(){
global $xoopsSecurity;
-
+
if (!$xoopsSecurity->check()){
redirectMsg('blocks.php?from=positions', __('You are not allowed to do this action!','rmcommon'), 1);
die();
@@ -313,14 +318,14 @@
die();
}
- $error = '';
+ $errors = '';
foreach ($ids as $id){
$pos = new RMBlockPosition($id);
$pos = RMEvents::get()->run_event('rmcommon.deleting.block.position',$pos);
- if (!$pos->delete()) $error .= $pos->errors();
+ if (!$pos->delete()) $errors .= $pos->errors();
}
-
+
if ($errors!=''){
redirectMsg('blocks.php?from=positions', __('There was some errors:','rmcommon').'<br />'.$error, 1);
} else {
Modified: RMC/rmcommon/trunk/rmcommon/class/blockposition.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/blockposition.php 2013-06-08 05:57:03 UTC (rev 11638)
+++ RMC/rmcommon/trunk/rmcommon/class/blockposition.php 2013-06-08 05:58:31 UTC (rev 11639)
@@ -62,19 +62,30 @@
while($row = $this->db->fetchArray($result)){
$ids[] = $row['bid'];
}
-
- if (!$this->db->queryF("DELETE FROM ".$this->db->prefix("rmc_bkmod")." WHERE bid IN(". implode(',', $ids) .")")){
- $this->addError($this->db->error());
- return false;
+
+ // If there exists blocks assigned to positions
+ // then delete them
+ if(!empty($ids)){
+
+ // Delete associations
+ if (!$this->db->queryF("DELETE FROM ".$this->db->prefix("rmc_bkmod")." WHERE bid IN(". implode(',', $ids) .")")){
+ $this->addError($this->db->error());
+ return false;
+ }
+
+ // Delete permissions
+ if (!$this->db->queryF("DELETE FROM ".$this->db->prefix("group_permission")." WHERE gperm_itemid IN (".implode(',',$ids).") AND gperm_name='block_read'")){
+ $this->addError($this->db->error());
+ return false;
+ }
+
+ // Delete blocks
+ if (!$this->db->queryF("DELETE FROM ".$this->db->prefix("rmc_blocks")." WHERE bid IN (".implode(',',$ids).")")){
+ $this->addError($this->db->error());
+ return false;
+ }
+
}
- if (!$this->db->queryF("DELETE FROM ".$this->db->prefix("group_permission")." WHERE gperm_itemid IN (".implode(',',$ids).") AND gperm_name='block_read'")){
- $this->addError($this->db->error());
- return false;
- }
- if (!$this->db->queryF("DELETE FROM ".$this->db->prefix("rmc_blocks")." WHERE bid IN (".implode(',',$ids).")")){
- $this->addError($this->db->error());
- return false;
- }
return $this->deleteFromTable();
Modified: RMC/rmcommon/trunk/rmcommon/css/blocks.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/css/blocks.css 2013-06-08 05:57:03 UTC (rev 11638)
+++ RMC/rmcommon/trunk/rmcommon/css/blocks.css 2013-06-08 05:58:31 UTC (rev 11639)
@@ -24,6 +24,11 @@
background-color: #ebebeb;
background-color: rgba(0,0,0,0.05);
}
+.rmc-position-item h3 > img{
+ float: right;
+ margin-top: 5px;
+ display: none;
+}
.rmc-position-item ol{
list-style: none;
padding: 5px;
@@ -37,21 +42,21 @@
margin: 0 0 6px 0;
background-color: #fff;
}
-.rmc-position-item ol li > .dd-handle > a{
+.rmc-position-item ol li > .row-fluid > a{
display: inline-block;
line-height: 30px;
padding: 0 7px;
border-left: 1px solid #ddd;
box-shadow: inset 1px 1px 1px rgba(255,255,255,0.5);
}
-.rmc-position-item ol li > .dd-handle > a:last-child{
+.rmc-position-item ol li > .row-fluid > a:last-child{
border-radius: 0 0 0 2px;
}
-.rmc-position-item ol li > .dd-handle > a:hover{
+.rmc-position-item ol li > .row-fluid > a:hover{
background-color: rgba(255,255,255,0.5);
text-decoration: none;
}
-.rmc-position-item ol li > .dd-handle{
+.rmc-position-item ol li > .item-controls{
border-bottom: 1px solid #ddd;
box-shadow: 0 1px 1px rgba(255,255,255,0.5);
border-radius: 2px 2px 0 0;
@@ -64,11 +69,11 @@
background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}
-.rmc-position-item ol li > .dd-handle > strong{
+.rmc-position-item ol li .dd-handle{
line-height: 30px;
display: inline-block;
padding: 0 5px;
- max-width: 190px;
+ width: 190px;
text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
font-size: 1.1em;
cursor: move;
@@ -87,10 +92,6 @@
font-size: 14px;
}
-#bks-and-pos{
- display: none;
-}
-
/* NESTABLE */
.dd-item,
.dd-empty,
@@ -124,51 +125,13 @@
display: block;
font-family: monospace;
}
-.bkbk_forms{
- overflow: hidden;
- width: 320px;
+
+.hidden-control{
display: none;
- float: left;
- margin: 0 10px 0 0;
- border-radius: 5px;
- -moz-border-radius: 5px;
}
-.bkbk_forms label{
- font-weight: bold;
+.visible-control{
display: block;
- margin: 0 0 3px 0;
}
-.bkbk_forms input[type='text'],
-.bkbk_forms select{
- width: 95%;
- margin: 0 0 10px 0;
-}
-.bkbk_forms .desc{
- font-size: 0.9em;
- color: #666;
- display: block;
- margin: -8px 0 10px 0;
-}
-.bkbk_forms .other_options{
- display: block;
- margin: 10px 0;
-}
-#existing-positions{
- display: none;
- padding: 10px;
- font-size: 0.9em;
- line-height: 140%;
-}
-#existing-positions span{
- display: block;
- overflow: hidden;
- border-bottom: 1px dotted #CCC;
- padding: 3px 0;
-}
-#existing-positions span a{
- display: block;
- float: right;
-}
/** Menus **/
.megamenu{
Added: RMC/rmcommon/trunk/rmcommon/images/ok.png
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/images/ok.png
===================================================================
--- RMC/rmcommon/trunk/rmcommon/images/ok.png 2013-06-08 05:57:03 UTC (rev 11638)
+++ RMC/rmcommon/trunk/rmcommon/images/ok.png 2013-06-08 05:58:31 UTC (rev 11639)
Property changes on: RMC/rmcommon/trunk/rmcommon/images/ok.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: RMC/rmcommon/trunk/rmcommon/include/js/blocks.js
===================================================================
--- RMC/rmcommon/trunk/rmcommon/include/js/blocks.js 2013-06-08 05:57:03 UTC (rev 11638)
+++ RMC/rmcommon/trunk/rmcommon/include/js/blocks.js 2013-06-08 05:58:31 UTC (rev 11639)
@@ -163,6 +163,57 @@
}, 'json');
+ },
+
+ saveOrder: function(e){
+
+ var list = e.length ? e : $(e.target);
+
+ var params = {
+ position: list.data("pos"),
+ blocks: window.JSON.stringify(list.nestable('serialize')),
+ action: 'save-orders',
+ XOOPS_TOKEN_REQUEST: $("#token-positions").val()
+ };
+
+ $.post('ajax/blocks.php', params, function(data){
+
+ if(data.error == 1){
+ blocksAjax.addMessage(data.message + '<br>' + data.data.error, 'alert-error');
+ if(data.token!='')
+ $("#token-"+data.data.position).val(data.token);
+ return;
+ }
+
+ if(data.message != ''){
+ // Position changes applied
+ $("#position-"+data.data.position+" h3 > img").fadeIn('fast', function(){
+
+ var idstr = "#position-"+data.data.position+" h3 > img";
+ setTimeout(function(){
+ $(idstr).fadeOut('fast')
+ }, 1000);
+
+ });
+ }
+
+ // Update token
+ if(data.token!='')
+ $("#token-"+data.data.position).val(data.token);
+
+ }, 'json');
+
+ },
+
+ addMessage: function(message, type){
+
+ var html = '<div class="row-fluid">';
+ html += '<div class="alert '+type+'">';
+ html += '<button type="button" class="close" data-dismiss="alert">×</button>';
+ html += message+'</div></div>';
+
+ $("#bk-messages").append(html);
+
}
}
@@ -281,9 +332,9 @@
});
- $("li.dd-item .dd-handle a").click(function(){
+ $("li.dd-item .item-controls a").click(function(){
- alert($(this).data("block")); return;
+ alert($(this).data("action")); return;
blocksAjax.loadForm(id,'');
return false;
Modified: RMC/rmcommon/trunk/rmcommon/templates/rmc_blocks.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/templates/rmc_blocks.php 2013-06-08 05:57:03 UTC (rev 11638)
+++ RMC/rmcommon/trunk/rmcommon/templates/rmc_blocks.php 2013-06-08 05:58:31 UTC (rev 11639)
@@ -1,4 +1,5 @@
<h1 class="rmc_titles"><?php _e('Blocks Administration','rmcommon'); ?></h1>
+
<?php $from = rmc_server_var($_REQUEST,'from', '')=='positions'?true:false; ?>
<div class="rmc_blocks_options row-fluid">
<a href="#" id="newban" class="rmc_menus"><?php _e('Add New Block','rmcommon'); ?></a>
@@ -19,34 +20,31 @@
<?php endforeach; ?>
</div>
</div>
- <a href="#" id="newpos" class="rmc_menus"><?php _e('Show Positions','rmcommon'); ?></a>
+ <a href="#" id="newpos" class="rmc_menus"><?php empty($positions) ? _e('Show Blocks','rmcommon') : _e('Show Positions','rmcommon'); ?></a>
</div>
-<div id="bk-messages" style="display: none;">
- <span class="msg-close"></span>
- <span class="msg"></span>
-</div>
+<div id="bk-messages"></div>
<!-- Positions Grid -->
-<div class="row-fluid" id="blocks-list">
+<div class="row-fluid<?php echo empty($positions) || $from=='positions' ? ' hidden-control' : ''; ?>" id="blocks-list">
<?php foreach($positions as $pos): ?>
- <div id="position-<?php echo $pos['id']; ?>" class="dd rmc-position-item <?php echo tpl_cycle("green,blue,gold,orange"); ?>">
- <h3><?php echo $pos['name']; ?></h3>
+ <div id="position-<?php echo $pos['id']; ?>" class="dd rmc-position-item <?php echo tpl_cycle("green,blue,gold,orange"); ?>" data-pos="<?php echo $pos['id']; ?>">
+ <h3><?php echo $pos['name']; ?><img src="images/ok.png"></h3>
<?php if(!isset($used_blocks[$pos['id']])): ?>
<div class="dd-empty"><?php _e('Drag and drop blocks here','rmcommon'); ?></div>
<?php else: ?>
<ol class="dd-list">
<?php foreach($used_blocks[$pos['id']] as $block): ?>
<li class="dd-item" data-id="<?php echo $block['id']; ?>">
- <div class="row-fluid">
+ <div class="row-fluid item-controls">
<strong class="dd-handle"><?php echo $block['title']; ?></strong>
- <a href="#" class="pull-right text-error" data-block="<?php echo $block['id']; ?>" title="<?php _e('Delete Block','rmcommon'); ?>"><i class="icon-remove-sign"></i></a>
+ <a href="#" class="pull-right text-error" data-block="<?php echo $block['id']; ?>" data-action="delete" title="<?php _e('Delete Block','rmcommon'); ?>"><i class="icon-remove-sign"></i></a>
<?php if($block['visible']): ?>
- <a href="#" class="pull-right text-warning" data-block="<?php echo $block['id']; ?>" title="<?php _e('Hide block','rmcommon'); ?>"><i class="icon-eye-close"></i></a>
+ <a href="#" class="pull-right text-warning" data-block="<?php echo $block['id']; ?>" data-action="hide" title="<?php _e('Hide block','rmcommon'); ?>"><i class="icon-eye-close"></i></a>
<?php else: ?>
- <a href="#" class="pull-right text-success" data-block="<?php echo $block['id']; ?>" title="<?php _e('Show block','rmcommon'); ?>"><i class="icon-eye-open"></i></a>
+ <a href="#" class="pull-right text-success" data-block="<?php echo $block['id']; ?>" data-action="show" title="<?php _e('Show block','rmcommon'); ?>"><i class="icon-eye-open"></i></a>
<?php endif; ?>
- <a href="#" class="pull-right" data-block="<?php echo $block['id']; ?>" title="<?php _e('Block Settings','rmcommon'); ?>"><i class="icon-wrench"></i></a>
+ <a href="#" class="pull-right" data-block="<?php echo $block['id']; ?>" data-action="settings" title="<?php _e('Block Settings','rmcommon'); ?>"><i class="icon-wrench"></i></a>
</div>
<div class="row-fluid block-data">
<span class="text-info"><?php echo $block['module']['name']; ?></span>
@@ -60,35 +58,40 @@
</div>
<?php endforeach; ?>
</div>
+<input type="hidden" value="<?php echo $xoopsSecurity->createToken(); ?>" id="token-positions" name="token_positions">
<!--// End positions grid -->
-<div id="bks-and-pos">
-<div id="form-pos" class="bkbk_forms"<?php echo $from ? ' style="display: block;"' : ''; ?>>
- <div class="formposcontainer">
- <h3>Add Position</h3>
- <form name="frmaddpos" id="frm-add-pos" method="post" action="blocks.php" />
- <label><?php _e('Name','rmcommon'); ?></label>
- <input type="text" name="posname" value="" />
- <span class="desc"><?php _e('Input a name to identify this position (<em>eg. Left blocks</em>)','rmcommon'); ?></span>
- <label><?php _e('Tag Name','rmcommon'); ?></label>
- <input type="text" name="postag" value="" />
- <span class="desc"><?php _e('Specify a name for the smarty tag to use in templates (eg. left_blocks). This tag will be used as Smarty tag (eg. <{$left_blocks}>).','rmcommon'); ?></span>
- <input type="submit" name="bk_add_pos" id="add-position" value="<?php _e('Add Position','rmcommon'); ?>" />
- <input type="hidden" name="action" value="save_position" />
- <?php echo $xoopsSecurity->getTokenHTML(); ?>
- </form>
- <h4><?php _e('How to implement blocks','rmcommon'); ?></h4>
- <div class="code">
- <code><{foreach item="block" from=$xoBlocks.<em>tag</em>}><br 7>
- <{$block.title}><br />
- <{$block.content}><br />
- <{/foreach}></code>
- </div>
- </div>
+<div id="bks-and-pos" class="row-fluid<?php echo empty($positions) || $from=='positions' ? ' visible-control' : ' hidden-control'; ?>">
+<div id="form-pos" class="span4">
+ <form name="frmaddpos" id="frm-add-pos" method="post" action="blocks.php" />
+ <fieldset>
+ <legend>Add Position</legend>
+
+ <label><strong><?php _e('Name','rmcommon'); ?></strong></label>
+ <input type="text" name="posname" value="" class="input-block-level required" />
+ <span class="help-block"><?php _e('Input a name to identify this position (<em>eg. Left blocks</em>)','rmcommon'); ?></span>
+
+ <label><strong><?php _e('Tag Name','rmcommon'); ?></strong></label>
+ <input type="text" name="postag" value="" class="input-block-level required" />
+ <span class="help-block"><?php _e('Specify a name for the smarty tag to use in templates (eg. left_blocks). This tag will be used as Smarty tag (eg. <{$left_blocks}>).','rmcommon'); ?></span>
+
+ <input type="submit" class="btn btn-info btn-large" name="bk_add_pos" id="add-position" value="<?php _e('Add Position','rmcommon'); ?>" />
+ <input type="hidden" name="action" value="save_position" />
+ <?php echo $xoopsSecurity->getTokenHTML(); ?>
+
+ <div class="page-header">
+ <h4><?php _e('How to implement blocks','rmcommon'); ?></h4>
+ </div>
+ <pre><{foreach item="block" from=$xoBlocks.<em><strong>tag_name</strong></em>}>
+ <{$block.title}>
+ <{$block.content}>
+<{/foreach}></pre>
+ </fieldset>
+ </form>
</div>
<!-- Positions -->
-<div id="blocks-positions" style="overflow: hidden;<?php echo $from ? ' display: block;' : 'display: none;'; ?>">
+<div id="blocks-positions" class="span8">
<form name="formPos" id="frm-positions" method="post" action="blocks.php">
<div class="rmc_bulkactions">
<select name="action" id="bulk-topp">
@@ -119,6 +122,17 @@
</tr>
<tfoot>
<tbody>
+
+ <?php if(empty($positions)): ?>
+ <tr>
+ <td colspan="5" class="text-center">
+ <span class="label label-info">
+ <?php _e('There are not positions created yet!','rmcommon'); ?>
+ </span>
+ </td>
+ </tr>
+ <?php endif; ?>
+
<?php foreach($positions as $pos): ?>
<tr class="<?php echo tpl_cycle('even,odd'); ?>" id="ptr-<?php echo $pos['id']; ?>" valign="top">
<td align="center"><input type="checkbox" name="ids[]" id="itemp-<?php echo $pos['id']; ?>" value="<?php echo $pos['id']; ?>" /></td>
@@ -167,7 +181,7 @@
$("#position-<?php echo $pos['id']; ?>").nestable({
group: 1,
maxDepth: 1
- });
+ }).on('change', blocksAjax.saveOrder);
<?php endforeach; ?>
});
</script>
|
|
From: <bi...@us...> - 2013-06-10 04:35:10
|
Revision: 11640
http://sourceforge.net/p/xoops/svn/11640
Author: bitc3r0
Date: 2013-06-10 04:35:07 +0000 (Mon, 10 Jun 2013)
Log Message:
-----------
Finished the new blocks manager.
Added bootstrap as default css framework for rmcommon themes.
Fixing the class RMFormModules
Removed bootstrap from theme two?\194?\1836
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/ajax/blocks.php
RMC/rmcommon/trunk/rmcommon/blocks/comments.php
RMC/rmcommon/trunk/rmcommon/blocks.php
RMC/rmcommon/trunk/rmcommon/class/fields/modules.class.php
RMC/rmcommon/trunk/rmcommon/css/blocks.css
RMC/rmcommon/trunk/rmcommon/css/forms.css
RMC/rmcommon/trunk/rmcommon/include/js/blocks.js
RMC/rmcommon/trunk/rmcommon/include/js/modules_field.js
RMC/rmcommon/trunk/rmcommon/templates/rmc_block_form.php
RMC/rmcommon/trunk/rmcommon/templates/rmc_blocks.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/admin_gui.php
Added Paths:
-----------
RMC/rmcommon/trunk/rmcommon/css/bootstrap-responsive.min.css
RMC/rmcommon/trunk/rmcommon/css/bootstrap.min.css
RMC/rmcommon/trunk/rmcommon/css/font-awesome-ie7.min.css
RMC/rmcommon/trunk/rmcommon/css/font-awesome.min.css
RMC/rmcommon/trunk/rmcommon/font/
RMC/rmcommon/trunk/rmcommon/images/glyphicons-halflings-white.png
RMC/rmcommon/trunk/rmcommon/images/glyphicons-halflings.png
RMC/rmcommon/trunk/rmcommon/include/js/bootstrap.min.js
RMC/rmcommon/trunk/rmcommon/include/js-lang.php
Removed Paths:
-------------
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/bootstrap-responsive.min.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/bootstrap.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/bootstrap.min.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/glyphicons-halflings-white.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/glyphicons-halflings.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/js/bootstrap.min.js
Modified: RMC/rmcommon/trunk/rmcommon/ajax/blocks.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/ajax/blocks.php 2013-06-08 05:58:31 UTC (rev 11639)
+++ RMC/rmcommon/trunk/rmcommon/ajax/blocks.php 2013-06-10 04:35:07 UTC (rev 11640)
@@ -30,16 +30,14 @@
}
// Check Security settings
-if(!$xoopsSecurity->checkReferer(1)){
- response(array('message'=>__('Operation not allowed!','rmcommon')), 1, 0);
- die();
-}
+if(!$xoopsSecurity->checkReferer(1))
+ response(__('Operation not allowed!','rmcommon'), array(), 1, 0);
/**
-* This function allos to insert a new block in database
+* This function allows to insert a new block in database
*/
-function insertBlock(){
+function insert_block(){
global $xoopsSecurity;
$mod = rmc_server_var($_POST, 'module', '');
@@ -47,24 +45,15 @@
$token = rmc_server_var($_POST, 'XOOPS_TOKEN_REQUEST', '');
$canvas = rmc_server_var($_POST, 'canvas', '');
- if (!$xoopsSecurity->check()){
- response(array('message'=>__('Sorry, you are not allowed to view this page','rmcommon')), 1, 0);
- die();
- }
+ if (!$xoopsSecurity->check())
+ response(__('Sorry, you are not allowed to view this page','rmcommon'), array(), 1, 0);
- if($mod=='' || $id==''){
-
- $data = array(
- 'message' => __('The block specified seems to be invalid. Please try again.','rmcommon')
- );
-
- response($data, 1, 0);
-
- }
+ if($mod=='' || $id=='')
+ response(__('The block specified seems to be invalid. Please try again.','rmcommon'), array(), 1, 0);
+
$module = RMFunctions::load_module($mod);
- if(!$module){
- response(array('message'=>__('The specified module does not exists!','rmcommon')), 1, 0);
- }
+ if(!$module)
+ response(__('The specified module does not exists!','rmcommon'), array(), 1, 0);
$module->loadInfoAsVar($mod);
$blocks = $module->getInfo('blocks');
@@ -81,19 +70,18 @@
}
}
- if(!$found){
- response(array('message'=>__('The specified block does not exists, please verify your selection.','rmcommon')), 1, 1);
- }
+ if(!$found)
+ response(__('The specified block does not exists, please verify your selection.','rmcommon'), array(), 1, 1);
$block = new RMInternalBlock();
if ($canvas<=0){
$db = XoopsDatabaseFactory::getDatabaseConnection();
// Get a default side
- $sql = "SELECT id_position, name FROM ".$db->prefix("rmc_blocks_positions")." ORDER BY id_position LIMIT 0, 1";
+ $sql = "SELECT id_position FROM ".$db->prefix("rmc_blocks_positions")." ORDER BY id_position LIMIT 0, 1";
$result = $db->query($sql);
if ($result)
- list($canvas, $canvas_name) = $db->fetchRow($result);
+ list($canvas) = $db->fetchRow($result);
else
$canvas = '';
}
@@ -116,27 +104,25 @@
$block->setVar('template', $bk['template']);
$block->sections(array(0));
- if(!$block->save()){
-
- response(array('message'=>sprintf(__('Block could not be created due to: %s. Please try again!', 'rmcommon'), $block->errors())), 1, 1);
-
- }
+ if(!$block->save())
+ response(__('Block could not be created. Please try again!', 'rmcommon'), array('error' => $block->errors()), 1, 1);
+
RMEvents::get()->run_event('rmcommon.block.added', $block);
$pos = RMBlocksFunctions::block_positions();
$ret = array(
- 'id' => $block->id(),
- 'name' => $block->getVar('name'),
- 'module' => $block->getVar('element'),
- 'description' => $block->getVar('description'),
- 'canvas' => $pos[$canvas],
- 'weight' => $block->getVar('weight'),
- 'message' => __('Block added successfully! Please configure it.','rmcommon')
+ 'id' => $block->id(),
+ 'title' => $block->getVar('name'),
+ 'module' => $block->getVar('element'),
+ 'description' => $block->getVar('description'),
+ 'canvas' => $pos[$canvas],
+ 'weight' => $block->getVar('weight'),
+ 'visible' => $block->getVar('visible'),
);
- response($ret, 0, 1);
+ response(sprintf(__('Block "%s" was added successfully! Please configure it.','rmcommon'), $block->getVar('name')), array('block' => $ret), 0, 1);
die();
}
@@ -144,25 +130,20 @@
* Return the form to configure blocks
*/
function configure_block(){
- global $xoopsSecurity, $xoopsLogger;
+ global $xoopsSecurity;
- if (!$xoopsSecurity->check()){
- response(array('message'=>__('Sorry, you are not allowed to view this page','rmcommon')), 1, 0);
- die();
- }
+ if (!$xoopsSecurity->check())
+ response(__('Sorry, you are not allowed to view this page','rmcommon'), array(), 1, 0);
$id = rmc_server_var($_POST, 'block', 0);
- $mod = rmc_server_var($_POST, 'module', '');
- if($id<=0){
- response(array('message'=>__('The block that you specified seems to be invalid. Please try again', 'rmcommon')), 1, 1);
- }
+ if($id<=0)
+ response(__('The block that you specified seems to be invalid. Please try again', 'rmcommon'), array(), 1, 1);
$block = new RMInternalBlock($id);
- if($block->isNew()){
- response(array('message'=>__('The block that you specified does not exists!. Please try again', 'rmcommon')), 1, 1);
- }
-
+ if($block->isNew())
+ response(__('Specified block does not exists!. Please try again', 'rmcommon'), array(), 1, 1);
+
$positions = RMBlocksFunctions::block_positions();
$form = new RMForm('','','');
$canvas = new RMFormModules('', 'bk_mod', 1, 1, $block->sections(), 3, null, false, 1);
@@ -180,7 +161,7 @@
'id'=>$block->id(),
'content'=>$form,
);
- response($ret, 0, 1);
+ response(sprintf(__('Configuration form for block "%s" was loaded successfully!','rmcommon'), $block->getVar('name')), $ret, 0, 1);
die();
@@ -193,21 +174,15 @@
$$k = $v;
}
- if(!$xoopsSecurity->check($XOOPS_TOKEN_REQUEST)){
- response(array('message'=>__('Session token expired. Please try again.','rmcommon')), 1, 0);
- die();
- }
+ if(!$xoopsSecurity->check($XOOPS_TOKEN_REQUEST))
+ response(__('Session token expired. Please try again.','rmcommon'), array(), 1, 0);
- if($bid<=0){
- response(array('message'=>__('You must provide a block ID!','rmcommon')), 1, 1);
- die();
- }
+ if($bid<=0)
+ response(__('You must provide a block ID!','rmcommon'), array(), 1, 1);
$block = new RMInternalBlock($bid);
- if($block->isNew()){
- response(array('message'=>__('Specified block does not exists!','rmcommon')), 1, 1);
- die();
- }
+ if($block->isNew())
+ response(__('Specified block does not exists!','rmcommon'), array(), 1, 1);
if(isset($options)) $block->setVar('options', serialize($options));
$block->setVar('name', $bk_name);
@@ -225,12 +200,18 @@
// Set Groups
$block->setReadGroups($bk_groups);
- if($block->save()){
- response(array(
- 'message' => __('Block updated successfully!','rmcommon')
- ), 0, 1);
- }
-
+ if(!$block->save())
+ response(sprintf(__('Settings for the block "%s" could not be saved!','rmcommon'), $block->getVar('name')), array('error' => $block->errors()), 1, 1);
+
+ $ret = array(
+ 'id' => $block->id(),
+ 'canvas' => $block->getVar('canvas'),
+ 'visible' => $block->getVar('visible'),
+ 'weight' => $block->getVar('weight'),
+ );
+
+ response(sprintf(__('Settings for block "%s" were saved successfully!','rmcommon'), $block->getVar('name')), $ret, 0, 1);
+
die();
}
@@ -239,53 +220,41 @@
function save_block_position(){
global $xoopsSecurity;
- if(!$xoopsSecurity->check($XOOPS_TOKEN_REQUEST)){
- response(array('message'=>__('Session token expired. Please try again.','rmcommon')), 1, 0);
- die();
- }
+ if(!$xoopsSecurity->check())
+ response(__('Session token expired. Please try again.','rmcommon'), array(), 1, 0);
+
$id = rmc_server_var($_POST, 'id', 0);
$name = rmc_server_var($_POST, 'name', '');
$tag = rmc_server_var($_POST, 'tag', '');
$active = rmc_server_var($_POST, 'active', 1);
- if($id<=0){
- response(array('message'=>__('Specified position is not valid!','rmcommon')), 1, 1);
- die();
- }
+ if($id<=0)
+ response(__('Specified position is not valid!','rmcommon'), array(), 1, 1);
- if($name==''||$tag==''){
- response(array('message'=>__('You must fill name and tag input fields!','rmcommon')), 1, 1);
- die();
- }
+ if($name==''||$tag=='')
+ response(__('You must fill name and tag input fields!','rmcommon'), array(), 1, 1);
$pos = new RMBlockPosition($id);
- if($pos->isNew()){
- response(array('message'=>__('Specified block position does not exists!','rmcommon')), 1, 1);
- die();
- }
+ if($pos->isNew())
+ response(__('Specified blocks position does not exists!','rmcommon'), array(), 1, 1);
$db = XoopsDatabaseFactory::getDatabaseConnection();
$sql = "SELECT COUNT(*) FROM ".$db->prefix("rmc_blocks_positions")." WHERE (name='$name' OR tag='$tag') AND id_position<>$id";
list($num) = $db->fetchRow($db->query($sql));
- if($num>0){
- response(array('message'=>__('Already exists another block position with same name or tag!','rmcommon')), 1, 1);
- die();
- }
-
+ if($num>0)
+ response(__('Already exists another blocks position with same name or tag!','rmcommon'), array(), 1, 1);
+
$pos->setVar('name', $name);
$pos->setVar('tag', $tag);
$pos->setVar('active', $active);
- if($pos->save()){
- response(array('message'=>__('Changes saved successfully!','rmcommon')), 0, 1);
- die();
- } else {
- response(array('message'=>__('Changes could not be saved!','rmcommon')), 1, 1);
- die();
- }
+ if($pos->save())
+ response(sprintf(__('Position "%s" was saved successfylly!','rmcommon'), $pos->getVar('name')), array(), 0, 1);
+ else
+ response(sprintf(__('Position "%s" could not be saved successfully!','rmcommon'), $pos->getVar('name')), array('error' => $pos->errors()), 1, 1);
}
@@ -318,11 +287,13 @@
}
$sql .= "END\n WHERE bid IN (".implode(",",$ids).");";
+ $pos = new RMBlockPosition($pos_id);
+
if($db->queryF($sql))
- response(__('Blocks order saved successfully!','rmcommon'), array('position'=>$pos_id), 0, 0);
+ response(sprintf(__('Blocks order for position "%s" saved successfully!','rmcommon'), $pos->getVar('name')), array('position'=>$pos_id), 0, 0);
else
response(
- __('Blocks order could ot be saved!','rmcommon'),
+ sprintf(__('Blocks order for position "%s" could not be saved!','rmcommon'), $pos->getVar('name')),
array(
'position' => $pos_id,
'error' => $db->error()
@@ -332,12 +303,75 @@
}
+function change_block_visibility($visible){
+ global $xoopsSecurity;
+ $block_id = rmc_server_var($_POST, 'id', 0);
+
+ if(!$xoopsSecurity->check(false, false))
+ response(__('Block visibility could not be saved!','rmcommon'), array('error' => __('Session token expired!','rmcommon')), 1, 0);
+
+ if($block_id<=0)
+ response(__('Block identifier not specified!','rmcommon'), array('error' => ''), 1, 0);
+
+ $block = new RMInternalBlock($block_id);
+ if($block->isNew())
+ response(__('Specified block does not exists!','rmcommon'), array(), 1, 0);
+
+ $block->setVar('visible', $visible);
+
+ if($block->save())
+ response(sprintf(__('The visibility of the block %s was changed successfully!','rmcommon'), $block->getVar('name')), array('visible' => $visible), 0, 0);
+ else
+ response(
+ sprintf(__('Visibility for block %s could not be changed!','rmcommon'), $block->getVar('name')),
+ array(
+ 'error' => $block->error()
+ ),
+ 1, 0
+ );
+
+}
+
+/**
+ * Delete a set of selected widgets
+ */
+function delete_block(){
+
+ global $xoopsSecurity;
+
+ if (!$xoopsSecurity->check())
+ response(__('Session token expired!','rmcommon'), array(), 1, 0);
+
+ $block_id = rmc_server_var($_POST, 'id', 0);
+
+ if($block_id<=0)
+ response(__('No block has been specified!','rmcommon'), array(), 1, 1);
+
+ $block = new RMInternalBlock($block_id);
+ if($block->isNew())
+ response(__('Specified block does not exists!','rmcommon'), array(), 1, 1);
+
+ if (!$block->delete())
+ response(
+ sprintf(__('The block "%s" could not be deleted!', 'rmcommon'), $block->getVar('name')),
+ array('error' => $block->errors()),
+ 1, 1
+ );
+ else
+ response(
+ sprintf(__('The block "%s" was deleted successfully!','rmcommon'), $block->getVar('name')),
+ array(), 0, 1
+ );
+
+}
+
+
$action = rmc_server_var($_POST, 'action', '');
switch($action){
case 'insert':
- insertBlock();
+ insert_block();
break;
case 'settings':
configure_block();
@@ -351,4 +385,13 @@
case 'save-orders':
save_block_order();
break;
+ case 'show-block':
+ change_block_visibility(1);
+ break;
+ case 'hide-block':
+ change_block_visibility(0);
+ break;
+ case 'delete-block':
+ delete_block();
+ break;
}
\ No newline at end of file
Modified: RMC/rmcommon/trunk/rmcommon/blocks/comments.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/blocks/comments.php 2013-06-08 05:58:31 UTC (rev 11639)
+++ RMC/rmcommon/trunk/rmcommon/blocks/comments.php 2013-06-10 04:35:07 UTC (rev 11640)
@@ -122,32 +122,65 @@
function rmc_bkcomments_edit($options){
- $form = '';
-
- if(defined('RMCLOCATION')){
- $form .= '<table><tr><td></td><td>';
- }
-
- $form .= '</td></tr>';
- $form .= '<tr><td class="head">'.__('Number of Comments:','rmcommon').'</td><td class="odd">';
- $form .= '<input type="text" size="5" name="options[0]" value="'.$options[0].'" />';
- $form .= '<tr><td class="head">'.__('Show module name:','rmcommon').'</td><td class="odd">';
- $form .= '<label><input type="radio" name="options[1]" value="1"'.($options[1]==1?' checked="checked"':'').' />'.__('Yes','rmcommon').'</label>';
- $form .= '<label><input type="radio" name="options[1]" value="0"'.($options[1]==0?' checked="checked"':'').' />'.__('No','rmcommon').'</label></td></tr>';
- $form .= '<tr><td class="head">'.__('Show item name:','rmcommon').'</td><td class="odd">';
- $form .= '<label><input type="radio" name="options[2]" value="1"'.($options[2]==1?' checked="checked"':'').' />'.__('Yes','rmcommon').'</label>';
- $form .= '<label><input type="radio" name="options[2]" value="0"'.($options[2]==0?' checked="checked"':'').' />'.__('No','rmcommon').'</label></td></tr>';
- $form .= '<tr><td class="head">'.__('Show user name:','rmcommon').'</td><td class="odd">';
- $form .= '<label><input type="radio" name="options[3]" value="1"'.($options[3]==1?' checked="checked"':'').' />'.__('Yes','rmcommon').'</label>';
- $form .= '<label><input type="radio" name="options[3]" value="0"'.($options[3]==0?' checked="checked"':'').' />'.__('No','rmcommon').'</label></td></tr>';
- $form .= '<tr><td class="head">'.__('Show date:','rmcommon').'</td><td class="odd">';
- $form .= '<label><input type="radio" name="options[4]" value="1"'.($options[4]==1?' checked="checked"':'').' />'.__('Yes','rmcommon').'</label>';
- $form .= '<label><input type="radio" name="options[4]" value="0"'.($options[4]==0?' checked="checked"':'').' />'.__('No','rmcommon').'</label>';
-
- if(defined('RMCLOCATION')){
- $form .= '</td></tr></table>';
- }
-
+ $form = '<div class="form-horizontal">';
+
+ ob_start();
+ ?>
+ <div class="control-group">
+ <label class="control-label" for="number-comments"><?php _e('Number of Comments:','rmcommon'); ?></label>
+ <div class="controls">
+ <input type="text" size="5" name="options[0]" value="<?php echo $options[0]; ?>" id="number-comments">
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label"><?php _e('Show module name:','rmcommon'); ?></label>
+ <div class="controls">
+ <label class="radio inline">
+ <input type="radio" name="options[1]" value="1"'<?php echo $options[1]==1 ? ' checked="checked"':''; ?>><?php _e('Yes','rmcommon'); ?>
+ </label>
+ <label class="radio inline">
+ <input type="radio" name="options[1]" value="1"'<?php echo $options[1]==0 ? ' checked="checked"':''; ?>><?php _e('No','rmcommon'); ?>
+ </label>
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label"><?php _e('Show item name:','rmcommon'); ?></label>
+ <div class="controls">
+ <label class="radio inline">
+ <input type="radio" name="options[2]" value="1"'<?php echo $options[2]==1 ? ' checked="checked"':''; ?>><?php _e('Yes','rmcommon'); ?>
+ </label>
+ <label class="radio inline">
+ <input type="radio" name="options[2]" value="1"'<?php echo $options[2]==0 ? ' checked="checked"':''; ?>><?php _e('No','rmcommon'); ?>
+ </label>
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label"><?php _e('Show username:','rmcommon'); ?></label>
+ <div class="controls">
+ <label class="radio inline">
+ <input type="radio" name="options[3]" value="1"'<?php echo $options[3]==1 ? ' checked="checked"':''; ?>><?php _e('Yes','rmcommon'); ?>
+ </label>
+ <label class="radio inline">
+ <input type="radio" name="options[3]" value="1"'<?php echo $options[3]==0 ? ' checked="checked"':''; ?>><?php _e('No','rmcommon'); ?>
+ </label>
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label"><?php _e('Show date:','rmcommon'); ?></label>
+ <div class="controls">
+ <label class="radio inline">
+ <input type="radio" name="options[4]" value="1"'<?php echo $options[4]==1 ? ' checked="checked"':''; ?>><?php _e('Yes','rmcommon'); ?>
+ </label>
+ <label class="radio inline">
+ <input type="radio" name="options[4]" value="1"'<?php echo $options[4]==0 ? ' checked="checked"':''; ?>><?php _e('No','rmcommon'); ?>
+ </label>
+ </div>
+ </div>
+ <?php
+ $form .= ob_get_clean();
+
+ $form .= '</div>';
+
return $form;
}
\ No newline at end of file
Modified: RMC/rmcommon/trunk/rmcommon/blocks.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/blocks.php 2013-06-08 05:58:31 UTC (rev 11639)
+++ RMC/rmcommon/trunk/rmcommon/blocks.php 2013-06-10 04:35:07 UTC (rev 11640)
@@ -143,12 +143,7 @@
}
RMTemplate::get()->add_local_script('jquery.checkboxes.js','rmcommon','include');
- RMTemplate::get()->add_head('<script type="text/javascript">var bks_message = "'.__('Do you really wish to delete selected items?','rmcommon').'";
- var bks_select_message = "'.__('Select at least one item to delete it!','rmcommon').'";
- var lang_save = "'.__('Save','rmcommon').'";
- var lang_cancel = "'.__('Cancel','rmcommon').'";
- var lang_positions = "'.__('Show Positions','rmcommon').'";
- var lang_blocks = "'.__('Show Blocks','rmcommon').'";</script>');
+ RMTemplate::get()->add_head_script(include('include/js-lang.php'));
xoops_cp_header();
@@ -268,41 +263,6 @@
}
-/**
-* Delete a set of selected widgets
-*/
-function delete_blocks(){
-
- global $xoopsSecurity;
-
- if (!$xoopsSecurity->check()){
- redirectMsg('blocks.php', __('You are not allowed to do this action!','rmcommon'), 1);
- die();
- }
-
- $ids = rmc_server_var($_POST, 'ids', array());
-
- if(empty($ids) || !is_array($ids)){
- redirectMsg('blocks.php', __('You must select at least one block!','rmcommon'), 1);
- die();
- }
-
- $error = '';
- foreach ($ids as $id){
- $block = new RMInternalBlock($id);
- // API: Before delete a widget
- $block = RMEvents::get()->run_event('rmcommon.deleting.block',$block);
- if (!$block->delete()) $error .= $block->errors();
- }
-
- if ($errors!=''){
- redirectMsg('blocks.php', __('There was some errors:','rmcommon').'<br />'.$error, 1);
- } else {
- redirectMsg('blocks.php',__('Database updated successfully','rmcommon'), 0);
- }
-
-}
-
function delete_positions(){
global $xoopsSecurity;
Modified: RMC/rmcommon/trunk/rmcommon/class/fields/modules.class.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/fields/modules.class.php 2013-06-08 05:58:31 UTC (rev 11639)
+++ RMC/rmcommon/trunk/rmcommon/class/fields/modules.class.php 2013-06-10 04:35:07 UTC (rev 11640)
@@ -119,18 +119,23 @@
if ($this->type){
// Add js script
RMTemplate::get()->add_local_script('modules_field.js', 'rmcommon', 'include');
+
+ $pagesOptions = array();
+
+ $rtn = '<div class="modules-field" id="modules-field-'.$this->getName().'">
+ <div>
+ <h4>'.__('Available Modules','rmcommon').'</h4>
+ <ul>';
- $rtn = '<div class="modules_field">';
-
$i = 1;
foreach ($modules as $k => $v){
$app = RMFunctions::load_module($k);
- $rtn .= "<div class=\"mod_item\">";
+ $rtn .= "<li>";
$name = $this->multi ? $this->getName()."[$k]" : $this->getName();
if ($this->multi){
- $rtn .= "<label id=\"modlabel-$k\" class='field_module_names'><input type='checkbox' value='$k' name='".$name."' id='".$this->id()."-$k'".(is_array($this->selected) ? (in_array($k, $this->selected) ? " checked='checked'" : '') : '')." /> $v</label>";
+ $rtn .= "<input type='checkbox' value='$k' name='".$name."' id='".$this->id()."-$k'".(is_array($this->selected) ? (in_array($k, $this->selected) ? " checked='checked'" : '') : '')." /> <a href='#'>$v</a>";
} else {
- $rtn .= "<label id=\"modlabel-$k\" class=\"field_module_names\"><input type='radio' value='$k' name='".$this->getName()."' id='".$this->id()."-$k'".(!empty($this->selected) ? ($k == $this->selected ? " checked='checked'" : '') : '')." /> $v</label>";
+ $rtn .= "<input type='radio' value='$k' name='".$this->getName()."' id='".$this->id()."-$k'".(!empty($this->selected) ? ($k == $this->selected ? " checked='checked'" : '') : '')." /> $v";
}
/**
@@ -153,26 +158,44 @@
if(!empty($subpages)){
$selected = $this->selectedSubPages;
$cr = 0;
- $rtn.="<div id=\"subpages-".$k."\" class=\"subpages_container\">
- <div class='sp_title'><span id=\"close-$k\"></span>".__('Inner pages','rmcommon')."</div>";
+
+ $rtns ="<ul class=\"subpages-container subpages-".$k."\" data-module=\"".$k."\">";
$j = 2;
$cr = 2;
if (!is_array($subpages)) $subpages = array();
foreach ($subpages as $page=>$caption){
- $rtn.="<div class=\"sub_item\"><label><input type='checkbox' name='".$name."[subpages][$page]' id='subpages[$k][$page]' value='$page'".(is_array($subpages) && @in_array($page, $selected[$k]) ? " checked='checked'" : '')." onclick=\"checkSubpageClick('subpages[$k][$page]', $k);\" /> $caption</label></div>";
+ $rtns .= "<li><input type='checkbox' name='".$name."[subpages][$page]' id='subpages[$k][$page]' value='$page'".(is_array($subpages) && @in_array($page, $selected[$k]) ? " checked='checked'" : '')." /> $caption</li>";
$j++;
$cr++;
}
- $rtn.='</div>';
+ $rtns .= '</ul>';
+
+ $pagesOptions[] = $rtns;
+ $rtns = '';
}
}
- $rtn .= "</div>";
+ $rtn .= "</li>";
$i++;
}
+ $rtn .= "</ul>
+ </div>";
+
+ if($this->subpages){
+
+ $rtn .= '<div><h4>'.__('Inner Pages','rmcommon').'</h4>';
+
+ foreach($pagesOptions as $page){
+ $rtn .= $page;
+ }
+
+ $rtn .= '</div>';
+
+ }
+
$rtn .= "</div>";
} else {
if ($this->multi){
Modified: RMC/rmcommon/trunk/rmcommon/css/blocks.css
===================================================================
--- RMC/rmcommon/trunk/rmcommon/css/blocks.css 2013-06-08 05:58:31 UTC (rev 11639)
+++ RMC/rmcommon/trunk/rmcommon/css/blocks.css 2013-06-10 04:35:07 UTC (rev 11640)
@@ -1,7 +1,15 @@
+.blocks-nav{
+ border-bottom: 1px solid #ddd;
+ margin-bottom: 20px;
+}
+.blocks-nav .nav-pills{
+ margin-bottom: 10px;
+}
.rmc-position-item{
- width: 300px;
- border: 1px solid #CCC;
- border: 1px solid rgba(0,0,0,0.1);
+ min-width: 300px;
+ width: 19%;
+ border: 1px solid #2a2a2a;
+ border: 1px solid rgba(0,0,0,0.5);
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
@@ -9,20 +17,21 @@
vertical-align: text-top;
padding: 1px;
background-color: #fafafa;
+ margin: 0 5px 10px 0;
+ box-shadow: 0 0 3px rgba(0,0,0,0.3);
}
.rmc-position-item h3{
margin: 0;
padding: 5px;
font-size: 1.1em;
- color: #333;
- color: rgba(0,0,0,0.5);
+ color: #FFF;
border-radius: 2px 2px 0 0;
-moz-border-radius: 2px 2px 0 0;
-webkit-border-radius: 2px 2px 0 0;
- border-bottom: 1px solid rgba(0,0,0,0.1);
- text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
- background-color: #ebebeb;
- background-color: rgba(0,0,0,0.05);
+ border-bottom: 1px solid rgba(0,0,0,0.5);
+ text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
+ background-color: #2a2a2a;
+ /*background-color: rgba(0,85,128,0.05);*/
}
.rmc-position-item h3 > img{
float: right;
@@ -133,82 +142,46 @@
display: block;
}
+.rmc_blocks_options{
+ margin-bottom: 20px;
+}
/** Menus **/
-.megamenu{
-position: absolute;
-display: none;
-left: 0;
-top: 0;
-background: #fff;
-border: 1px solid #507BA0;
-border-width: 5px 1px;
-font: normal 12px Verdana;
-z-index: 100;
+.megamenu, #blocks-console{
+ position: absolute;
+ display: none;
+ left: 0;
+ top: 0;
+ background: #fff;
+ border-top: 12px solid #ebebeb;
+ border-radius: 2px;
+ z-index: 100;
+ box-shadow: 0 0 0 1px rgba(0,0,0,0.1), 0 2px 3px rgba(0,0,0,0.4);
}
.megamenu .column{
-overflow: hidden;
+ overflow: hidden;
}
-.megamenu .column ul{
-margin: 0;
-padding: 0;
-list-style-type: none;
-}
-
-.megamenu .column ul li{
-margin: 2px;
-float: left;
-}
.megamenu .column ul li a{
- display: block;
- padding: 5px 7px;
- background: #ebebeb;
- border-radius: 5px;
border: 1px solid #CCC;
- color: #666;
- text-shadow: 1px 1px 1px #FFF;
}
-.megamenu .column ul li a:hover{
- text-decoration: none;
- color: #333;
-}
.megamenu .column h3{
- font: bold 13px Arial;
- margin: 10px 0 5px 0;
- border-bottom: 1px solid #666;
+ margin: 0 0 5px 0;
+ borde...
[truncated message content] |
|
From: <bi...@us...> - 2013-06-11 04:50:13
|
Revision: 11646
http://sourceforge.net/p/xoops/svn/11646
Author: bitc3r0
Date: 2013-06-11 04:50:07 +0000 (Tue, 11 Jun 2013)
Log Message:
-----------
Finished the blocks manager
Updated language files with new strings
Removed designia
Now bootstrap is the default css framework for rmcommon themes (Only GUI)
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/ajax/blocks.php
RMC/rmcommon/trunk/rmcommon/class/fields/modules.class.php
RMC/rmcommon/trunk/rmcommon/class/template.php
RMC/rmcommon/trunk/rmcommon/include/js/blocks.js
RMC/rmcommon/trunk/rmcommon/lang/en.po
RMC/rmcommon/trunk/rmcommon/lang/es.mo
RMC/rmcommon/trunk/rmcommon/lang/es.po
RMC/rmcommon/trunk/rmcommon/lang/fr.mo
RMC/rmcommon/trunk/rmcommon/lang/fr.po
RMC/rmcommon/trunk/rmcommon/templates/images_categories.php
RMC/rmcommon/trunk/rmcommon/templates/images_images.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/css/2.6.css
RMC/rmcommon/trunk/rmcommon/themes/twop6/lang/en.po
RMC/rmcommon/trunk/rmcommon/themes/twop6/lang/es.mo
RMC/rmcommon/trunk/rmcommon/themes/twop6/lang/es.po
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/rmcommon/rmc_breadcrumb.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/modules/rmcommon/rmc_modules.php
RMC/rmcommon/trunk/rmcommon/updates.php
Added Paths:
-----------
RMC/rmcommon/trunk/rmcommon/font/FontAwesome.otf
RMC/rmcommon/trunk/rmcommon/font/fontawesome-webfont.eot
RMC/rmcommon/trunk/rmcommon/font/fontawesome-webfont.svg
RMC/rmcommon/trunk/rmcommon/font/fontawesome-webfont.ttf
RMC/rmcommon/trunk/rmcommon/font/fontawesome-webfont.woff
RMC/rmcommon/trunk/rmcommon/include/js/bootstrap.js
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/data.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/disable.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/enable.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/uninstall.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/images/update.png
RMC/rmcommon/trunk/rmcommon/themes/twop6/lang/fr.mo
RMC/rmcommon/trunk/rmcommon/themes/twop6/lang/fr.po
Removed Paths:
-------------
RMC/rmcommon/trunk/rmcommon/themes/designia/
Modified: RMC/rmcommon/trunk/rmcommon/ajax/blocks.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/ajax/blocks.php 2013-06-10 16:05:19 UTC (rev 11645)
+++ RMC/rmcommon/trunk/rmcommon/ajax/blocks.php 2013-06-11 04:50:07 UTC (rev 11646)
@@ -254,7 +254,7 @@
if($pos->save())
response(sprintf(__('Position "%s" was saved successfylly!','rmcommon'), $pos->getVar('name')), array(), 0, 1);
else
- response(sprintf(__('Position "%s" could not be saved successfully!','rmcommon'), $pos->getVar('name')), array('error' => $pos->errors()), 1, 1);
+ response(sprintf(__('Position "%s" could not be saved!','rmcommon'), $pos->getVar('name')), array('error' => $pos->errors()), 1, 1);
}
Modified: RMC/rmcommon/trunk/rmcommon/class/fields/modules.class.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/fields/modules.class.php 2013-06-10 16:05:19 UTC (rev 11645)
+++ RMC/rmcommon/trunk/rmcommon/class/fields/modules.class.php 2013-06-11 04:50:07 UTC (rev 11646)
@@ -133,7 +133,11 @@
$rtn .= "<li>";
$name = $this->multi ? $this->getName()."[$k]" : $this->getName();
if ($this->multi){
- $rtn .= "<input type='checkbox' value='$k' name='".$name."' id='".$this->id()."-$k'".(is_array($this->selected) ? (in_array($k, $this->selected) ? " checked='checked'" : '') : '')." /> <a href='#'>$v</a>";
+ $rtn .= "<input type='checkbox' value='$k' name='".$name."' id='".$this->id()."-$k'".(is_array($this->selected) ? (in_array($k, $this->selected) ? " checked='checked'" : '') : '')."> ";
+ if($this->subpages)
+ $rtn .= '<a href="#">'.$v.'</a>';
+ else
+ $rtn .= $v;
} else {
$rtn .= "<input type='radio' value='$k' name='".$this->getName()."' id='".$this->id()."-$k'".(!empty($this->selected) ? ($k == $this->selected ? " checked='checked'" : '') : '')." /> $v";
}
Modified: RMC/rmcommon/trunk/rmcommon/class/template.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/template.php 2013-06-10 16:05:19 UTC (rev 11645)
+++ RMC/rmcommon/trunk/rmcommon/class/template.php 2013-06-11 04:50:07 UTC (rev 11646)
@@ -106,7 +106,7 @@
$theme = isset($rmc_config['theme']) ? $rmc_config['theme'] : 'default';
if (!file_exists(RMCPATH.'/themes/'.$theme.'/admin_gui.php')){
- $theme = 'default';
+ $theme = 'twop6';
}
$rm_theme_url = RMCURL.'/themes/'.$theme;
Added: RMC/rmcommon/trunk/rmcommon/font/FontAwesome.otf
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/font/FontAwesome.otf
===================================================================
--- RMC/rmcommon/trunk/rmcommon/font/FontAwesome.otf 2013-06-10 16:05:19 UTC (rev 11645)
+++ RMC/rmcommon/trunk/rmcommon/font/FontAwesome.otf 2013-06-11 04:50:07 UTC (rev 11646)
Property changes on: RMC/rmcommon/trunk/rmcommon/font/FontAwesome.otf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/font/fontawesome-webfont.eot
===================================================================
(Binary files differ)
Index: RMC/rmcommon/trunk/rmcommon/font/fontawesome-webfont.eot
===================================================================
--- RMC/rmcommon/trunk/rmcommon/font/fontawesome-webfont.eot 2013-06-10 16:05:19 UTC (rev 11645)
+++ RMC/rmcommon/trunk/rmcommon/font/fontawesome-webfont.eot 2013-06-11 04:50:07 UTC (rev 11646)
Property changes on: RMC/rmcommon/trunk/rmcommon/font/fontawesome-webfont.eot
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: RMC/rmcommon/trunk/rmcommon/font/fontawesome-webfont.svg
===================================================================
--- RMC/rmcommon/trunk/rmcommon/font/fontawesome-webfont.svg (rev 0)
+++ RMC/rmcommon/trunk/rmcommon/font/fontawesome-webfont.svg 2013-06-11 04:50:07 UTC (rev 11646)
@@ -0,0 +1,339 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
+<svg xmlns="http://www.w3.org/2000/svg">
+<metadata></metadata>
+<defs>
+<font id="fontawesomeregular" horiz-adv-x="1536" >
+<font-face units-per-em="1792" ascent="1536" descent="-256" />
+<missing-glyph horiz-adv-x="448" />
+<glyph unicode=" " horiz-adv-x="448" />
+<glyph unicode="	" horiz-adv-x="448" />
+<glyph unicode=" " horiz-adv-x="448" />
+<glyph unicode="¨" horiz-adv-x="1792" />
+<glyph unicode="©" horiz-adv-x="1792" />
+<glyph unicode="®" horiz-adv-x="1792" />
+<glyph unicode="´" horiz-adv-x="1792" />
+<glyph unicode="Æ" horiz-adv-x="1792" />
+<glyph unicode=" " horiz-adv-x="768" />
+<glyph unicode=" " />
+<glyph unicode=" " horiz-adv-x="768" />
+<glyph unicode=" " />
+<glyph unicode=" " horiz-adv-x="512" />
+<glyph unicode=" " horiz-adv-x="384" />
+<glyph unicode=" " horiz-adv-x="256" />
+<glyph unicode=" " horiz-adv-x="256" />
+<glyph unicode=" " horiz-adv-x="192" />
+<glyph unicode=" " horiz-adv-x="307" />
+<glyph unicode=" " horiz-adv-x="85" />
+<glyph unicode=" " horiz-adv-x="307" />
+<glyph unicode=" " horiz-adv-x="384" />
+<glyph unicode="™" horiz-adv-x="1792" />
+<glyph unicode="∞" horiz-adv-x="1792" />
+<glyph unicode="≠" horiz-adv-x="1792" />
+<glyph unicode="" horiz-adv-x="500" d="M0 0z" />
+<glyph unicode="" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" />
+<glyph unicode="" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" />
+<glyph unicode="" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
+<glyph unicode="" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
+<glyph unicode="" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" />
+<glyph unicode="" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" />
+<glyph unicode="" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" />
+<glyph unicode="" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
+<glyph unicode="" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
+<glyph unicode="" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
+<glyph unicode="" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" />
+<glyph unicode="" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" />
+<glyph unicode="" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" />
+<glyph unicode="" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" />
+<glyph unicode="" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
+<glyph unicode="" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " />
+<glyph unicode="" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" />
+<glyph unicode="" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" />
+<glyph unicode="" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" />
+<glyph unicode="" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
+<glyph unicode="" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" />
+<glyph unicode="" horiz-adv-x="1280" d="M128 0h1024v768h-416q-40 0 -68 28t-28 68v416h-512v-1280zM768 896h299l-299 299v-299zM1280 768v-800q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h544q40 0 88 -20t76 -48l408 -408q28 -28 48 -76t20 -88z" />
+<glyph unicode="" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM768 96q148 0 273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273 t73 -273t198 -198t273 -73zM1024 640q26 0 45 -19t19 -45v-96q0 -26 -19 -45t-45 -19h-416q-26 0 -45 19t-19 45v480q0 26 19 45t45 19h96q26 0 45 -19t19 -45v-320h256z" />
+<glyph unicode="" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" />
+<glyph unicode="" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" />
+<glyph unicode="" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="" d="M1023 576h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8t-2.5 -8h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" />
+<glyph unicode="" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" />
+<glyph unicode="" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" />
+<glyph unicode="" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" />
+<glyph unicode="" horiz-adv-x="1152" d="M704 512q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5q0 -37 19 -67t51 -47l-69 -229q-5 -15 5 -28t26 -13h192q16 0 26 13t5 28l-69 229q32 17 51 47t19 67zM320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68 t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" />
+<glyph unicode="" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" />
+<glyph unicode="" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" />
+<glyph unicode="" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" />
+<glyph unicode="" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" />
+<glyph unicode="" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" />
+<glyph unicode="" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" />
+<glyph unicode="" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" />
+<glyph unicode="" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" />
+<glyph unicode="" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" />
+<glyph unicode="" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 ...
[truncated message content] |
|
From: <bi...@us...> - 2013-11-12 18:24:23
|
Revision: 12227
http://sourceforge.net/p/xoops/svn/12227
Author: bitc3r0
Date: 2013-11-12 18:24:19 +0000 (Tue, 12 Nov 2013)
Log Message:
-----------
Some minor changes in twop6 theme
Modified Paths:
--------------
RMC/rmcommon/trunk/rmcommon/class/proxy.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php
RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php
Modified: RMC/rmcommon/trunk/rmcommon/class/proxy.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/class/proxy.php 2013-11-10 14:54:25 UTC (rev 12226)
+++ RMC/rmcommon/trunk/rmcommon/class/proxy.php 2013-11-12 18:24:19 UTC (rev 12227)
@@ -31,7 +31,7 @@
function get(){
- global $exmConfig;
+ global $xoopsConfig;
// Creamos la petición
$hdrs = array(
'http'=>array(
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php 2013-11-10 14:54:25 UTC (rev 12226)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/class/twop6functions.class.php 2013-11-12 18:24:19 UTC (rev 12227)
@@ -66,16 +66,16 @@
public function moduleMenu($m){
global $xoopsModule, $xoopsUser;
-
+
if(!is_a($xoopsModule, 'XoopsModule')){
$mod = RMFunctions::load_module($m);
} else {
if($xoopsModule->dirname()==$m)
$mod = $xoopsModule;
else
- $mod = RMFunctions::load_module($m);
+ $mod = RMFunctions::get()->load_module($m);
}
-
+
if(!is_a($mod, 'XoopsModule')) return false;
// Check user
@@ -119,10 +119,9 @@
public function moduleSubmenu($submenu, $mod){
if(!is_array($submenu)) return array();
-
foreach($submenu as $i => $menu){
if($menu=='divider') continue;
- $submenu[$i]['link'] = strpos($menu['link'], 'http://')!==FALSE && strpos($menu['link'], 'ftp://')!==FALSE ? $menu['link'] : XOOPS_URL.'/modules/'.$mod->getVar('dirname','n').'/'.$menu['link'];
+ $submenu[$i]['link'] = strpos($menu['link'], 'http://')===TRUE && strpos($menu['link'], 'ftp://')===TRUE ? $menu['link'] : XOOPS_URL.'/modules/'.$mod->getVar('dirname','n').'/'.$menu['link'];
}
return $submenu;
Modified: RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php
===================================================================
--- RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php 2013-11-10 14:54:25 UTC (rev 12226)
+++ RMC/rmcommon/trunk/rmcommon/themes/twop6/theme.php 2013-11-12 18:24:19 UTC (rev 12227)
@@ -128,7 +128,7 @@
<?php endif; ?>
<li class="dropdown">
- <a href="#" title="<?php _e('Modules Box','twop6'); ?>" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">
<i class="xo-icon xicon-modules"></i>
<?php _e('Modules','twop6'); ?>
<b class="caret"></b>
|