You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(361) |
Oct
(65) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(798) |
Feb
(694) |
Mar
(586) |
Apr
(145) |
May
(24) |
Jun
(24) |
Jul
(56) |
Aug
(11) |
Sep
(138) |
Oct
(107) |
Nov
(58) |
Dec
(39) |
| 2004 |
Jan
(157) |
Feb
(24) |
Mar
(13) |
Apr
(14) |
May
(73) |
Jun
(106) |
Jul
(217) |
Aug
(91) |
Sep
(116) |
Oct
(357) |
Nov
(27) |
Dec
(272) |
| 2005 |
Jan
(97) |
Feb
(40) |
Mar
(167) |
Apr
(365) |
May
(344) |
Jun
(357) |
Jul
(407) |
Aug
(529) |
Sep
(204) |
Oct
(52) |
Nov
(80) |
Dec
(1) |
| 2006 |
Jan
(2) |
Feb
(1) |
Mar
(11) |
Apr
(112) |
May
(121) |
Jun
(86) |
Jul
(51) |
Aug
(48) |
Sep
(107) |
Oct
(20) |
Nov
(50) |
Dec
(11) |
| 2007 |
Jan
(7) |
Feb
(11) |
Mar
(8) |
Apr
(11) |
May
(2) |
Jun
(25) |
Jul
(67) |
Aug
(134) |
Sep
(54) |
Oct
(69) |
Nov
(10) |
Dec
(74) |
| 2008 |
Jan
(73) |
Feb
(81) |
Mar
(64) |
Apr
(98) |
May
(157) |
Jun
(68) |
Jul
(80) |
Aug
(108) |
Sep
(176) |
Oct
(107) |
Nov
(265) |
Dec
(60) |
| 2009 |
Jan
(149) |
Feb
(140) |
Mar
(195) |
Apr
(141) |
May
(53) |
Jun
(45) |
Jul
(98) |
Aug
(153) |
Sep
(160) |
Oct
(138) |
Nov
(139) |
Dec
(104) |
| 2010 |
Jan
(188) |
Feb
(259) |
Mar
(133) |
Apr
(104) |
May
(42) |
Jun
(121) |
Jul
(38) |
Aug
(223) |
Sep
(259) |
Oct
(255) |
Nov
(106) |
Dec
(157) |
| 2011 |
Jan
(202) |
Feb
(110) |
Mar
(261) |
Apr
(272) |
May
(218) |
Jun
(108) |
Jul
(141) |
Aug
(205) |
Sep
(326) |
Oct
(279) |
Nov
(368) |
Dec
(238) |
| 2012 |
Jan
(239) |
Feb
(3) |
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
(3) |
Aug
(6) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
(1) |
Feb
(3) |
Mar
(9) |
Apr
(10) |
May
|
Jun
(1) |
Jul
(3) |
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
| 2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
1
|
2
|
|
3
(4) |
4
(8) |
5
(1) |
6
(1) |
7
(10) |
8
(6) |
9
(7) |
|
10
(17) |
11
(11) |
12
(4) |
13
(8) |
14
(8) |
15
(3) |
16
(3) |
|
17
(9) |
18
(28) |
19
(11) |
20
(5) |
21
(12) |
22
(18) |
23
(19) |
|
24
(11) |
25
(21) |
26
(7) |
27
(3) |
28
(5) |
29
(9) |
30
(5) |
|
31
(1) |
|
|
|
|
|
|
|
From: <vo...@us...> - 2010-10-31 08:13:02
|
Revision: 5681
http://xoops.svn.sourceforge.net/xoops/?rev=5681&view=rev
Author: voltan1
Date: 2010-10-31 08:12:56 +0000 (Sun, 31 Oct 2010)
Log Message:
-----------
fix bug in Photo View block
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/blocks/extgallery_blocks.php
Modified: XoopsModules/extgallery/trunk/modules/extgallery/blocks/extgallery_blocks.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/blocks/extgallery_blocks.php 2010-10-30 15:26:23 UTC (rev 5680)
+++ XoopsModules/extgallery/trunk/modules/extgallery/blocks/extgallery_blocks.php 2010-10-31 08:12:56 UTC (rev 5681)
@@ -26,6 +26,7 @@
$param = array('limit'=>$options[0]);
$direction = $options[1];
$desc = $options[2];
+ $photoHandlertype = $options[3];
array_shift($options);
array_shift($options);
@@ -52,7 +53,7 @@
$photos = $photoHandler->objectToArray($photoHandler->getTopRatedPhoto($param));
} else {
$photos = $photoHandler->objectToArray($photoHandler->getTopEcardPhoto($param));
- }
+ }
if(count($photos) == 0) {
return array();
@@ -191,12 +192,6 @@
// Manage Ajax photos
function extgalleryAjax($options) {
- //global $xoTheme;
- //$xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js');
- //$xoTheme->addScript('browse.php?modules/extgallery/include/galleryview.js');
- //$xoTheme->addScript('browse.php?modules/extgallery/include/timers.js');
- //$xoTheme->addScript('browse.php?modules/extgallery/include/easing.js');
-
$photoHandler = xoops_getmodulehandler('publicphoto', 'extgallery');
$param = array('limit'=>$options[0]);
$panel_width = $options[1];
@@ -320,6 +315,8 @@
$nChecked = ' checked="checked"';
}
+ $form .= _MB_EXTGALLERY_DISPLAY_DESC.' : <input type="radio" name="options[]" value="1"'.$yChecked.' /> '._YES.' <input type="radio" name="options[]" value="0"'.$nChecked.' />'._NO.'<br />';
+
$effectTypeSelect = new XoopsFormSelect(_MB_EXTGALLERY_SHOW_TYPE, 'options[]',$options[3]);
$effectTypeSelect->addOption("RandomPhoto", _MB_EXTGALLERY_TYPE_OP1);
$effectTypeSelect->addOption("LastPhoto", _MB_EXTGALLERY_TYPE_OP2);
@@ -327,13 +324,12 @@
$effectTypeSelect->addOption("TopRatedPhoto", _MB_EXTGALLERY_TYPE_OP4);
$effectTypeSelect->addOption("TopEcardPhoto", _MB_EXTGALLERY_TYPE_OP5);
$form .= _MB_EXTGALLERY_SHOW_TYPE." : ".$effectTypeSelect->render().'<br />';
-
- array_shift($options);
+
array_shift($options);
array_shift($options);
array_shift($options);
+ array_shift($options);
- $form .= _MB_EXTGALLERY_DISPLAY_DESC.' : <input type="radio" name="options[]" value="1"'.$yChecked.' /> '._YES.' <input type="radio" name="options[]" value="0"'.$nChecked.' />'._NO.'<br />';
$form .= $catHandler->getBlockSelect($options);
return $form;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <kr...@us...> - 2010-10-30 15:26:29
|
Revision: 5680
http://xoops.svn.sourceforge.net/xoops/?rev=5680&view=rev
Author: kris_fr
Date: 2010-10-30 15:26:23 +0000 (Sat, 30 Oct 2010)
Log Message:
-----------
add language defines for tinymce in global.php - xoops 2.5.0
Modified Paths:
--------------
XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/language/english/global.php
Modified: XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/language/english/global.php
===================================================================
--- XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/language/english/global.php 2010-10-30 11:09:49 UTC (rev 5679)
+++ XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/language/english/global.php 2010-10-30 15:26:23 UTC (rev 5680)
@@ -98,6 +98,16 @@
/**
* Image manager
*/
+define("_MD_ADDIMGCAT","Add Category");
+define("_MD_IMGCATNAME","Category name");
+define("_MD_IMGCATRGRP","Select groups for image manager use");
+define("_MD_IMGCATWGRP","Select groups allowed to upload images");
+define("_MD_IMGCATWEIGHT","Display order in image manager");
+define("_MD_IMGCATDISPLAY","Display");
+define("_MD_IMGCATSTRTYPE","Images are uploaded to:");
+define("_MD_STRTYOPENG","This can not be changed afterwards!");
+define("_MD_ASFILE","Store as files (in uploads directory)");
+define("_MD_INDB","Store in the database (as binary \"blob\" data)");
define('_IMGMANAGER', 'Image Manager');
define('_NUMIMAGES', '%s images');
define('_ADDIMAGE', 'Add Image File');
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dav...@us...> - 2010-10-30 11:09:55
|
Revision: 5679
http://xoops.svn.sourceforge.net/xoops/?rev=5679&view=rev
Author: davidenprossi
Date: 2010-10-30 11:09:49 +0000 (Sat, 30 Oct 2010)
Log Message:
-----------
v1.71 (RC) UTF-8 SEO
Modified Paths:
--------------
XoopsModules/xnews/trunk/modules/xnews/docs/changelog.txt
Modified: XoopsModules/xnews/trunk/modules/xnews/docs/changelog.txt
===================================================================
--- XoopsModules/xnews/trunk/modules/xnews/docs/changelog.txt 2010-10-30 10:46:56 UTC (rev 5678)
+++ XoopsModules/xnews/trunk/modules/xnews/docs/changelog.txt 2010-10-30 11:09:49 UTC (rev 5679)
@@ -1,6 +1,6 @@
Changelog
-v1.71 UTF-8 SEO
+v1.71 (RC) UTF-8 SEO
*******
- Changed Frameworks/tcpdf/config/tcpdf_config.php with voltan's patch
Instead of getting default tcpdf header image and info now you get xoopsroot/images/logo.png and
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dav...@us...> - 2010-10-30 10:47:03
|
Revision: 5678
http://xoops.svn.sourceforge.net/xoops/?rev=5678&view=rev
Author: davidenprossi
Date: 2010-10-30 10:46:56 +0000 (Sat, 30 Oct 2010)
Log Message:
-----------
Fixed seo issue - added pdf view in article
Modified Paths:
--------------
XoopsModules/xnews/trunk/modules/xnews/docs/changelog.txt
Added Paths:
-----------
XoopsModules/xnews/trunk/modules/xnews/js/pdfobject.js
XoopsModules/xnews/trunk/modules/xnews/js/src/pdfobject_source.js
Removed Paths:
-------------
XoopsModules/xnews/trunk/modules/xnews/docs/seo-samples/not-tested-in-170-wishcraft.htaccess
Modified: XoopsModules/xnews/trunk/modules/xnews/docs/changelog.txt
===================================================================
--- XoopsModules/xnews/trunk/modules/xnews/docs/changelog.txt 2010-10-30 10:14:23 UTC (rev 5677)
+++ XoopsModules/xnews/trunk/modules/xnews/docs/changelog.txt 2010-10-30 10:46:56 UTC (rev 5678)
@@ -483,7 +483,6 @@
> For security reasons, I have removed the Xoops version from the printed version of an article
> I have corrected an error in the block called "Navigate thru topics", the number of news was false, it was counting expired articles (thank you Solo71)
> I have modified the backend.php script so that it uses every news (not only those who are described to be only visible on the homepage)
-
> The four tables visibles in the module's admin and containing news will now use a pagenav
> I have removed all the htmlentities for multibytes languages
> The number of sql queries of the "top news" and "recent news" blocks was reduced
Deleted: XoopsModules/xnews/trunk/modules/xnews/docs/seo-samples/not-tested-in-170-wishcraft.htaccess
===================================================================
--- XoopsModules/xnews/trunk/modules/xnews/docs/seo-samples/not-tested-in-170-wishcraft.htaccess 2010-10-30 10:14:23 UTC (rev 5677)
+++ XoopsModules/xnews/trunk/modules/xnews/docs/seo-samples/not-tested-in-170-wishcraft.htaccess 2010-10-30 10:46:56 UTC (rev 5678)
@@ -1,20 +0,0 @@
-RewriteEngine On
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteCond %{REQUEST_FILENAME} !-d
-
-RewriteRule ^news/(.*?)/(.*?)/images/(.*) modules/xnews/images/$2 [L,NC,QSA]
-RewriteRule ^news/(.*?)/images/(.*) modules/xnews/images/$2 [L,NC,QSA]
-RewriteRule ^news/images/(.*) modules/xnews/images/$2 [L,NC,QSA]
-RewriteRule ^news/(.*?)/(.*?)/([0-9]+).html modules/xnews/article.php?storycategory=$1&story_title=$2&storyid=$3 [L,NC,QSA]
-RewriteRule ^news/(.*?)/(.*?)/pdf,([0-9]+).pdf modules/xnews/makepdf.php?storyid=$3 [L,NC,QSA]
-RewriteRule ^news/(.*?)/(.*?)/print,([0-9]+).html modules/xnews/print.php?storyid=$3 [L,NC,QSA]
-RewriteRule ^news/(.*?)/(.*?)/rate,([0-9]+).html modules/xnews/ratenews.php?storyid=$3 [L,NC,QSA]
-RewriteRule ^news/(.*?)/(.*?)/comment_([a-zA-Z0-9\&\%\?\_\.\-\=]+) modules/xnews/comment_$3 [L,NC,QSA]
-RewriteRule ^news/(.*?)/(.*?)/notification_([a-zA-Z0-9\&\%\?\_\.\-\=]+) modules/xnews/notification_$3 [L,NC,QSA]
-RewriteRule ^news/(.*?)/([0-9]+),([0-9]+),([0-9]+).html modules/xnews/index.php?topic_id=$2&start=$3&storynum=$4 [L,NC,QSA]
-RewriteRule ^news/(.*?)/feed,([0-9]+).rss modules/xnews/backendt.php?topicid=$2 [L,NC,QSA]
-RewriteRule ^news/([0-9]+),([0-9]+),([0-9]+).html modules/xnews/index.php?topic_id=$1&start=$2&storynum=$3 [L,NC,QSA]
-RewriteRule ^news/feed,([0-9]+).rss modules/xnews/backendt.php?topicid=$2 [L,NC,QSA]
-RewriteRule ^news/archives/([0-9]+),([0-9]+).html modules/xnews/archive.php?year=$1&month=$2
-RewriteRule ^news/topics,directory.html modules/xnews/topics_directory.php [L,NC,QSA]
-
Added: XoopsModules/xnews/trunk/modules/xnews/js/pdfobject.js
===================================================================
--- XoopsModules/xnews/trunk/modules/xnews/js/pdfobject.js (rev 0)
+++ XoopsModules/xnews/trunk/modules/xnews/js/pdfobject.js 2010-10-30 10:46:56 UTC (rev 5678)
@@ -0,0 +1,272 @@
+/*
+ PDFObject, copyright (C) 2008 Philip Hutchison (pipwerks.com)
+ Documentation and examples are at www.pdfobject.com
+ Version 1.0, September 2008
+ MIT style license
+*/
+
+/*
+ PDFObject, copyright (C) 2008 Philip Hutchison (pipwerks.com)
+ Documentation and examples are at www.pdfobject.com
+ Version 1.0, September 2008
+ MIT style license
+*/
+
+/*global ActiveXObject */
+
+var pipwerks = pipwerks || {};
+
+/* ----------------------------------------------------
+ Supporting functions
+ ---------------------------------------------------- */
+
+pipwerks.pdfUTILS = {
+
+
+ termFound: function (strToSearch, term){
+ return (strToSearch.indexOf(term) !== -1);
+ },
+
+
+ detect: {
+
+
+ hasReaderActiveX: function (){
+
+ var axObj = null;
+
+ if (window.ActiveXObject) {
+
+ axObj = new ActiveXObject("AcroPDF.PDF");
+
+ if(!axObj){
+
+ axObj = new ActiveXObject("PDF.PdfCtrl");
+
+ }
+
+ if (axObj !== null) {
+
+ return true;
+
+ }
+
+ }
+
+ return false;
+
+ },
+
+
+ hasReader: function (){
+
+ var termFound = pipwerks.pdfUTILS.termFound;
+ var n = navigator.plugins;
+
+ for(var i=0; i < n.length; i++){
+
+ var name = n[i].name;
+
+ if(termFound(name, "Adobe Reader") || termFound(name, "Adobe PDF") || termFound(name, "Acrobat")){
+
+ return true;
+
+ }
+
+ }
+
+ return false;
+
+ },
+
+
+ hasGeneric: function (){ //Detects PDF plugin, regardless of manufacturer
+
+ var plugin = navigator.mimeTypes["application/pdf"];
+ return (plugin && plugin.enabledPlugin);
+
+ },
+
+
+ pluginFound: function (){
+
+ var type = null;
+ var detect = pipwerks.pdfUTILS.detect;
+
+ if(detect.hasReader() || detect.hasReaderActiveX()){
+
+ type = "Adobe";
+
+ } else if(detect.hasGeneric()) {
+
+ type = "generic";
+
+ }
+
+ return type;
+
+ }
+
+ }, // END detect
+
+
+ setCssForFullWindowPdf: function (){
+
+ if(!document.getElementsByTagName){ return false; }
+
+ var html = document.getElementsByTagName("html");
+ if(!html){ return false; }
+
+ var el = html[0];
+ el.style.height = "100%";
+ el.style.overflow = "hidden";
+
+ var b = document.body;
+ b.style.margin = "0";
+ b.style.padding = "0";
+ b.style.height = "100%";
+ b.style.overflow = "hidden";
+
+ },
+
+
+ buildQueryString: function(pdfOpenParams){
+
+ var string = "";
+
+ if(!pdfOpenParams){ return string; }
+
+ for (var prop in pdfOpenParams) {
+
+ if (pdfOpenParams.hasOwnProperty(prop)) {
+
+ string += prop + "=";
+
+ if(prop === "search") {
+
+ string += encodeURI(pdfOpenParams[prop]);
+
+ } else {
+
+ string += pdfOpenParams[prop];
+
+ }
+
+ string += "&";
+
+ }
+
+ }
+
+ //Remove last ampersand
+ return string.slice(0, string.length - 1);
+
+ }
+
+};
+
+
+
+/* ----------------------------------------------------
+ PDF Embedding functions
+ ---------------------------------------------------- */
+
+pipwerks.pdfObject = function (obj){
+
+ if(!document.getElementById || !obj.url){ return false; }
+
+ this.url = encodeURI(obj.url) + "#"; //The hash (#) prevents odd behavior in Windows
+ this.id = obj.id || false;
+ this.width = obj.width || "100%";
+ this.height = obj.height || "100%";
+ this.pdfOpenParams = obj.pdfOpenParams;
+ this.url += pipwerks.pdfUTILS.buildQueryString(this.pdfOpenParams); //Append optional Adobe params for opening document
+ this.pluginTypeFound = pipwerks.pdfUTILS.detect.pluginFound();
+ this.pdfobjectversion = "1.0";
+ return this; //"return this" allows chaining
+
+};
+
+
+pipwerks.pdfObject.prototype.get = function(prop){
+
+ var value = null;
+
+ switch(prop){
+ case "url" : value = this.url; break;
+ case "id" : value = this.id; break;
+ case "width" : value = this.width; break;
+ case "height" : value = this.height; break;
+ case "pdfOpenParams" : value = this.pdfOpenParams; break;
+ case "pluginTypeFound" : value = this.pluginTypeFound; break;
+ case "pdfobjectversion" : value = this.pdfobjectversion; break;
+ }
+
+ return value;
+
+};
+
+
+pipwerks.pdfObject.prototype.embed = function(targetID){
+
+ if(!this.pluginTypeFound){ return false; }
+ if(!document.createElement || !document.getElementById){ return false; }
+
+ var isIE =/*@cc_on!@*/false;
+ var targetNode = null;
+
+ if(targetID){
+
+ targetNode = document.getElementById(targetID);
+ //Ensure target element is found in document before continuing
+ if(!targetNode){ return false; }
+
+ } else {
+
+ targetNode = document.body;
+ pipwerks.pdfUTILS.setCssForFullWindowPdf();
+ this.width = "100%";
+ this.height = "100%";
+
+ }
+
+
+ var objEl;
+
+ if(isIE){
+
+ //Special handling for our special friend IE6
+ objEl = document.createElement("<object classid='CLSID:CA8A9780-280D-11CF-A24D-444553540000'>");
+
+ } else {
+
+ objEl = document.createElement("object");
+
+ }
+
+ objEl.setAttribute("type", "application/pdf");
+ objEl.setAttribute("data", this.url);
+ objEl.setAttribute("width", this.width);
+ objEl.setAttribute("height", this.height);
+ if(this.id){ objEl.setAttribute("id", this.id); }
+
+
+
+ //Remove child nodes if necessary
+ if(targetNode.hasChildNodes){
+
+ while(targetNode.childNodes.length > 0){
+
+ targetNode.removeChild(targetNode.firstChild);
+
+ }
+
+ }
+
+ targetNode.appendChild(objEl);
+
+ return objEl;
+
+};
+
+var PDFObject = pipwerks.pdfObject;
Property changes on: XoopsModules/xnews/trunk/modules/xnews/js/pdfobject.js
___________________________________________________________________
Added: svn:executable
+ *
Added: XoopsModules/xnews/trunk/modules/xnews/js/src/pdfobject_source.js
===================================================================
--- XoopsModules/xnews/trunk/modules/xnews/js/src/pdfobject_source.js (rev 0)
+++ XoopsModules/xnews/trunk/modules/xnews/js/src/pdfobject_source.js 2010-10-30 10:46:56 UTC (rev 5678)
@@ -0,0 +1,272 @@
+/*
+ PDFObject, copyright (C) 2008 Philip Hutchison (pipwerks.com)
+ Documentation and examples are at www.pdfobject.com
+ Version 1.0, September 2008
+ MIT style license
+*/
+
+/*
+ PDFObject, copyright (C) 2008 Philip Hutchison (pipwerks.com)
+ Documentation and examples are at www.pdfobject.com
+ Version 1.0, September 2008
+ MIT style license
+*/
+
+/*global ActiveXObject */
+
+var pipwerks = pipwerks || {};
+
+/* ----------------------------------------------------
+ Supporting functions
+ ---------------------------------------------------- */
+
+pipwerks.pdfUTILS = {
+
+
+ termFound: function (strToSearch, term){
+ return (strToSearch.indexOf(term) !== -1);
+ },
+
+
+ detect: {
+
+
+ hasReaderActiveX: function (){
+
+ var axObj = null;
+
+ if (window.ActiveXObject) {
+
+ axObj = new ActiveXObject("AcroPDF.PDF");
+
+ if(!axObj){
+
+ axObj = new ActiveXObject("PDF.PdfCtrl");
+
+ }
+
+ if (axObj !== null) {
+
+ return true;
+
+ }
+
+ }
+
+ return false;
+
+ },
+
+
+ hasReader: function (){
+
+ var termFound = pipwerks.pdfUTILS.termFound;
+ var n = navigator.plugins;
+
+ for(var i=0; i < n.length; i++){
+
+ var name = n[i].name;
+
+ if(termFound(name, "Adobe Reader") || termFound(name, "Adobe PDF") || termFound(name, "Acrobat")){
+
+ return true;
+
+ }
+
+ }
+
+ return false;
+
+ },
+
+
+ hasGeneric: function (){ //Detects PDF plugin, regardless of manufacturer
+
+ var plugin = navigator.mimeTypes["application/pdf"];
+ return (plugin && plugin.enabledPlugin);
+
+ },
+
+
+ pluginFound: function (){
+
+ var type = null;
+ var detect = pipwerks.pdfUTILS.detect;
+
+ if(detect.hasReader() || detect.hasReaderActiveX()){
+
+ type = "Adobe";
+
+ } else if(detect.hasGeneric()) {
+
+ type = "generic";
+
+ }
+
+ return type;
+
+ }
+
+ }, // END detect
+
+
+ setCssForFullWindowPdf: function (){
+
+ if(!document.getElementsByTagName){ return false; }
+
+ var html = document.getElementsByTagName("html");
+ if(!html){ return false; }
+
+ var el = html[0];
+ el.style.height = "100%";
+ el.style.overflow = "hidden";
+
+ var b = document.body;
+ b.style.margin = "0";
+ b.style.padding = "0";
+ b.style.height = "100%";
+ b.style.overflow = "hidden";
+
+ },
+
+
+ buildQueryString: function(pdfOpenParams){
+
+ var string = "";
+
+ if(!pdfOpenParams){ return string; }
+
+ for (var prop in pdfOpenParams) {
+
+ if (pdfOpenParams.hasOwnProperty(prop)) {
+
+ string += prop + "=";
+
+ if(prop === "search") {
+
+ string += encodeURI(pdfOpenParams[prop]);
+
+ } else {
+
+ string += pdfOpenParams[prop];
+
+ }
+
+ string += "&";
+
+ }
+
+ }
+
+ //Remove last ampersand
+ return string.slice(0, string.length - 1);
+
+ }
+
+};
+
+
+
+/* ----------------------------------------------------
+ PDF Embedding functions
+ ---------------------------------------------------- */
+
+pipwerks.pdfObject = function (obj){
+
+ if(!document.getElementById || !obj.url){ return false; }
+
+ this.url = encodeURI(obj.url) + "#"; //The hash (#) prevents odd behavior in Windows
+ this.id = obj.id || false;
+ this.width = obj.width || "100%";
+ this.height = obj.height || "100%";
+ this.pdfOpenParams = obj.pdfOpenParams;
+ this.url += pipwerks.pdfUTILS.buildQueryString(this.pdfOpenParams); //Append optional Adobe params for opening document
+ this.pluginTypeFound = pipwerks.pdfUTILS.detect.pluginFound();
+ this.pdfobjectversion = "1.0";
+ return this; //"return this" allows chaining
+
+};
+
+
+pipwerks.pdfObject.prototype.get = function(prop){
+
+ var value = null;
+
+ switch(prop){
+ case "url" : value = this.url; break;
+ case "id" : value = this.id; break;
+ case "width" : value = this.width; break;
+ case "height" : value = this.height; break;
+ case "pdfOpenParams" : value = this.pdfOpenParams; break;
+ case "pluginTypeFound" : value = this.pluginTypeFound; break;
+ case "pdfobjectversion" : value = this.pdfobjectversion; break;
+ }
+
+ return value;
+
+};
+
+
+pipwerks.pdfObject.prototype.embed = function(targetID){
+
+ if(!this.pluginTypeFound){ return false; }
+ if(!document.createElement || !document.getElementById){ return false; }
+
+ var isIE =/*@cc_on!@*/false;
+ var targetNode = null;
+
+ if(targetID){
+
+ targetNode = document.getElementById(targetID);
+ //Ensure target element is found in document before continuing
+ if(!targetNode){ return false; }
+
+ } else {
+
+ targetNode = document.body;
+ pipwerks.pdfUTILS.setCssForFullWindowPdf();
+ this.width = "100%";
+ this.height = "100%";
+
+ }
+
+
+ var objEl;
+
+ if(isIE){
+
+ //Special handling for our special friend IE6
+ objEl = document.createElement("<object classid='CLSID:CA8A9780-280D-11CF-A24D-444553540000'>");
+
+ } else {
+
+ objEl = document.createElement("object");
+
+ }
+
+ objEl.setAttribute("type", "application/pdf");
+ objEl.setAttribute("data", this.url);
+ objEl.setAttribute("width", this.width);
+ objEl.setAttribute("height", this.height);
+ if(this.id){ objEl.setAttribute("id", this.id); }
+
+
+
+ //Remove child nodes if necessary
+ if(targetNode.hasChildNodes){
+
+ while(targetNode.childNodes.length > 0){
+
+ targetNode.removeChild(targetNode.firstChild);
+
+ }
+
+ }
+
+ targetNode.appendChild(objEl);
+
+ return objEl;
+
+};
+
+var PDFObject = pipwerks.pdfObject;
\ No newline at end of file
Property changes on: XoopsModules/xnews/trunk/modules/xnews/js/src/pdfobject_source.js
___________________________________________________________________
Added: svn:executable
+ *
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dav...@us...> - 2010-10-30 10:14:30
|
Revision: 5677
http://xoops.svn.sourceforge.net/xoops/?rev=5677&view=rev
Author: davidenprossi
Date: 2010-10-30 10:14:23 +0000 (Sat, 30 Oct 2010)
Log Message:
-----------
English - language corrections
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php
XoopsModules/extgallery/trunk/modules/extgallery/language/english/main.php
XoopsModules/extgallery/trunk/modules/extgallery/language/english/modinfo.php
Modified: XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-30 06:29:41 UTC (rev 5676)
+++ XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-30 10:14:23 UTC (rev 5677)
@@ -29,6 +29,7 @@
- Add album page in admin area for manage album effect options (voltan)
- Change slideshow script from mootools to jquery and add galleryview script and options (voltan)
- Add galleria Scripts for slideshow (voltan)
+
modinfo.php
_MI_EXTGAL_DISP_SET_ORDER (added)
_MI_EXTGAL_DISP_SET_ORDER_DESC (added)
@@ -65,6 +66,10 @@
_MI_EXTGAL_INFO_USER (added)
_MI_EXTGALLERY_ALBUM (added)
+main.php
+_MD_EXTGALLERY_PREVIEW Preview to Previous changed
+
+
blocks.php
_MB_EXTGALLERY_USER_NUMBER (added)
_MB_EXTGALLERY_PANEL_WIDTH (added)
Modified: XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php 2010-10-30 06:29:41 UTC (rev 5676)
+++ XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php 2010-10-30 10:14:23 UTC (rev 5677)
@@ -203,8 +203,8 @@
define('_AM_EXTGALLERY_GRIA_PANELWIDTH',"Panel width");
// Album
-define('_AM_EXTGALLERY_USE_AJAX_EFFECTS',"Type of show albums");
-define('_AM_EXTGALLERY_USE_AJAX_EFFECTS_DESC',"Type of show photos in albums. you and use Ajax effects or normall show.<br /><b>Normal</b> : use module whit out any effects<br /><b>Lightbox</b> : Use Lightbox effect<br /><b>Overlay</b> : use Overlay effect");
+define('_AM_EXTGALLERY_USE_AJAX_EFFECTS',"Ajax effects ");
+define('_AM_EXTGALLERY_USE_AJAX_EFFECTS_DESC',"Selecting effects will change photo display <br> when thumbs are clicked. <br /> Ajax effects or Normal can be selected.<br /><b>Normal</b> : No effects<br /><b>Lightbox</b> : Use Lightbox effect<br /><b>Overlay</b> : use Overlay effect");
define('_AM_EXTGALLERY_AJAX_NONE',"Normal");
define('_AM_EXTGALLERY_AJAX_LIGHTBOX',"Lightbox");
define('_AM_EXTGALLERY_AJAX_OVERLAY',"Overlay");
@@ -232,11 +232,11 @@
define('_AM_EXTGALLERY_ALBUM_NOT_ENABLE',"Album not enabled");
// Update
-define('_AM_EXTGALLERY_MD_FILE_DONT_EXIST',"Module file don't exist on repository :<br /><b>Server : </b>%s<br /><b>File : </b>%s");
-define('_AM_EXTGALLERY_LG_FILE_DONT_EXIST',"Language file don't exist on repository :<br /><b>Server : </b>%s<br /><b>File : </b>%s");
+define('_AM_EXTGALLERY_MD_FILE_DONT_EXIST',"Module files don't exist on repository :<br /><b>Server : </b>%s<br /><b>File : </b>%s");
+define('_AM_EXTGALLERY_LG_FILE_DONT_EXIST',"Language files don't exist on repository :<br /><b>Server : </b>%s<br /><b>File : </b>%s");
define('_AM_EXTGALLERY_DOWN_DONE',"Downloading done. Click here to install files");
define('_AM_EXTGALLERY_INSTALL',"Install files");
-define('_AM_EXTGALLERY_MD_FILE_DONT_EXIST_SHORT',"Module file don't exist");
+define('_AM_EXTGALLERY_MD_FILE_DONT_EXIST_SHORT',"Module files don't exist");
define('_AM_EXTGALLERY_INSTALL_DONE',"Installing done. Click here to update your module");
// Extention
@@ -249,4 +249,4 @@
define('_AM_EXTGALLERY_EXT_FILE_DONT_EXIST_SHORT',"Extention file don't exist");
define('_AM_EXTGALLERY_EXTENTION_INSTALLED',"Extention installed");
-?>
\ No newline at end of file
+?>
Modified: XoopsModules/extgallery/trunk/modules/extgallery/language/english/main.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/language/english/main.php 2010-10-30 06:29:41 UTC (rev 5676)
+++ XoopsModules/extgallery/trunk/modules/extgallery/language/english/main.php 2010-10-30 10:14:23 UTC (rev 5677)
@@ -17,7 +17,7 @@
define("_MD_EXTGALLERY_RATING_SCORE","Rating score");
// Photo page
-define("_MD_EXTGALLERY_PREVIEW","Preview");
+define("_MD_EXTGALLERY_PREVIEW","Previous");
define("_MD_EXTGALLERY_NEXT","Next");
define("_MD_EXTGALLERY_OF","of");
define("_MD_EXTGALLERY_VOTE_FOR_THIS_PHOTO","Vote for this photo");
@@ -82,4 +82,4 @@
// Public Slideshow
define("_MD_EXTGALLERY_MOREINFO","More");
-?>
\ No newline at end of file
+?>
Modified: XoopsModules/extgallery/trunk/modules/extgallery/language/english/modinfo.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/language/english/modinfo.php 2010-10-30 06:29:41 UTC (rev 5676)
+++ XoopsModules/extgallery/trunk/modules/extgallery/language/english/modinfo.php 2010-10-30 10:14:23 UTC (rev 5677)
@@ -5,7 +5,7 @@
// Main menu
define('_MI_EXTGALLERY_USERALBUM',"My album");
-define('_MI_EXTGALLERY_PUBLIC_UPLOAD',"Upload public");
+define('_MI_EXTGALLERY_PUBLIC_UPLOAD',"Public Upload");
// Main administration menu
define('_MI_EXTGALLERY_INDEX',"Index");
@@ -21,7 +21,7 @@
define('_MI_EXTGAL_DISP_TYPE',"Display type");
define('_MI_EXTGAL_DISP_TYPE_DESC',"Select the display type for photo");
define('_MI_EXTGAL_DISP_SET_ORDER',"Display Photo order type");
-define('_MI_EXTGAL_DISP_SET_ORDER_DESC',"Select the display order type for photo, desc or asc , bacsed by submit photo upload time");
+define('_MI_EXTGAL_DISP_SET_ORDER_DESC',"Select the display order type for photo, desc or asc , based on submit photo upload time");
define('_MI_EXTGALLERY_DESC',"Desc");
define('_MI_EXTGALLERY_ASC',"Asc");
define('_MI_EXTGAL_NB_COLUMN',"Number of Columns in each album");
@@ -71,14 +71,15 @@
define('_MI_EXTGAL_M_QUALITY_DESC',"Quality for medium photo from 0 (bad) to 100 (good)");
define('_MI_EXTGAL_T_QUALITY',"Thumb photo quality");
define('_MI_EXTGAL_T_QUALITY_DESC',"Quality for thumb photo from 0 (bad) to 100 (good)");
-define('_MI_EXTGALLERY_ALBUM',"Album");
+//DNPROSSI - Double define to be removed
+//define('_MI_EXTGALLERY_ALBUM',"Album");
define('_MI_EXTGAL_EXT_UPLOAD',"Upload type page");
define('_MI_EXTGAL_EXT_UPLOAD_DESC',"Select the upload type that is provided to user. Extended require Java plugin.");
define('_MI_EXTGALLERY_EXTENDED',"Extended");
define('_MI_EXTGALLERY_STANDARD',"Standard");
// Bloc Name
-define('_MI_EXTGAL_B_PHOTO',"photo");
+define('_MI_EXTGAL_B_PHOTO',"Photo View");
define('_MI_EXTGAL_B_SLIDESHOW',"Slideshow");
define('_MI_EXTGAL_B_SUB',"Top Submitter");
define('_MI_EXTGAL_B_AJAX',"Ajax Gallery View");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vo...@us...> - 2010-10-30 06:29:49
|
Revision: 5676
http://xoops.svn.sourceforge.net/xoops/?rev=5676&view=rev
Author: voltan1
Date: 2010-10-30 06:29:41 +0000 (Sat, 30 Oct 2010)
Log Message:
-----------
Add fancybox for album and user album
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php
XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php
XoopsModules/extgallery/trunk/modules/extgallery/public-album.php
XoopsModules/extgallery/trunk/modules/extgallery/public-useralbum.php
XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-album.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-useralbum.html
XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php
Added Paths:
-----------
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/blank.gif
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_close.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_loading.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_nav_left.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_nav_right.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_e.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_n.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_ne.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_nw.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_s.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_se.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_sw.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_w.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_title_left.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_title_main.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_title_over.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_title_right.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancybox-x.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancybox-y.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancybox.png
XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/index.html
XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/
XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/easing.js
XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/fancybox.css
XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/fancybox.js
XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/fancybox.pack.js
XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/index.html
XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/mousewheel.js
Modified: XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php 2010-10-29 22:57:56 UTC (rev 5675)
+++ XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php 2010-10-30 06:29:41 UTC (rev 5676)
@@ -158,6 +158,108 @@
$configHandler->insertConfig($config);
}
}
+
+ if(isset($_POST['album_fancybox_color'])) {
+ if($xoopsModuleConfig['album_fancybox_color'] != $_POST['album_fancybox_color']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','album_fancybox_color'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'album_fancybox_color',
+ 'conf_value'=>$_POST['album_fancybox_color'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+ }
+
+ if(isset($_POST['album_fancybox_opacity'])) {
+ if($xoopsModuleConfig['album_fancybox_opacity'] != $_POST['album_fancybox_opacity']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','album_fancybox_opacity'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'album_fancybox_opacity',
+ 'conf_value'=>$_POST['album_fancybox_opacity'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+ }
+
+ if(isset($_POST['album_fancybox_tin'])) {
+ if($xoopsModuleConfig['album_fancybox_tin'] != $_POST['album_fancybox_tin']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','album_fancybox_tin'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'album_fancybox_tin',
+ 'conf_value'=>$_POST['album_fancybox_tin'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+ }
+
+ if(isset($_POST['album_fancybox_tout'])) {
+ if($xoopsModuleConfig['album_fancybox_tout'] != $_POST['album_fancybox_tout']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','album_fancybox_tout'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'album_fancybox_tout',
+ 'conf_value'=>$_POST['album_fancybox_tout'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+ }
+
+ if(isset($_POST['album_fancybox_title'])) {
+ if($xoopsModuleConfig['album_fancybox_title'] != $_POST['album_fancybox_title']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','album_fancybox_title'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'album_fancybox_title',
+ 'conf_value'=>$_POST['album_fancybox_title'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+ }
+
+
redirect_header("album.php", 3, _AM_EXTGALLERY_CONFIGURATION_SAVED);
break;
@@ -176,6 +278,7 @@
$ajaxeffectSelect->addOption("lightbox", _AM_EXTGALLERY_AJAX_LIGHTBOX);
$ajaxeffectSelect->addOption("overlay", _AM_EXTGALLERY_AJAX_OVERLAY);
$ajaxeffectSelect->addOption("tooltip", _AM_EXTGALLERY_AJAX_TOOLTIP);
+ $ajaxeffectSelect->addOption("fancybox", _AM_EXTGALLERY_AJAX_FANCYBOX);
$form->addElement($ajaxeffectSelect);
if($xoopsModuleConfig['use_ajax_effects'] == 'overlay'){
@@ -192,6 +295,24 @@
$form->addElement(new XoopsFormText(_AM_EXTGALLERY_TOOLTIP_BORDER_WIDHT, 'album_tooltip_borderwidth', '6', '6', $xoopsModuleConfig['album_tooltip_borderwidth']),false);
$form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_TOOLTIP_BORDERCOLOR, 'album_tooltip_bordercolor', $xoopsModuleConfig['album_tooltip_bordercolor']),false);
}
+
+ if($xoopsModuleConfig['use_ajax_effects'] == 'fancybox'){
+ $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_FANCYBOX_BGCOLOR, 'album_fancybox_color', $xoopsModuleConfig['album_fancybox_color']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_FANCYBOX_OPACITY, 'album_fancybox_opacity', '6', '6', $xoopsModuleConfig['album_fancybox_opacity']),false);
+ $fancyboxtinSelect = new XoopsFormSelect(_AM_EXTGALLERY_FANCYBOX_TIN, 'album_fancybox_tin',$xoopsModuleConfig['album_fancybox_tin']);
+ $fancyboxtinSelect->addOption("none", _AM_EXTGALLERY_FANCYBOX_NONE);
+ $fancyboxtinSelect->addOption("elastic", _AM_EXTGALLERY_FANCYBOX_ELASTIC);
+ $form->addElement($fancyboxtinSelect);
+ $fancyboxtoutSelect = new XoopsFormSelect(_AM_EXTGALLERY_FANCYBOX_TOUT, 'album_fancybox_tout',$xoopsModuleConfig['album_fancybox_tout']);
+ $fancyboxtoutSelect->addOption("none", _AM_EXTGALLERY_FANCYBOX_NONE);
+ $fancyboxtoutSelect->addOption("elastic", _AM_EXTGALLERY_FANCYBOX_ELASTIC);
+ $form->addElement($fancyboxtoutSelect);
+ $fancyboxtpSelect = new XoopsFormSelect(_AM_EXTGALLERY_FANCYBOX_TITLEPOSITION, 'album_fancybox_title',$xoopsModuleConfig['album_fancybox_title']);
+ $fancyboxtpSelect->addOption("over", _AM_EXTGALLERY_FANCYBOX_OVER);
+ $fancyboxtpSelect->addOption("inside", _AM_EXTGALLERY_FANCYBOX_INSIDE);
+ $fancyboxtpSelect->addOption("outside", _AM_EXTGALLERY_FANCYBOX_OUTSIDE);
+ $form->addElement($fancyboxtpSelect);
+ }
$form->addElement(new XoopsFormHidden("op", 'enreg'));
$form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit"));
Modified: XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-29 22:57:56 UTC (rev 5675)
+++ XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-30 06:29:41 UTC (rev 5676)
@@ -22,15 +22,13 @@
- Menu generated by system module (mageg - voltan)
- Add icons for menus (voltan)
- Change module template type like new system module (voltan)
-- Add Ajax effects for show photos in public-album : lightbox , overlay and normal (voltan)
-- Add Ajax effects for show photos in public-useralbum : lightbox , overlay and normal (voltan)
+- Add Ajax effects for show photos in public-album : lightbox , overlay , tooltip , fansybox and normal (voltan)
+- Add Ajax effects for show photos in public-useralbum : lightbox , overlay , tooltip , fansybox and normal (voltan)
- Add New Block : Ajax Gallery View (voltan)
- Fix bug : Block Top Submiter don't have block options and name (voltan)
- Add album page in admin area for manage album effect options (voltan)
- Change slideshow script from mootools to jquery and add galleryview script and options (voltan)
- Add galleria Scripts for slideshow (voltan)
-- Change system block and remove old blocks (davidenprossi - voltan)
-
modinfo.php
_MI_EXTGAL_DISP_SET_ORDER (added)
_MI_EXTGAL_DISP_SET_ORDER_DESC (added)
@@ -155,6 +153,17 @@
_AM_EXTGALLERY_SLIDESHOW_GRIA (added)
_AM_EXTGALLERY_GRIA_HEIGHT (added)
_AM_EXTGALLERY_GRIA_PANELWIDTH (added)
+_AM_EXTGALLERY_AJAX_FANCYBOX (added)
+_AM_EXTGALLERY_FANCYBOX_BGCOLOR (added)
+_AM_EXTGALLERY_FANCYBOX_OPACITY (added)
+_AM_EXTGALLERY_FANCYBOX_TIN (added)
+_AM_EXTGALLERY_FANCYBOX_TOUT (added)
+_AM_EXTGALLERY_FANCYBOX_NONE (added)
+_AM_EXTGALLERY_FANCYBOX_ELASTIC (added)
+_AM_EXTGALLERY_FANCYBOX_TITLEPOSITION (added)
+_AM_EXTGALLERY_FANCYBOX_OVER (added)
+_AM_EXTGALLERY_FANCYBOX_INSIDE (added)
+_AM_EXTGALLERY_FANCYBOX_OUTSIDE (added)
_AM_EXTGALLERY_SLIDESHOW_DURATION (removed)
_AM_EXTGALLERY_SLIDESHOW_CONF (removed)
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/blank.gif
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/blank.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_close.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_close.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_loading.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_loading.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_nav_left.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_nav_left.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_nav_right.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_nav_right.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_e.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_e.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_n.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_n.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_ne.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_ne.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_nw.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_nw.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_s.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_s.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_se.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_se.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_sw.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_sw.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_w.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_shadow_w.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_title_left.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_title_left.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_title_main.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_title_main.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_title_over.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_title_over.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_title_right.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancy_title_right.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancybox-x.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancybox-x.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancybox-y.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancybox-y.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancybox.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/fancybox.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/index.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/index.html (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/images/fancybox/index.html 2010-10-30 06:29:41 UTC (rev 5676)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/easing.js
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/easing.js (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/easing.js 2010-10-30 06:29:41 UTC (rev 5676)
@@ -0,0 +1,72 @@
+/*
+ * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
+ *
+ * Uses the built in easing capabilities added In jQuery 1.1
+ * to offer multiple easing options
+ *
+ * TERMS OF USE - jQuery Easing
+ *
+ * Open source under the BSD License.
+ *
+ * Copyright © 2008 George McGinley Smith
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice, this list of
+ * conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list
+ * of conditions and the following disclaimer in the documentation and/or other materials
+ * provided with the distribution.
+ *
+ * Neither the name of the author nor the names of contributors may be used to endorse
+ * or promote products derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+*/
+
+// t: current time, b: begInnIng value, c: change In value, d: duration
+eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('h.i[\'1a\']=h.i[\'z\'];h.O(h.i,{y:\'D\',z:9(x,t,b,c,d){6 h.i[h.i.y](x,t,b,c,d)},17:9(x,t,b,c,d){6 c*(t/=d)*t+b},D:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},X:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},U:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},R:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},N:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},M:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},L:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},K:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},J:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},I:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},G:9(x,t,b,c,d){6-c*8.C(t/d*(8.g/2))+c+b},15:9(x,t,b,c,d){6 c*8.n(t/d*(8.g/2))+b},12:9(x,t,b,c,d){6-c/2*(8.C(8.g*t/d)-1)+b},Z:9(x,t,b,c,d){6(t==0)?b:c*8.j(2,10*(t/d-1))+b},Y:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.j(2,-10*t/d)+1)+b},W:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.j(2,10*(t-1))+b;6 c/2*(-8.j(2,-10*--t)+2)+b},V:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},S:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},Q:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},P:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6-(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b},H:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6 a*8.j(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},T:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.j(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},F:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},E:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},16:9(x,t,b,c,d,s){e(s==u)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.B))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.B))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.i.v(x,d-t,0,c,d)+b},v:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.14/2.k))*t+.11)+b}m{6 c*(7.q*(t-=(2.18/2.k))*t+.19)+b}},1b:9(x,t,b,c,d){e(t<d/2)6 h.i.A(x,t*2,0,c,d)*.5+b;6 h.i.v(x,t*2-d,0,c,d)*.5+c*.5+b}});',62,74,'||||||return||Math|function|||||if|var|PI|jQuery|easing|pow|75|70158|else|sin|sqrt||5625|asin|||undefined|easeOutBounce|abs||def|swing|easeInBounce|525|cos|easeOutQuad|easeOutBack|easeInBack|easeInSine|easeOutElastic|easeInOutQuint|easeOutQuint|easeInQuint|easeInOutQuart|easeOutQuart|easeInQuart|extend|easeInElastic|easeInOutCirc|easeInOutCubic|easeOutCirc|easeInOutElastic|easeOutCubic|easeInCirc|easeInOutExpo|easeInCubic|easeOutExpo|easeInExpo||9375|easeInOutSine|easeInOutQuad|25|easeOutSine|easeInOutBack|easeInQuad|625|984375|jswing|easeInOutBounce'.split('|'),0,{}))
+
+/*
+ *
+ * TERMS OF USE - EASING EQUATIONS
+ *
+ * Open source under the BSD License.
+ *
+ * Copyright © 2001 Robert Penner
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice, this list of
+ * conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list
+ * of conditions and the following disclaimer in the documentation and/or other materials
+ * provided with the distribution.
+ *
+ * Neither the name of the author nor the names of contributors may be used to endorse
+ * or promote products derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ */
Added: XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/fancybox.css
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/fancybox.css (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/fancybox.css 2010-10-30 06:29:41 UTC (rev 5676)
@@ -0,0 +1,359 @@
+/*
+ * FancyBox - jQuery Plugin
+ * Simple and fancy lightbox alternative
+ *
+ * Examples and documentation at: http://fancybox.net
+ *
+ * Copyright (c) 2008 - 2010 Janis Skarnelis
+ * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
+ *
+ * Version: 1.3.2 (20/10/2010)
+ * Requires: jQuery v1.3+
+ *
+ * Dual licensed under the MIT and GPL licenses:
+ * http://www.opensource.org/licenses/mit-license.php
+ * http://www.gnu.org/licenses/gpl.html
+ */
+
+#fancybox-loading {
+ position: fixed;
+ top: 50%;
+ left: 50%;
+ width: 40px;
+ height: 40px;
+ margin-top: -20px;
+ margin-left: -20px;
+ cursor: pointer;
+ overflow: hidden;
+ z-index: 1104;
+ display: none;
+}
+
+#fancybox-loading div {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 40px;
+ height: 480px;
+ background-image: url(modules/extgallery/images/fancybox/fancybox.png);
+}
+
+#fancybox-overlay {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 1100;
+ display: none;
+}
+
+#fancybox-tmp {
+ padding: 0;
+ margin: 0;
+ border: 0;
+ overflow: auto;
+ display: none;
+}
+
+#fancybox-wrap {
+ position: absolute;
+ top: 0;
+ left: 0;
+ padding: 20px;
+ z-index: 1101;
+ outline: none;
+ display: none;
+}
+
+#fancybox-outer {
+ position: relative;
+ width: 100%;
+ height: 100%;
+ background: #fff;
+}
+
+#fancybox-content {
+ width: 0;
+ height: 0;
+ padding: 0;
+ outline: none;
+ position: relative;
+ overflow: hidden;
+ z-index: 1102;
+ border: 0px solid #fff;
+}
+
+#fancybox-hide-sel-frame {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: transparent;
+ z-index: 1101;
+}
+
+#fancybox-close {
+ position: absolute;
+ top: -15px;
+ right: -15px;
+ width: 30px;
+ height: 30px;
+ background: transparent url(modules/extgallery/images/fancybox/fancybox.png) -40px 0px;
+ cursor: pointer;
+ z-index: 1103;
+ display: none;
+}
+
+#fancybox-error {
+ color: #444;
+ font: normal 12px/20px Arial;
+ padding: 14px;
+ margin: 0;
+}
+
+#fancybox-img {
+ width: 100%;
+ height: 100%;
+ padding: 0;
+ margin: 0;
+ border: none;
+ outline: none;
+ line-height: 0;
+ vertical-align: top;
+}
+
+#fancybox-frame {
+ width: 100%;
+ height: 100%;
+ border: none;
+ display: block;
+}
+
+#fancybox-left, #fancybox-right {
+ position: absolute;
+ bottom: 0px;
+ height: 100%;
+ width: 35%;
+ cursor: pointer;
+ outline: none;
+ background: transparent url(modules/extgallery/images/fancybox/blank.gif);
+ z-index: 1102;
+ display: none;
+}
+
+#fancybox-left {
+ left: 0px;
+}
+
+#fancybox-right {
+ right: 0px;
+}
+
+#fancybox-left-ico, #fancybox-right-ico {
+ position: absolute;
+ top: 50%;
+ left: -9999px;
+ width: 30px;
+ height: 30px;
+ margin-top: -15px;
+ cursor: pointer;
+ z-index: 1102;
+ display: block;
+}
+
+#fancybox-left-ico {
+ background-image: url(modules/extgallery/images/fancybox/fancybox.png);
+ background-position: -40px -30px;
+}
+
+#fancybox-right-ico {
+ background-image: url(modules/extgallery/images/fancybox/fancybox.png);
+ background-position: -40px -60px;
+}
+
+#fancybox-left:hover, #fancybox-right:hover {
+ visibility: visible; /* IE6 */
+}
+
+#fancybox-left:hover span {
+ left: 20px;
+}
+
+#fancybox-right:hover span {
+ left: auto;
+ right: 20px;
+}
+
+.fancybox-bg {
+ position: absolute;
+ padding: 0;
+ margin: 0;
+ border: 0;
+ width: 20px;
+ height: 20px;
+ z-index: 1001;
+}
+
+#fancybox-bg-n {
+ top: -20px;
+ left: 0;
+ width: 100%;
+ background-image: url(modules/extgallery/images/fancybox/fancybox-x.png);
+}
+
+#fancybox-bg-ne {
+ top: -20px;
+ right: -20px;
+ background-image: url(modules/extgallery/images/fancybox/fancybox.png);
+ background-position: -40px -162px;
+}
+
+#fancybox-bg-e {
+ top: 0;
+ right: -20px;
+ height: 100%;
+ background-image: url(modules/extgallery/images/fancybox/fancybox-y.png);
+ background-position: -20px 0px;
+}
+
+#fancybox-bg-se {
+ bottom: -20px;
+ right: -20px;
+ background-image: url(modules/extgallery/images/fancybox/fancybox.png);
+ background-position: -40px -182px;
+}
+
+#fancybox-bg-s {
+ bottom: -20px;
+ left: 0;
+ width: 100%;
+ background-image: url(modules/extgallery/images/fancybox/fancybox-x.png);
+ background-position: 0px -20px;
+}
+
+#fancybox-bg-sw {
+ bottom: -20px;
+ left: -20px;
+ background-image: url(modules/extgallery/images/fancybox/fancybox.png);
+ background-position: -40px -142px;
+}
+
+#fancybox-bg-w {
+ top: 0;
+ left: -20px;
+ height: 100%;
+ background-image: url(modules/extgallery/images/fancybox/fancybox-y.png);
+}
+
+#fancybox-bg-nw {
+ top: -20px;
+ left: -20px;
+ background-image: url(modules/extgallery/images/fancybox/fancybox.png);
+ background-position: -40px -122px;
+}
+
+#fancybox-title {
+ font-family: Helvetica;
+ font-size: 12px;
+ z-index: 1102;
+}
+
+.fancybox-title-inside {
+ padding-bottom: 10px;
+ text-align: center;
+ color: #333;
+ background: #fff;
+ position: relative;
+}
+
+.fancybox-title-outside {
+ padding-top: 10px;
+ color: #fff;
+}
+
+.fancybox-title-over {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ color: #FFF;
+ text-align: left;
+}
+
+#fancybox-title-over {
+ padding: 10px;
+ background-image: url(modules/extgallery/images/fancybox/fancy_title_over.png);
+ display: block;
+}
+
+.fancybox-title-float {
+ position: absolute;
+ left: 0;
+ bottom: -20px;
+ height: 32px;
+}
+
+#fancybox-title-float-wrap {
+ border: none;
+ border-collapse: collapse;
+ width: auto;
+}
+
+#fancybox-title-float-wrap td {
+ white-space: nowrap;
+}
+
+#fancybox-title-float-left {
+ padding-left: 15px;
+ background: url(modules/extgallery/images/fancybox/fancybox.png) -40px -90px no-repeat;
+}
+
+#fancybox-title-float-main {
+ color: #FFF;
+ line-height: 29px;
+ font-weight: bold;
+ padding-bottom: 3px;
+ background: url(modules/extgallery/images/fancybox/fancybox-x.png) 0px -40px;
+}
+
+#fancybox-title-float-right {
+ padding-left: 15px;
+ background: url(modules/extgallery/images/fancybox/fancybox.png) -55px -90px no-repeat;
+}
+
+/* IE6 */
+
+.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }
+
+.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }
+.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }
+
+.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
+.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
+.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
+.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }
+
+.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
+ height: expression(this.parentNode.clientHeight + "px");
+}
+
+#fancybox-loading.fancybox-ie6 {
+ position: absolute; margin-top: 0;
+ top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
+}
+
+#fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }
+
+/* IE6, IE7, IE8 */
+
+.fancybox-ie .fancybox-bg { background: transparent !important; }
+
+.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
+.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
\ No newline at end of file
Added: XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/fancybox.js
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/fancybox.js (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/include/fancybox/fancybox.js 2010-10-30 06:29:41 UTC (rev 5676)
@@ -0,0 +1,1136 @@
+/*
+ * FancyBox - jQuery Plugin
+ * Simple and fancy lightbox alternative
+ *
+ * Examples and documentation at: http://fancybox.net
+ *
+ * Copyright (c) 2008 - 2010 Janis Skarnelis
+ * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
+ *
+ * Version: 1.3.2 (20/10/2010)
+ * Requires: jQuery v1.3+
+ *
+ * Dual licensed under the MIT and GPL licenses:
+ * http://www.opensource.org/licenses/mit-license.php
+ * http://www.gnu.org/licenses/gpl.html
+ */
+
+;(function($) {
+ var tmp, loading, overlay, wrap, outer, content, close, title, nav_left, nav_right,
+
+ selectedIndex = 0, selectedOpts = {}, selectedArray = [], currentIndex = 0, currentOpts = {}, currentArray = [],
+
+ ajaxLoader = null, imgPreloader = new Image(), imgRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i, swfRegExp = /[^\.]\.(swf)\s*$/i,
+
+ loadingTimer, loadingFrame = 1,
+
+ titleHeight = 0, titleStr = '', start_pos, final_pos, busy = false, fx = $.extend($('<div/>')[0], { prop: 0 }),
+
+ isIE6 = $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest,
+
+ /*
+ * Private methods
+ */
+
+ _abort = function() {
+ loading.hide();
+
+ imgPreloader. = null;
+
+ if (ajaxLoader) {
+ ajaxLoader.abort();
+ }
+
+ tmp.empty();
+ },
+
+ _error = function() {
+ if (false === selectedOpts.onError(selectedArray, selectedIndex, selectedOpts)) {
+ loading.hide();
+ busy = false;
+ return;
+ }
+
+ selectedOpts.titleShow = false;
+
+ selectedOpts.width = 'auto';
+ selectedOpts.height = 'auto';
+
+ tmp.html( '<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>' );
+
+ _process_inline();
+ },
+
+ _start = function() {
+ var obj = selectedArray[ selectedIndex ],
+ href,
+ type,
+ title,
+ str,
+ emb,
+ ret;
+
+ _abort();
+
+ selectedOpts = $.extend({}, $.fn.fancybox.defaults, (typeof $(obj).data('fancybox') == 'undefined' ? selectedOpts : $(obj).data('fancybox')));
+
+ ret = selectedOpts.onStart(selectedArray, selectedIndex, selectedOpts);
+
+ if (ret === false) {
+ busy = false;
+ return;
+ } else if (typeof ret == 'object') {
+ selectedOpts = $.extend(selectedOpts, ret);
+ }
+
+ title = selectedOpts.title || (obj.nodeName ? $(obj).attr('title') : obj.title) || '';
+
+ if (obj.nodeName && !selectedOpts.orig) {
+ selectedOpts.orig = $(obj).children("img:first").length ? $(obj).children("img:first") : $(obj);
+ }
+
+ if (title === '' && selectedOpts.orig && selectedOpts.titleFromAlt) {
+ title = selectedOpts.orig.attr('alt');
+ }
+
+ href = selectedOpts.href || (obj.nodeName ? $(obj).attr('href') : obj.href) || null;
+
+ if ((/^(?:javascript)/i).test(href) || href == '#') {
+ href = null;
+ }
+
+ if (selectedOpts.type) {
+ type = selectedOpts.type;
+
+ if (!href) {
+ href = selectedOpts.content;
+ }
+
+ } else if (selectedOpts.content) {
+ type = 'html';
+
+ } else if (href) {
+ if (href.match(imgRegExp)) {
+ type = 'image';
+
+ } else if (href.match(swfRegExp)) {
+ type = 'swf';
+
+ } else if ($(obj).hasClass("iframe")) {
+ type = 'iframe';
+
+ } else if (href.indexOf("#") === 0) {
+ type = 'inline';
+
+ } else {
+ type = 'ajax';
+ }
+ }
+
+ if (!type) {
+ _error();
+ return;
+ }
+
+ if (type == 'inline') {
+ obj = href.substr(href.indexOf("#"));
+ type = $(obj).length > 0 ? 'inline' : 'ajax';
+ }
+
+ selectedOpts.type = type;
+ selectedOpts.href = href;
+ selectedOpts.title = title;
+
+ if (selectedOpts.autoDimensions && selectedOpts.type !== 'iframe' && selectedOpts.type !== 'swf') {
+ selectedOpts.width = 'auto';
+ selectedOpts.height = 'auto';
+ }
+
+ if (selectedOpts.modal) {
+ selectedOpts.overlayShow = true;
+ selectedOpts.hideOnOverlayClick = false;
+ selectedOpts.hideOnContentClick = false;
+ selectedOpts.enableEscapeButton = false;
+ selectedOpts.showCloseButton = false;
+ }
+
+ selectedOpts.padding = parseInt(selectedOpts.padding, 10);
+ selectedOpts.margin = parseInt(selectedOpts.margin, 10);
+
+ tmp.css('padding', (selectedOpts.padding + selectedOpts.margin));
+
+ $('.fancybox-inline-tmp').unbind('fancybox-cancel').bind('fancybox-change', function() {
+ $(this).replaceWith(content.children());
+ });
+
+ switch (type) {
+ case 'html' :
+ tmp.html( selectedOpts.content );
+ _process_inline();
+ break;
+
+ case 'inline' :
+ if ( $(obj).parent().is('#fancybox-content') === true) {
+ busy = false;
+ return;
+ }
+
+ $('<div class="fancybox-inline-tmp" />')
+ .hide()
+ .insertBefore( $(obj) )
+ .bind('fancybox-cleanup', function() {
+ $(this).replaceWith(content.children());
+ }).bind('fancybox-cancel', function() {
+ $(this).replaceWith(tmp.children());
+ });
+
+ $(obj).appendTo(tmp);
+
+ _process_inline();
+ break;
+
+ case 'image':
+ busy = false;
+
+ $.fancybox.showActivity();
+
+ imgPreloader = new Image();
+
+ imgPreloader. {
+ _error();
+ };
+
+ imgPreloader. {
+ busy = true;
+
+ imgPreloader. = null;
+
+ _process_image();
+ };
+
+ imgPreloader.src = href;
+ break;
+
+ case 'swf':
+ str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + selectedOpts.width + '" height="' + selectedOpts.height + '"><param name="movie" value="' + href + '"></param>';
+ emb = '';
+
+ $.each(selectedOpts.swf, function(name, val) {
+ str += '<param name="' + name + '" value="' + val + '"></param>';
+ emb += ' ' + name + '="' + val + '"';
+ });
+
+ str += '<embed src="' + href + '" type="application/x-shockwave-flash" width="' + selectedOpts.width + '" height="' + selectedOpts.height + '"' + emb + '></embed></object>';
+
+ tmp.html(str);
+
+ _process_inline();
+ break;
+
+ case 'ajax':
+ busy = false;
+
+ $.fancybox.showActivity();
+
+ selectedOpts.ajax.win = selectedOpts.ajax.success;
+
+ ajaxLoader = $.ajax($.extend({}, selectedOpts.ajax, {
+ url : href,
+ data : selectedOpts.ajax.data || {},
+ error : function(XMLHttpRequest, textStatus, errorThrown) {
+ if ( XMLHttpRequest.status > 0 ) {
+ _error();
+ }
+ },
+ success : function(data, textStatus, XMLHttpRequest) {
+ if ( XMLHttpRequest.status == 200 ) {
+ if ( typeof selectedOpts.ajax.win == 'function' ) {
+ ret = selectedOpts.ajax.win(href, data, textStatus, XMLHttpRequest);
+
+ if (ret === false) {
+ loading.hide();
+ return;
+ } else if (typeof ret == 'string' || typeof ret == 'object') {
+ data = ret;
+ }
+ }
+
+ tmp.html( data );
+ _process_inline();
+ }
+ }
+ }));
+
+ break;
+
+ case 'iframe' :
+ _show();
+ break;
+ }
+ },
+
+ _process_inline = function() {
+ tmp.width( selectedOpts.width );
+ tmp.height( selectedOpts.height );
+
+ if (selectedOpts.width == 'auto') {
+ selectedOpts.width = tmp.width();
+ }
+
+ if (selectedOpts.height == 'auto') {
+ selectedOpts.height = tmp.height();
+ }
+
+ _show();
+ },
+
+ _process_image = function() {
+ selectedOpts.width = imgPreloader.width;
+ selectedOpts.height = imgPreloader.height;
+
+ $("<img />").attr({
+ 'id' : 'fancybox-img',
+ 'src' : imgPreloader.src,
+ 'alt' : selectedOpts.title
+ }).appendTo( tmp );
+
+ _show();
+ },
+
+ _show = function() {
+ var pos, equal;
+
+ loading.hide();
+
+ if (wrap.is(":visible") && false === currentOpts.onCleanup(currentArray, currentIndex, currentOpts)) {
+ $.event.trigger('fancybox-cancel');
+
+ busy = false;
+ return;
+ }
+
+ busy = true;
+
+ $(content.add( overlay )).unbind();
+
+ $(window).unbind("resize.fb scroll.fb");
+ $(document).unbind('keydown.fb');
+
+ if (wrap.is(":visible") && currentOpts.titlePosition !== 'outside') {
+ wrap.css('height', wrap.height());
+ }
+
+ currentArray = selectedArray;
+ currentIndex = selectedIndex;
+ currentOpts = selectedOpts;
+
+ if (currentOpts.overlayShow) {
+ overlay.css({
+ 'background-color' : currentOpts.overlayColor,
+ 'opacity' : currentOpts.overlayOpacity,
+ 'cursor' : currentOpts.hideOnOverlayClick ? 'pointer' : 'auto',
+ 'height' : $(document).height()
+ });
+
+ if (!overlay.is(':visible')) {
+ if (isIE6) {
+ $('select:not(#fancybox-tmp select)').filter(function() {
+ return this.style.visibility !== 'hidden';
+ }).css({'visibility' : 'hidden'}).one('fancybox-cleanup', function() {
+ this.style.visibility = 'inherit';
+ });
+ }
+
+ overlay.show();
+ }
+ } else {
+ overlay.hide();
+ }
+
+ content.get(0).scrollTop = 0;
+ content.get(0).scrollLeft = 0;
+
+ final_pos = _get_zoom_to();
+
+ _process_title();
+
+ if (wrap.is(":visible")) {
+ $( close.add( nav_left ).add( nav_right ) ).hide();
+
+ pos = wrap.position(),
+
+ start_pos = {
+ top : pos.top,
+ left : pos.left,
+ width : wrap.width(),
+ height : wrap.height()
+ };
+
+ equal = (start_pos.width == final_pos.width && start_pos.height == final_pos.height);
+
+ content.fadeTo(currentOpts.changeFade, 0.3, function() {
+ var finish_resizing = function() {
+ content.html( tmp.contents() ).fadeTo(currentOpts.changeFade, 1, _finish);
+ };
+
+ $.event.trigger('fancybox-change');
+
+ content
+ .empty()
+ .removeAttr('filter')
+ .css({
+ 'border-width' : currentOpts.padding,
+ 'width' : final_pos.width - currentOpts.padding * 2,
+ 'height' : currentOpts.type == 'image' || currentOpts.type == 'swf' || currentOpts.type == 'iframe' ? final_pos.height - titleHeight - currentOpts.padding * 2 : 'auto'
+ });
+
+ if (equal) {
+ finish_resizing();
+
+ } else {
+ fx.prop = 0;
+
+ $(fx).animate({prop: 1}, {
+ duration : currentOpts.changeSpeed,
+ easing : currentOpts.easingChange,
+ step : _draw,
+ complete : finish_resizing
+ });
+ }
+ });
+
+ return;
+ }
+
+ wrap.removeAttr("style");
+
+ content.css('border-width', currentOpts.padding);
+
+ if (currentOpts.transitionIn == 'elastic') {
+ start_pos = _get_zoom_from();
+
+ content.html( tmp.contents() );
+
+ wrap.show();
+
+ if (currentOpts.opacity) {
+ final_pos.opacity = 0;
+ }
+
+ fx.prop = 0;
+
+ $(fx).animate({prop: 1}, {
+ duration : currentOpts.speedIn,
+ easing : currentOpts.easingIn,
+ step : _draw,
+ complete : _finish
+ });
+
+ return;
+ }
+
+ if (currentOpts.titlePosition == 'inside' && titleHeight > 0) {
+ title.show();
+ }
+
+ content
+ .css({
+ 'width' : final_pos.width - currentOpts.padding * 2,
+ 'height' : currentOpts.type == 'image' || currentOpts.type == 'swf' || currentOpts.type == 'iframe' ? final_pos.height - titleHeight - currentOpts.padding * 2 : 'auto'
+ })
+ .html( tmp.contents() );
+
+ wrap
+ .css(final_pos)
+ .fadeIn( currentOpts.transitionIn == 'none' ? 0 : currentOpts.fadeIn, _finish );
+ },
+
+ _format_title = function(title) {
+ if (title && title.length) {
+ if (currentOpts.titlePosition == 'float') {
+ return '<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">' + title + '</td><td id="fancybox-title-float-right"></td></tr></table>';
+ }
+
+ return '<div id="fancybox-title-' + currentOpts.titlePosition + '">' + title + '</div>';
+ }
+
+ return false;
+ },
+
+ _process_title = function() {
+ titleStr = currentOpts.title || '';
+ titleHeight = 0;
+
+ title
+ .empty()
+ .removeAttr('style')
+ .removeClass();
+
+ if (currentOpts.titleShow === false) {
+ title.hide();
+ return;
+ }
+
+ titleStr = $.isFunction(currentOpts.titleFormat) ? currentOpts.titleFormat(titleStr, currentArray, currentIndex, currentOpts) : _format_title(titleStr);
+
+ if (!titleStr || titleStr === '') {
+ title.hide();
+ return;
+ }
+
+ title
+ .addClass('fancybox-title-' + currentOpts.titlePosition)
+ .html( titleStr )
+ .appendTo( 'body' )
+ .show();
+
+ switch (currentOpts.titlePosition) {
+ case 'inside':
+ title
+ .css({
+ 'width' : final_pos.width - (currentOpts.padding * 2),
+ 'marginLeft' : currentOpts.padding,
+ 'marginRight' : currentOpts.padding
+ });
+
+ titleHeight = title.outerHeight(true);
+
+ title.appendTo( outer );
+
+ final_pos.height += titleHeight;
+ break;
+
+ case 'over':
+ title
+ .css({
+ 'marginLeft' : currentOpts.padding,
+ 'width' : final_pos.width - (currentOpts.padding * 2),
+ 'bottom' : currentOpts.padding
+ })
+ .appendTo( outer );
+ break;
+
+ case 'float':
+ title
+ .css('left', parseInt((title.width() - final_pos.width - 40)/ 2, 10) * -1)
+ .appendTo( wrap );
+ break;
+
+ default:
+ title
+ .css({
+ 'width' : final_pos.width - (currentOpts.padding * 2),
+ 'paddingLeft' : currentOpts.padding,
+ 'paddingRight' : currentOpts.padding
+ })
+ .appendTo( wrap );
+ break;
+ }
+
+ title.hide();
+ },
+
+ _set_navigation = function() {
+ if (currentOpts.enableEscapeButton || currentOpts.enableKeyboardNav) {
+ $(document).bind('keydown.fb', function(e) {
+ if (e.keyCode == 27 && currentOpts.enableEscapeButton) {
+ e.preventDefault();
+ $.fancybox.close();
+
+ } else if ((e.keyCode == 37 || e.keyCode == 39) && currentOpts.enableKeyboardNav && e.target.tagName !== 'INPUT' && e.target.tagName !== 'TEXTAREA' && e.target.tagName !== 'SELECT') {
+ e.preventDefault();
+ $.fancybox[ e.keyCode == 37 ? 'prev' : 'next']();
+ }
+ });
+ }
+
+ if (!currentOpts.showNavArrows) {
+ nav_left.hide();
+ nav_right.hide();
+ return;
+ }
+
+ if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex !== 0) {
+ nav_left.show();
+ }
+
+ if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex != (currentArray.length -1)) {
+ nav_right.show();
+ }
+ },
+
+ _finish = function () {
+ if (!$.support.opacity) {
+ content.get(0).style.removeAttribute('filter');
+ wrap.get(0).style.removeAttribute('filter');
+ }
+
+ wrap.css('height', 'auto');
+
+ if (currentOpts.type !== 'image' && currentOpts.type !== 'swf' && currentOpts.type !== 'iframe') {
+ content.css('height', 'auto');
+ }
+
+ if (titleStr && titleStr.length) {
+ title.show();
+ }
+
+ if (currentOpts.showCloseButton) {
+ close.show();
+ }
+
+ _set_navigation();
+
+ if (currentOpts.hideOnContentClick) {
+ content.bind('click', $.fancybox.close);
+ }
+
+ if (currentOpts.hideOnOverlayClick) {
+ overlay.bind('click', $.fancybox.close);
+ }
+
+ $(window).bind("resize.fb", $.fancybox.resize);
+
+ if (currentOpts.centerOnScroll) {
+ $(window).bind("scroll.fb", $.fancybox.center);
+ }
+
+ if (currentOpts.type == 'iframe') {
+ $('<iframe id="fancybox-frame" name="fancybox-frame' + new Date().getTime() + '" frameborder="0" hspace="0" ' + ($.browser.msie ? 'allowtransparency="true""' : '') + ' scrolling="' + selectedOpts.scrolling + '" src="' + currentOpts.href + '"></iframe>').appendTo(content);
+ }
+
+ wrap.show();
+
+ busy = false;
+
+ $.fancybox.center();
+
+ currentOpts.onComplete(currentArray, currentIndex, currentOpts);
+
+ _preload_images();
+ },
+
+ _preload_images = function() {
+ var href,
+ objNext;
+
+ if ((currentArray.length -1) > currentIndex) {
+ href = currentArray[ currentIndex + 1 ].href;
+
+ if (typeof href !== 'undefined' && href.match(imgRegExp)) {
+ objNext = new Image();
+ objNext.src = href;
+ }
+ }
+
+ if (currentIndex > 0) {
+ href = currentArray[ currentIndex - 1 ].href;
+
+ if (typeof href !== 'undefined' && href.match(imgRegExp)) {
+ objNext = new Image();
+ objNext.src = href;
+ }
+ }
+ },
+
+ _draw = function(pos) {
+ var dim = {
+ width : parseInt(start_pos.width + (final_pos.width - start_pos.width) * pos, 10),
+ height : parseInt(start_pos.height + (final_pos.height - start_pos.height) * pos, 10),
+
+ top : parseInt(start_pos.top + (final_pos.top - start_pos.top) * pos, 10),
+ left : parseInt(start_pos.left + (final_pos.left - start_pos.left) * pos, 10)
+ };
+
+ if (typeof final_pos.opacity !== 'undefined') {
+ dim.opacity = pos < 0.5 ? 0.5 : pos;
+ }
+
+ wrap.css(dim);
+
+ content.css({
+ 'width' : dim.width - currentOpts.padding * 2,
+ 'height' : dim.height - (titleHeight * pos) - currentOpts.padding * 2
+ });
+ },
+
+ _get_viewport = function() {
+ return [
+ $(window).width() - (currentOpts.margin * 2),
+ $(window).height() - (currentOpts.margin * 2),
+ $(document).scrollLeft() + currentOpts.margin,
+ $(document).scrollTop() + currentOpts.margin
+ ];
+ },
+
+ _get_zoom_to = function () {
+ var view = _get_viewport(),
+ to = {},
+ resize = currentOpts.autoScale,
+ double_padding = currentOpts.padding * 2,
+ ratio;
+
+ if (currentOpts.width.toString().indexOf('%') > -1) {
+ to.width = parseInt((view[0] * parseFloat(currentOpts.width)) / 100, 10);
+ } else {
+ to.width = currentOpts.width + double_padding;
+ }
+
+ if (currentOpts.height.toString().indexOf('%') > -1) {
+ to.height = parseInt((view[1] * parseFloat(currentOpts.height)) / 100, 10);
+ } else {
+ to.height = currentOpts.height + double_padding;
+ }
+
+ if (resize && (to.width > view[0] || to.height > view[1])) {
+ if (selectedOpts.type == 'image' || selectedOpts.type == 'swf') {
+ ratio = (currentOpts.width ) / (currentOpts.height );
+
+ if ((to.width ) > view[0]) {
+ to.width = view[0];
+ to.height = parseInt(((to.width - double_padding) / ratio) + double_padding, 10);
+ }
+
+ if ((to.height) > view[1]) {
+ to.height = view[1];
+ to.width = parseInt(((to.height - double_padding) * ratio) + double_padding, 10);
+ }
+
+ } else {
+ to.width = Math.min(to.width, view[0]);
+ to.height = Math.min(to.height, view[1]);
+ }
+ }
+
+ to.top = parseInt(Math.max(view[3] - 20, view[3] + ((view[1] - to.height - 40) * 0.5)), 10);
+ to.left = parseInt(Math.max(view[2] - 20, view[2] + ((view[0] - to.width - 40) * 0.5)), 10);
+
+ return to;
+ },
+
+ _get_obj_pos = function(obj) {
+ var pos = obj.offset();
+
+ pos.top += parseInt( obj.css('paddingTop'), 10 ) || 0;
+ pos.left += parseInt( obj.css('paddingLeft'), 10 ) || 0;
+
+ pos.top += parseInt( obj.css('border-top-width'), 10 ) || 0;
+ pos.left += parseInt( obj.css('border-left-width'), 10 ) || 0;
+
+ pos.width = obj.width();
+ pos.height = obj.height();
+
+ return pos;
+ },
+
+ _get_zoom_from = function() {
+ var orig = selectedOpts.orig ? $(selectedOpts.orig) : false,
+ from = {},
+ pos,
+ view;
+
+ if (orig && orig.length) {
+ pos = _get_obj_pos(orig);
+
+ from = {
+ width : pos.width + (currentOpts.padding * 2),
+ height : pos.height + (currentOpts.padding * 2),
+ top : pos.top - currentOpts.padding - 20,
+ left : pos.left - currentOpts.padding - 20
+ };
+
+ } else {
+ view = _get_viewport();
+
+ from = {
+ width : currentOpts.padding * 2,
+ height : currentOpts.padding * 2,
+ top : parseInt(view[3] + view[1] * 0.5, 10),
+ left : parseInt(view[2] + view[0] * 0.5, 10)
+ };
+ }
+
+ return from;
+ },
+
+ _animate_loading = function() {
+ if (!loading.is(':visible')){
+ clearInterval(loadingTimer);
+ return;
+ }
+
+ $('div', loading).css('top', (loadingFrame * -40) + 'px');
+
+ loadingFrame = (loadingFrame + 1) % 12;
+ };
+
+ /*
+ * Public methods
+ */
+
+ $.fn.fancybox = function(options) {
+ if (!$(this).length) {
+ return this;
+ }
+
+ $(this)
+ .data('fancybox', $.extend({}, options, ($.metadata ? $(this).metadata() : {})))
+ .unbind('click.fb')
+ .bind('click.fb', function(e) {
+ e.preventDefault();
+
+ if (busy) {
+ return;
+ }
+
+ busy = true;
+
+ $(this).blur();
+
+ selectedArray = [];
+ selectedIndex = 0;
+
+ var rel = $(this).attr('rel') || '';
+
+ if (!rel || rel == '' || rel === 'nofollow') {
+ selectedArray.push(this);
+
+ } else {
+ selectedArray = $("a[rel=" + rel + "], area[rel=" + rel + "]");
+ selectedIndex = selectedArray.index( this );
+ }
+
+ _start();
+
+ return;
+ });
+
+ return this;
+ };
+
+ $.fancybox = function(obj) {
+ var opts;
+
+ if (busy) {
+ return;
+ }
+
+ busy = true;
+ opts = typeof arguments[1] !== 'undefined' ? arguments[1] : {};
+
+ selectedArray = [];
+ selectedIndex = parseInt(opts.index, 10) || 0;
+
+ if ($.isArray(obj)) {
+ for (var i = 0, j = obj.length; i < j; i++) {
+ if (typeof obj[i] == 'object') {
+ $(obj[i]).data('fancybox', $.extend({}, opts, obj[i]));
+ } else {
+ obj[i] = $({}).data('fancybox', $.extend({content : obj[i]}, opts));
+ }
+ }
+
+ selectedArray = jQuery.merge(selectedArray, obj);
+
+ } else {
+ if (typeof obj == 'object') {
+ $(obj).data('fancybox', $.extend({}, opts, obj));
+ } else {
+ obj = $({}).data('fancybox', $.extend({content : obj}, opts));
+ }
+
+ selectedArray.push(obj);
+ }
+
+ if (selectedIndex > selectedArray.length || selectedIndex < 0) {
+ selectedIndex = 0;
+ }
+
+ _start();
+ };
+
+ $.fancybox.showActivity = function() {
+ clearInterval(loadingTimer);
+
+ loading.show();
+ loadingTimer = setInterval(_animate_loading, 66);
+ };
+
+ $.fancybox.hideActivity = function() {
+ loading.hide();
+ };
+
+ $.fancybox.next = function() {
+ return $.fancybox.pos( currentIndex + 1);
+ };
+
+ $.fancybox.prev = function() {
+ return $.fancybox.pos( currentIndex - 1);
+ };
+
+ $.fancybox.pos = function(pos) {
+ if (busy) {
+ return;
+ }...
[truncated message content] |
|
From: <kr...@us...> - 2010-10-29 22:58:02
|
Revision: 5675
http://xoops.svn.sourceforge.net/xoops/?rev=5675&view=rev
Author: kris_fr
Date: 2010-10-29 22:57:56 +0000 (Fri, 29 Oct 2010)
Log Message:
-----------
change the version number (RC2 to Final) and added the image in the installer - xoops 2.5.0
Modified Paths:
--------------
XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/include/version.php
Added Paths:
-----------
XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/install/img/xoops_2.5.0.png
Removed Paths:
-------------
XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/install/img/xoops_2.5.0-RC2.png
Modified: XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/include/version.php
===================================================================
--- XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/include/version.php 2010-10-29 18:50:56 UTC (rev 5674)
+++ XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/include/version.php 2010-10-29 22:57:56 UTC (rev 5675)
@@ -30,6 +30,6 @@
/**
* Define XOOPS engine version
*/
-define('XOOPS_VERSION', 'XOOPS 2.5.0-RC2');
+define('XOOPS_VERSION', 'XOOPS 2.5.0');
?>
\ No newline at end of file
Deleted: XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/install/img/xoops_2.5.0-RC2.png
===================================================================
(Binary files differ)
Added: XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/install/img/xoops_2.5.0.png
===================================================================
(Binary files differ)
Property changes on: XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/install/img/xoops_2.5.0.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vo...@us...> - 2010-10-29 18:51:03
|
Revision: 5674
http://xoops.svn.sourceforge.net/xoops/?rev=5674&view=rev
Author: voltan1
Date: 2010-10-29 18:50:56 +0000 (Fri, 29 Oct 2010)
Log Message:
-----------
Change system block
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/blocks/extgallery_blocks.php
XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
XoopsModules/extgallery/trunk/modules/extgallery/language/english/modinfo.php
XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php
Added Paths:
-----------
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_slideshow.html
Removed Paths:
-------------
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_last.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_last_slideshow.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_random.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_random_slideshow.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_ecard.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_ecard_slideshow.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_rated.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_rated_slideshow.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_view.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_view_slideshow.html
Modified: XoopsModules/extgallery/trunk/modules/extgallery/blocks/extgallery_blocks.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/blocks/extgallery_blocks.php 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/blocks/extgallery_blocks.php 2010-10-29 18:50:56 UTC (rev 5674)
@@ -18,8 +18,8 @@
*/
-// Manage Random photos
-function extgalleryRandomShow($options) {
+// Manage photo blocks
+function extgalleryPhotoShow($options) {
$photoHandler = xoops_getmodulehandler('publicphoto', 'extgallery');
@@ -30,43 +30,7 @@
array_shift($options);
array_shift($options);
array_shift($options);
-
- $categories = array();
- foreach($options as $cat) {
- if($cat == 0) {
- $categories = array();
- break;
- }
- $categories[] = $cat;
- }
- $param['cat'] = $categories;
-
- $photos = $photoHandler->objectToArray($photoHandler->getRandomPhoto($param));
-
- if(count($photos) == 0) {
- return array();
- }
-
- $ret = array(
- 'photos'=>$photos,
- 'direction'=>$direction,
- 'desc'=>$desc
- );
- return $ret;
-}
-
-// Manage Last photos
-function extgalleryLastShow($options) {
-
- $photoHandler = xoops_getmodulehandler('publicphoto', 'extgallery');
-
- $param = array('limit'=>$options[0]);
- $direction = $options[1];
- $desc = $options[2];
-
array_shift($options);
- array_shift($options);
- array_shift($options);
$categories = array();
foreach($options as $cat) {
@@ -78,45 +42,18 @@
}
$param['cat'] = $categories;
- $photos = $photoHandler->objectToArray($photoHandler->getLastPhoto($param));
-
- if(count($photos) == 0) {
- return array();
+ if($photoHandlertype == 'RandomPhoto'){
+ $photos = $photoHandler->objectToArray($photoHandler->getRandomPhoto($param));
+ } elseif($photoHandlertype == 'LastPhoto') {
+ $photos = $photoHandler->objectToArray($photoHandler->getLastPhoto($param));
+ } elseif($photoHandlertype == 'TopViewPhoto') {
+ $photos = $photoHandler->objectToArray($photoHandler->getTopViewPhoto($param));
+ } elseif($photoHandlertype == 'TopRatedPhoto') {
+ $photos = $photoHandler->objectToArray($photoHandler->getTopRatedPhoto($param));
+ } else {
+ $photos = $photoHandler->objectToArray($photoHandler->getTopEcardPhoto($param));
}
- $ret = array(
- 'photos'=>$photos,
- 'direction'=>$direction,
- 'desc'=>$desc
- );
- return $ret;
-}
-
-// Manage Top photos
-function extgalleryTopViewShow($options) {
-
- $photoHandler = xoops_getmodulehandler('publicphoto', 'extgallery');
-
- $param = array('limit'=>$options[0]);
- $direction = $options[1];
- $desc = $options[2];
-
- array_shift($options);
- array_shift($options);
- array_shift($options);
-
- $categories = array();
- foreach($options as $cat) {
- if($cat == 0) {
- $categories = array();
- break;
- }
- $categories[] = $cat;
- }
- $param['cat'] = $categories;
-
- $photos = $photoHandler->objectToArray($photoHandler->getTopViewPhoto($param));
-
if(count($photos) == 0) {
return array();
}
@@ -129,81 +66,7 @@
return $ret;
}
-// Manage TopRated photos
-function extgalleryTopRatedShow($options) {
-
- $photoHandler = xoops_getmodulehandler('publicphoto', 'extgallery');
-
- $param = array('limit'=>$options[0]);
- $direction = $options[1];
- $desc = $options[2];
-
- array_shift($options);
- array_shift($options);
- array_shift($options);
-
- $categories = array();
- foreach($options as $cat) {
- if($cat == 0) {
- $categories = array();
- break;
- }
- $categories[] = $cat;
- }
- $param['cat'] = $categories;
-
- $photos = $photoHandler->objectToArray($photoHandler->getTopRatedPhoto($param));
-
- if(count($photos) == 0) {
- return array();
- }
-
- $ret = array(
- 'photos'=>$photos,
- 'direction'=>$direction,
- 'desc'=>$desc
- );
- return $ret;
-}
-
-// Manage TopEcard photos
-function extgalleryTopEcardShow($options) {
-
- $photoHandler = xoops_getmodulehandler('publicphoto', 'extgallery');
-
- $param = array('limit'=>$options[0]);
- $direction = $options[1];
- $desc = $options[2];
-
- array_shift($options);
- array_shift($options);
- array_shift($options);
-
- $categories = array();
- foreach($options as $cat) {
- if($cat == 0) {
- $categories = array();
- break;
- }
- $categories[] = $cat;
- }
- $param['cat'] = $categories;
-
- $photos = $photoHandler->objectToArray($photoHandler->getTopEcardPhoto($param));
-
- if(count($photos) == 0) {
- return array();
- }
-
- $ret = array(
- 'photos'=>$photos,
- 'direction'=>$direction,
- 'desc'=>$desc
- );
- return $ret;
-}
-
-// Manage TopSubmitter photos
+// Manage Top Submitter blocks
function extgalleryTopSubmitterShow($options) {
global $xoopsDB, $xoopsConfig;
@@ -234,8 +97,8 @@
}
-// Manage Random Slideshow
-function extgalleryRandomSlideshowShow($options) {
+// Manage Slideshow
+function extgallerySlideshowShow($options) {
global $xoTheme;
$photoHandler = xoops_getmodulehandler('publicphoto', 'extgallery');
@@ -273,6 +136,7 @@
array_shift($options);
array_shift($options);
array_shift($options);
+ array_shift($options);
$categories = array();
foreach($options as $cat) {
@@ -285,7 +149,17 @@
$param['cat'] = $categories;
for($i=0;$i<$nbSlideshow;$i++) {
- $slideshows[] = $photoHandler->objectToArray($photoHandler->getRandomPhoto($param));
+ if($photoHandlertype == 'RandomPhoto'){
+ $slideshows[] = $photoHandler->objectToArray($photoHandler->getRandomPhoto($param));
+ } elseif($photoHandlertype == 'LastPhoto') {
+ $slideshows[] = $photoHandler->objectToArray($photoHandler->getLastPhoto($param));
+ } elseif($photoHandlertype == 'TopViewPhoto') {
+ $slideshows[] = $photoHandler->objectToArray($photoHandler->getTopViewPhoto($param));
+ } elseif($photoHandlertype == 'TopRatedPhoto') {
+ $slideshows[] = $photoHandler->objectToArray($photoHandler->getTopRatedPhoto($param));
+ } else {
+ $slideshows[] = $photoHandler->objectToArray($photoHandler->getTopEcardPhoto($param));
+ }
}
// Retrive module configuration
@@ -314,287 +188,58 @@
return $ret;
}
-// Manage Last Slideshow
-function extgalleryLastSlideshowShow($options) {
- global $xoTheme;
-
- $photoHandler = xoops_getmodulehandler('publicphoto', 'extgallery');
-
- $delay = $options[0];
- $duration = $options[1];
- $transtype = $options[2];
- $effecttype = $options[3];
- $effectoption = $options[4];
- $nbSlideshow = $options[5];
- $param = array('limit'=>$options[6]);
- $direction = $options[7];
- $desc = $options[8];
-
- // Include for SlideShow
- $xoTheme->addStylesheet('modules/extgallery/include/slideshow/css/slideshow-block.css');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/Asset.js');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.js');
- if($transtype == 'fold') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.fold.js');
- } elseif($transtype == 'kenburns') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.kenburns.js');
- } elseif($transtype == 'push') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/Element.js');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/aElement.js');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.push.js');
- }
-
+// Manage Ajax photos
+function extgalleryAjax($options) {
+
+ //global $xoTheme;
+ //$xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js');
+ //$xoTheme->addScript('browse.php?modules/extgallery/include/galleryview.js');
+ //$xoTheme->addScript('browse.php?modules/extgallery/include/timers.js');
+ //$xoTheme->addScript('browse.php?modules/extgallery/include/easing.js');
+
+ $photoHandler = xoops_getmodulehandler('publicphoto', 'extgallery');
+ $param = array('limit'=>$options[0]);
+ $panel_width = $options[1];
+ $panel_height = $options[2];
+ $frame_width = $options[3];
+ $frame_height = $options[4];
+ $background_color = $options[5];
+ $transition_speed = $options[6];
+ $ransition_interval = $options[7];
+ $overlay_height = $options[8];
+ $overlay_color = $options[9];
+ $overlay_text_color = $options[10];
+ $caption_text_color = $options[11];
+ $border = $options[12];
+ $overlay_opacity = $options[13];
+ $overlay_font_size = $options[14];
+ $nav_theme = $options[15];
+ $position = $options[16];
+ $easing = $options[17];
+ $photoHandlertype = $options[18];
+
+
array_shift($options);
array_shift($options);
array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
-
- $categories = array();
- foreach($options as $cat) {
- if($cat == 0) {
- $categories = array();
- break;
- }
- $categories[] = $cat;
- }
- $param['cat'] = $categories;
-
- for($i=0;$i<$nbSlideshow;$i++) {
- $slideshows[] = $photoHandler->objectToArray($photoHandler->getLastPhoto($param));
- }
-
- // Retrive module configuration
- $dirname = (isset($xoopsModule) ? $xoopsModule->getVar('dirname') :'system');
- if($dirname == 'extgallery') {
- $moduleConfig = $GLOBALS['xoopsModuleConfig'];
- } else {
- $moduleHandler =& xoops_gethandler('module');
- $module = $moduleHandler->getByDirname('extgallery');
- $config_handler =& xoops_gethandler('config');
- $moduleConfig = $config_handler->getConfigList($module->getVar("mid"));
- }
-
- $ret = array(
- 'slideshows'=>$slideshows,
- 'direction'=>$direction,
- 'desc'=>$desc,
- 'delay'=>$delay,
- 'duration'=>$duration,
- 'transtype'=>$transtype,
- 'effecttype'=>$effecttype,
- 'effectoption'=>$effectoption,
- 'uniqid'=>substr(md5(uniqid(rand())),27),
- 'display_type'=>$moduleConfig['display_type']
- );
- return $ret;
-}
-
-// Manage TopView Slideshow
-function extgalleryTopViewSlideshowShow($options) {
- global $xoTheme;
-
- $photoHandler = xoops_getmodulehandler('publicphoto', 'extgallery');
-
- $delay = $options[0];
- $duration = $options[1];
- $transtype = $options[2];
- $effecttype = $options[3];
- $effectoption = $options[4];
- $nbSlideshow = $options[5];
- $param = array('limit'=>$options[6]);
- $direction = $options[7];
- $desc = $options[8];
-
- // Include for SlideShow
- $xoTheme->addStylesheet('modules/extgallery/include/slideshow/css/slideshow-block.css');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/Asset.js');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.js');
- if($transtype == 'fold') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.fold.js');
- } elseif($transtype == 'kenburns') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.kenburns.js');
- } elseif($transtype == 'push') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/Element.js');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/aElement.js');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.push.js');
- }
-
array_shift($options);
array_shift($options);
array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
-
- $categories = array();
- foreach($options as $cat) {
- if($cat == 0) {
- $categories = array();
- break;
- }
- $categories[] = $cat;
- }
- $param['cat'] = $categories;
-
- for($i=0;$i<$nbSlideshow;$i++) {
- $slideshows[] = $photoHandler->objectToArray($photoHandler->getTopViewPhoto($param));
- }
-
- // Retrive module configuration
- $dirname = (isset($xoopsModule) ? $xoopsModule->getVar('dirname') :'system');
- if($dirname == 'extgallery') {
- $moduleConfig = $GLOBALS['xoopsModuleConfig'];
- } else {
- $moduleHandler =& xoops_gethandler('module');
- $module = $moduleHandler->getByDirname('extgallery');
- $config_handler =& xoops_gethandler('config');
- $moduleConfig = $config_handler->getConfigList($module->getVar("mid"));
- }
-
- $ret = array(
- 'slideshows'=>$slideshows,
- 'direction'=>$direction,
- 'desc'=>$desc,
- 'delay'=>$delay,
- 'duration'=>$duration,
- 'transtype'=>$transtype,
- 'effecttype'=>$effecttype,
- 'effectoption'=>$effectoption,
- 'uniqid'=>substr(md5(uniqid(rand())),27),
- 'display_type'=>$moduleConfig['display_type']
- );
- return $ret;
-}
-
-// Manage TopRated Slideshow
-function extgalleryTopRatedSlideshowShow($options) {
- global $xoTheme;
-
- $photoHandler = xoops_getmodulehandler('publicphoto', 'extgallery');
-
- $delay = $options[0];
- $duration = $options[1];
- $transtype = $options[2];
- $effecttype = $options[3];
- $effectoption = $options[4];
- $nbSlideshow = $options[5];
- $param = array('limit'=>$options[6]);
- $direction = $options[7];
- $desc = $options[8];
-
- // Include for SlideShow
- $xoTheme->addStylesheet('modules/extgallery/include/slideshow/css/slideshow-block.css');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/Asset.js');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.js');
- if($transtype == 'fold') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.fold.js');
- } elseif($transtype == 'kenburns') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.kenburns.js');
- } elseif($transtype == 'push') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/Element.js');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/aElement.js');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.push.js');
- }
-
array_shift($options);
array_shift($options);
array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
-
- $categories = array();
- foreach($options as $cat) {
- if($cat == 0) {
- $categories = array();
- break;
- }
- $categories[] = $cat;
- }
- $param['cat'] = $categories;
-
- for($i=0;$i<$nbSlideshow;$i++) {
- $slideshows[] = $photoHandler->objectToArray($photoHandler->getTopRatedPhoto($param));
- }
-
- // Retrive module configuration
- $dirname = (isset($xoopsModule) ? $xoopsModule->getVar('dirname') :'system');
- if($dirname == 'extgallery') {
- $moduleConfig = $GLOBALS['xoopsModuleConfig'];
- } else {
- $moduleHandler =& xoops_gethandler('module');
- $module = $moduleHandler->getByDirname('extgallery');
- $config_handler =& xoops_gethandler('config');
- $moduleConfig = $config_handler->getConfigList($module->getVar("mid"));
- }
-
- $ret = array(
- 'slideshows'=>$slideshows,
- 'direction'=>$direction,
- 'desc'=>$desc,
- 'delay'=>$delay,
- 'duration'=>$duration,
- 'transtype'=>$transtype,
- 'effecttype'=>$effecttype,
- 'effectoption'=>$effectoption,
- 'uniqid'=>substr(md5(uniqid(rand())),27),
- 'display_type'=>$moduleConfig['display_type']
- );
- return $ret;
-}
-
-// Manage TopEcard Slideshow
-function extgalleryTopEcardSlideshowShow($options) {
- global $xoTheme;
-
- $photoHandler = xoops_getmodulehandler('publicphoto', 'extgallery');
-
- $delay = $options[0];
- $duration = $options[1];
- $transtype = $options[2];
- $effecttype = $options[3];
- $effectoption = $options[4];
- $nbSlideshow = $options[5];
- $param = array('limit'=>$options[6]);
- $direction = $options[7];
- $desc = $options[8];
-
- // Include for SlideShow
- $xoTheme->addStylesheet('modules/extgallery/include/slideshow/css/slideshow-block.css');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/Asset.js');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.js');
- if($transtype == 'fold') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.fold.js');
- } elseif($transtype == 'kenburns') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.kenburns.js');
- } elseif($transtype == 'push') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/Element.js');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/aElement.js');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.push.js');
- }
-
array_shift($options);
array_shift($options);
array_shift($options);
+ array_shift($options);
+ array_shift($options);
+ array_shift($options);
array_shift($options);
array_shift($options);
array_shift($options);
array_shift($options);
- array_shift($options);
- array_shift($options);
-
- $categories = array();
+
+ $categories = array();
foreach($options as $cat) {
if($cat == 0) {
$categories = array();
@@ -602,36 +247,49 @@
}
$categories[] = $cat;
}
+
$param['cat'] = $categories;
-
- for($i=0;$i<$nbSlideshow;$i++) {
- $slideshows[] = $photoHandler->objectToArray($photoHandler->getTopEcardPhoto($param));
- }
-
- // Retrive module configuration
- $dirname = (isset($xoopsModule) ? $xoopsModule->getVar('dirname') :'system');
- if($dirname == 'extgallery') {
- $moduleConfig = $GLOBALS['xoopsModuleConfig'];
+
+ if($photoHandlertype == 'RandomPhoto'){
+ $photos = $photoHandler->objectToArray($photoHandler->getRandomPhoto($param));
+ } elseif($photoHandlertype == 'LastPhoto') {
+ $photos = $photoHandler->objectToArray($photoHandler->getLastPhoto($param));
+ } elseif($photoHandlertype == 'TopViewPhoto') {
+ $photos = $photoHandler->objectToArray($photoHandler->getTopViewPhoto($param));
+ } elseif($photoHandlertype == 'TopRatedPhoto') {
+ $photos = $photoHandler->objectToArray($photoHandler->getTopRatedPhoto($param));
} else {
- $moduleHandler =& xoops_gethandler('module');
- $module = $moduleHandler->getByDirname('extgallery');
- $config_handler =& xoops_gethandler('config');
- $moduleConfig = $config_handler->getConfigList($module->getVar("mid"));
+ $photos = $photoHandler->objectToArray($photoHandler->getTopEcardPhoto($param));
+ }
+
+ if(count($photos) == 0) {
+ return array();
}
-
- $ret = array(
- 'slideshows'=>$slideshows,
+
+ $ret = array(
+ 'photos'=>$photos,
'direction'=>$direction,
'desc'=>$desc,
- 'delay'=>$delay,
- 'duration'=>$duration,
- 'transtype'=>$transtype,
- 'effecttype'=>$effecttype,
- 'effectoption'=>$effectoption,
- 'uniqid'=>substr(md5(uniqid(rand())),27),
- 'display_type'=>$moduleConfig['display_type']
+ 'panel_width'=>$panel_width,
+ 'panel_height'=>$panel_height,
+ 'frame_width'=>$frame_width,
+ 'frame_height'=>$frame_height,
+ 'background_color'=>$background_color,
+ 'transition_speed'=>$transition_speed,
+ 'transition_interval'=>$ransition_interval,
+ 'overlay_height'=>$overlay_height,
+ 'overlay_color'=>$overlay_color,
+ 'overlay_text_color'=>$overlay_text_color,
+ 'caption_text_color'=>$caption_text_color,
+ 'border'=>$border,
+ 'overlay_opacity'=>$overlay_opacity,
+ 'overlay_font_size'=>$overlay_font_size,
+ 'nav_theme'=>$nav_theme,
+ 'position'=>$position,
+ 'easing'=>$easing
);
return $ret;
+
}
// Options photo blocks
@@ -661,9 +319,20 @@
} else {
$nChecked = ' checked="checked"';
}
+
+ $effectTypeSelect = new XoopsFormSelect(_MB_EXTGALLERY_SHOW_TYPE, 'options[]',$options[3]);
+ $effectTypeSelect->addOption("RandomPhoto", _MB_EXTGALLERY_TYPE_OP1);
+ $effectTypeSelect->addOption("LastPhoto", _MB_EXTGALLERY_TYPE_OP2);
+ $effectTypeSelect->addOption("TopViewPhoto", _MB_EXTGALLERY_TYPE_OP3);
+ $effectTypeSelect->addOption("TopRatedPhoto", _MB_EXTGALLERY_TYPE_OP4);
+ $effectTypeSelect->addOption("TopEcardPhoto", _MB_EXTGALLERY_TYPE_OP5);
+ $form .= _MB_EXTGALLERY_SHOW_TYPE." : ".$effectTypeSelect->render().'<br />';
+
+ array_shift($options);
array_shift($options);
array_shift($options);
array_shift($options);
+
$form .= _MB_EXTGALLERY_DISPLAY_DESC.' : <input type="radio" name="options[]" value="1"'.$yChecked.' /> '._YES.' <input type="radio" name="options[]" value="0"'.$nChecked.' />'._NO.'<br />';
$form .= $catHandler->getBlockSelect($options);
return $form;
@@ -728,6 +397,15 @@
} else {
$nChecked = ' checked="checked"';
}
+
+ $effectTypeSelect = new XoopsFormSelect(_MB_EXTGALLERY_SHOW_TYPE, 'options[]',$options[9]);
+ $effectTypeSelect->addOption("RandomPhoto", _MB_EXTGALLERY_TYPE_OP1);
+ $effectTypeSelect->addOption("LastPhoto", _MB_EXTGALLERY_TYPE_OP2);
+ $effectTypeSelect->addOption("TopViewPhoto", _MB_EXTGALLERY_TYPE_OP3);
+ $effectTypeSelect->addOption("TopRatedPhoto", _MB_EXTGALLERY_TYPE_OP4);
+ $effectTypeSelect->addOption("TopEcardPhoto", _MB_EXTGALLERY_TYPE_OP5);
+ $form .= _MB_EXTGALLERY_SHOW_TYPE." : ".$effectTypeSelect->render().'<br />';
+
array_shift($options);
array_shift($options);
array_shift($options);
@@ -737,116 +415,13 @@
array_shift($options);
array_shift($options);
array_shift($options);
+ array_shift($options);
$form .= _MB_EXTGALLERY_DISPLAY_DESC.' : <input type="radio" name="options[]" value="1"'.$yChecked.' /> '._YES.' <input type="radio" name="options[]" value="0"'.$nChecked.' />'._NO.'<br />';
$form .= $catHandler->getBlockSelect($options);
return $form;
}
-// Manage Ajax photos
-function extgalleryAjax($options) {
-
- //global $xoTheme;
- //$xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js');
- //$xoTheme->addScript('browse.php?modules/extgallery/include/galleryview.js');
- //$xoTheme->addScript('browse.php?modules/extgallery/include/timers.js');
- //$xoTheme->addScript('browse.php?modules/extgallery/include/easing.js');
-
- $photoHandler = xoops_getmodulehandler('publicphoto', 'extgallery');
- $param = array('limit'=>$options[0]);
- $panel_width = $options[1];
- $panel_height = $options[2];
- $frame_width = $options[3];
- $frame_height = $options[4];
- $background_color = $options[5];
- $transition_speed = $options[6];
- $ransition_interval = $options[7];
- $overlay_height = $options[8];
- $overlay_color = $options[9];
- $overlay_text_color = $options[10];
- $caption_text_color = $options[11];
- $border = $options[12];
- $overlay_opacity = $options[13];
- $overlay_font_size = $options[14];
- $nav_theme = $options[15];
- $position = $options[16];
- $easing = $options[17];
- $photoHandlertype = $options[18];
-
-
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
- array_shift($options);
-
- $categories = array();
- foreach($options as $cat) {
- if($cat == 0) {
- $categories = array();
- break;
- }
- $categories[] = $cat;
- }
-
- $param['cat'] = $categories;
-
- if($photoHandlertype == 'RandomPhoto'){
- $photos = $photoHandler->objectToArray($photoHandler->getRandomPhoto($param));
- } elseif($photoHandlertype == 'LastPhoto') {
- $photos = $photoHandler->objectToArray($photoHandler->getLastPhoto($param));
- } elseif($photoHandlertype == 'TopViewPhoto') {
- $photos = $photoHandler->objectToArray($photoHandler->getTopViewPhoto($param));
- } elseif($photoHandlertype == 'TopRatedPhoto') {
- $photos = $photoHandler->objectToArray($photoHandler->getTopRatedPhoto($param));
- } else {
- $photos = $photoHandler->objectToArray($photoHandler->getTopEcardPhoto($param));
- }
-
- if(count($photos) == 0) {
- return array();
- }
-
- $ret = array(
- 'photos'=>$photos,
- 'direction'=>$direction,
- 'desc'=>$desc,
- 'panel_width'=>$panel_width,
- 'panel_height'=>$panel_height,
- 'frame_width'=>$frame_width,
- 'frame_height'=>$frame_height,
- 'background_color'=>$background_color,
- 'transition_speed'=>$transition_speed,
- 'transition_interval'=>$ransition_interval,
- 'overlay_height'=>$overlay_height,
- 'overlay_color'=>$overlay_color,
- 'overlay_text_color'=>$overlay_text_color,
- 'caption_text_color'=>$caption_text_color,
- 'border'=>$border,
- 'overlay_opacity'=>$overlay_opacity,
- 'overlay_font_size'=>$overlay_font_size,
- 'nav_theme'=>$nav_theme,
- 'position'=>$position,
- 'easing'=>$easing
- );
- return $ret;
-
-}
-
// Options Ajax photos
function extgalleryAjaxEdit($options) {
global $xoopsUser;
Modified: XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-29 18:50:56 UTC (rev 5674)
@@ -29,6 +29,8 @@
- Add album page in admin area for manage album effect options (voltan)
- Change slideshow script from mootools to jquery and add galleryview script and options (voltan)
- Add galleria Scripts for slideshow (voltan)
+- Change system block and remove old blocks (davidenprossi - voltan)
+
modinfo.php
_MI_EXTGAL_DISP_SET_ORDER (added)
_MI_EXTGAL_DISP_SET_ORDER_DESC (added)
Modified: XoopsModules/extgallery/trunk/modules/extgallery/language/english/modinfo.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/language/english/modinfo.php 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/language/english/modinfo.php 2010-10-29 18:50:56 UTC (rev 5674)
@@ -78,16 +78,8 @@
define('_MI_EXTGALLERY_STANDARD',"Standard");
// Bloc Name
-define('_MI_EXTGAL_B_RAND',"Random photo");
-define('_MI_EXTGAL_B_LAST',"Last photo");
-define('_MI_EXTGAL_B_MOST',"Most viewed");
-define('_MI_EXTGAL_B_TOPR',"Top rated");
-define('_MI_EXTGAL_B_TOPE',"Top eCard");
-define('_MI_EXTGAL_B_RANDSS',"Random photo (Slideshow)");
-define('_MI_EXTGAL_B_LASTSS',"Last photo (Slideshow)");
-define('_MI_EXTGAL_B_MOSTSS',"Most viewed (Slideshow)");
-define('_MI_EXTGAL_B_TOPRSS',"Top rated (Slideshow)");
-define('_MI_EXTGAL_B_TOPESS',"Top eCard (Slideshow)");
+define('_MI_EXTGAL_B_PHOTO',"photo");
+define('_MI_EXTGAL_B_SLIDESHOW',"Slideshow");
define('_MI_EXTGAL_B_SUB',"Top Submitter");
define('_MI_EXTGAL_B_AJAX',"Ajax Gallery View");
Added: XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block.html (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block.html 2010-10-29 18:50:56 UTC (rev 5674)
@@ -0,0 +1,29 @@
+<table style="width:100%;">
+<{if $block.direction == 0}>
+<tr>
+<{foreach item=photo from=$block.photos}>
+<td style="text-align:center; vertical-align:middle;">
+<a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>">
+<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
+</a>
+<{if $block.desc}>
+<p style="text-align:center;"><{$photo.photo_desc}></p>
+<{/if}>
+</td>
+<{/foreach}>
+</tr>
+<{else}>
+<{foreach item=photo from=$block.photos}>
+<tr>
+<td style="text-align:center; vertical-align:middle;">
+<a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>">
+<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
+</a>
+<{if $block.desc}>
+<p style="text-align:center;"><{$photo.photo_desc}></p>
+<{/if}>
+</td>
+</tr>
+<{/foreach}>
+<{/if}>
+</table>
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_last.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_last.html 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_last.html 2010-10-29 18:50:56 UTC (rev 5674)
@@ -1,29 +0,0 @@
-<table style="width:100%;">
-<{if $block.direction == 0}>
-<tr>
-<{foreach item=photo from=$block.photos}>
-<td style="text-align:center; vertical-align:middle;">
-<a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>">
-<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
-</a>
-<{if $block.desc}>
-<p style="text-align:center;"><{$photo.photo_desc}></p>
-<{/if}>
-</td>
-<{/foreach}>
-</tr>
-<{else}>
-<{foreach item=photo from=$block.photos}>
-<tr>
-<td style="text-align:center; vertical-align:middle;">
-<a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>">
-<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
-</a>
-<{if $block.desc}>
-<p style="text-align:center;"><{$photo.photo_desc}></p>
-<{/if}>
-</td>
-</tr>
-<{/foreach}>
-<{/if}>
-</table>
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_last_slideshow.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_last_slideshow.html 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_last_slideshow.html 2010-10-29 18:50:56 UTC (rev 5674)
@@ -1,65 +0,0 @@
-<script type="text/javascript">
- //<![CDATA[
- window.addEvent('domready', function(){
- <{foreachq item=slideshow from=$block.slideshows name=slideShow}>
- var data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}> = {
- <{foreachq item=photo from=$slideshow name=slideShowPhotos}>
- <{if $block.display_type == 'slideshow'}>
- 'thumb_<{$photo.photo_name}>': { caption: '<{$photo.photo_desc|escape:'quotes'}>', href: '<{$xoops_url}>/modules/extgallery/public-slideshow.php?id=<{$photo.cat_id}>' }<{if ! $smarty.foreach.slideShowPhotos.last}>,<{/if}>
- <{else}>
- 'thumb_<{$photo.photo_name}>': { caption: '<{$photo.photo_desc|escape:'quotes'}>', href: '<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>' }<{if ! $smarty.foreach.slideShowPhotos.last}>,<{/if}>
- <{/if}>
-
- <{/foreach}>
- };
-
- (function () {
- <{if $block.transtype == 'fold'}>
- var myShow = new Slideshow.Fold('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{elseif $block.transtype == 'kenburns'}>
- var myShow = new Slideshow.KenBurns('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{elseif $block.transtype == 'push'}>
- var myShow = new Slideshow.Push('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{else}>
- var myShow = new Slideshow('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{/if}>
- captions: <{$block.desc}>,
- delay: <{$block.delay}>,
- duration: <{$block.duration}>,
- transition: '<{$block.effecttype}>:<{$block.effectoption}>',
- height: 100,
- width: 100,
- overlap: false,
- resize: false,
- hu: '<{$xoops_url}>/uploads/extgallery/public-photo/thumb/'}
- );
- }).delay(Math.random() * <{$block.delay}> / 2);
- <{/foreach}>
- });
- //]]>
-</script>
-
-
-<table style="width:100%;">
-<{if $block.direction == 0}>
-<tr>
-<{foreachq item=slideshow from=$block.slideshows name=slideShow}>
-<td style="text-align:center; vertical-align:middle;">
- <div id="extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>" class="slideshow-block">
- <img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$slideshow[0].photo_name}>" alt="<{$slideshow[0].photo_desc|escape:'html'}>" />
- </div>
-</td>
-<{/foreach}>
-</tr>
-<{else}>
-<{foreachq item=slideshow from=$block.slideshows name=slideShow}>
-<tr>
-<td style="text-align:center; vertical-align:middle;">
- <div id="extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>" class="slideshow-block">
- <img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$slideshow[0].photo_name}>" alt="<{$slideshow[0].photo_desc|escape:'html'}>" />
- </div>
-</td>
-</tr>
-<{/foreach}>
-<{/if}>
-</table>
\ No newline at end of file
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_random.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_random.html 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_random.html 2010-10-29 18:50:56 UTC (rev 5674)
@@ -1,29 +0,0 @@
-<table style="width:100%;">
-<{if $block.direction == 0}>
-<tr>
-<{foreach item=photo from=$block.photos}>
-<td style="text-align:center; vertical-align:middle;">
-<a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>">
-<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
-</a>
-<{if $block.desc}>
-<p style="text-align:center;"><{$photo.photo_desc}></p>
-<{/if}>
-</td>
-<{/foreach}>
-</tr>
-<{else}>
-<{foreach item=photo from=$block.photos}>
-<tr>
-<td style="text-align:center; vertical-align:middle;">
-<a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>">
-<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
-</a>
-<{if $block.desc}>
-<p style="text-align:center;"><{$photo.photo_desc}></p>
-<{/if}>
-</td>
-</tr>
-<{/foreach}>
-<{/if}>
-</table>
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_random_slideshow.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_random_slideshow.html 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_random_slideshow.html 2010-10-29 18:50:56 UTC (rev 5674)
@@ -1,64 +0,0 @@
-<script type="text/javascript">
- //<![CDATA[
- window.addEvent('domready', function(){
- <{foreachq item=slideshow from=$block.slideshows name=slideShow}>
- var data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}> = {
- <{foreachq item=photo from=$slideshow name=slideShowPhotos}>
- <{if $block.display_type == 'slideshow'}>
- 'thumb_<{$photo.photo_name}>': { caption: '<{$photo.photo_desc|escape:'quotes'}>', href: '<{$xoops_url}>/modules/extgallery/public-slideshow.php?id=<{$photo.cat_id}>' }<{if ! $smarty.foreach.slideShowPhotos.last}>,<{/if}>
- <{else}>
- 'thumb_<{$photo.photo_name}>': { caption: '<{$photo.photo_desc|escape:'quotes'}>', href: '<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>' }<{if ! $smarty.foreach.slideShowPhotos.last}>,<{/if}>
- <{/if}>
-
- <{/foreach}>
- };
-
- (function () {
- <{if $block.transtype == 'fold'}>
- var myShow = new Slideshow.Fold('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{elseif $block.transtype == 'kenburns'}>
- var myShow = new Slideshow.KenBurns('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{elseif $block.transtype == 'push'}>
- var myShow = new Slideshow.Push('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{else}>
- var myShow = new Slideshow('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{/if}>
- captions: <{$block.desc}>,
- delay: <{$block.delay}>,
- duration: <{$block.duration}>,
- transition: '<{$block.effecttype}>:<{$block.effectoption}>',
- height: 100,
- width: 100,
- overlap: false,
- resize: false,
- hu: '<{$xoops_url}>/uploads/extgallery/public-photo/thumb/'}
- );
- }).delay(Math.random() * <{$block.delay}>);
- <{/foreach}>
- });
- //]]>
-</script>
-
-<table style="width:100%;">
-<{if $block.direction == 0}>
-<tr>
-<{foreachq item=slideshow from=$block.slideshows name=slideShow}>
-<td style="text-align:center; vertical-align:middle;">
- <div id="extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>" class="slideshow-block">
- <img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$slideshow[0].photo_name}>" alt="<{$slideshow[0].photo_desc|escape:'html'}>" />
- </div>
-</td>
-<{/foreach}>
-</tr>
-<{else}>
-<{foreachq item=slideshow from=$block.slideshows name=slideShow}>
-<tr>
-<td style="text-align:center; vertical-align:middle;">
- <div id="extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>" class="slideshow-block">
- <img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$slideshow[0].photo_name}>" alt="<{$slideshow[0].photo_desc|escape:'html'}>" />
- </div>
-</td>
-</tr>
-<{/foreach}>
-<{/if}>
-</table>
\ No newline at end of file
Added: XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_slideshow.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_slideshow.html (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_slideshow.html 2010-10-29 18:50:56 UTC (rev 5674)
@@ -0,0 +1,65 @@
+<script type="text/javascript">
+ //<![CDATA[
+ window.addEvent('domready', function(){
+ <{foreachq item=slideshow from=$block.slideshows name=slideShow}>
+ var data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}> = {
+ <{foreachq item=photo from=$slideshow name=slideShowPhotos}>
+ <{if $block.display_type == 'slideshow'}>
+ 'thumb_<{$photo.photo_name}>': { caption: '<{$photo.photo_desc|escape:'quotes'}>', href: '<{$xoops_url}>/modules/extgallery/public-slideshow.php?id=<{$photo.cat_id}>' }<{if ! $smarty.foreach.slideShowPhotos.last}>,<{/if}>
+ <{else}>
+ 'thumb_<{$photo.photo_name}>': { caption: '<{$photo.photo_desc|escape:'quotes'}>', href: '<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>' }<{if ! $smarty.foreach.slideShowPhotos.last}>,<{/if}>
+ <{/if}>
+
+ <{/foreach}>
+ };
+
+ (function () {
+ <{if $block.transtype == 'fold'}>
+ var myShow = new Slideshow.Fold('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
+ <{elseif $block.transtype == 'kenburns'}>
+ var myShow = new Slideshow.KenBurns('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
+ <{elseif $block.transtype == 'push'}>
+ var myShow = new Slideshow.Push('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
+ <{else}>
+ var myShow = new Slideshow('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
+ <{/if}>
+ captions: <{$block.desc}>,
+ delay: <{$block.delay}>,
+ duration: <{$block.duration}>,
+ transition: '<{$block.effecttype}>:<{$block.effectoption}>',
+ height: 100,
+ width: 100,
+ overlap: false,
+ resize: false,
+ hu: '<{$xoops_url}>/uploads/extgallery/public-photo/thumb/'}
+ );
+ }).delay(Math.random() * <{$block.delay}> / 2);
+ <{/foreach}>
+ });
+ //]]>
+</script>
+
+
+<table style="width:100%;">
+<{if $block.direction == 0}>
+<tr>
+<{foreachq item=slideshow from=$block.slideshows name=slideShow}>
+<td style="text-align:center; vertical-align:middle;">
+ <div id="extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>" class="slideshow-block">
+ <img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$slideshow[0].photo_name}>" alt="<{$slideshow[0].photo_desc|escape:'html'}>" />
+ </div>
+</td>
+<{/foreach}>
+</tr>
+<{else}>
+<{foreachq item=slideshow from=$block.slideshows name=slideShow}>
+<tr>
+<td style="text-align:center; vertical-align:middle;">
+ <div id="extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>" class="slideshow-block">
+ <img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$slideshow[0].photo_name}>" alt="<{$slideshow[0].photo_desc|escape:'html'}>" />
+ </div>
+</td>
+</tr>
+<{/foreach}>
+<{/if}>
+</table>
\ No newline at end of file
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_ecard.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_ecard.html 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_ecard.html 2010-10-29 18:50:56 UTC (rev 5674)
@@ -1,29 +0,0 @@
-<table style="width:100%;">
-<{if $block.direction == 0}>
-<tr>
-<{foreach item=photo from=$block.photos}>
-<td style="text-align:center; vertical-align:middle;">
-<a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>">
-<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
-</a>
-<{if $block.desc}>
-<p style="text-align:center;"><{$photo.photo_desc}></p>
-<{/if}>
-</td>
-<{/foreach}>
-</tr>
-<{else}>
-<{foreach item=photo from=$block.photos}>
-<tr>
-<td style="text-align:center; vertical-align:middle;">
-<a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>">
-<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
-</a>
-<{if $block.desc}>
-<p style="text-align:center;"><{$photo.photo_desc}></p>
-<{/if}>
-</td>
-</tr>
-<{/foreach}>
-<{/if}>
-</table>
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_ecard_slideshow.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_ecard_slideshow.html 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_ecard_slideshow.html 2010-10-29 18:50:56 UTC (rev 5674)
@@ -1,65 +0,0 @@
-<script type="text/javascript">
- //<![CDATA[
- window.addEvent('domready', function(){
- <{foreachq item=slideshow from=$block.slideshows name=slideShow}>
- var data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}> = {
- <{foreachq item=photo from=$slideshow name=slideShowPhotos}>
- <{if $block.display_type == 'slideshow'}>
- 'thumb_<{$photo.photo_name}>': { caption: '<{$photo.photo_desc|escape:'quotes'}>', href: '<{$xoops_url}>/modules/extgallery/public-slideshow.php?id=<{$photo.cat_id}>' }<{if ! $smarty.foreach.slideShowPhotos.last}>,<{/if}>
- <{else}>
- 'thumb_<{$photo.photo_name}>': { caption: '<{$photo.photo_desc|escape:'quotes'}>', href: '<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>' }<{if ! $smarty.foreach.slideShowPhotos.last}>,<{/if}>
- <{/if}>
-
- <{/foreach}>
- };
-
- (function () {
- <{if $block.transtype == 'fold'}>
- var myShow = new Slideshow.Fold('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{elseif $block.transtype == 'kenburns'}>
- var myShow = new Slideshow.KenBurns('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{elseif $block.transtype == 'push'}>
- var myShow = new Slideshow.Push('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{else}>
- var myShow = new Slideshow('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{/if}>
- captions: <{$block.desc}>,
- delay: <{$block.delay}>,
- duration: <{$block.duration}>,
- transition: '<{$block.effecttype}>:<{$block.effectoption}>',
- height: 100,
- width: 100,
- overlap: false,
- resize: false,
- hu: '<{$xoops_url}>/uploads/extgallery/public-photo/thumb/'}
- );
- }).delay(Math.random() * <{$block.delay}> / 2);
- <{/foreach}>
- });
- //]]>
-</script>
-
-
-<table style="width:100%;">
-<{if $block.direction == 0}>
-<tr>
-<{foreachq item=slideshow from=$block.slideshows name=slideShow}>
-<td style="text-align:center; vertical-align:middle;">
- <div id="extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>" class="slideshow-block">
- <img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$slideshow[0].photo_name}>" alt="<{$slideshow[0].photo_desc|escape:'html'}>" />
- </div>
-</td>
-<{/foreach}>
-</tr>
-<{else}>
-<{foreachq item=slideshow from=$block.slideshows name=slideShow}>
-<tr>
-<td style="text-align:center; vertical-align:middle;">
- <div id="extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>" class="slideshow-block">
- <img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$slideshow[0].photo_name}>" alt="<{$slideshow[0].photo_desc|escape:'html'}>" />
- </div>
-</td>
-</tr>
-<{/foreach}>
-<{/if}>
-</table>
\ No newline at end of file
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_rated.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_rated.html 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_rated.html 2010-10-29 18:50:56 UTC (rev 5674)
@@ -1,29 +0,0 @@
-<table style="width:100%;">
-<{if $block.direction == 0}>
-<tr>
-<{foreach item=photo from=$block.photos}>
-<td style="text-align:center; vertical-align:middle;">
-<a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>">
-<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
-</a>
-<{if $block.desc}>
-<p style="text-align:center;"><{$photo.photo_desc}></p>
-<{/if}>
-</td>
-<{/foreach}>
-</tr>
-<{else}>
-<{foreach item=photo from=$block.photos}>
-<tr>
-<td style="text-align:center; vertical-align:middle;">
-<a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>">
-<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
-</a>
-<{if $block.desc}>
-<p style="text-align:center;"><{$photo.photo_desc}></p>
-<{/if}>
-</td>
-</tr>
-<{/foreach}>
-<{/if}>
-</table>
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_rated_slideshow.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_rated_slideshow.html 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_top_rated_slideshow.html 2010-10-29 18:50:56 UTC (rev 5674)
@@ -1,65 +0,0 @@
-<script type="text/javascript">
- //<![CDATA[
- window.addEvent('domready', function(){
- <{foreachq item=slideshow from=$block.slideshows name=slideShow}>
- var data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}> = {
- <{foreachq item=photo from=$slideshow name=slideShowPhotos}>
- <{if $block.display_type == 'slideshow'}>
- 'thumb_<{$photo.photo_name}>': { caption: '<{$photo.photo_desc|escape:'quotes'}>', href: '<{$xoops_url}>/modules/extgallery/public-slideshow.php?id=<{$photo.cat_id}>' }<{if ! $smarty.foreach.slideShowPhotos.last}>,<{/if}>
- <{else}>
- 'thumb_<{$photo.photo_name}>': { caption: '<{$photo.photo_desc|escape:'quotes'}>', href: '<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>' }<{if ! $smarty.foreach.slideShowPhotos.last}>,<{/if}>
- <{/if}>
-
- <{/foreach}>
- };
-
- (function () {
- <{if $block.transtype == 'fold'}>
- var myShow = new Slideshow.Fold('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{elseif $block.transtype == 'kenburns'}>
- var myShow = new Slideshow.KenBurns('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{elseif $block.transtype == 'push'}>
- var myShow = new Slideshow.Push('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{else}>
- var myShow = new Slideshow('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{/if}>
- captions: <{$block.desc}>,
- delay: <{$block.delay}>,
- duration: <{$block.duration}>,
- transition: '<{$block.effecttype}>:<{$block.effectoption}>',
- height: 100,
- width: 100,
- overlap: false,
- resize: false,
- hu: '<{$xoops_url}>/uploads/extgallery/public-photo/thumb/'}
- );
- }).delay(Math.random() * <{$block.delay}> / 2);
- <{/foreach}>
- });
- //]]>
-</script>
-
-
-<table style="width:100%;">
-<{if $block.direction == 0}>
-<tr>
-<{foreachq item=slideshow from=$block.slideshows name=slideShow}>
-<td style="text-align:center; vertical-align:middle;">
- <div id="extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>" class="slideshow-block">
- <img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$slideshow[0].photo_name}>" alt="<{$slideshow[0].photo_desc|escape:'html'}>" />
- </div>
-</td>
-<{/foreach}>
-</tr>
-<{else}>
-<{foreachq item=slideshow from=$block.slideshows name=slideShow}>
-<tr>
-<td style="text-align:center; vertical-align:middle;">
- <div id="extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>" class="slideshow-block">
- <img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$slideshow[0].photo_name}>" alt="<{$slideshow[0].photo_desc|escape:'html'}>" />
- </div>
-</td>
-</tr>
-<{/foreach}>
-<{/if}>
-</table>
\ No newline at end of file
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_view.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_view.html 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_view.html 2010-10-29 18:50:56 UTC (rev 5674)
@@ -1,29 +0,0 @@
-<table style="width:100%;">
-<{if $block.direction == 0}>
-<tr>
-<{foreach item=photo from=$block.photos}>
-<td style="text-align:center; vertical-align:middle;">
-<a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>">
-<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
-</a>
-<{if $block.desc}>
-<p style="text-align:center;"><{$photo.photo_desc}></p>
-<{/if}>
-</td>
-<{/foreach}>
-</tr>
-<{else}>
-<{foreach item=photo from=$block.photos}>
-<tr>
-<td style="text-align:center; vertical-align:middle;">
-<a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>">
-<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
-</a>
-<{if $block.desc}>
-<p style="text-align:center;"><{$photo.photo_desc}></p>
-<{/if}>
-</td>
-</tr>
-<{/foreach}>
-<{/if}>
-</table>
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_view_slideshow.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_view_slideshow.html 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_view_slideshow.html 2010-10-29 18:50:56 UTC (rev 5674)
@@ -1,65 +0,0 @@
-<script type="text/javascript">
- //<![CDATA[
- window.addEvent('domready', function(){
- <{foreachq item=slideshow from=$block.slideshows name=slideShow}>
- var data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}> = {
- <{foreachq item=photo from=$slideshow name=slideShowPhotos}>
- <{if $block.display_type == 'slideshow'}>
- 'thumb_<{$photo.photo_name}>': { caption: '<{$photo.photo_desc|escape:'quotes'}>', href: '<{$xoops_url}>/modules/extgallery/public-slideshow.php?id=<{$photo.cat_id}>' }<{if ! $smarty.foreach.slideShowPhotos.last}>,<{/if}>
- <{else}>
- 'thumb_<{$photo.photo_name}>': { caption: '<{$photo.photo_desc|escape:'quotes'}>', href: '<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>' }<{if ! $smarty.foreach.slideShowPhotos.last}>,<{/if}>
- <{/if}>
-
- <{/foreach}>
- };
-
- (function () {
- <{if $block.transtype == 'fold'}>
- var myShow = new Slideshow.Fold('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{elseif $block.transtype == 'kenburns'}>
- var myShow = new Slideshow.KenBurns('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{elseif $block.transtype == 'push'}>
- var myShow = new Slideshow.Push('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{else}>
- var myShow = new Slideshow('extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>', data_<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>, {
- <{/if}>
- captions: <{$block.desc}>,
- delay: <{$block.delay}>,
- duration: <{$block.duration}>,
- transition: '<{$block.effecttype}>:<{$block.effectoption}>',
- height: 100,
- width: 100,
- overlap: false,
- resize: false,
- hu: '<{$xoops_url}>/uploads/extgallery/public-photo/thumb/'}
- );
- }).delay(Math.random() * <{$block.delay}> / 2);
- <{/foreach}>
- });
- //]]>
-</script>
-
-
-<table style="width:100%;">
-<{if $block.direction == 0}>
-<tr>
-<{foreachq item=slideshow from=$block.slideshows name=slideShow}>
-<td style="text-align:center; vertical-align:middle;">
- <div id="extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>" class="slideshow-block">
- <img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$slideshow[0].photo_name}>" alt="<{$slideshow[0].photo_desc|escape:'html'}>" />
- </div>
-</td>
-<{/foreach}>
-</tr>
-<{else}>
-<{foreachq item=slideshow from=$block.slideshows name=slideShow}>
-<tr>
-<td style="text-align:center; vertical-align:middle;">
- <div id="extgallery-show-<{$block.uniqid}>_<{$smarty.foreach.slideShow.index}>" class="slideshow-block">
- <img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$slideshow[0].photo_name}>" alt="<{$slideshow[0].photo_desc|escape:'html'}>" />
- </div>
-</td>
-</tr>
-<{/foreach}>
-<{/if}>
-</table>
\ No newline at end of file
Modified: XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php 2010-10-29 18:22:10 UTC (rev 5673)
+++ XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php 2010-10-29 18:50:56 UTC (rev 5674)
@@ -672,101 +672,37 @@
// Blocs
$modversion['blocks'][1]['file'] = "extgallery_blocks.php";
-$modversion['blocks'][1]['name'] = _MI_EXTGAL_B_RAND;
+$modversion['blocks'][1]['name'] = _MI_EXTGAL_B_PHOTO;
$modversion['blocks'][1]['description'] = '';
-$modversion['blocks'][1]['show_func'] = "extgalleryRandomShow";
-$modversion['blocks'][1]['options'] = "4|0|0|0";
+$modversion['blocks'][1]['show_func'] = "extgalleryPhotoShow";
+$modversion['blocks'][1]['options'] = "4|0|0|RandomPhoto|0";
$modversion['blocks'][1]['edit_func'] = "extgalleryBlockEdit";
-$modversion['blocks'][1]['template'] = 'extgallery_block_random.html';
+$modversion['blocks'][1]['template'] = 'extgallery_block.html';
$modversion['blocks'][2]['file'] = "extgallery_blocks.php";
-$modversion['blocks'][2]['name'] = _MI_EXTGAL_B_LAST;
+$modversion['blocks'][2]['name'] = _MI_EXTGAL_B_SLIDESHOW;
$modversion['blocks'][2]['description'] = '';
-$modversion['blocks'][2]['show_func'] = "extgalleryLastShow";
-$modversion['blocks'][2]['options'] = "...
[truncated message content] |
|
From: <vo...@us...> - 2010-10-29 18:22:17
|
Revision: 5673
http://xoops.svn.sourceforge.net/xoops/?rev=5673&view=rev
Author: voltan1
Date: 2010-10-29 18:22:10 +0000 (Fri, 29 Oct 2010)
Log Message:
-----------
Add 2 option for galleria script ( some other options must be added )
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php
XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php
XoopsModules/extgallery/trunk/modules/extgallery/public-slideshow.php
XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html
XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php
Modified: XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php 2010-10-29 17:59:08 UTC (rev 5672)
+++ XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php 2010-10-29 18:22:10 UTC (rev 5673)
@@ -440,6 +440,54 @@
}
}
+ // galleria options
+ if($xoopsModuleConfig['use_slideshow_effects'] == 'galleria'){
+
+ if(isset($_POST['galleria_height'])) {
+
+ if($xoopsModuleConfig['galleria_height'] != $_POST['galleria_height']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleria_height'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleria_height',
+ 'conf_value'=>$_POST['galleria_height'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleria_panelwidth'])) {
+
+ if($xoopsModuleConfig['galleria_panelwidth'] != $_POST['galleria_panelwidth']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleria_panelwidth'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleria_panelwidth',
+ 'conf_value'=>$_POST['galleria_panelwidth'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ }
redirect_header("slideshow.php", 3, _AM_EXTGALLERY_CONFIGURATION_SAVED);
@@ -494,9 +542,10 @@
$easingSelect->addOption("easeOutBounce", _AM_EXTGALLERY_GVIEW_EASING_OP5);
$form->addElement($easingSelect);
}
-
+
if($xoopsModuleConfig['use_slideshow_effects'] == 'galleria'){
-
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GRIA_HEIGHT, 'galleria_height', '5', '5', $xoopsModuleConfig['galleria_height']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GRIA_PANELWIDTH, 'galleria_panelwidth', '5', '5', $xoopsModuleConfig['galleria_panelwidth']),false);
}
$form->addElement(new XoopsFormHidden("op", 'enreg'));
Modified: XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-29 17:59:08 UTC (rev 5672)
+++ XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-29 18:22:10 UTC (rev 5673)
@@ -151,6 +151,9 @@
_AM_EXTGALLERY_USE_SLIDESHOW_EFFECTS (added)
_AM_EXTGALLERY_SLIDESHOW_GVIEW (added)
_AM_EXTGALLERY_SLIDESHOW_GRIA (added)
+_AM_EXTGALLERY_GRIA_HEIGHT (added)
+_AM_EXTGALLERY_GRIA_PANELWIDTH (added)
+
_AM_EXTGALLERY_SLIDESHOW_DURATION (removed)
_AM_EXTGALLERY_SLIDESHOW_CONF (removed)
_AM_EXTGALLERY_TRANSTYPE (removed)
Modified: XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php 2010-10-29 17:59:08 UTC (rev 5672)
+++ XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php 2010-10-29 18:22:10 UTC (rev 5673)
@@ -199,6 +199,9 @@
define('_AM_EXTGALLERY_GVIEW_EASING_OP3',"easeInOutBack");
define('_AM_EXTGALLERY_GVIEW_EASING_OP4',"easeInOutQuad");
define('_AM_EXTGALLERY_GVIEW_EASING_OP5',"easeOutBounce");
+define('_AM_EXTGALLERY_GRIA_HEIGHT',"Height");
+define('_AM_EXTGALLERY_GRIA_PANELWIDTH',"Panel width");
+
// Album
define('_AM_EXTGALLERY_USE_AJAX_EFFECTS',"Type of show albums");
define('_AM_EXTGALLERY_USE_AJAX_EFFECTS_DESC',"Type of show photos in albums. you and use Ajax effects or normall show.<br /><b>Normal</b> : use module whit out any effects<br /><b>Lightbox</b> : Use Lightbox effect<br /><b>Overlay</b> : use Overlay effect");
Modified: XoopsModules/extgallery/trunk/modules/extgallery/public-slideshow.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/public-slideshow.php 2010-10-29 17:59:08 UTC (rev 5672)
+++ XoopsModules/extgallery/trunk/modules/extgallery/public-slideshow.php 2010-10-29 18:22:10 UTC (rev 5673)
@@ -66,6 +66,9 @@
$xoopsTpl->assign('galleryview_position', $xoopsModuleConfig['galleryview_position']);
$xoopsTpl->assign('galleryview_easing', $xoopsModuleConfig['galleryview_easing']);
+//for galleria
+$xoopsTpl->assign('galleria_height', $xoopsModuleConfig['galleria_height']);
+$xoopsTpl->assign('galleria_panelwidth', $xoopsModuleConfig['galleria_panelwidth']);
include(XOOPS_ROOT_PATH."/footer.php");
Modified: XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html 2010-10-29 17:59:08 UTC (rev 5672)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html 2010-10-29 18:22:10 UTC (rev 5673)
@@ -37,9 +37,8 @@
<script type="text/javascript" src="<{xoAppUrl browse.php?Frameworks/jquery/jquery.js}>"></script>
<script type="text/javascript" src="<{xoAppUrl browse.php?modules/extgallery/include/galleria/galleria.js}>"></script>
<style>
- html,body{background:#333}
- .content{color:#eee;font:14px/1.4 "helvetica neue", arial,sans-serif;width:620px;margin:20px auto}
- #galleria{height:400px;}
+ .content{color:#eee;font:14px/1.4 "helvetica neue", arial,sans-serif;width:<{$galleria_panelwidth}>px;margin:20px auto}
+ #galleria{height:<{$galleria_height}>px;}
</style>
</head>
<{/if}>
Modified: XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php 2010-10-29 17:59:08 UTC (rev 5672)
+++ XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php 2010-10-29 18:22:10 UTC (rev 5673)
@@ -533,7 +533,6 @@
$modversion['config'][$i]['formtype'] = 'hidden';
$modversion['config'][$i]['valuetype'] = 'text';
$modversion['config'][$i]['default'] = 'swing';
-
$i++;
$modversion['config'][$i]['name'] = 'galleryview_bgcolor';
$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
@@ -583,8 +582,21 @@
$modversion['config'][$i]['formtype'] = 'hidden';
$modversion['config'][$i]['valuetype'] = 'text';
$modversion['config'][$i]['default'] = '11px';
+$i++;
+$modversion['config'][$i]['name'] = 'galleria_height';
+$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'hidden';
+$modversion['config'][$i]['valuetype'] = 'int';
+$modversion['config'][$i]['default'] = 400;
+$i++;
+$modversion['config'][$i]['name'] = 'galleria_panelwidth';
+$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'hidden';
+$modversion['config'][$i]['valuetype'] = 'int';
+$modversion['config'][$i]['default'] = 620;
-
// hidden effects for album
$i++;
$modversion['config'][$i]['name'] = 'use_ajax_effects';
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vo...@us...> - 2010-10-29 17:59:14
|
Revision: 5672
http://xoops.svn.sourceforge.net/xoops/?rev=5672&view=rev
Author: voltan1
Date: 2010-10-29 17:59:08 +0000 (Fri, 29 Oct 2010)
Log Message:
-----------
update language files
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php
XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php
Modified: XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php 2010-10-29 17:53:43 UTC (rev 5671)
+++ XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php 2010-10-29 17:59:08 UTC (rev 5672)
@@ -458,7 +458,7 @@
$slideshoweffectSelect = new XoopsFormSelect(_AM_EXTGALLERY_USE_SLIDESHOW_EFFECTS, 'use_slideshow_effects',$xoopsModuleConfig['use_slideshow_effects']);
$slideshoweffectSelect->addOption("galleryview", _AM_EXTGALLERY_SLIDESHOW_GVIEW);
- $slideshoweffectSelect->addOption("galleria", _AM_EXTGALLERY_SLIDESHOW_GFFIC);
+ $slideshoweffectSelect->addOption("galleria", _AM_EXTGALLERY_SLIDESHOW_GRIA);
$form->addElement($slideshoweffectSelect);
if($xoopsModuleConfig['use_slideshow_effects'] == 'galleryview'){
Modified: XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-29 17:53:43 UTC (rev 5671)
+++ XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-29 17:59:08 UTC (rev 5672)
@@ -28,7 +28,7 @@
- Fix bug : Block Top Submiter don't have block options and name (voltan)
- Add album page in admin area for manage album effect options (voltan)
- Change slideshow script from mootools to jquery and add galleryview script and options (voltan)
-
+- Add galleria Scripts for slideshow (voltan)
modinfo.php
_MI_EXTGAL_DISP_SET_ORDER (added)
_MI_EXTGAL_DISP_SET_ORDER_DESC (added)
@@ -148,6 +148,9 @@
_AM_EXTGALLERY_GVIEW_EASING_OP3 (added)
_AM_EXTGALLERY_GVIEW_EASING_OP4 (added)
_AM_EXTGALLERY_GVIEW_EASING_OP5 (added)
+_AM_EXTGALLERY_USE_SLIDESHOW_EFFECTS (added)
+_AM_EXTGALLERY_SLIDESHOW_GVIEW (added)
+_AM_EXTGALLERY_SLIDESHOW_GRIA (added)
_AM_EXTGALLERY_SLIDESHOW_DURATION (removed)
_AM_EXTGALLERY_SLIDESHOW_CONF (removed)
_AM_EXTGALLERY_TRANSTYPE (removed)
Modified: XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php 2010-10-29 17:53:43 UTC (rev 5671)
+++ XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php 2010-10-29 17:59:08 UTC (rev 5672)
@@ -168,6 +168,9 @@
// Slideshow
define('_AM_EXTGALLERY_SLIDESHOW_CONF',"Slideshow configuration");
define('_AM_EXTGALLERY_SLIDESHOW_NOT_ENABLE',"SlideShow not enabled");
+define('_AM_EXTGALLERY_USE_SLIDESHOW_EFFECTS',"Type of show SlideShow");
+define('_AM_EXTGALLERY_SLIDESHOW_GVIEW',"galleryview");
+define('_AM_EXTGALLERY_SLIDESHOW_GRIA',"galleria");
define('_AM_EXTGALLERY_GVIEW_PANELWIDE',"Panel width");
define('_AM_EXTGALLERY_GVIEW_PANELHEIGHT',"Panle hight");
define('_AM_EXTGALLERY_GVIEW_FARMEWIDTH',"Farme width");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vo...@us...> - 2010-10-29 17:53:51
|
Revision: 5671
http://xoops.svn.sourceforge.net/xoops/?rev=5671&view=rev
Author: voltan1
Date: 2010-10-29 17:53:43 +0000 (Fri, 29 Oct 2010)
Log Message:
-----------
Move all js and css files to script folder
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_ajax.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-album.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html
Added Paths:
-----------
XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/
XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/close.png
XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/index.html
XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/transparent.png
XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/white.png
XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/
XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/galleria.classic.css
XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/galleria.classic.js
XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/galleria.js
XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/index.html
XoopsModules/extgallery/trunk/modules/extgallery/include/galleryview/
XoopsModules/extgallery/trunk/modules/extgallery/include/galleryview/easing.js
XoopsModules/extgallery/trunk/modules/extgallery/include/galleryview/galleryview.css
XoopsModules/extgallery/trunk/modules/extgallery/include/galleryview/galleryview.js
XoopsModules/extgallery/trunk/modules/extgallery/include/galleryview/index.html
XoopsModules/extgallery/trunk/modules/extgallery/include/galleryview/timers.js
XoopsModules/extgallery/trunk/modules/extgallery/include/overlay/
XoopsModules/extgallery/trunk/modules/extgallery/include/overlay/index.html
XoopsModules/extgallery/trunk/modules/extgallery/include/overlay/overlay.css
XoopsModules/extgallery/trunk/modules/extgallery/include/overlay/overlay.jquery.tools.min.js
XoopsModules/extgallery/trunk/modules/extgallery/include/tooltip/
XoopsModules/extgallery/trunk/modules/extgallery/include/tooltip/image.tooltip.css
XoopsModules/extgallery/trunk/modules/extgallery/include/tooltip/image.tooltip.js
XoopsModules/extgallery/trunk/modules/extgallery/include/tooltip/index.html
Removed Paths:
-------------
XoopsModules/extgallery/trunk/modules/extgallery/images/Thumbs.db
XoopsModules/extgallery/trunk/modules/extgallery/images/close.png
XoopsModules/extgallery/trunk/modules/extgallery/images/transparent.png
XoopsModules/extgallery/trunk/modules/extgallery/images/white.png
XoopsModules/extgallery/trunk/modules/extgallery/include/easing.js
XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.classic.css
XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.classic.js
XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.js
XoopsModules/extgallery/trunk/modules/extgallery/include/galleryview.css
XoopsModules/extgallery/trunk/modules/extgallery/include/galleryview.js
XoopsModules/extgallery/trunk/modules/extgallery/include/image.tooltip.css
XoopsModules/extgallery/trunk/modules/extgallery/include/image.tooltip.js
XoopsModules/extgallery/trunk/modules/extgallery/include/overlay.css
XoopsModules/extgallery/trunk/modules/extgallery/include/overlay.jquery.tools.min.js
XoopsModules/extgallery/trunk/modules/extgallery/include/timers.js
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/images/Thumbs.db
===================================================================
(Binary files differ)
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/images/close.png
===================================================================
(Binary files differ)
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/close.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/close.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/index.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/index.html (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/index.html 2010-10-29 17:53:43 UTC (rev 5671)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/transparent.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/transparent.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/white.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/overlay/white.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/images/transparent.png
===================================================================
(Binary files differ)
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/images/white.png
===================================================================
(Binary files differ)
Deleted: XoopsModules/extgallery/trunk/modules/extgallery/include/easing.js
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/include/easing.js 2010-10-29 16:17:24 UTC (rev 5670)
+++ XoopsModules/extgallery/trunk/modules/extgallery/include/easing.js 2010-10-29 17:53:43 UTC (rev 5671)
@@ -1,205 +0,0 @@
-/*
- * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
- *
- * Uses the built in easing capabilities added In jQuery 1.1
- * to offer multiple easing options
- *
- * TERMS OF USE - jQuery Easing
- *
- * Open source under the BSD License.
- *
- * Copyright © 2008 George McGinley Smith
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice, this list of
- * conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice, this list
- * of conditions and the following disclaimer in the documentation and/or other materials
- * provided with the distribution.
- *
- * Neither the name of the author nor the names of contributors may be used to endorse
- * or promote products derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
- * OF THE POSSIBILITY OF SUCH DAMAGE.
- *
-*/
-
-// t: current time, b: begInnIng value, c: change In value, d: duration
-jQuery.easing['jswing'] = jQuery.easing['swing'];
-
-jQuery.extend( jQuery.easing,
-{
- def: 'easeOutQuad',
- swing: function (x, t, b, c, d) {
- //alert(jQuery.easing.default);
- return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
- },
- easeInQuad: function (x, t, b, c, d) {
- return c*(t/=d)*t + b;
- },
- easeOutQuad: function (x, t, b, c, d) {
- return -c *(t/=d)*(t-2) + b;
- },
- easeInOutQuad: function (x, t, b, c, d) {
- if ((t/=d/2) < 1) return c/2*t*t + b;
- return -c/2 * ((--t)*(t-2) - 1) + b;
- },
- easeInCubic: function (x, t, b, c, d) {
- return c*(t/=d)*t*t + b;
- },
- easeOutCubic: function (x, t, b, c, d) {
- return c*((t=t/d-1)*t*t + 1) + b;
- },
- easeInOutCubic: function (x, t, b, c, d) {
- if ((t/=d/2) < 1) return c/2*t*t*t + b;
- return c/2*((t-=2)*t*t + 2) + b;
- },
- easeInQuart: function (x, t, b, c, d) {
- return c*(t/=d)*t*t*t + b;
- },
- easeOutQuart: function (x, t, b, c, d) {
- return -c * ((t=t/d-1)*t*t*t - 1) + b;
- },
- easeInOutQuart: function (x, t, b, c, d) {
- if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
- return -c/2 * ((t-=2)*t*t*t - 2) + b;
- },
- easeInQuint: function (x, t, b, c, d) {
- return c*(t/=d)*t*t*t*t + b;
- },
- easeOutQuint: function (x, t, b, c, d) {
- return c*((t=t/d-1)*t*t*t*t + 1) + b;
- },
- easeInOutQuint: function (x, t, b, c, d) {
- if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
- return c/2*((t-=2)*t*t*t*t + 2) + b;
- },
- easeInSine: function (x, t, b, c, d) {
- return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
- },
- easeOutSine: function (x, t, b, c, d) {
- return c * Math.sin(t/d * (Math.PI/2)) + b;
- },
- easeInOutSine: function (x, t, b, c, d) {
- return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
- },
- easeInExpo: function (x, t, b, c, d) {
- return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
- },
- easeOutExpo: function (x, t, b, c, d) {
- return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
- },
- easeInOutExpo: function (x, t, b, c, d) {
- if (t==0) return b;
- if (t==d) return b+c;
- if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
- return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
- },
- easeInCirc: function (x, t, b, c, d) {
- return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
- },
- easeOutCirc: function (x, t, b, c, d) {
- return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
- },
- easeInOutCirc: function (x, t, b, c, d) {
- if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
- return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
- },
- easeInElastic: function (x, t, b, c, d) {
- var s=1.70158;var p=0;var a=c;
- if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
- if (a < Math.abs(c)) { a=c; var s=p/4; }
- else var s = p/(2*Math.PI) * Math.asin (c/a);
- return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
- },
- easeOutElastic: function (x, t, b, c, d) {
- var s=1.70158;var p=0;var a=c;
- if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
- if (a < Math.abs(c)) { a=c; var s=p/4; }
- else var s = p/(2*Math.PI) * Math.asin (c/a);
- return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
- },
- easeInOutElastic: function (x, t, b, c, d) {
- var s=1.70158;var p=0;var a=c;
- if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
- if (a < Math.abs(c)) { a=c; var s=p/4; }
- else var s = p/(2*Math.PI) * Math.asin (c/a);
- if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
- return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
- },
- easeInBack: function (x, t, b, c, d, s) {
- if (s == undefined) s = 1.70158;
- return c*(t/=d)*t*((s+1)*t - s) + b;
- },
- easeOutBack: function (x, t, b, c, d, s) {
- if (s == undefined) s = 1.70158;
- return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
- },
- easeInOutBack: function (x, t, b, c, d, s) {
- if (s == undefined) s = 1.70158;
- if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
- return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
- },
- easeInBounce: function (x, t, b, c, d) {
- return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
- },
- easeOutBounce: function (x, t, b, c, d) {
- if ((t/=d) < (1/2.75)) {
- return c*(7.5625*t*t) + b;
- } else if (t < (2/2.75)) {
- return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
- } else if (t < (2.5/2.75)) {
- return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
- } else {
- return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
- }
- },
- easeInOutBounce: function (x, t, b, c, d) {
- if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
- return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
- }
-});
-
-/*
- *
- * TERMS OF USE - EASING EQUATIONS
- *
- * Open source under the BSD License.
- *
- * Copyright © 2001 Robert Penner
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice, this list of
- * conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice, this list
- * of conditions and the following disclaimer in the documentation and/or other materials
- * provided with the distribution.
- *
- * Neither the name of the author nor the names of contributors may be used to endorse
- * or promote products derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
- * OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- */
\ No newline at end of file
Added: XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/galleria.classic.css
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/galleria.classic.css (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/galleria.classic.css 2010-10-29 17:53:43 UTC (rev 5671)
@@ -0,0 +1,202 @@
+/*
+ * Galleria Classic Theme
+ * Copyright (c) 2010, Aino
+ * Licensed under the MIT license.
+ */
+
+.galleria-container {
+ position: relative;
+ overflow: hidden;
+ background-color: #000;
+}
+.galleria-container img {
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ -o-user-select: none;
+}
+.galleria-stage {
+ position: absolute;
+ top: 10px;
+ bottom: 60px;
+ left: 10px;
+ right: 10px;
+ overflow:hidden;
+}
+.galleria-thumbnails-container {
+ height: 50px;
+ bottom: 0;
+ position: absolute;
+ left: 10px;
+ right: 10px;
+ z-index: 2;
+}
+.galleria-carousel .galleria-thumbnails-list {
+ margin-left: 30px;
+ margin-right: 30px;
+}
+.galleria-thumbnails .galleria-image {
+ height: 40px;
+ width: 60px;
+ background: #000;
+ margin: 0 5px 0 0;
+ border: 1px solid #000;;
+ float: left;
+ cursor: pointer;
+}
+.galleria-counter {
+ position: absolute;
+ bottom: 10px;
+ left: 10px;
+ text-align: right;
+ color: #fff;
+ font: normal 11px/1 arial,sans-serif;
+ z-index: 2;
+}
+.galleria-loader {
+ background: #000;
+ width: 20px;
+ height: 20px;
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ z-index: 2;
+ display: none;
+ background: url(modules/extgallery/images/galleria/classic-loader.gif) no-repeat 2px 2px;
+}
+.galleria-info {
+ width: 50%;
+ top: 15px;
+ left: 15px;
+ z-index: 2;
+ position: absolute;
+}
+.galleria-info-text {
+ background-color: #000;
+ padding: 12px;
+ display: none;
+ /* IE7 */ zoom:1;
+}
+.galleria-info-title {
+ font: bold 12px/1.1 arial,sans-serif;
+ margin: 0;
+ color: #fff;
+}
+.galleria-info-description {
+ font: italic 12px/1.4 georgia,serif;
+ margin: 0;
+ color: #bbb;
+}
+.galleria-info-title+.galleria-info-description {
+ margin-top: 7px;
+}
+.galleria-info-close {
+ width: 9px;
+ height: 9px;
+ position: absolute;
+ top: 5px;
+ right: 5px;
+ background-position: -753px -11px;
+ opacity: .5;
+ filter: alpha(opacity=50);
+ cursor: pointer;
+ display: none;
+}
+.galleria-info-close:hover{
+ opacity:1;
+ filter: alpha(opacity=100);
+}
+.galleria-info-link {
+ background-position: -669px -5px;
+ opacity: .7;
+ filter: alpha(opacity=70);
+ position: absolute;
+ width: 20px;
+ height: 20px;
+ cursor: pointer;
+ background-color: #000;
+}
+.galleria-info-link:hover {
+ opacity: 1;
+ filter: alpha(opacity=100);
+}
+.galleria-image-nav {
+ position: absolute;
+ top: 50%;
+ margin-top: -62px;
+ width: 100%;
+ height: 62px;
+ left: 0;
+}
+.galleria-image-nav-left,
+.galleria-image-nav-right {
+ opacity: .3;
+ filter: alpha(opacity=30);
+ cursor: pointer;
+ width: 62px;
+ height: 124px;
+ position: absolute;
+ left: 10px;
+ z-index: 2;
+ background-position: 0 46px;
+}
+.galleria-image-nav-right {
+ left: auto;
+ right: 10px;
+ background-position: -254px 46px;
+ z-index: 2;
+}
+.galleria-image-nav-left:hover,
+.galleria-image-nav-right:hover {
+ opacity: 1;
+ filter: alpha(opacity=100);
+}
+.galleria-thumb-nav-left,
+.galleria-thumb-nav-right {
+ cursor: pointer;
+ display: none;
+ background-position: -495px 5px;
+ position: absolute;
+ left: 0;
+ top: 0;
+ height: 40px;
+ width: 23px;
+ z-index: 3;
+ opacity: .8;
+ filter: alpha(opacity=80);
+}
+.galleria-thumb-nav-right {
+ background-position: -578px 5px;
+ border-right: none;
+ right: 0;
+ left: auto;
+}
+.galleria-thumbnails-container .disabled {
+ opacity: .2;
+ filter: alpha(opacity=20);
+ cursor: default;
+}
+.galleria-thumb-nav-left:hover,
+.galleria-thumb-nav-right:hover {
+ opacity: 1;
+ filter: alpha(opacity=100);
+ background-color: #111;
+}
+.galleria-thumbnails-container .disabled:hover {
+ opacity: 0.2;
+ filter: alpha(opacity=20);
+ background-color: transparent;
+}
+
+.galleria-carousel .galleria-thumb-nav-left,
+.galleria-carousel .galleria-thumb-nav-right {
+ display: block;
+}
+.galleria-thumb-nav-left,
+.galleria-thumb-nav-right,
+.galleria-info-link,
+.galleria-info-close,
+.galleria-image-nav-left,
+.galleria-image-nav-right {
+ background-image: url(modules/extgallery/images/galleria/classic-map.png);
+ background-repeat: no-repeat;
+}
Added: XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/galleria.classic.js
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/galleria.classic.js (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/galleria.classic.js 2010-10-29 17:53:43 UTC (rev 5671)
@@ -0,0 +1,82 @@
+/*
+ * Galleria Classic Theme v. 1.5 2010-10-28
+ * http://galleria.aino.se
+ *
+ * Copyright (c) 2010, Aino
+ * Licensed under the MIT license.
+ */
+
+(function($) {
+
+Galleria.addTheme({
+ name: 'classic',
+ author: 'Galleria',
+ version: '1.5',
+ css: 'galleria.classic.css',
+ defaults: {
+ transition: 'slide',
+ thumb_crop: 'height',
+
+ // set this to false if you want to show the caption all the time:
+ _toggle_info: true
+ },
+ init: function(options) {
+
+ // add some elements
+ this.addElement('info-link','info-close');
+ this.append({
+ 'info' : ['info-link','info-close']
+ });
+
+ // cache some stuff
+ var toggle = this.$('image-nav-left,image-nav-right,counter'),
+ info = this.$('info-link,info-close,info-text'),
+ click = Galleria.TOUCH ? 'touchstart' : 'click';
+
+ // show loader & counter with opacity
+ this.$('loader,counter').show().css('opacity',.4)
+
+ // some stuff for non-touch browsers
+ if (! Galleria.TOUCH ) {
+
+ // fade thumbnails
+ this.$('thumbnails').children().hover(function() {
+ $(this).not('.active').children().stop().fadeTo(100, 1);
+ }, function() {
+ $(this).not('.active').children().stop().fadeTo(400, .6);
+ });
+
+ this.addIdleState( this.get('image-nav-left'), { left:-50 });
+ this.addIdleState( this.get('image-nav-right'), { right:-50 });
+ this.addIdleState( this.get('counter'), { opacity:0 });
+ }
+
+ // toggle info
+ if ( options._toggle_info ) {
+ info.bind( click, function() {
+ info.toggle();
+ });
+ }
+
+ // bind some stuff
+ this.bind(Galleria.THUMBNAIL, function(e) {
+ $(e.thumbTarget).parent(':not(.active)').children().css('opacity',.6)
+ });
+
+ this.bind(Galleria.LOADSTART, function(e) {
+ if (!e.cached) {
+ this.$('loader').show().fadeTo(200, .4);
+ }
+
+ this.$('info').toggle( this.hasInfo() );
+
+ $(e.thumbTarget).css('opacity',1).parent().siblings().children().css('opacity',.6);
+ });
+
+ this.bind(Galleria.LOADFINISH, function(e) {
+ this.$('loader').fadeOut(200);
+ });
+ }
+});
+
+})(jQuery);
Added: XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/galleria.js
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/galleria.js (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/include/galleria/galleria.js 2010-10-29 17:53:43 UTC (rev 5671)
@@ -0,0 +1,3734 @@
+/*
+ * Galleria v 1.2 prerelease 1.1 2010-10-29
+ * http://galleria.aino.se
+ *
+ * Copyright (c) 2010, Aino
+ * Licensed under the MIT license.
+ */
+
+(function($) {
+
+// some references
+var undef,
+ window = this,
+ doc = document,
+ $doc = $( doc );
+
+// internal constants
+var DEBUG = false,
+ NAV = navigator.userAgent.toLowerCase(),
+ HASH = window.location.hash.replace(/#\//, ''),
+ CLICK = function() {
+ // use this to make touch devices snappier
+ return Galleria.TOUCH ? 'touchstart' : 'click';
+ },
+ IE = (function() {
+ var v = 3,
+ div = doc.createElement( 'div' );
+ while (
+ div.innerHTML = '<!--[if gt IE '+(++v)+']><i></i><![endif]-->',
+ div.getElementsByTagName('i')[0]
+ );
+ return v > 4 ? v : undef;
+ }() ),
+ DOM = function() {
+ return {
+ html: doc.documentElement,
+ body: doc.body,
+ head: doc.getElementsByTagName('head')[0],
+ title: doc.title
+ };
+ },
+
+ // the internal timeouts object
+ // provides helper methods for controlling timeouts
+ _timeouts = {
+
+ trunk: {},
+
+ add: function( id, fn, delay, loop ) {
+ loop = loop || false;
+ this.clear( id );
+ if ( loop ) {
+ var old = fn;
+ fn = function() {
+ old();
+ _timeouts.add( id, fn, delay );
+ };
+ }
+ this.trunk[ id ] = window.setTimeout( fn, delay );
+ },
+
+ clear: function( id ) {
+
+ var del = function( i ) {
+ window.clearTimeout( this.trunk[ i ] );
+ delete this.trunk[ i ];
+ };
+
+ if ( !!id && id in this.trunk ) {
+ del.call( _timeouts, id );
+
+ } else if ( typeof id == 'undefined' ) {
+ for ( var i in this.trunk ) {
+ del.call( _timeouts, i );
+ }
+ }
+ }
+ },
+
+ // the internal gallery holder
+ _galleries = [],
+
+ // the transitions holder
+ _transitions = {
+
+ fade: function(params, complete) {
+ $(params.next).css('opacity', 0).show().animate({
+ opacity: 1
+ }, params.speed, complete);
+
+ if (params.prev) {
+ $(params.prev).css('opacity', 1).show().animate({
+ opacity: 0
+ }, params.speed);
+ }
+ },
+
+ flash: function(params, complete) {
+ $(params.next).css('opacity', 0);
+ if (params.prev) {
+ $(params.prev).animate({
+ opacity: 0
+ }, (params.speed / 2), function() {
+ $(params.next).animate({
+ opacity: 1
+ }, params.speed, complete);
+ });
+ } else {
+ $(params.next).animate({
+ opacity: 1
+ }, params.speed, complete);
+ }
+ },
+
+ pulse: function(params, complete) {
+ if (params.prev) {
+ $(params.prev).hide();
+ }
+ $(params.next).css('opacity', 0).animate({
+ opacity:1
+ }, params.speed, complete);
+ },
+
+ slide: function(params, complete) {
+ var image = $(params.next).parent(),
+ images = this.$('images'), // ??
+ width = this._stageWidth,
+ easing = this.getOptions( 'easing' );
+
+ image.css({
+ left: width * ( params.rewind ? -1 : 1 )
+ });
+ images.animate({
+ left: width * ( params.rewind ? 1 : -1 )
+ }, {
+ duration: params.speed,
+ queue: false,
+ easing: easing,
+ complete: function() {
+ images.css('left', 0);
+ image.css('left', 0);
+ complete();
+ }
+ });
+ },
+
+ fadeslide: function(params, complete) {
+
+ var x = 0,
+ easing = this.getOptions('easing');
+
+ if (params.prev) {
+ x = Utils.parseValue( $(params.prev).css('left') );
+ $(params.prev).css({
+ opacity: 1,
+ left: x
+ }).animate({
+ opacity: 0,
+ left: x + ( 50 * ( params.rewind ? 1 : -1 ) )
+ },{
+ duration: params.speed,
+ queue: false,
+ easing: easing
+ });
+ }
+
+ x = Utils.parseValue( $(params.next).css('left') );
+
+ $(params.next).css({
+ left: x + ( 50 * ( params.rewind ? -1 : 1 ) ),
+ opacity: 0
+ }).animate({
+ opacity: 1,
+ left: x
+ }, {
+ duration: params.speed,
+ complete: complete,
+ queue: false,
+ easing: easing
+ });
+ }
+ },
+
+ // the Utils singleton
+ Utils = (function() {
+
+ return {
+
+ array : function( obj ) {
+ return Array.prototype.slice.call(obj);
+ },
+
+ create : function( className, nodeName ) {
+ nodeName = nodeName || 'div';
+ var elem = doc.createElement( nodeName );
+ elem.className = className;
+ return elem;
+ },
+
+ forceStyles : function( elem, styles ) {
+ elem = $(elem);
+ if ( elem.attr( 'style' ) ) {
+ elem.data( 'styles', elem.attr( 'style' ) ).removeAttr( 'style' );
+ }
+ elem.css( styles );
+ },
+
+ revertStyles : function() {
+ $.each( Utils.array( arguments ), function( i, elem ) {
+
+ elem = $( elem ).removeAttr( 'style' );
+
+ if ( elem.data( 'styles' ) ) {
+ elem.attr( 'style', elem.data('styles') ).data( 'styles', null );
+ }
+ });
+ },
+
+ moveOut : function( elem ) {
+ Utils.forceStyles( elem, {
+ position: 'absolute',
+ left: -10000
+ });
+ },
+
+ moveIn : function() {
+ Utils.revertStyles.apply( Utils, Utils.array( arguments ) );
+ },
+
+ hide : function( elem, speed, callback ) {
+ elem = $(elem);
+
+ // save the value if not exist
+ if (! elem.data('opacity') ) {
+ elem.data('opacity', elem.css('opacity') );
+ }
+
+ // always hide
+ var style = { opacity: 0 };
+
+ if (speed) {
+ elem.stop().animate( style, speed, callback );
+ } else {
+ elem.css( style );
+ };
+ },
+
+ show : function( elem, speed, callback ) {
+ elem = $(elem);
+
+ // bring back saved opacity
+ var saved = parseFloat( elem.data('opacity') ) || 1,
+ style = { opacity: saved };
+
+ // reset save if opacity == 1
+ if (saved == 1) {
+ elem.data('opacity', null);
+ }
+
+ // animate or toggle
+ if (speed) {
+ elem.stop().animate( style, speed, callback );
+ } else {
+ elem.css( style );
+ };
+ },
+
+ addTimer : function() {
+ _timeouts.add.apply( _timeouts, Utils.array( arguments ) );
+ return this;
+ },
+
+ clearTimer : function() {
+ _timeouts.clear.apply( _timeouts, Utils.array( arguments ) );
+ return this;
+ },
+
+ wait : function(options) {
+ options = $.extend({
+ until : function() { return false; },
+ success : function() {},
+ error : function() { Galleria.raise('Could not complete wait function.'); },
+ timeout: 3000
+ }, options);
+
+ var start = Utils.timestamp(),
+ elapsed,
+ now;
+
+ window.setTimeout(function() {
+ now = Utils.timestamp();
+ elapsed = now - start;
+ if ( options.until( elapsed ) ) {
+ options.success();
+ return false;
+ }
+
+ if (now >= start + options.timeout) {
+ options.error();
+ return false;
+ }
+ window.setTimeout(arguments.callee, 2);
+ }, 2);
+ },
+
+ toggleQuality : function( img, force ) {
+
+ if ( !( IE == 7 || IE == 8 ) || !!img === false ) {
+ return;
+ }
+
+ if ( typeof force === 'undefined' ) {
+ force = img.style.msInterpolationMode == 'nearest-neighbor';
+ }
+
+ img.style.msInterpolationMode = force ? 'bicubic' : 'nearest-neighbor';
+ },
+
+ insertStyleTag : function( styles ) {
+ var style = doc.createElement( 'style' );
+ DOM().head.appendChild( style );
+
+ if ( style.styleSheet ) { // IE
+ style.styleSheet.cssText = styles;
+ } else {
+ var cssText = doc.createTextNode( styles );
+ style.appendChild( cssText );
+ }
+ },
+
+ // a loadscript method that works for local scripts
+ loadScript: function( url, callback ) {
+ var done = false,
+ script = $('<scr'+'ipt>').attr({
+ src: url,
+ async: true
+ }).get(0);
+
+ // Attach handlers for all browsers
+ script. = function() {
+ if ( !done && (!this.readyState ||
+ this.readyState == 'loaded' || this.readyState == 'complete') ) {
+ done = true;
+
+ if (typeof callback == 'function') {
+ callback.call( this, this );
+ }
+
+ // Handle memory leak in IE
+ script. = null;
+ }
+ };
+
+ var s = doc.getElementsByTagName( 'script' )[0];
+ s.parentNode.insertBefore( script, s );
+ },
+
+ // parse anything into a number
+ parseValue: function( val ) {
+ if (typeof val == 'number') {
+ return val;
+ } else if (typeof val == 'string') {
+ var arr = val.match(/\-?\d/g);
+ return arr && arr.constructor == Array ? arr.join('') * 1 : 0;
+ } else {
+ return 0;
+ }
+ },
+
+ // timestamp abstraction
+ timestamp: function() {
+ return new Date().getTime();
+ },
+
+ // this is pretty crap, but works for now
+ // it will add a callback, but it can't guarantee that the styles can be fetched
+ // using getComputedStyle further checking needed, possibly a dummy element
+ loadCSS : function( href, id, callback ) {
+
+ var link,
+ ready = false,
+ length;
+
+ // look for manual css
+ $('link[rel=stylesheet]').each(function() {
+ if ( new RegExp( href ).test( this.href ) ) {
+ link = this;
+ return false;
+ }
+ });
+
+ if ( typeof id == 'function' ) {
+ callback = id;
+ id = undef;
+ }
+
+ callback = callback || function() {}; // dirty
+
+ // if already present, return
+ if ( link ) {
+ callback.call( link, link );
+ return link;
+ }
+
+ // save the length of stylesheets to check against
+ length = doc.styleSheets.length;
+
+ // add timestamp if DEBUG is true
+ if ( DEBUG ) {
+ href += '?' + Utils.timestamp();
+ }
+
+ // check for existing id
+ if( $('#'+id).length ) {
+ $('#'+id).attr('href', href);
+ length--;
+ ready = true;
+ } else {
+ link = $( '<link>' ).attr({
+ rel: 'stylesheet',
+ href: href,
+ id: id
+ }).get(0);
+
+ window.setTimeout(function() {
+ var styles = $('link[rel="stylesheet"], style');
+ if ( styles.length ) {
+ styles.get(0).parentNode.insertBefore( link, styles[0] );
+ } else {
+ DOM().head.appendChild( link );
+ }
+
+ if ( IE ) {
+ link.attachEvent( 'onreadystatechange', function(e) {
+ if( link.readyState == 'complete' ) {
+ ready = true;
+ }
+ });
+ } else {
+ // what to do here? returning for now.
+ ready = true;
+ }
+ }, 10);
+ }
+
+ if (typeof callback == 'function') {
+
+ Utils.wait({
+ until: function() {
+ return ready && doc.styleSheets.length > length;
+ },
+ success: function() {
+ Utils.addTimer( 'css', function() {
+ callback.call( link, link );
+ }, 100);
+ },
+ error: function() {
+ Galleria.raise( 'Theme CSS could not load' );
+ },
+ timeout: 1000
+ });
+ }
+ return link;
+ }
+ };
+ })();
+
+/**
+ The main Galleria class
+
+ @class
+
+ @example var gallery = new Galleria();
+
+ @author http://aino.se
+
+ @requires jQuery
+
+ @returns {Galleria}
+*/
+
+Galleria = function() {
+
+ var self = this;
+
+ // the theme used
+ this._theme = undef;
+
+ // internal options
+ this._options = {};
+
+ // flag for controlling play/pause
+ this._playing = false;
+
+ // internal interval for slideshow
+ this._playtime = 5000;
+
+ // internal variable for the currently active image
+ this._active = null;
+
+ // the internal queue, arrayified
+ this._queue = { length: 0 };
+
+ // the internal data array
+ this._data = [];
+
+ // the internal dom collection
+ this._dom = {};
+
+ // the internal thumbnails array
+ this._thumbnails = [];
+
+ // internal init flag
+ this._initialized = false;
+
+ // global stagewidth/height
+ this._stageWidth = 0;
+ this._stageHeight = 0;
+
+ // target holder
+ this._target = undef;
+
+ // instance id
+ this._id = Utils.timestamp();
+
+ // add some elements
+ var divs = 'container stage images image-nav image-nav-left image-nav-right ' +
+ 'info info-text info-title info-description info-author ' +
+ 'thumbnails thumbnails-list thumbnails-container thumb-nav-left thumb-nav-right ' +
+ 'loader counter tooltip',
+ spans = 'current total';
+
+ $.each( divs.split(' '), function( i, elemId ) {
+ self._dom[ elemId ] = Utils.create( 'galleria-' + elemId );
+ });
+
+ $.each( spans.split(' '), function( i, elemId ) {
+ self._dom[ elemId ] = Utils.create( 'galleria-' + elemId, 'span' );
+ });
+
+ // the internal keyboard object
+ // keeps reference of the keybinds and provides helper methods for binding keys
+ var keyboard = this._keyboard = {
+
+ keys : {
+ 'UP': 38,
+ 'DOWN': 40,
+ 'LEFT': 37,
+ 'RIGHT': 39,
+ 'RETURN': 13,
+ 'ESCAPE': 27,
+ 'BACKSPACE': 8
+ },
+
+ map : {},
+
+ bound: false,
+
+ press: function(e) {
+ var key = e.keyCode || e.which;
+ if ( key in keyboard.map && typeof keyboard.map[key] == 'function' ) {
+ keyboard.map[key].call(self, e);
+ }
+ },
+
+ attach: function(map) {
+ for( var key in map ) {
+ var up = key.toUpperCase();
+ if ( up in keyboard.keys ) {
+ keyboard.map[ keyboard.keys[up] ] = map[key];
+ }
+ }
+ if ( !keyboard.bound ) {
+ keyboard.bound = true;
+ $doc.bind('keydown', keyboard.press);
+ }
+ },
+
+ detach: function() {
+ keyboard.bound = false;
+ $doc.unbind('keydown', keyboard.press);
+ }
+ };
+
+ // internal controls for keeping track of active / inactive images
+ var controls = this._controls = {
+
+ 0: undef,
+
+ 1: undef,
+
+ active : 0,
+
+ swap : function() {
+ controls.active = controls.active ? 0 : 1;
+ },
+
+ getActive : function() {
+ return controls[ controls.active ];
+ },
+
+ getNext : function() {
+ return controls[ 1 - controls.active ];
+ }
+ };
+
+ // internal carousel object
+ var carousel = this._carousel = {
+
+ // shortcuts
+ next: self.$('thumb-nav-right'),
+ prev: self.$('thumb-nav-left'),
+
+ // cache the width
+ width: 0,
+
+ // track the current position
+ current: 0,
+
+ // cache max value
+ max: 0,
+
+ // save all hooks for each width in an array
+ hooks: [],
+
+ // update the carousel
+ // you can run this method anytime, f.ex on window.resize
+ update: function() {
+ var w = 0,
+ h = 0,
+ hooks = [0];
+
+ $.each( self._thumbnails, function( i, thumb ) {
+ if ( thumb.ready ) {
+ w += thumb.outerWidth || $( thumb.container ).outerWidth( true );
+ hooks[ i+1 ] = w;
+ h = Math.max( h, thumb.outerHeight || $( thumb.container).outerHeight() );
+ }
+ });
+ self.$( 'thumbnails-container' ).toggleClass( 'galleria-carousel', w > self._stageWidth );
+
+ self.$( 'thumbnails' ).css({
+ width: w,
+ height: h
+ });
+
+ carousel.max = w;
+ carousel.hooks = hooks;
+ carousel.width = self.$( 'thumbnails-list' ).width();
+ carousel.setClasses();
+
+ // todo: fix so the carousel moves to the left
+ },
+
+ bindControls: function() {
+
+ carousel.next.bind( CLICK(), function(e) {
+ e.preventDefault();
+
+ if ( self._options.carousel_steps == 'auto' ) {
+
+ for ( var i = carousel.current; i < carousel.hooks.length; i++ ) {
+ if ( carousel.hooks[i] - carousel.hooks[ carousel.current ] > carousel.width ) {
+ carousel.set(i - 2);
+ break;
+ }
+ }
+
+ } else {
+ carousel.set( carousel.current + self._options.carousel_steps);
+ }
+ });
+
+ carousel.prev.bind( CLICK(), function(e) {
+ e.preventDefault();
+
+ if ( self._options.carousel_steps == 'auto' ) {
+
+ for ( var i = carousel.current; i >= 0; i-- ) {
+ if ( carousel.hooks[ carousel.current ] - carousel.hooks[i] > carousel.width ) {
+ carousel.set( i + 2 );
+ break;
+ } else if ( i == 0 ) {
+ carousel.set( 0 );
+ break;
+ }
+ }
+ } else {
+ carousel.set( carousel.current - self._options.carousel_steps );
+ }
+ });
+ },
+
+ // calculate and set positions
+ set: function( i ) {
+ i = Math.max( i, 0 );
+ while ( carousel.hooks[i - 1] + carousel.width > carousel.max && i >= 0 ) {
+ i--;
+ }
+ carousel.current = i;
+ carousel.animate();
+ },
+
+ // get the last position
+ getLast: function(i) {
+ return ( i || carousel.current ) - 1;
+ },
+
+ // follow the active image
+ follow: function(i) {
+
+ //don't follow if position fits
+ if ( i == 0 || i == carousel.hooks.length - 2 ) {
+ carousel.set( i );
+ return;
+ }
+
+ // calculate last position
+ var last = carousel.current;
+ while( carousel.hooks[last] - carousel.hooks[ carousel.current ] <
+ carousel.width && last <= carousel.hooks.length ) {
+ last ++;
+ }
+
+ // set position
+ if ( i - 1 < carousel.current ) {
+ carousel.set( i - 1 );
+ } else if ( i + 2 > last) {
+ carousel.set( i - last + carousel.current + 2 );
+ }
+ },
+
+ // helper for setting disabled classes
+ setClasses: function() {
+ carousel.prev.toggleClass( 'disabled', !carousel.current );
+ carousel.next.toggleClass( 'disabled', carousel.hooks[ carousel.current ] + carousel.width > carousel.max );
+ },
+
+ // the animation method
+ animate: function(to) {
+ carousel.setClasses();
+ var num = carousel.hooks[ carousel.current ] * -1;
+
+ if ( isNaN( num ) ) {
+ return;
+ }
+
+ self.$( 'thumbnails' ).animate({
+ left: num
+ },{
+ duration: self._options.carousel_speed,
+ easing: self._options.easing,
+ queue: false
+ });
+ }
+ };
+
+ // tooltip control
+ // added in 1.2
+ var tooltip = this._tooltip = {
+
+ initialized : false,
+
+ active: null,
+
+ open: false,
+
+ init: function() {
+
+ tooltip.initialized = true;
+
+ var css = '.galleria-tooltip{padding:3px 8px;max-width:50%;background:#ffe;color:#000;z-index:3;position:absolute;font-size:11px;line-height:1.3' +
+ 'opacity:0;box-shadow:0 0 2px rgba(0,0,0,.4);-moz-box-shadow:0 0 2px rgba(0,0,0,.4);-webkit-box-shadow:0 0 2px rgba(0,0,0,.4);}';
+
+ Utils.insertStyleTag(css);
+
+ self.$( 'tooltip' ).css('opacity', .8);
+ Utils.hide( self.get('tooltip') );
+
+ },
+
+ // move handler
+ move: function( e ) {
+ var mouseX = self.getMousePosition(e).x,
+ mouseY = self.getMousePosition(e).y,
+ $elem = self.$( 'tooltip' ),
+ x = mouseX,
+ y = mouseY,
+ height = $elem.outerHeight( true ) + 1,
+ width = $elem.outerWidth( true ),
+ limitY = height + 15;
+
+ var maxX = self._stageWidth - width,
+ maxY = self._stageHeight - height;
+
+ if ( !isNaN(x) && !isNaN(y) ) {
+
+ x += 15;
+ y -= 35;
+
+ x = Math.max( 0, Math.min( maxX, x ) );
+ y = Math.max( 0, Math.min( maxY, y ) );
+
+ if( mouseY < limitY ) {
+ y = limitY;
+ }
+
+ $elem.css({ left: x, top: y });
+ }
+ },
+
+ // bind elements to the tooltip
+ // you can bind multiple elementIDs using { elemID : function } or { elemID : string }
+ // you can also bind single DOM elements using bind(elem, string)
+ bind: function( elem, value ) {
+
+ if (! tooltip.initialized ) {
+ tooltip.init();
+ }
+
+ var hover = function( elem, value) {
+
+ tooltip.define( elem, value );
+
+ $( elem ).hover(function() {
+
+ tooltip.active = elem;
+ Utils.clearTimer('switch_tooltip');
+ self.$('container').unbind( 'mousemove', tooltip.move ).bind( 'mousemove', tooltip.move ).trigger( 'mousemove' );
+ tooltip.show( elem );
+
+ Galleria.utils.addTimer( 'tooltip', function() {
+
+ Utils.show( self.get( 'tooltip' ), 400 );
+ tooltip.open = true;
+
+ }, tooltip.open ? 0 : 1000);
+
+ }, function() {
+
+ tooltip.active = null;
+
+ self.$( 'container' ).unbind( 'mousemove', tooltip.move );
+ Utils.clearTimer( 'tooltip' );
+
+ Utils.hide( self.get( 'tooltip' ), 200, function() {
+ Utils.addTimer('switch_tooltip', function() {
+ tooltip.open = false;
+ }, 1000);
+ });
+ });
+ };
+
+ if (typeof value == 'string') {
+ hover( ( elem in self._dom ? self.get(elem) : elem ), value );
+ } else {
+ // asume elemID here
+ $.each( elem, function( elemID, val ) {
+ hover( self.get(elemID), val );
+ });
+ }
+ },
+
+ show: function( elem ) {
+ var text = $(elem).data('tt');
+ if ( ! text ) {
+ return;
+ }
+ text = typeof text == 'function' ? text() : text;
+ self.$( 'tooltip' ).html( text.replace(/\s/, ' ') );
+ },
+
+ // redefine the tooltip here
+ define: function( elem, value ) {
+
+ // we store functions, not strings
+ if (typeof value !== 'function') {
+ var s = value;
+ value = function() {
+ return s;
+ };
+ }
+
+ if ( elem in self._dom ) {
+ elem = self.get( elem );
+ }
+
+ $(elem).data('tt', value);
+
+ tooltip.show( elem );
+
+ },
+
+ refresh: function() {
+ $.each( arguments, function(i, elem) {
+ if ( tooltip.active == elem ) {
+ tooltip.show( elem );
+ }
+ });
+ }
+ };
+
+ // internal fullscreen control
+ // added in 1.195
+ // still kind of experimental
+ var fullscreen = this._fullscreen = {
+ scrolled: 0,
+ enter: function(callback) {
+
+ // hide the image until rescale is complete
+ Utils.hide( self.getActiveImage() );
+
+ self.$( 'container' ).addClass( 'fullscreen' );
+
+ fullscreen.scrolled = $(window).scrollTop();
+
+ // begin styleforce
+ Utils.forceStyles(self.get('container'), {
+ position: 'fixed',
+ top: 0,
+ left: 0,
+ width: '100%',
+ height: '100%',
+ zIndex: 10000
+ });
+
+ var htmlbody = {
+ height: '100%',
+ overflow: 'hidden',
+ margin:0,
+ padding:0
+ };
+
+ Utils.forceStyles( DOM().html, htmlbody );
+ Utils.forceStyles( DOM().body, htmlbody );
+
+ // attach some keys
+ self.attachKeyboard({
+ escape: self.exitFullscreen,
+ right: self.next,
+ left: self.prev
+ });
+
+ // init the first rescale and attach callbacks
+ self.rescale(function() {
+
+ Utils.addTimer('fullscreen_enter', function() {
+ // show the image after 50 ms
+ Utils.show( self.getActiveImage() );
+
+ if (typeof callback == 'function') {
+ callback.call( self );
+ }
+
+ }, 50);
+
+ self.trigger( Galleria.FULLSCREEN_ENTER );
+ });
+
+ // bind the scaling to the resize event
+ $(window).resize( function() {
+ fullscreen.scale();
+ } );
+ },
+
+ scale : function() {
+ self.rescale();
+ },
+
+ exit: function(callback) {
+
+ Utils.hide( self.getActiveImage() );
+
+ self.$('container').removeClass( 'fullscreen' );
+
+ // revert all styles
+ Utils.revertStyles( self.get('container'), DOM().html, DOM().body );
+
+ // scroll back
+ window.scrollTo(0, fullscreen.scrolled);
+
+ // detach all keyboard events (is this good?)
+ self.detachKeyboard();
+
+ self.rescale(function() {
+ Utils.addTimer('fullscreen_exit', function() {
+
+ // show the image after 50 ms
+ Utils.show( self.getActiveImage() );
+
+ if ( typeof callback == 'function' ) {
+ callback.call( self );
+ }
+
+ }, 50);
+
+ self.trigger( Galleria.FULLSCREEN_EXIT );
+ });
+
+ $(window).unbind('resize', fullscreen.scale);
+ }
+ };
+
+ // the internal idle object for controlling idle states
+ // TODO occational event conflicts
+ var idle = this._idle = {
+
+ trunk: [],
+
+ bound: false,
+
+ add: function(elem, to) {
+ if (!elem) {
+ return;
+ }
+ if (!idle.bound) {
+ idle.addEvent();
+ }
+ elem = $(elem);
+
+ var from = {};
+
+ for (var style in to) {
+ from[style] = elem.css(style);
+ }
+ elem.data('idle', {
+ from: from,
+ to: to,
+ complete: true,
+ busy: false
+ });
+ idle.addTimer();
+ idle.trunk.push(elem);
+ },
+
+ remove: function(elem) {
+
+ elem = jQuery(elem);
+
+ $.each(idle.trunk, function(i, el) {
+ if ( el.length && !el.not(elem).length ) {
+ self._idle.show(elem);
+ self._idle.trunk.splice(i, 1);
+ }
+ });
+
+ if (!idle.trunk.length) {
+ idle.removeEvent();
+ Utils.clearTimer('idle');
+ }
+ },
+
+ addEvent : function() {
+ idle.bound = true;
+ self.$('container').bind('mousemove click', idle.showAll );
+ },
+
+ removeEvent : function() {
+ idle.bound = false;
+ self.$('container').unbind('mousemove click', idle.showAll );
+ },
+
+ addTimer : function() {
+ Utils.addTimer('idle', function() {
+ self._idle.hide();
+ }, self._options.idle_time );
+ },
+
+ hide : function() {
+ self.trigger( Galleria.IDLE_ENTER );
+
+ $.each( idle.trunk, function(i, elem) {
+
+ var data = elem.data('idle');
+
+ if (! data) {
+ return;
+ }
+
+ data.complete = false;
+
+ elem.stop().animate(data.to, {
+ duration: 600,
+ queue: false,
+ easing: 'swing'
+ });
+ });
+ },
+
+ showAll : function() {
+ Utils.clearTimer('idle');
+
+ $.each(self._idle.trunk, function( i, elem ) {
+ self._idle.show( elem );
+ });
+ },
+
+ show: function(elem) {
+
+ var data = elem.data('idle');
+
+ if (!data.busy && !data.complete) {
+
+ data.busy = true;
+
+ self.trigger( Galleria.IDLE_EXIT );
+
+ elem.animate(data.from, {
+ duration: 300,
+ queue: false,
+ easing: 'swing',
+ complete: function() {
+ $(this).data('idle').busy = false;
+ $(this).data('idle').complete = true;
+ }
+ });
+ }
+ idle.addTimer();
+ }
+ };
+
+ // internal lightbox object
+ // creates a predesigned lightbox for simple popups of images in galleria
+ var lightbox = this._lightbox = {
+
+ width : 0,
+
+ height : 0,
+
+ initialized : false,
+
+ active : null,
+
+ image : null,
+
+ elems : {},
+
+ init : function() {
+
+ // trigger the event
+ self.trigger( Galleria.LIGHTBOX_OPEN );
+
+ if ( lightbox.initialized ) {
+ return;
+ }
+ lightbox.initialized = true;
+
+ // create some elements to work with
+ var elems = 'overlay box content shadow title info close prevholder prev nextholder next counter image',
+ el = {},
+ op = self._options,
+ css = '',
+ cssMap = {
+ overlay: 'position:fixed;display:none;opacity:'+op.overlay_opacity+';top:0;left:0;width:100%;height:100%;background:'+op.overlay_background+';z-index:99990',
+ box: 'position:fixed;display:none;width:400px;height:400px;top:50%;left:50%;margin-top:-200px;margin-left:-200px;z-index:99991',
+ shadow: 'position:absolute;background:#000;width:100%;height:100%;',
+ content: 'position:absolute;background-color:#fff;top:10px;left:10px;right:10px;bottom:10px;overflow:hidden',
+ info: 'position:absolute;bottom:10px;left:10px;right:10px;color:#444;font:11px/13px arial,sans-serif;height:13px',
+ close: 'position:absolute;top:10px;right:10px;height:20px;width:20px;background:#fff;text-align:center;cursor:pointer;color:#444;font:16px/22px arial,sans-serif;z-index:99999',
+ image: 'position:absolute;top:10px;left:10px;right:10px;bottom:30px;overflow:hidden',
+ prevholder: 'position:absolute;width:50%;height:100%;cursor:pointer',
+ nextholder: 'position:absolute;width:50%;height:100%;right:0;cursor:pointer',
+ prev: 'position:absolute;top:50%;margin-top:-20px;height:40px;width:30px;background:#fff;left:20px;display:none;line-height:40px;text-align:center;color:#000',
+ next: 'position:absolute;top:50%;margin-top:-20px;height:40px;width:30px;background:#fff;right:20px;left:auto;display:none;line-height:40px;text-align:center;color:#000',
+ title: 'float:left',
+ counter: 'float:right;margin-left:8px'
+ },
+ hover = function(elem) {
+ return elem.hover(
+ function() { $(this).css( 'color', '#bbb' ); },
+ function() { $(this).css( 'color', '#444' ); }
+ );
+ };
+
+ // create and insert CSS
+ $.each(cssMap, function( key, value ) {
+ css += '.galleria-lightbox-'+key+'{'+value+'}';
+ });
+
+ Utils.insertStyleTag( css );
+
+ // create the elements
+ $.each(elems.split(' '), function( i, elemId ) {
+ self.addElement( 'lightbox-' + elemId );
+ el[ elemId ] = lightbox.elems[ elemId ] = self.get( 'lightbox-' + elemId );
+ });
+
+ // initiate the image
+ lightbox.image = new Galleria.Picture();
+
+ // append the elements
+ self.append({
+ 'lightbox-box': ['lightbox-shadow','lig...
[truncated message content] |
|
From: <vo...@us...> - 2010-10-29 16:17:32
|
Revision: 5670
http://xoops.svn.sourceforge.net/xoops/?rev=5670&view=rev
Author: voltan1
Date: 2010-10-29 16:17:24 +0000 (Fri, 29 Oct 2010)
Log Message:
-----------
Add galleria for slideshow
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php
XoopsModules/extgallery/trunk/modules/extgallery/public-slideshow.php
XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html
XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php
Added Paths:
-----------
XoopsModules/extgallery/trunk/modules/extgallery/images/galleria/
XoopsModules/extgallery/trunk/modules/extgallery/images/galleria/classic-loader.gif
XoopsModules/extgallery/trunk/modules/extgallery/images/galleria/classic-map.png
XoopsModules/extgallery/trunk/modules/extgallery/images/galleria/index.html
XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.classic.css
XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.classic.js
XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.js
Modified: XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php 2010-10-29 15:53:53 UTC (rev 5669)
+++ XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php 2010-10-29 16:17:24 UTC (rev 5670)
@@ -19,19 +19,19 @@
$configHandler =& xoops_gethandler('config');
$moduleIdCriteria = new Criteria('conf_modid',$xoopsModule->getVar('mid'));
- if(isset($_POST['galleryview_panelwidth'])) {
+ if(isset($_POST['use_slideshow_effects'])) {
- if($xoopsModuleConfig['galleryview_panelwidth'] != $_POST['galleryview_panelwidth']) {
+ if($xoopsModuleConfig['use_slideshow_effects'] != $_POST['use_slideshow_effects']) {
$criteria = new CriteriaCompo();
$criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_panelwidth'));
+ $criteria->add(new Criteria('conf_name','use_slideshow_effects'));
$config = $configHandler->getConfigs($criteria);
$config = $config[0];
$configValue = array(
'conf_modid'=>$xoopsModule->getVar('mid'),
'conf_catid'=>0,
- 'conf_name'=>'galleryview_panelwidth',
- 'conf_value'=>$_POST['galleryview_panelwidth'],
+ 'conf_name'=>'use_slideshow_effects',
+ 'conf_value'=>$_POST['use_slideshow_effects'],
'conf_formtype'=>'hidden',
'conf_valuetype'=>'text'
);
@@ -41,379 +41,406 @@
}
- if(isset($_POST['galleryview_panelheight'])) {
-
- if($xoopsModuleConfig['galleryview_panelheight'] != $_POST['galleryview_panelheight']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_panelheight'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_panelheight',
- 'conf_value'=>$_POST['galleryview_panelheight'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
+ // gallery view options
+ if($xoopsModuleConfig['use_slideshow_effects'] == 'galleryview'){
+ if(isset($_POST['galleryview_panelwidth'])) {
+
+ if($xoopsModuleConfig['galleryview_panelwidth'] != $_POST['galleryview_panelwidth']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_panelwidth'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_panelwidth',
+ 'conf_value'=>$_POST['galleryview_panelwidth'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_panelheight'])) {
+
+ if($xoopsModuleConfig['galleryview_panelheight'] != $_POST['galleryview_panelheight']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_panelheight'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_panelheight',
+ 'conf_value'=>$_POST['galleryview_panelheight'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_framewidth'])) {
+
+ if($xoopsModuleConfig['galleryview_framewidth'] != $_POST['galleryview_framewidth']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_framewidth'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_framewidth',
+ 'conf_value'=>$_POST['galleryview_framewidth'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_frameheight'])) {
+
+ if($xoopsModuleConfig['galleryview_frameheight'] != $_POST['galleryview_frameheight']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_frameheight'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_frameheight',
+ 'conf_value'=>$_POST['galleryview_frameheight'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_tspeed'])) {
+
+ if($xoopsModuleConfig['galleryview_tspeed'] != $_POST['galleryview_tspeed']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_tspeed'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_tspeed',
+ 'conf_value'=>$_POST['galleryview_tspeed'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_tterval'])) {
+
+ if($xoopsModuleConfig['galleryview_tterval'] != $_POST['galleryview_tterval']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_tterval'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_tterval',
+ 'conf_value'=>$_POST['galleryview_tterval'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_overlayheight'])) {
+
+ if($xoopsModuleConfig['galleryview_overlayheight'] != $_POST['galleryview_overlayheight']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_overlayheight'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_overlayheight',
+ 'conf_value'=>$_POST['galleryview_overlayheight'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_opacity'])) {
+
+ if($xoopsModuleConfig['galleryview_opacity'] != $_POST['galleryview_opacity']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_opacity'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_opacity',
+ 'conf_value'=>$_POST['galleryview_opacity'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_overlayfs'])) {
+
+ if($xoopsModuleConfig['galleryview_overlayfs'] != $_POST['galleryview_overlayfs']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_overlayfs'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_overlayfs',
+ 'conf_value'=>$_POST['galleryview_overlayfs'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_borderwidth'])) {
+
+ if($xoopsModuleConfig['galleryview_borderwidth'] != $_POST['galleryview_borderwidth']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_borderwidth'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_borderwidth',
+ 'conf_value'=>$_POST['galleryview_borderwidth'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_bordercolor'])) {
+
+ if($xoopsModuleConfig['galleryview_bordercolor'] != $_POST['galleryview_bordercolor']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_bordercolor'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_bordercolor',
+ 'conf_value'=>$_POST['galleryview_bordercolor'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_bgcolor'])) {
+
+ if($xoopsModuleConfig['galleryview_bgcolor'] != $_POST['galleryview_bgcolor']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_bgcolor'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_bgcolor',
+ 'conf_value'=>$_POST['galleryview_bgcolor'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_overlaycolor'])) {
+
+ if($xoopsModuleConfig['galleryview_overlaycolor'] != $_POST['galleryview_overlaycolor']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_overlaycolor'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_overlaycolor',
+ 'conf_value'=>$_POST['galleryview_overlaycolor'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_overlaytc'])) {
+
+ if($xoopsModuleConfig['galleryview_overlaytc'] != $_POST['galleryview_overlaytc']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_overlaytc'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_overlaytc',
+ 'conf_value'=>$_POST['galleryview_overlaytc'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_captiontc'])) {
+
+ if($xoopsModuleConfig['galleryview_captiontc'] != $_POST['galleryview_captiontc']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_captiontc'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_captiontc',
+ 'conf_value'=>$_POST['galleryview_captiontc'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_navtheme'])) {
+
+ if($xoopsModuleConfig['galleryview_navtheme'] != $_POST['galleryview_navtheme']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_navtheme'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_navtheme',
+ 'conf_value'=>$_POST['galleryview_navtheme'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_position'])) {
+
+ if($xoopsModuleConfig['galleryview_position'] != $_POST['galleryview_position']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_position'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_position',
+ 'conf_value'=>$_POST['galleryview_position'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_easing'])) {
+
+ if($xoopsModuleConfig['galleryview_easing'] != $_POST['galleryview_easing']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_easing'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_easing',
+ 'conf_value'=>$_POST['galleryview_easing'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
}
- if(isset($_POST['galleryview_framewidth'])) {
-
- if($xoopsModuleConfig['galleryview_framewidth'] != $_POST['galleryview_framewidth']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_framewidth'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_framewidth',
- 'conf_value'=>$_POST['galleryview_framewidth'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
- if(isset($_POST['galleryview_frameheight'])) {
-
- if($xoopsModuleConfig['galleryview_frameheight'] != $_POST['galleryview_frameheight']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_frameheight'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_frameheight',
- 'conf_value'=>$_POST['galleryview_frameheight'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_tspeed'])) {
-
- if($xoopsModuleConfig['galleryview_tspeed'] != $_POST['galleryview_tspeed']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_tspeed'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_tspeed',
- 'conf_value'=>$_POST['galleryview_tspeed'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_tterval'])) {
-
- if($xoopsModuleConfig['galleryview_tterval'] != $_POST['galleryview_tterval']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_tterval'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_tterval',
- 'conf_value'=>$_POST['galleryview_tterval'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_overlayheight'])) {
-
- if($xoopsModuleConfig['galleryview_overlayheight'] != $_POST['galleryview_overlayheight']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_overlayheight'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_overlayheight',
- 'conf_value'=>$_POST['galleryview_overlayheight'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_opacity'])) {
-
- if($xoopsModuleConfig['galleryview_opacity'] != $_POST['galleryview_opacity']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_opacity'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_opacity',
- 'conf_value'=>$_POST['galleryview_opacity'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_overlayfs'])) {
-
- if($xoopsModuleConfig['galleryview_overlayfs'] != $_POST['galleryview_overlayfs']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_overlayfs'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_overlayfs',
- 'conf_value'=>$_POST['galleryview_overlayfs'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_borderwidth'])) {
-
- if($xoopsModuleConfig['galleryview_borderwidth'] != $_POST['galleryview_borderwidth']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_borderwidth'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_borderwidth',
- 'conf_value'=>$_POST['galleryview_borderwidth'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_bordercolor'])) {
-
- if($xoopsModuleConfig['galleryview_bordercolor'] != $_POST['galleryview_bordercolor']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_bordercolor'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_bordercolor',
- 'conf_value'=>$_POST['galleryview_bordercolor'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_bgcolor'])) {
-
- if($xoopsModuleConfig['galleryview_bgcolor'] != $_POST['galleryview_bgcolor']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_bgcolor'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_bgcolor',
- 'conf_value'=>$_POST['galleryview_bgcolor'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_overlaycolor'])) {
-
- if($xoopsModuleConfig['galleryview_overlaycolor'] != $_POST['galleryview_overlaycolor']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_overlaycolor'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_overlaycolor',
- 'conf_value'=>$_POST['galleryview_overlaycolor'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_overlaytc'])) {
-
- if($xoopsModuleConfig['galleryview_overlaytc'] != $_POST['galleryview_overlaytc']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_overlaytc'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_overlaytc',
- 'conf_value'=>$_POST['galleryview_overlaytc'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_captiontc'])) {
-
- if($xoopsModuleConfig['galleryview_captiontc'] != $_POST['galleryview_captiontc']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_captiontc'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_captiontc',
- 'conf_value'=>$_POST['galleryview_captiontc'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_navtheme'])) {
-
- if($xoopsModuleConfig['galleryview_navtheme'] != $_POST['galleryview_navtheme']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_navtheme'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_navtheme',
- 'conf_value'=>$_POST['galleryview_navtheme'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_position'])) {
-
- if($xoopsModuleConfig['galleryview_position'] != $_POST['galleryview_position']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_position'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_position',
- 'conf_value'=>$_POST['galleryview_position'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
-
- if(isset($_POST['galleryview_easing'])) {
-
- if($xoopsModuleConfig['galleryview_easing'] != $_POST['galleryview_easing']) {
- $criteria = new CriteriaCompo();
- $criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','galleryview_easing'));
- $config = $configHandler->getConfigs($criteria);
- $config = $config[0];
- $configValue = array(
- 'conf_modid'=>$xoopsModule->getVar('mid'),
- 'conf_catid'=>0,
- 'conf_name'=>'galleryview_easing',
- 'conf_value'=>$_POST['galleryview_easing'],
- 'conf_formtype'=>'hidden',
- 'conf_valuetype'=>'text'
- );
- $config->setVars($configValue);
- $configHandler->insertConfig($config);
- }
-
- }
redirect_header("slideshow.php", 3, _AM_EXTGALLERY_CONFIGURATION_SAVED);
break;
@@ -429,41 +456,48 @@
$form = new XoopsThemeForm(_AM_EXTGALLERY_SLIDESHOW_CONF, 'slideshow_conf', 'slideshow.php', 'post', true);
- $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_PANELWIDE, 'galleryview_panelwidth', '5', '5', $xoopsModuleConfig['galleryview_panelwidth']),false);
- $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_PANELHEIGHT, 'galleryview_panelheight', '5', '5', $xoopsModuleConfig['galleryview_panelheight']),false);
- $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_FARMEWIDTH, 'galleryview_framewidth', '5', '5', $xoopsModuleConfig['galleryview_framewidth']),false);
- $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_FARMEHEIGHT, 'galleryview_frameheight', '5', '5', $xoopsModuleConfig['galleryview_frameheight']),false);
- $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_TSPEED, 'galleryview_tspeed', '5', '5', $xoopsModuleConfig['galleryview_tspeed']),false);
- $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_TTERVAL, 'galleryview_tterval', '5', '5', $xoopsModuleConfig['galleryview_tterval']),false);
- $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_OPACITY, 'galleryview_opacity', '5', '5', $xoopsModuleConfig['galleryview_opacity']),false);
- $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_OVERLYAHEIGHT, 'galleryview_overlayheight', '5', '5', $xoopsModuleConfig['galleryview_overlayheight']),false);
- $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_OVERLAYFS, 'galleryview_overlayfs', '5', '5', $xoopsModuleConfig['galleryview_overlayfs']),false);
- $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_BORDERWIDTH, 'galleryview_borderwidth', '5', '5', $xoopsModuleConfig['galleryview_borderwidth']),false);
-
- $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_BORDERCOLOR, 'galleryview_bordercolor', $xoopsModuleConfig['galleryview_bordercolor']),false);
- $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_BGCOLOR, 'galleryview_bgcolor', $xoopsModuleConfig['galleryview_bgcolor']),false);
- $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_OVERLAYCOLOR, 'galleryview_overlaycolor', $xoopsModuleConfig['galleryview_overlaycolor']),false);
- $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_OVERLAYTC, 'galleryview_overlaytc', $xoopsModuleConfig['galleryview_overlaytc']),false);
- $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_CAPTIONTC, 'galleryview_captiontc', $xoopsModuleConfig['galleryview_captiontc']),false);
-
- $navthemeSelect = new XoopsFormSelect(_AM_EXTGALLERY_GVIEW_NAVTHEME, 'galleryview_navtheme',$xoopsModuleConfig['galleryview_navtheme']);
- $navthemeSelect->addOption("light", _AM_EXTGALLERY_GVIEW_LIGHT);
- $navthemeSelect->addOption("dark", _AM_EXTGALLERY_GVIEW_DARK);
- $navthemeSelect->addOption("custom", _AM_EXTGALLERY_GVIEW_CUSTOM);
- $form->addElement($navthemeSelect);
+ $slideshoweffectSelect = new XoopsFormSelect(_AM_EXTGALLERY_USE_SLIDESHOW_EFFECTS, 'use_slideshow_effects',$xoopsModuleConfig['use_slideshow_effects']);
+ $slideshoweffectSelect->addOption("galleryview", _AM_EXTGALLERY_SLIDESHOW_GVIEW);
+ $slideshoweffectSelect->addOption("galleria", _AM_EXTGALLERY_SLIDESHOW_GFFIC);
+ $form->addElement($slideshoweffectSelect);
- $positionSelect = new XoopsFormSelect(_AM_EXTGALLERY_GVIEW_POSITION, 'galleryview_position',$xoopsModuleConfig['galleryview_position']);
- $positionSelect->addOption("bottom", _AM_EXTGALLERY_GVIEW_BOTTOM);
- $positionSelect->addOption("top", _AM_EXTGALLERY_GVIEW_TOP);
- $form->addElement($positionSelect);
+ if($xoopsModuleConfig['use_slideshow_effects'] == 'galleryview'){
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_PANELWIDE, 'galleryview_panelwidth', '5', '5', $xoopsModuleConfig['galleryview_panelwidth']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_PANELHEIGHT, 'galleryview_panelheight', '5', '5', $xoopsModuleConfig['galleryview_panelheight']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_FARMEWIDTH, 'galleryview_framewidth', '5', '5', $xoopsModuleConfig['galleryview_framewidth']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_FARMEHEIGHT, 'galleryview_frameheight', '5', '5', $xoopsModuleConfig['galleryview_frameheight']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_TSPEED, 'galleryview_tspeed', '5', '5', $xoopsModuleConfig['galleryview_tspeed']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_TTERVAL, 'galleryview_tterval', '5', '5', $xoopsModuleConfig['galleryview_tterval']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_OPACITY, 'galleryview_opacity', '5', '5', $xoopsModuleConfig['galleryview_opacity']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_OVERLYAHEIGHT, 'galleryview_overlayheight', '5', '5', $xoopsModuleConfig['galleryview_overlayheight']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_OVERLAYFS, 'galleryview_overlayfs', '5', '5', $xoopsModuleConfig['galleryview_overlayfs']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_BORDERWIDTH, 'galleryview_borderwidth', '5', '5', $xoopsModuleConfig['galleryview_borderwidth']),false);
+ $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_BORDERCOLOR, 'galleryview_bordercolor', $xoopsModuleConfig['galleryview_bordercolor']),false);
+ $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_BGCOLOR, 'galleryview_bgcolor', $xoopsModuleConfig['galleryview_bgcolor']),false);
+ $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_OVERLAYCOLOR, 'galleryview_overlaycolor', $xoopsModuleConfig['galleryview_overlaycolor']),false);
+ $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_OVERLAYTC, 'galleryview_overlaytc', $xoopsModuleConfig['galleryview_overlaytc']),false);
+ $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_CAPTIONTC, 'galleryview_captiontc', $xoopsModuleConfig['galleryview_captiontc']),false);
+ $navthemeSelect = new XoopsFormSelect(_AM_EXTGALLERY_GVIEW_NAVTHEME, 'galleryview_navtheme',$xoopsModuleConfig['galleryview_navtheme']);
+ $navthemeSelect->addOption("light", _AM_EXTGALLERY_GVIEW_LIGHT);
+ $navthemeSelect->addOption("dark", _AM_EXTGALLERY_GVIEW_DARK);
+ $navthemeSelect->addOption("custom", _AM_EXTGALLERY_GVIEW_CUSTOM);
+ $form->addElement($navthemeSelect);
+ $positionSelect = new XoopsFormSelect(_AM_EXTGALLERY_GVIEW_POSITION, 'galleryview_position',$xoopsModuleConfig['galleryview_position']);
+ $positionSelect->addOption("bottom", _AM_EXTGALLERY_GVIEW_BOTTOM);
+ $positionSelect->addOption("top", _AM_EXTGALLERY_GVIEW_TOP);
+ $form->addElement($positionSelect);
+ $easingSelect = new XoopsFormSelect(_AM_EXTGALLERY_GVIEW_EASING, 'galleryview_easing',$xoopsModuleConfig['galleryview_easing']);
+ $easingSelect->addOption("swing", _AM_EXTGALLERY_GVIEW_EASING_OP1);
+ $easingSelect->addOption("linear", _AM_EXTGALLERY_GVIEW_EASING_OP2);
+ $easingSelect->addOption("easeInOutBack", _AM_EXTGALLERY_GVIEW_EASING_OP3);
+ $easingSelect->addOption("easeInOutQuad", _AM_EXTGALLERY_GVIEW_EASING_OP4);
+ $easingSelect->addOption("easeOutBounce", _AM_EXTGALLERY_GVIEW_EASING_OP5);
+ $form->addElement($easingSelect);
+ }
- $easingSelect = new XoopsFormSelect(_AM_EXTGALLERY_GVIEW_EASING, 'galleryview_easing',$xoopsModuleConfig['galleryview_easing']);
- $easingSelect->addOption("swing", _AM_EXTGALLERY_GVIEW_EASING_OP1);
- $easingSelect->addOption("linear", _AM_EXTGALLERY_GVIEW_EASING_OP2);
- $easingSelect->addOption("easeInOutBack", _AM_EXTGALLERY_GVIEW_EASING_OP3);
- $easingSelect->addOption("easeInOutQuad", _AM_EXTGALLERY_GVIEW_EASING_OP4);
- $easingSelect->addOption("easeOutBounce", _AM_EXTGALLERY_GVIEW_EASING_OP5);
- $form->addElement($easingSelect);
+ if($xoopsModuleConfig['use_slideshow_effects'] == 'galleria'){
+
+ }
$form->addElement(new XoopsFormHidden("op", 'enreg'));
$form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit"));
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/galleria/classic-loader.gif
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/galleria/classic-loader.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/galleria/classic-map.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/galleria/classic-map.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extgallery/trunk/modules/extgallery/images/galleria/index.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/images/galleria/index.html (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/images/galleria/index.html 2010-10-29 16:17:24 UTC (rev 5670)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.classic.css
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.classic.css (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.classic.css 2010-10-29 16:17:24 UTC (rev 5670)
@@ -0,0 +1,202 @@
+/*
+ * Galleria Classic Theme
+ * Copyright (c) 2010, Aino
+ * Licensed under the MIT license.
+ */
+
+.galleria-container {
+ position: relative;
+ overflow: hidden;
+ background-color: #000;
+}
+.galleria-container img {
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ -o-user-select: none;
+}
+.galleria-stage {
+ position: absolute;
+ top: 10px;
+ bottom: 60px;
+ left: 10px;
+ right: 10px;
+ overflow:hidden;
+}
+.galleria-thumbnails-container {
+ height: 50px;
+ bottom: 0;
+ position: absolute;
+ left: 10px;
+ right: 10px;
+ z-index: 2;
+}
+.galleria-carousel .galleria-thumbnails-list {
+ margin-left: 30px;
+ margin-right: 30px;
+}
+.galleria-thumbnails .galleria-image {
+ height: 40px;
+ width: 60px;
+ background: #000;
+ margin: 0 5px 0 0;
+ border: 1px solid #000;;
+ float: left;
+ cursor: pointer;
+}
+.galleria-counter {
+ position: absolute;
+ bottom: 10px;
+ left: 10px;
+ text-align: right;
+ color: #fff;
+ font: normal 11px/1 arial,sans-serif;
+ z-index: 2;
+}
+.galleria-loader {
+ background: #000;
+ width: 20px;
+ height: 20px;
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ z-index: 2;
+ display: none;
+ background: url(modules/extgallery/images/classic-loader.gif) no-repeat 2px 2px;
+}
+.galleria-info {
+ width: 50%;
+ top: 15px;
+ left: 15px;
+ z-index: 2;
+ position: absolute;
+}
+.galleria-info-text {
+ background-color: #000;
+ padding: 12px;
+ display: none;
+ /* IE7 */ zoom:1;
+}
+.galleria-info-title {
+ font: bold 12px/1.1 arial,sans-serif;
+ margin: 0;
+ color: #fff;
+}
+.galleria-info-description {
+ font: italic 12px/1.4 georgia,serif;
+ margin: 0;
+ color: #bbb;
+}
+.galleria-info-title+.galleria-info-description {
+ margin-top: 7px;
+}
+.galleria-info-close {
+ width: 9px;
+ height: 9px;
+ position: absolute;
+ top: 5px;
+ right: 5px;
+ background-position: -753px -11px;
+ opacity: .5;
+ filter: alpha(opacity=50);
+ cursor: pointer;
+ display: none;
+}
+.galleria-info-close:hover{
+ opacity:1;
+ filter: alpha(opacity=100);
+}
+.galleria-info-link {
+ background-position: -669px -5px;
+ opacity: .7;
+ filter: alpha(opacity=70);
+ position: absolute;
+ width: 20px;
+ height: 20px;
+ cursor: pointer;
+ background-color: #000;
+}
+.galleria-info-link:hover {
+ opacity: 1;
+ filter: alpha(opacity=100);
+}
+.galleria-image-nav {
+ position: absolute;
+ top: 50%;
+ margin-top: -62px;
+ width: 100%;
+ height: 62px;
+ left: 0;
+}
+.galleria-image-nav-left,
+.galleria-image-nav-right {
+ opacity: .3;
+ filter: alpha(opacity=30);
+ cursor: pointer;
+ width: 62px;
+ height: 124px;
+ position: absolute;
+ left: 10px;
+ z-index: 2;
+ background-position: 0 46px;
+}
+.galleria-image-nav-right {
+ left: auto;
+ right: 10px;
+ background-position: -254px 46px;
+ z-index: 2;
+}
+.galleria-image-nav-left:hover,
+.galleria-image-nav-right:hover {
+ opacity: 1;
+ filter: alpha(opacity=100);
+}
+.galleria-thumb-nav-left,
+.galleria-thumb-nav-right {
+ cursor: pointer;
+ display: none;
+ background-position: -495px 5px;
+ position: absolute;
+ left: 0;
+ top: 0;
+ height: 40px;
+ width: 23px;
+ z-index: 3;
+ opacity: .8;
+ filter: alpha(opacity=80);
+}
+.galleria-thumb-nav-right {
+ background-position: -578px 5px;
+ border-right: none;
+ right: 0;
+ left: auto;
+}
+.galleria-thumbnails-container .disabled {
+ opacity: .2;
+ filter: alpha(opacity=20);
+ cursor: default;
+}
+.galleria-thumb-nav-left:hover,
+.galleria-thumb-nav-right:hover {
+ opacity: 1;
+ filter: alpha(opacity=100);
+ background-color: #111;
+}
+.galleria-thumbnails-container .disabled:hover {
+ opacity: 0.2;
+ filter: alpha(opacity=20);
+ background-color: transparent;
+}
+
+.galleria-carousel .galleria-thumb-nav-left,
+.galleria-carousel .galleria-thumb-nav-right {
+ display: block;
+}
+.galleria-thumb-nav-left,
+.galleria-thumb-nav-right,
+.galleria-info-link,
+.galleria-info-close,
+.galleria-image-nav-left,
+.galleria-image-nav-right {
+ background-image: url(modules/extgallery/images/classic-map.png);
+ background-repeat: no-repeat;
+}
Added: XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.classic.js
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.classic.js (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.classic.js 2010-10-29 16:17:24 UTC (rev 5670)
@@ -0,0 +1,82 @@
+/*
+ * Galleria Classic Theme v. 1.5 2010-10-28
+ * http://galleria.aino.se
+ *
+ * Copyright (c) 2010, Aino
+ * Licensed under the MIT license.
+ */
+
+(function($) {
+
+Galleria.addTheme({
+ name: 'classic',
+ author: 'Galleria',
+ version: '1.5',
+ css: 'galleria.classic.css',
+ defaults: {
+ transition: 'slide',
+ thumb_crop: 'height',
+
+ // set this to false if you want to show the caption all the time:
+ _toggle_info: true
+ },
+ init: function(options) {
+
+ // add some elements
+ this.addElement('info-link','info-close');
+ this.append({
+ 'info' : ['info-link','info-close']
+ });
+
+ // cache some stuff
+ var toggle = this.$('image-nav-left,image-nav-right,counter'),
+ info = this.$('info-link,info-close,info-text'),
+ click = Galleria.TOUCH ? 'touchstart' : 'click';
+
+ // show loader & counter with opacity
+ this.$('loader,counter').show().css('opacity',.4)
+
+ // some stuff for non-touch browsers
+ if (! Galleria.TOUCH ) {
+
+ // fade thumbnails
+ this.$('thumbnails').children().hover(function() {
+ $(this).not('.active').children().stop().fadeTo(100, 1);
+ }, function() {
+ $(this).not('.active').children().stop().fadeTo(400, .6);
+ });
+
+ this.addIdleState( this.get('image-nav-left'), { left:-50 });
+ this.addIdleState( this.get('image-nav-right'), { right:-50 });
+ this.addIdleState( this.get('counter'), { opacity:0 });
+ }
+
+ // toggle info
+ if ( options._toggle_info ) {
+ info.bind( click, function() {
+ info.toggle();
+ });
+ }
+
+ // bind some stuff
+ this.bind(Galleria.THUMBNAIL, function(e) {
+ $(e.thumbTarget).parent(':not(.active)').children().css('opacity',.6)
+ });
+
+ this.bind(Galleria.LOADSTART, function(e) {
+ if (!e.cached) {
+ this.$('loader').show().fadeTo(200, .4);
+ }
+
+ this.$('info').toggle( this.hasInfo() );
+
+ $(e.thumbTarget).css('opacity',1).parent().siblings().children().css('opacity',.6);
+ });
+
+ this.bind(Galleria.LOADFINISH, function(e) {
+ this.$('loader').fadeOut(200);
+ });
+ }
+});
+
+})(jQuery);
Added: XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.js
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.js (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/include/galleria.js 2010-10-29 16:17:24 UTC (rev 5670)
@@ -0,0 +1,3734 @@
+/*
+ * Galleria v 1.2 prerelease 1.1 2010-10-29
+ * http://galleria.aino.se
+ *
+ * Copyright (c) 2010, Aino
+ * Licensed under the MIT license.
+ */
+
+(function($) {
+
+// some references
+var undef,
+ window = this,
+ doc = document,
+ $doc = $( doc );
+
+// internal constants
+var DEBUG = false,
+ NAV = navigator.userAgent.toLowerCase(),
+ HASH = window.location.hash.replace(/#\//, ''),
+ CLICK = function() {
+ // use this to make touch devices snappier
+ return Galleria.TOUCH ? 'touchstart' : 'click';
+ },
+ IE = (function() {
+ var v = 3,
+ div = doc.createElement( 'div' );
+ while (
+ div.innerHTML = '<!--[if gt IE '+(++v)+']><i></i><![endif]-->',
+ div.getElementsByTagName('i')[0]
+ );
+ return v > 4 ? v : undef;
+ }() ),
+ DOM = function() {
+ return {
+ html: doc.documentElement,
+ body: doc.body,
+ head: doc.getElementsByTagName('head')[0],
+ title: doc.title
+ };
+ },
+
+ // the internal timeouts object
+ // provides helper methods for controlling timeouts
+ _timeouts = {
+
+ trunk: {},
+
+ add: function( id, fn, delay, loop ) {
+ loop = loop || false;
+ this.clear( id );
+ if ( loop ) {
+ var old = fn;
+ fn = function() {
+ old();
+ _timeouts.add( id, fn, delay );
+ };
+ }
+ this.trunk[ id ] = window.setTimeout( fn, delay );
+ },
+
+ clear: function( id ) {
+
+ var del = function( i ) {
+ window.clearTimeout( this.trunk[ i ] );
+ delete this.trunk[ i ];
+ };
+
+ if ( !!id && id in this.trunk ) {
+ del.call( _timeouts, id );
+
+ } else if ( typeof id == 'undefined' ) {
+ for ( var i in this.trunk ) {
+ del.call( _timeouts, i );
+ }
+ }
+ }
+ },
+
+ // the internal gallery holder
+ _galleries = [],
+
+ // the transitions holder
+ _transitions = {
+
+ fade: function(params, complete) {
+ $(params.next).css('opacity', 0).show().animate({
+ opacity: 1
+ }, params.speed, complete);
+
+ if (params.prev) {
+ $(params.prev).css('opacity', 1).show().animate({
+ opacity: 0
+ }, params.speed);
+ }
+ },
+
+ flash: function(params, complete) {
+ $(params.next).css('opacity', 0);
+ if (params.prev) {
+ $(params.prev).animate({
+ opacity: 0
+ }, (params.speed / 2), function() {
+ $(params.next).animate({
+ opacity: 1
+ }, params.speed, complete);
+ });
+ } else {
+ $(params.next).animate({
+ opacity: 1
+ }, params.speed, complete);
+ }
+ },
+
+ pulse: function(params, complete) {
+ if (params.prev) {
+ $(params.prev).hide();
+ }
+ $(params.next).css('opacity', 0).animate({
+ opacity:1
+ }, params.speed, complete);
+ },
+
+ slide: function(params, complete) {
+ var image = $(params.next).parent(),
+ images = this.$('images'), // ??
+ width = this._stageWidth,
+ easing = this.getOptions( 'easing' );
+
+ image.css({
+ left: width * ( params.rewind ? -1 : 1 )
+ });
+ images.animate({
+ left: width * ( params.rewind ? 1 : -1 )
+ }, {
+ duration: params.speed,
+ queue: false,
+ easing: easing,
+ complete: function() {
+ images.css('left', 0);
+ image.css('left', 0);
+ complete();
+ }
+ });
+ },
+
+ fadeslide: function(params, complete) {
+
+ var x = 0,
+ easing = this.getOptions('easing');
+
+ if (params.prev) {
+ x = Utils.parseValue( $(params.prev).css('left') );
+ $(params.prev).css({
+ opacity: 1,
+ left: x
+ }).animate({
+ opacity: 0,
+ left: x + ( 50 * ( params.rewind ? 1 : -1 ) )
+ },{
+ duration: params.speed,
+ queue: false,
+ easing: easing
+ });
+ }
+
+ x = Utils.parseValue( $(params.next).css('left') );
+
+ $(params.next).css({
+ left: x + ( 50 * ( params.rewind ? -1 : 1 ) ),
+ opacity: 0
+ }).animate({
+ opacity: 1,
+ left: x
+ }, {
+ duration: params.speed,
+ complete: complete,
+ queue: false,
+ easing: easing
+ });
+ }
+ },
+
+ // the Utils singleton
+ Utils = (function() {
+
+ return {
+
+ array : function( obj ) {
+ return Array.prototype.slice.call(obj);
+ },
+
+ create : function( className, nodeName ) {
+ nodeName = nodeName || 'div';
+ var elem = doc.createElement( nodeName );
+ elem.className = className;
+ return elem;
+ },
+
+ forceStyles : function( elem, styles ) {
+ elem = $(elem);
+ if ( elem.attr( 'style' ) ) {
+ elem.data( 'styles', elem.attr( 'style' ) ).removeAttr( 'style' );
+ }
+ elem.css( styles );
+ },
+
+ revertStyles : function() {
+ $.each( Utils.array( arguments ), function( i, elem ) {
+
+ elem = $( elem ).removeAttr( 'style' );
+
+ if ( elem.data( 'styles' ) ) {
+ elem.attr( 'style', elem.data('styles') ).data( 'styles', null );
+ }
+ });
+ },
+
+ moveOut : function( elem ) {
+ Utils.forceStyles( elem, {
+ position: 'absolute',
+ left: -10000
+ });
+ },
+
+ moveIn : function() {
+ Utils.revertStyles.apply( Utils, Utils.array( arguments ) );
+ },
+
+ hide : function( elem, speed, callback ) {
+ elem = $(elem);
+
+ // save the value if not exist
+ if (! elem.data('opacity') ) {
+ elem.data('opacity', elem.css('opacity') );
+ }
+
+ // always hide
+ var style = { opacity: 0 };
+
+ if (speed) {
+ elem.stop().animate( style, speed, callback );
+ } else {
+ elem.css( style );
+ };
+ },
+
+ show : function( elem, speed, callback ) {
+ elem = $(elem);
+
+ // bring back saved opacity
+ var saved = parseFloat( elem.data('opacity') ) || 1,
+ style = { opacity: saved };
+
+ // reset save if opacity == 1
+ if (saved == 1) {
+ elem.data('opacity', null);
+ }
+
+ // animate or toggle
+ if (speed) {
+ elem.stop().animate( style, speed, callback );
+ } else {
+ elem.css( style );
+ };
+ },
+
+ addTimer : function() {
+ _timeouts.add.apply( _timeouts, Utils.array( arguments ) );
+ return this;
+ },
+
+ clearTimer : function() {
+ _timeouts.clear.apply( _timeouts, Utils.array( arguments ) );
+ return this;
+ },
+
+ wait : function(options) {
+ options = $.extend({
+ until : function() { return false; },
+ success : function() {},
+ error : function() { Galleria.raise('Could not complete wait function.'); },
+ timeout: 3000
+ }, options);
+
+ var start = Utils.timestamp(),
+ elapsed,
+ now;
+
+ window.setTimeout(function() {
+ now = Utils.timestamp();
+ elapsed = now - start;
+ if ( options.until( elapsed ) ) {
+ options.success();
+ return false;
+ }
+
+ if (now >= start + options.timeout) {
+ options.error();
+ return false;
+ }
+ window.setTimeout(arguments.callee, 2);
+ }, 2);
+ },
+
+ toggleQuality : function( img, force ) {
+
+ if ( !( IE == 7 || IE == 8 ) || !!img === false ) {
+ return;
+ }
+
+ if ( typeof force === 'undefined' ) {
+ force = img.style.msInterpolationMode == 'nearest-neighbor';
+ }
+
+ img.style.msInterpolationMode = force ? 'bicubic' : 'nearest-neighbor';
+ },
+
+ insertStyleTag : function( styles ) {
+ var style = doc.createElement( 'style' );
+ DOM().head.appendChild( style );
+
+ if ( style.styleSheet ) { // IE
+ style.styleSheet.cssText = styles;
+ } else {
+ var cssText = doc.createTextNode( styles );
+ style.appendChild( cssText );
+ }
+ },
+
+ // a loadscript method that works for local scripts
+ loadScript: function( url, callback ) {
+ var done = false,
+ script = $('<scr'+'ipt>').attr({
+ src: url,
+ async: true
+ }).get(0);
+
+ // Attach handlers for all browsers
+ script. = function() {
+ if ( !done && (!this.readyState ||
+ this.readyState == 'loaded' || this.readyState == 'complete') ) {
+ done = true;
+
+ if (typeof callback == 'function') {
+ callback.call( this, this );
+ }
+
+ // Handle memory leak in IE
+ script. = null;
+ }
+ };
+
+ var s = doc.getElementsByTagName( 'script' )[0];
+ s.parentNode.insertBefore( script, s );
+ },
+
+ // parse anything into a number
+ parseValue: function( val ) {
+ if (typeof val == 'number') {
+ return val;
+ } else if (typeof val == 'string') {
+ var arr = val.match(/\-?\d/g);
+ return arr && arr.constructor == Array ? arr.join('') * 1 : 0;
+ } else {
+ return 0;
+ }
+ },
+
+ // timestamp abstraction
+ timestamp: function() {
+ return new Date().getTime();
+ },
+
+ // this is pretty crap, but works for now
+ // it will add a callback, but it can't guarantee that the styles can be fetched
+ // using getComputedStyle further checking needed, possibly a dummy element
+ loadCSS : function( href, id, callback ) {
+
+ var link,
+ ready = false,
+ length;
+
+ // look for manual css
+ $('link[rel=stylesheet]').each(function() {
+ if ( new RegExp( href ).test( this.href ) ) {
+ link = this;
+ return false;
+ }
+ });
+
+ if ( typeof id == 'function' ) {
+ callback = id;
+ id = undef;
+ }
+...
[truncated message content] |
|
From: <ma...@us...> - 2010-10-29 15:53:59
|
Revision: 5669
http://xoops.svn.sourceforge.net/xoops/?rev=5669&view=rev
Author: mageg
Date: 2010-10-29 15:53:53 +0000 (Fri, 29 Oct 2010)
Log Message:
-----------
Correct this error: Notice: Undefined variable: xoopsModuleConfig in file /include/comment_form.php line 75
Modified Paths:
--------------
XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/include/comment_form.php
Modified: XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/include/comment_form.php
===================================================================
--- XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/include/comment_form.php 2010-10-29 15:08:17 UTC (rev 5668)
+++ XoopsCore/branches/tasks/2.5.0-formuss-trabis/htdocs/include/comment_form.php 2010-10-29 15:53:53 UTC (rev 5669)
@@ -71,13 +71,14 @@
$button_tray = new XoopsFormElementTray('', ' ');
if (is_object($xoopsUser)) {
- if ($xoopsModuleConfig['com_anonpost'] == 1) {
- $noname = !empty($noname) ? 1 : 0;
- $noname_checkbox = new XoopsFormCheckBox('', 'noname', $noname);
- $noname_checkbox->addOption(1, _POSTANON);
- $option_tray->addElement($noname_checkbox);
+ if (isset($xoopsModuleConfig['com_anonpost'])) {
+ if ($xoopsModuleConfig['com_anonpost'] == 1) {
+ $noname = !empty($noname) ? 1 : 0;
+ $noname_checkbox = new XoopsFormCheckBox('', 'noname', $noname);
+ $noname_checkbox->addOption(1, _POSTANON);
+ $option_tray->addElement($noname_checkbox);
+ }
}
-
if (false != $xoopsUser->isAdmin($com_modid)) {
// show status change box when editing (comment id is not empty)
if (!empty($com_id)) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ph...@us...> - 2010-10-29 15:08:23
|
Revision: 5668
http://xoops.svn.sourceforge.net/xoops/?rev=5668&view=rev
Author: phppp
Date: 2010-10-29 15:08:17 +0000 (Fri, 29 Oct 2010)
Log Message:
-----------
Created SVN for new Xoops Engine
Added Paths:
-----------
XoopsEngine/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vo...@us...> - 2010-10-29 13:59:04
|
Revision: 5667
http://xoops.svn.sourceforge.net/xoops/?rev=5667&view=rev
Author: voltan1
Date: 2010-10-29 13:58:58 +0000 (Fri, 29 Oct 2010)
Log Message:
-----------
remove width and height
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_ajax.html
XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html
Modified: XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_ajax.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_ajax.html 2010-10-28 16:44:12 UTC (rev 5666)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/blocks/extgallery_block_ajax.html 2010-10-29 13:58:58 UTC (rev 5667)
@@ -31,7 +31,7 @@
<div id="photos" class="galleryview">
<{foreach item=photo from=$block.photos}>
<div class="panel">
- <img width="<{$block.panel_width}>" height="<{$block.panel_height}>" src="<{$xoops_url}>/uploads/extgallery/public-photo/medium/<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
+ <img src="<{$xoops_url}>/uploads/extgallery/public-photo/medium/<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
<div class="panel-overlay">
<h2><{$photo.photo_title}></h2>
<{$photo.photo_desc}> <a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>"><{$smarty.const._MB_EXTGALLERY_MOREINFO}></a>.</p>
Modified: XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html 2010-10-28 16:44:12 UTC (rev 5666)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html 2010-10-29 13:58:58 UTC (rev 5667)
@@ -36,7 +36,7 @@
<div id="photos" class="galleryview">
<{foreach item=photo from=$photos}>
<div class="panel">
- <img width="<{$galleryview_panelwidth}>" height="<{$galleryview_panelheight}>" src="<{$xoops_url}>/uploads/extgallery/public-photo/medium/<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
+ <img src="<{$xoops_url}>/uploads/extgallery/public-photo/medium/<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
<div class="panel-overlay">
<h2><{$photo.photo_title}></h2>
<{$photo.photo_desc}> <a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>"><{$smarty.const._MD_EXTGALLERY_MOREINFO}></a></p>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ma...@us...> - 2010-10-28 16:44:18
|
Revision: 5666
http://xoops.svn.sourceforge.net/xoops/?rev=5666&view=rev
Author: madreus
Date: 2010-10-28 16:44:12 +0000 (Thu, 28 Oct 2010)
Log Message:
-----------
Fixed bug #3053417
Updated readme.txt
Modified Paths:
--------------
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/ckeditor/ckeditor.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/ckeditor/module/readme.txt
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/ckeditor/ckeditor.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/ckeditor/ckeditor.php 2010-10-28 09:06:56 UTC (rev 5665)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/ckeditor/ckeditor.php 2010-10-28 16:44:12 UTC (rev 5666)
@@ -61,8 +61,8 @@
if ( $ckeditor_added==false ) {
$GLOBALS['xoTheme']->addScript( XOOPS_URL . $this->rootPath . '/ckeditor/ckeditor.js' );
- if ( file_exists( XOOPS_URL . $this->rootPath . '/ckeditor/modules/config.'.$dirname.'.js' ) )
- $GLOBALS['xoTheme']->addScript( XOOPS_URL . $this->rootPath . '/ckeditor/modules/config.'.$dirname.'.js' );
+ if ( file_exists( XOOPS_ROOT_PATH . $this->rootPath . '/module/config.'.$dirname.'.js' ) )
+ $GLOBALS['xoTheme']->addScript( XOOPS_URL . $this->rootPath . '/module/config.'.$dirname.'.js' );
else
$GLOBALS['xoTheme']->addScript( XOOPS_URL . $this->rootPath . '/ckeditor/config.js' );
$ckeditor_added = true;
@@ -78,8 +78,8 @@
if ( $ckeditor_added==false ) {
$ret .= '<script src="' . XOOPS_URL . $this->rootPath . '/ckeditor/ckeditor.js' . '" type="text/javascript"></script>';
- if ( file_exists( XOOPS_URL . $this->rootPath . '/ckeditor/modules/config.'.$dirname.'.js' ) )
- $ret .= '<script src="' . XOOPS_URL . $this->rootPath . '/ckeditor/modules/config.'.$dirname.'.js' . '" type="text/javascript"></script>';
+ if ( file_exists( XOOPS_ROOT_PATH . $this->rootPath . '/module/config.'.$dirname.'.js' ) )
+ $ret .= '<script src="' . XOOPS_URL . $this->rootPath . '/module/config.'.$dirname.'.js' . '" type="text/javascript"></script>';
else
$ret .= '<script src="' . XOOPS_URL . $this->rootPath . '/ckeditor/config.js' . '" type="text/javascript"></script>';
$ckeditor_added=true;
@@ -104,4 +104,4 @@
}
}
-?>
\ No newline at end of file
+?>
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/ckeditor/module/readme.txt
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/ckeditor/module/readme.txt 2010-10-28 09:06:56 UTC (rev 5665)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/ckeditor/module/readme.txt 2010-10-28 16:44:12 UTC (rev 5666)
@@ -1,5 +1,4 @@
Placeholder for module specific configurations
-1 Copy the three files to your module folder
-2 Modify the config.module-dirname.js to set proper configs; if no specific config is needed, remove the file
-3 Keep the two php files
\ No newline at end of file
+1 Create here file config.module-dirname.js (eg. config.xnews.js);
+2 Modify the config.module-dirname.js to set proper configs;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vo...@us...> - 2010-10-28 09:07:02
|
Revision: 5665
http://xoops.svn.sourceforge.net/xoops/?rev=5665&view=rev
Author: voltan1
Date: 2010-10-28 09:06:56 +0000 (Thu, 28 Oct 2010)
Log Message:
-----------
change menu number
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php
XoopsModules/extgallery/trunk/modules/extgallery/admin/menu.php
Modified: XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php 2010-10-28 08:54:50 UTC (rev 5664)
+++ XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php 2010-10-28 09:06:56 UTC (rev 5665)
@@ -165,7 +165,7 @@
case 'default':
default:
xoops_cp_header();
- extgalleryAdminMenu(8);
+ extgalleryAdminMenu(7);
$xoopsTpl->assign('displayalbum', $xoopsModuleConfig['display_type'] == 'album');
Modified: XoopsModules/extgallery/trunk/modules/extgallery/admin/menu.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/admin/menu.php 2010-10-28 08:54:50 UTC (rev 5664)
+++ XoopsModules/extgallery/trunk/modules/extgallery/admin/menu.php 2010-10-28 09:06:56 UTC (rev 5665)
@@ -23,8 +23,8 @@
$adminmenu[6]['title'] = _MI_EXTGALLERY_EXTENTION;
$adminmenu[6]['link'] = "admin/extention.php";
$adminmenu[6]['icon'] = "images/icons/extention.png";
-$adminmenu[8]['title'] = _MI_EXTGALLERY_ALBUM;
-$adminmenu[8]['link'] = "admin/album.php";
-$adminmenu[8]['icon'] = "images/icons/slideshow.png";
+$adminmenu[7]['title'] = _MI_EXTGALLERY_ALBUM;
+$adminmenu[7]['link'] = "admin/album.php";
+$adminmenu[7]['icon'] = "images/icons/slideshow.png";
?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vo...@us...> - 2010-10-28 08:54:56
|
Revision: 5664
http://xoops.svn.sourceforge.net/xoops/?rev=5664&view=rev
Author: voltan1
Date: 2010-10-28 08:54:50 +0000 (Thu, 28 Oct 2010)
Log Message:
-----------
Update language files
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/language/english/main.php
Modified: XoopsModules/extgallery/trunk/modules/extgallery/language/english/main.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/language/english/main.php 2010-10-28 08:52:57 UTC (rev 5663)
+++ XoopsModules/extgallery/trunk/modules/extgallery/language/english/main.php 2010-10-28 08:54:50 UTC (rev 5664)
@@ -79,17 +79,7 @@
// Public user's album
define("_MD_EXTGALLERY_USERS_SUB_PHOTO_ALBUM","'s submitted photo album");
-/*define("_MD_EXTGALLERY_","");
-define("_MD_EXTGALLERY_","");
-define("_MD_EXTGALLERY_","");
-define("_MD_EXTGALLERY_","");
-define("_MD_EXTGALLERY_","");
-define("_MD_EXTGALLERY_","");
-define("_MD_EXTGALLERY_","");
-define("_MD_EXTGALLERY_","");
-define("_MD_EXTGALLERY_","");
-define("_MD_EXTGALLERY_","");
-define("_MD_EXTGALLERY_","");
-define("_MD_EXTGALLERY_","");*/
+// Public Slideshow
+define("_MD_EXTGALLERY_MOREINFO","More");
?>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vo...@us...> - 2010-10-28 08:53:03
|
Revision: 5663
http://xoops.svn.sourceforge.net/xoops/?rev=5663&view=rev
Author: voltan1
Date: 2010-10-28 08:52:57 +0000 (Thu, 28 Oct 2010)
Log Message:
-----------
Update language files
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php
XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html
Modified: XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-28 07:55:48 UTC (rev 5662)
+++ XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-28 08:52:57 UTC (rev 5663)
@@ -120,6 +120,61 @@
_AM_EXTGALLERY_TOOLTIP_BORDER_WIDHT (added)
_AM_EXTGALLERY_TOOLTIP_BORDERCOLOR (added)
_AM_EXTGALLERY_ALBUM_NOT_ENABLE (added)
+_AM_EXTGALLERY_GVIEW_PANELWIDE (added)
+_AM_EXTGALLERY_GVIEW_PANELHEIGHT (added)
+_AM_EXTGALLERY_GVIEW_FARMEWIDTH (added)
+_AM_EXTGALLERY_GVIEW_FARMEHEIGHT (added)
+_AM_EXTGALLERY_GVIEW_TSPEED (added)
+_AM_EXTGALLERY_GVIEW_TTERVAL (added)
+_AM_EXTGALLERY_GVIEW_OPACITY (added)
+_AM_EXTGALLERY_GVIEW_OVERLYAHEIGHT (added)
+_AM_EXTGALLERY_GVIEW_OVERLAYFS (added)
+_AM_EXTGALLERY_GVIEW_BORDERWIDTH (added)
+_AM_EXTGALLERY_GVIEW_BORDERCOLOR (added)
+_AM_EXTGALLERY_GVIEW_BGCOLOR (added)
+_AM_EXTGALLERY_GVIEW_OVERLAYCOLOR (added)
+_AM_EXTGALLERY_GVIEW_OVERLAYTC (added)
+_AM_EXTGALLERY_GVIEW_CAPTIONTC (added)
+_AM_EXTGALLERY_GVIEW_NAVTHEME (added)
+_AM_EXTGALLERY_GVIEW_LIGHT (added)
+_AM_EXTGALLERY_GVIEW_DARK (added)
+_AM_EXTGALLERY_GVIEW_CUSTOM (added)
+_AM_EXTGALLERY_GVIEW_POSITION (added)
+_AM_EXTGALLERY_GVIEW_BOTTOM (added)
+_AM_EXTGALLERY_GVIEW_TOP (added)
+_AM_EXTGALLERY_GVIEW_EASING (added)
+_AM_EXTGALLERY_GVIEW_EASING_OP1 (added)
+_AM_EXTGALLERY_GVIEW_EASING_OP2 (added)
+_AM_EXTGALLERY_GVIEW_EASING_OP3 (added)
+_AM_EXTGALLERY_GVIEW_EASING_OP4 (added)
+_AM_EXTGALLERY_GVIEW_EASING_OP5 (added)
+_AM_EXTGALLERY_SLIDESHOW_DURATION (removed)
+_AM_EXTGALLERY_SLIDESHOW_CONF (removed)
+_AM_EXTGALLERY_TRANSTYPE (removed)
+_AM_EXTGALLERY_DEFAULT (removed)
+_AM_EXTGALLERY_FOLD (removed)
+_AM_EXTGALLERY_KENBURNS (removed)
+_AM_EXTGALLERY_PUSH (removed)
+_AM_EXTGALLERY_EFFECT_TYPE (removed)
+_AM_EXTGALLERY_QUAD (removed)
+_AM_EXTGALLERY_CUBIC (removed)
+_AM_EXTGALLERY_QUART (removed)
+_AM_EXTGALLERY_QUINT (removed)
+_AM_EXTGALLERY_EXPO (removed)
+_AM_EXTGALLERY_CIRC (removed)
+_AM_EXTGALLERY_SINE (removed)
+_AM_EXTGALLERY_BACK (removed)
+_AM_EXTGALLERY_BOUNCE (removed)
+_AM_EXTGALLERY_ELASTIC (removed)
+_AM_EXTGALLERY_EFFECT_OPTION (removed)
+_AM_EXTGALLERY_IN (removed)
+_AM_EXTGALLERY_OUT (removed)
+_AM_EXTGALLERY_SS_THUMB (removed)
+_AM_EXTGALLERY_SS_CAPTION (removed)
+_AM_EXTGALLERY_SS_CONTROLLER (removed)
+
+main.php
+_MD_EXTGALLERY_MOREINFO (added)
============================
2009/21/06: Version 1.0.8
============================
Modified: XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php 2010-10-28 07:55:48 UTC (rev 5662)
+++ XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php 2010-10-28 08:52:57 UTC (rev 5663)
@@ -166,34 +166,36 @@
define('_AM_EXTGALLERY_PRINT_SUBMITTER_UNAME',"Print submitters user name");
// Slideshow
-define('_AM_EXTGALLERY_SLIDESHOW_DELAY',"Slideshow delay");
-define('_AM_EXTGALLERY_SLIDESHOW_DURATION',"Slideshow duration");
define('_AM_EXTGALLERY_SLIDESHOW_CONF',"Slideshow configuration");
-define('_AM_EXTGALLERY_TRANSTYPE',"Transition type");
-define('_AM_EXTGALLERY_DEFAULT',"Default");
-define('_AM_EXTGALLERY_FOLD',"Fold");
-define('_AM_EXTGALLERY_KENBURNS',"Kenburns");
-define('_AM_EXTGALLERY_PUSH',"Push");
-define('_AM_EXTGALLERY_EFFECT_TYPE',"Effect type");
-define('_AM_EXTGALLERY_QUAD',"Quad");
-define('_AM_EXTGALLERY_CUBIC',"Cubic");
-define('_AM_EXTGALLERY_QUART',"Quart");
-define('_AM_EXTGALLERY_QUINT',"Quint");
-define('_AM_EXTGALLERY_EXPO',"Expo");
-define('_AM_EXTGALLERY_CIRC',"Circ");
-define('_AM_EXTGALLERY_SINE',"Sine");
-define('_AM_EXTGALLERY_BACK',"Back");
-define('_AM_EXTGALLERY_BOUNCE',"Bounce");
-define('_AM_EXTGALLERY_ELASTIC',"Elastic");
-define('_AM_EXTGALLERY_EFFECT_OPTION',"Effect option");
-define('_AM_EXTGALLERY_IN',"In");
-define('_AM_EXTGALLERY_OUT',"Out");
-define('_AM_EXTGALLERY_INOUT',"In Out");
-define('_AM_EXTGALLERY_SS_THUMB',"Display Slideshow thumbs");
-define('_AM_EXTGALLERY_SS_CAPTION',"Display Slideshow caption");
-define('_AM_EXTGALLERY_SS_CONTROLLER',"Display Slideshow navigation controller");
define('_AM_EXTGALLERY_SLIDESHOW_NOT_ENABLE',"SlideShow not enabled");
-
+define('_AM_EXTGALLERY_GVIEW_PANELWIDE',"Panel width");
+define('_AM_EXTGALLERY_GVIEW_PANELHEIGHT',"Panle hight");
+define('_AM_EXTGALLERY_GVIEW_FARMEWIDTH',"Farme width");
+define('_AM_EXTGALLERY_GVIEW_FARMEHEIGHT',"Farme hight");
+define('_AM_EXTGALLERY_GVIEW_TSPEED',"Transition speed");
+define('_AM_EXTGALLERY_GVIEW_TTERVAL',"Transitionin terval");
+define('_AM_EXTGALLERY_GVIEW_OPACITY',"Overlay opacity");
+define('_AM_EXTGALLERY_GVIEW_OVERLYAHEIGHT',"Overlay height");
+define('_AM_EXTGALLERY_GVIEW_OVERLAYFS',"Overlay font size");
+define('_AM_EXTGALLERY_GVIEW_BORDERWIDTH',"Border width");
+define('_AM_EXTGALLERY_GVIEW_BORDERCOLOR',"Border color");
+define('_AM_EXTGALLERY_GVIEW_BGCOLOR',"Background color");
+define('_AM_EXTGALLERY_GVIEW_OVERLAYCOLOR',"Overlay color");
+define('_AM_EXTGALLERY_GVIEW_OVERLAYTC',"Overlay text color");
+define('_AM_EXTGALLERY_GVIEW_CAPTIONTC',"Caption text color");
+define('_AM_EXTGALLERY_GVIEW_NAVTHEME',"Nav theme");
+define('_AM_EXTGALLERY_GVIEW_LIGHT',"Light");
+define('_AM_EXTGALLERY_GVIEW_DARK',"Dark");
+define('_AM_EXTGALLERY_GVIEW_CUSTOM',"Custom");
+define('_AM_EXTGALLERY_GVIEW_POSITION',"Position");
+define('_AM_EXTGALLERY_GVIEW_BOTTOM',"Bottom");
+define('_AM_EXTGALLERY_GVIEW_TOP',"Top");
+define('_AM_EXTGALLERY_GVIEW_EASING',"Easing");
+define('_AM_EXTGALLERY_GVIEW_EASING_OP1',"swing");
+define('_AM_EXTGALLERY_GVIEW_EASING_OP2',"linear");
+define('_AM_EXTGALLERY_GVIEW_EASING_OP3',"easeInOutBack");
+define('_AM_EXTGALLERY_GVIEW_EASING_OP4',"easeInOutQuad");
+define('_AM_EXTGALLERY_GVIEW_EASING_OP5',"easeOutBounce");
// Album
define('_AM_EXTGALLERY_USE_AJAX_EFFECTS',"Type of show albums");
define('_AM_EXTGALLERY_USE_AJAX_EFFECTS_DESC',"Type of show photos in albums. you and use Ajax effects or normall show.<br /><b>Normal</b> : use module whit out any effects<br /><b>Lightbox</b> : Use Lightbox effect<br /><b>Overlay</b> : use Overlay effect");
Modified: XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html 2010-10-28 07:55:48 UTC (rev 5662)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html 2010-10-28 08:52:57 UTC (rev 5663)
@@ -39,7 +39,7 @@
<img width="<{$galleryview_panelwidth}>" height="<{$galleryview_panelheight}>" src="<{$xoops_url}>/uploads/extgallery/public-photo/medium/<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
<div class="panel-overlay">
<h2><{$photo.photo_title}></h2>
- <{$photo.photo_desc}> <a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>"><{$smarty.const._MB_EXTGALLERY_MOREINFO}></a></p>
+ <{$photo.photo_desc}> <a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>"><{$smarty.const._MD_EXTGALLERY_MOREINFO}></a></p>
</div>
</div>
<{/foreach}>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vo...@us...> - 2010-10-28 07:55:56
|
Revision: 5662
http://xoops.svn.sourceforge.net/xoops/?rev=5662&view=rev
Author: voltan1
Date: 2010-10-28 07:55:48 +0000 (Thu, 28 Oct 2010)
Log Message:
-----------
Change slideshow script
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php
XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php
XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
XoopsModules/extgallery/trunk/modules/extgallery/public-slideshow.php
XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html
XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php
Added Paths:
-----------
XoopsModules/extgallery/trunk/modules/extgallery/include/galleryview.css
Modified: XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php 2010-10-27 22:49:47 UTC (rev 5661)
+++ XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php 2010-10-28 07:55:48 UTC (rev 5662)
@@ -171,18 +171,18 @@
$form = new XoopsThemeForm(_AM_EXTGALLERY_ALBUM_CONF, 'album_conf', 'album.php', 'post', true);
- $effectTypeSelect = new XoopsFormSelect(_AM_EXTGALLERY_USE_AJAX_EFFECTS, 'use_ajax_effects',$xoopsModuleConfig['use_ajax_effects']);
- $effectTypeSelect->addOption("none", _AM_EXTGALLERY_AJAX_NONE);
- $effectTypeSelect->addOption("lightbox", _AM_EXTGALLERY_AJAX_LIGHTBOX);
- $effectTypeSelect->addOption("overlay", _AM_EXTGALLERY_AJAX_OVERLAY);
- $effectTypeSelect->addOption("tooltip", _AM_EXTGALLERY_AJAX_TOOLTIP);
- $form->addElement($effectTypeSelect);
+ $ajaxeffectSelect = new XoopsFormSelect(_AM_EXTGALLERY_USE_AJAX_EFFECTS, 'use_ajax_effects',$xoopsModuleConfig['use_ajax_effects']);
+ $ajaxeffectSelect->addOption("none", _AM_EXTGALLERY_AJAX_NONE);
+ $ajaxeffectSelect->addOption("lightbox", _AM_EXTGALLERY_AJAX_LIGHTBOX);
+ $ajaxeffectSelect->addOption("overlay", _AM_EXTGALLERY_AJAX_OVERLAY);
+ $ajaxeffectSelect->addOption("tooltip", _AM_EXTGALLERY_AJAX_TOOLTIP);
+ $form->addElement($ajaxeffectSelect);
if($xoopsModuleConfig['use_ajax_effects'] == 'overlay'){
- $effectOptionSelect = new XoopsFormSelect(_AM_EXTGALLERY_OVERLAY_BG, 'album_overlay_bg',$xoopsModuleConfig['album_overlay_bg']);
- $effectOptionSelect->addOption("white", _AM_EXTGALLERY_OVERLAY_BG_1);
- $effectOptionSelect->addOption("transparent", _AM_EXTGALLERY_OVERLAY_BG_2);
- $form->addElement($effectOptionSelect);
+ $overlaybgSelect = new XoopsFormSelect(_AM_EXTGALLERY_OVERLAY_BG, 'album_overlay_bg',$xoopsModuleConfig['album_overlay_bg']);
+ $overlaybgSelect->addOption("white", _AM_EXTGALLERY_OVERLAY_BG_1);
+ $overlaybgSelect->addOption("transparent", _AM_EXTGALLERY_OVERLAY_BG_2);
+ $form->addElement($overlaybgSelect);
$form->addElement(new XoopsFormText(_AM_EXTGALLERY_OVERLAY_WIDHT, 'album_overlay_width', '5', '5', $xoopsModuleConfig['album_overlay_width']),false);
$form->addElement(new XoopsFormText(_AM_EXTGALLERY_OVERLAY_HEIGHT, 'album_overlay_height', '5', '5', $xoopsModuleConfig['album_overlay_height']),false);
}
Modified: XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php 2010-10-27 22:49:47 UTC (rev 5661)
+++ XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php 2010-10-28 07:55:48 UTC (rev 5662)
@@ -16,22 +16,22 @@
case 'enreg':
- $configHandler =& xoops_gethandler('config');
- $moduleIdCriteria = new Criteria('conf_modid',$xoopsModule->getVar('mid'));
+ $configHandler =& xoops_gethandler('config');
+ $moduleIdCriteria = new Criteria('conf_modid',$xoopsModule->getVar('mid'));
- if(isset($_POST['slideshow_delay'])) {
+ if(isset($_POST['galleryview_panelwidth'])) {
- if($xoopsModuleConfig['slideshow_delay'] != $_POST['slideshow_delay']) {
+ if($xoopsModuleConfig['galleryview_panelwidth'] != $_POST['galleryview_panelwidth']) {
$criteria = new CriteriaCompo();
$criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','slideshow_delay'));
+ $criteria->add(new Criteria('conf_name','galleryview_panelwidth'));
$config = $configHandler->getConfigs($criteria);
$config = $config[0];
$configValue = array(
'conf_modid'=>$xoopsModule->getVar('mid'),
'conf_catid'=>0,
- 'conf_name'=>'slideshow_delay',
- 'conf_value'=>$_POST['slideshow_delay'],
+ 'conf_name'=>'galleryview_panelwidth',
+ 'conf_value'=>$_POST['galleryview_panelwidth'],
'conf_formtype'=>'hidden',
'conf_valuetype'=>'text'
);
@@ -41,19 +41,19 @@
}
- if(isset($_POST['slideshow_duration'])) {
+ if(isset($_POST['galleryview_panelheight'])) {
- if($xoopsModuleConfig['slideshow_duration'] != $_POST['slideshow_duration']) {
+ if($xoopsModuleConfig['galleryview_panelheight'] != $_POST['galleryview_panelheight']) {
$criteria = new CriteriaCompo();
$criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','slideshow_duration'));
+ $criteria->add(new Criteria('conf_name','galleryview_panelheight'));
$config = $configHandler->getConfigs($criteria);
$config = $config[0];
$configValue = array(
'conf_modid'=>$xoopsModule->getVar('mid'),
'conf_catid'=>0,
- 'conf_name'=>'slideshow_duration',
- 'conf_value'=>$_POST['slideshow_duration'],
+ 'conf_name'=>'galleryview_panelheight',
+ 'conf_value'=>$_POST['galleryview_panelheight'],
'conf_formtype'=>'hidden',
'conf_valuetype'=>'text'
);
@@ -63,19 +63,19 @@
}
- if(isset($_POST['slideshow_transtype'])) {
+ if(isset($_POST['galleryview_framewidth'])) {
- if($xoopsModuleConfig['slideshow_transtype'] != $_POST['slideshow_transtype']) {
+ if($xoopsModuleConfig['galleryview_framewidth'] != $_POST['galleryview_framewidth']) {
$criteria = new CriteriaCompo();
$criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','slideshow_transtype'));
+ $criteria->add(new Criteria('conf_name','galleryview_framewidth'));
$config = $configHandler->getConfigs($criteria);
$config = $config[0];
$configValue = array(
'conf_modid'=>$xoopsModule->getVar('mid'),
'conf_catid'=>0,
- 'conf_name'=>'slideshow_transtype',
- 'conf_value'=>$_POST['slideshow_transtype'],
+ 'conf_name'=>'galleryview_framewidth',
+ 'conf_value'=>$_POST['galleryview_framewidth'],
'conf_formtype'=>'hidden',
'conf_valuetype'=>'text'
);
@@ -85,19 +85,19 @@
}
- if(isset($_POST['slideshow_effecttype'])) {
+ if(isset($_POST['galleryview_frameheight'])) {
- if($xoopsModuleConfig['slideshow_effecttype'] != $_POST['slideshow_effecttype']) {
+ if($xoopsModuleConfig['galleryview_frameheight'] != $_POST['galleryview_frameheight']) {
$criteria = new CriteriaCompo();
$criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','slideshow_effecttype'));
+ $criteria->add(new Criteria('conf_name','galleryview_frameheight'));
$config = $configHandler->getConfigs($criteria);
$config = $config[0];
$configValue = array(
'conf_modid'=>$xoopsModule->getVar('mid'),
'conf_catid'=>0,
- 'conf_name'=>'slideshow_effecttype',
- 'conf_value'=>$_POST['slideshow_effecttype'],
+ 'conf_name'=>'galleryview_frameheight',
+ 'conf_value'=>$_POST['galleryview_frameheight'],
'conf_formtype'=>'hidden',
'conf_valuetype'=>'text'
);
@@ -107,19 +107,19 @@
}
- if(isset($_POST['slideshow_effectoption'])) {
+ if(isset($_POST['galleryview_tspeed'])) {
- if($xoopsModuleConfig['slideshow_effectoption'] != $_POST['slideshow_effectoption']) {
+ if($xoopsModuleConfig['galleryview_tspeed'] != $_POST['galleryview_tspeed']) {
$criteria = new CriteriaCompo();
$criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','slideshow_effectoption'));
+ $criteria->add(new Criteria('conf_name','galleryview_tspeed'));
$config = $configHandler->getConfigs($criteria);
$config = $config[0];
$configValue = array(
'conf_modid'=>$xoopsModule->getVar('mid'),
'conf_catid'=>0,
- 'conf_name'=>'slideshow_effectoption',
- 'conf_value'=>$_POST['slideshow_effectoption'],
+ 'conf_name'=>'galleryview_tspeed',
+ 'conf_value'=>$_POST['galleryview_tspeed'],
'conf_formtype'=>'hidden',
'conf_valuetype'=>'text'
);
@@ -129,19 +129,19 @@
}
- if(isset($_POST['slideshow_thumb'])) {
+ if(isset($_POST['galleryview_tterval'])) {
- if($xoopsModuleConfig['slideshow_thumb'] != $_POST['slideshow_thumb']) {
+ if($xoopsModuleConfig['galleryview_tterval'] != $_POST['galleryview_tterval']) {
$criteria = new CriteriaCompo();
$criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','slideshow_thumb'));
+ $criteria->add(new Criteria('conf_name','galleryview_tterval'));
$config = $configHandler->getConfigs($criteria);
$config = $config[0];
$configValue = array(
'conf_modid'=>$xoopsModule->getVar('mid'),
'conf_catid'=>0,
- 'conf_name'=>'slideshow_thumb',
- 'conf_value'=>$_POST['slideshow_thumb'],
+ 'conf_name'=>'galleryview_tterval',
+ 'conf_value'=>$_POST['galleryview_tterval'],
'conf_formtype'=>'hidden',
'conf_valuetype'=>'text'
);
@@ -151,19 +151,19 @@
}
- if(isset($_POST['slideshow_caption'])) {
+ if(isset($_POST['galleryview_overlayheight'])) {
- if($xoopsModuleConfig['slideshow_caption'] != $_POST['slideshow_caption']) {
+ if($xoopsModuleConfig['galleryview_overlayheight'] != $_POST['galleryview_overlayheight']) {
$criteria = new CriteriaCompo();
$criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','slideshow_caption'));
+ $criteria->add(new Criteria('conf_name','galleryview_overlayheight'));
$config = $configHandler->getConfigs($criteria);
$config = $config[0];
$configValue = array(
'conf_modid'=>$xoopsModule->getVar('mid'),
'conf_catid'=>0,
- 'conf_name'=>'slideshow_caption',
- 'conf_value'=>$_POST['slideshow_caption'],
+ 'conf_name'=>'galleryview_overlayheight',
+ 'conf_value'=>$_POST['galleryview_overlayheight'],
'conf_formtype'=>'hidden',
'conf_valuetype'=>'text'
);
@@ -173,19 +173,19 @@
}
- if(isset($_POST['slideshow_controller'])) {
+ if(isset($_POST['galleryview_opacity'])) {
- if($xoopsModuleConfig['slideshow_controller'] != $_POST['slideshow_controller']) {
+ if($xoopsModuleConfig['galleryview_opacity'] != $_POST['galleryview_opacity']) {
$criteria = new CriteriaCompo();
$criteria->add($moduleIdCriteria);
- $criteria->add(new Criteria('conf_name','slideshow_controller'));
+ $criteria->add(new Criteria('conf_name','galleryview_opacity'));
$config = $configHandler->getConfigs($criteria);
$config = $config[0];
$configValue = array(
'conf_modid'=>$xoopsModule->getVar('mid'),
'conf_catid'=>0,
- 'conf_name'=>'slideshow_controller',
- 'conf_value'=>$_POST['slideshow_controller'],
+ 'conf_name'=>'galleryview_opacity',
+ 'conf_value'=>$_POST['galleryview_opacity'],
'conf_formtype'=>'hidden',
'conf_valuetype'=>'text'
);
@@ -195,6 +195,225 @@
}
+ if(isset($_POST['galleryview_overlayfs'])) {
+
+ if($xoopsModuleConfig['galleryview_overlayfs'] != $_POST['galleryview_overlayfs']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_overlayfs'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_overlayfs',
+ 'conf_value'=>$_POST['galleryview_overlayfs'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_borderwidth'])) {
+
+ if($xoopsModuleConfig['galleryview_borderwidth'] != $_POST['galleryview_borderwidth']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_borderwidth'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_borderwidth',
+ 'conf_value'=>$_POST['galleryview_borderwidth'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_bordercolor'])) {
+
+ if($xoopsModuleConfig['galleryview_bordercolor'] != $_POST['galleryview_bordercolor']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_bordercolor'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_bordercolor',
+ 'conf_value'=>$_POST['galleryview_bordercolor'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_bgcolor'])) {
+
+ if($xoopsModuleConfig['galleryview_bgcolor'] != $_POST['galleryview_bgcolor']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_bgcolor'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_bgcolor',
+ 'conf_value'=>$_POST['galleryview_bgcolor'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_overlaycolor'])) {
+
+ if($xoopsModuleConfig['galleryview_overlaycolor'] != $_POST['galleryview_overlaycolor']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_overlaycolor'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_overlaycolor',
+ 'conf_value'=>$_POST['galleryview_overlaycolor'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_overlaytc'])) {
+
+ if($xoopsModuleConfig['galleryview_overlaytc'] != $_POST['galleryview_overlaytc']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_overlaytc'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_overlaytc',
+ 'conf_value'=>$_POST['galleryview_overlaytc'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_captiontc'])) {
+
+ if($xoopsModuleConfig['galleryview_captiontc'] != $_POST['galleryview_captiontc']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_captiontc'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_captiontc',
+ 'conf_value'=>$_POST['galleryview_captiontc'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_navtheme'])) {
+
+ if($xoopsModuleConfig['galleryview_navtheme'] != $_POST['galleryview_navtheme']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_navtheme'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_navtheme',
+ 'conf_value'=>$_POST['galleryview_navtheme'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_position'])) {
+
+ if($xoopsModuleConfig['galleryview_position'] != $_POST['galleryview_position']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_position'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_position',
+ 'conf_value'=>$_POST['galleryview_position'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
+
+ if(isset($_POST['galleryview_easing'])) {
+
+ if($xoopsModuleConfig['galleryview_easing'] != $_POST['galleryview_easing']) {
+ $criteria = new CriteriaCompo();
+ $criteria->add($moduleIdCriteria);
+ $criteria->add(new Criteria('conf_name','galleryview_easing'));
+ $config = $configHandler->getConfigs($criteria);
+ $config = $config[0];
+ $configValue = array(
+ 'conf_modid'=>$xoopsModule->getVar('mid'),
+ 'conf_catid'=>0,
+ 'conf_name'=>'galleryview_easing',
+ 'conf_value'=>$_POST['galleryview_easing'],
+ 'conf_formtype'=>'hidden',
+ 'conf_valuetype'=>'text'
+ );
+ $config->setVars($configValue);
+ $configHandler->insertConfig($config);
+ }
+
+ }
redirect_header("slideshow.php", 3, _AM_EXTGALLERY_CONFIGURATION_SAVED);
break;
@@ -210,39 +429,42 @@
$form = new XoopsThemeForm(_AM_EXTGALLERY_SLIDESHOW_CONF, 'slideshow_conf', 'slideshow.php', 'post', true);
- $form->addElement(new XoopsFormText(_AM_EXTGALLERY_SLIDESHOW_DELAY, 'slideshow_delay', '5', '5', $xoopsModuleConfig['slideshow_delay']),false);
- $form->addElement(new XoopsFormText(_AM_EXTGALLERY_SLIDESHOW_DURATION, 'slideshow_duration', '5', '5', $xoopsModuleConfig['slideshow_duration']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_PANELWIDE, 'galleryview_panelwidth', '5', '5', $xoopsModuleConfig['galleryview_panelwidth']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_PANELHEIGHT, 'galleryview_panelheight', '5', '5', $xoopsModuleConfig['galleryview_panelheight']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_FARMEWIDTH, 'galleryview_framewidth', '5', '5', $xoopsModuleConfig['galleryview_framewidth']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_FARMEHEIGHT, 'galleryview_frameheight', '5', '5', $xoopsModuleConfig['galleryview_frameheight']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_TSPEED, 'galleryview_tspeed', '5', '5', $xoopsModuleConfig['galleryview_tspeed']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_TTERVAL, 'galleryview_tterval', '5', '5', $xoopsModuleConfig['galleryview_tterval']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_OPACITY, 'galleryview_opacity', '5', '5', $xoopsModuleConfig['galleryview_opacity']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_OVERLYAHEIGHT, 'galleryview_overlayheight', '5', '5', $xoopsModuleConfig['galleryview_overlayheight']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_OVERLAYFS, 'galleryview_overlayfs', '5', '5', $xoopsModuleConfig['galleryview_overlayfs']),false);
+ $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_BORDERWIDTH, 'galleryview_borderwidth', '5', '5', $xoopsModuleConfig['galleryview_borderwidth']),false);
- $transTypeSelect = new XoopsFormSelect(_AM_EXTGALLERY_TRANSTYPE, 'slideshow_transtype',$xoopsModuleConfig['slideshow_transtype']);
- $transTypeSelect->addOption("default", _AM_EXTGALLERY_DEFAULT);
- $transTypeSelect->addOption("fold", _AM_EXTGALLERY_FOLD);
- $transTypeSelect->addOption("kenburns", _AM_EXTGALLERY_KENBURNS);
- $transTypeSelect->addOption("push", _AM_EXTGALLERY_PUSH);
- $form->addElement($transTypeSelect);
+ $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_BORDERCOLOR, 'galleryview_bordercolor', $xoopsModuleConfig['galleryview_bordercolor']),false);
+ $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_BGCOLOR, 'galleryview_bgcolor', $xoopsModuleConfig['galleryview_bgcolor']),false);
+ $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_OVERLAYCOLOR, 'galleryview_overlaycolor', $xoopsModuleConfig['galleryview_overlaycolor']),false);
+ $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_OVERLAYTC, 'galleryview_overlaytc', $xoopsModuleConfig['galleryview_overlaytc']),false);
+ $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_CAPTIONTC, 'galleryview_captiontc', $xoopsModuleConfig['galleryview_captiontc']),false);
- $effectTypeSelect = new XoopsFormSelect(_AM_EXTGALLERY_EFFECT_TYPE, 'slideshow_effecttype',$xoopsModuleConfig['slideshow_effecttype']);
- $effectTypeSelect->addOption("quad", _AM_EXTGALLERY_QUAD);
- $effectTypeSelect->addOption("cubic", _AM_EXTGALLERY_CUBIC);
- $effectTypeSelect->addOption("quart", _AM_EXTGALLERY_QUART);
- $effectTypeSelect->addOption("quint", _AM_EXTGALLERY_QUINT);
- $effectTypeSelect->addOption("expo", _AM_EXTGALLERY_EXPO);
- $effectTypeSelect->addOption("circ", _AM_EXTGALLERY_CIRC);
- $effectTypeSelect->addOption("sine", _AM_EXTGALLERY_SINE);
- $effectTypeSelect->addOption("back", _AM_EXTGALLERY_BACK);
- $effectTypeSelect->addOption("bounce", _AM_EXTGALLERY_BOUNCE);
- $effectTypeSelect->addOption("elastic", _AM_EXTGALLERY_ELASTIC);
- $form->addElement($effectTypeSelect);
-
- $effectOptionSelect = new XoopsFormSelect(_AM_EXTGALLERY_EFFECT_OPTION, 'slideshow_effectoption',$xoopsModuleConfig['slideshow_effectoption']);
- $effectOptionSelect->addOption("in", _AM_EXTGALLERY_IN);
- $effectOptionSelect->addOption("out", _AM_EXTGALLERY_OUT);
- $effectOptionSelect->addOption("in:out", _AM_EXTGALLERY_INOUT);
- $form->addElement($effectOptionSelect);
-
- $form->addElement(new XoopsFormRadioYN(_AM_EXTGALLERY_SS_THUMB, 'slideshow_thumb', $xoopsModuleConfig['slideshow_thumb']));
- $form->addElement(new XoopsFormRadioYN(_AM_EXTGALLERY_SS_CAPTION, 'slideshow_caption', $xoopsModuleConfig['slideshow_caption']));
- $form->addElement(new XoopsFormRadioYN(_AM_EXTGALLERY_SS_CONTROLLER, 'slideshow_controller', $xoopsModuleConfig['slideshow_controller']));
-
+ $navthemeSelect = new XoopsFormSelect(_AM_EXTGALLERY_GVIEW_NAVTHEME, 'galleryview_navtheme',$xoopsModuleConfig['galleryview_navtheme']);
+ $navthemeSelect->addOption("light", _AM_EXTGALLERY_GVIEW_LIGHT);
+ $navthemeSelect->addOption("dark", _AM_EXTGALLERY_GVIEW_DARK);
+ $navthemeSelect->addOption("custom", _AM_EXTGALLERY_GVIEW_CUSTOM);
+ $form->addElement($navthemeSelect);
+
+ $positionSelect = new XoopsFormSelect(_AM_EXTGALLERY_GVIEW_POSITION, 'galleryview_position',$xoopsModuleConfig['galleryview_position']);
+ $positionSelect->addOption("bottom", _AM_EXTGALLERY_GVIEW_BOTTOM);
+ $positionSelect->addOption("top", _AM_EXTGALLERY_GVIEW_TOP);
+ $form->addElement($positionSelect);
+
+ $easingSelect = new XoopsFormSelect(_AM_EXTGALLERY_GVIEW_EASING, 'galleryview_easing',$xoopsModuleConfig['galleryview_easing']);
+ $easingSelect->addOption("swing", _AM_EXTGALLERY_GVIEW_EASING_OP1);
+ $easingSelect->addOption("linear", _AM_EXTGALLERY_GVIEW_EASING_OP2);
+ $easingSelect->addOption("easeInOutBack", _AM_EXTGALLERY_GVIEW_EASING_OP3);
+ $easingSelect->addOption("easeInOutQuad", _AM_EXTGALLERY_GVIEW_EASING_OP4);
+ $easingSelect->addOption("easeOutBounce", _AM_EXTGALLERY_GVIEW_EASING_OP5);
+ $form->addElement($easingSelect);
+
$form->addElement(new XoopsFormHidden("op", 'enreg'));
$form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit"));
Modified: XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-27 22:49:47 UTC (rev 5661)
+++ XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2010-10-28 07:55:48 UTC (rev 5662)
@@ -17,7 +17,7 @@
- on Batch upload file name will be parsed and inserted into the title (davidenprossi)
- fixed many other minor issues (davidenprossi)
- Changed $ to moo in mootools-1.2.1.js and in slideshow libs for jquery compatability issues for xoops 2.5.0 (davidenprossi)
-- Add wysiwyg editors from xoopseditors
+- Add wysiwyg editors from xoopseditors (davidenprossi)
- Add display set order (voltan)
- Menu generated by system module (mageg - voltan)
- Add icons for menus (voltan)
@@ -26,7 +26,8 @@
- Add Ajax effects for show photos in public-useralbum : lightbox , overlay and normal (voltan)
- Add New Block : Ajax Gallery View (voltan)
- Fix bug : Block Top Submiter don't have block options and name (voltan)
-- Add album page in admin area for manage album effect options
+- Add album page in admin area for manage album effect options (voltan)
+- Change slideshow script from mootools to jquery and add galleryview script and options (voltan)
modinfo.php
_MI_EXTGAL_DISP_SET_ORDER (added)
Added: XoopsModules/extgallery/trunk/modules/extgallery/include/galleryview.css
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/include/galleryview.css (rev 0)
+++ XoopsModules/extgallery/trunk/modules/extgallery/include/galleryview.css 2010-10-28 07:55:48 UTC (rev 5662)
@@ -0,0 +1,8 @@
+li {
+ list-style-image: none !important;
+ list-style: none !important;
+}
+
+.galleryviewpo {
+ margin: 10px;
+}
\ No newline at end of file
Modified: XoopsModules/extgallery/trunk/modules/extgallery/public-slideshow.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/public-slideshow.php 2010-10-27 22:49:47 UTC (rev 5661)
+++ XoopsModules/extgallery/trunk/modules/extgallery/public-slideshow.php 2010-10-28 07:55:48 UTC (rev 5662)
@@ -40,31 +40,31 @@
$xoopsTpl->assign('xoops_pagetitle', $catObj->getVar('cat_name'));
$xoTheme->addMeta('meta','description',$catObj->getVar('cat_desc'));
-// Include for SlideShow
-$xoTheme->addStylesheet('modules/extgallery/include/slideshow/css/slideshow.css');
-$xoTheme->addScript('modules/extgallery/include/slideshow/js/Asset.js');
-$xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.js');
-if($xoopsModuleConfig['slideshow_transtype'] == 'fold') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.fold.js');
-} elseif($xoopsModuleConfig['slideshow_transtype'] == 'kenburns') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.kenburns.js');
-} elseif($xoopsModuleConfig['slideshow_transtype'] == 'push') {
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/Element.js');
- $xoTheme->addScript('modules/extgallery/include/slideshow/js/slideshow.push.js');
-}
-
$xoopsTpl->assign('extgalleryName', $xoopsModule->getVar('name'));
-$xoopsTpl->assign('slideshow_delay', $xoopsModuleConfig['slideshow_delay']);
-$xoopsTpl->assign('slideshow_duration', $xoopsModuleConfig['slideshow_duration']);
-$xoopsTpl->assign('slideshow_transtype', $xoopsModuleConfig['slideshow_transtype']);
-$xoopsTpl->assign('slideshow_effecttype', $xoopsModuleConfig['slideshow_effecttype']);
-$xoopsTpl->assign('slideshow_effectoption', $xoopsModuleConfig['slideshow_effectoption']);
-$xoopsTpl->assign('slideshow_thumb', $xoopsModuleConfig['slideshow_thumb']);
-$xoopsTpl->assign('slideshow_caption', $xoopsModuleConfig['slideshow_caption']);
-$xoopsTpl->assign('slideshow_controller', $xoopsModuleConfig['slideshow_controller']);
+//for galleryview
+$xoopsTpl->assign('galleryview_panelwidth', $xoopsModuleConfig['galleryview_panelwidth']);
+$xoopsTpl->assign('galleryview_panelheight', $xoopsModuleConfig['galleryview_panelheight']);
+$xoopsTpl->assign('galleryview_framewidth', $xoopsModuleConfig['galleryview_framewidth']);
+$xoopsTpl->assign('galleryview_frameheight', $xoopsModuleConfig['galleryview_frameheight']);
+$xoopsTpl->assign('galleryview_backgroundcolor', $xoopsModuleConfig['galleryview_bgcolor']);
+$xoopsTpl->assign('galleryview_transitionspeed', $xoopsModuleConfig['galleryview_tspeed']);
+$xoopsTpl->assign('galleryview_transitioninterval', $xoopsModuleConfig['galleryview_tterval']);
+$xoopsTpl->assign('galleryview_overlayheight', $xoopsModuleConfig['galleryview_overlayheight']);
+$xoopsTpl->assign('galleryview_overlaycolor', $xoopsModuleConfig['galleryview_overlaycolor']);
+$xoopsTpl->assign('galleryview_overlaytextcolor', $xoopsModuleConfig['galleryview_overlaytc']);
+$xoopsTpl->assign('galleryview_captiontextcolor', $xoopsModuleConfig['galleryview_captiontc']);
+$xoopsTpl->assign('galleryview_borderwidth', $xoopsModuleConfig['galleryview_borderwidth']);
+$xoopsTpl->assign('galleryview_bordercolor', $xoopsModuleConfig['galleryview_bordercolor']);
+$xoopsTpl->assign('galleryview_overlayopacity', $xoopsModuleConfig['galleryview_opacity']);
+$xoopsTpl->assign('galleryview_overlayfontsize', $xoopsModuleConfig['galleryview_overlayfs']);
+$xoopsTpl->assign('galleryview_navtheme', $xoopsModuleConfig['galleryview_navtheme']);
+$xoopsTpl->assign('galleryview_position', $xoopsModuleConfig['galleryview_position']);
+$xoopsTpl->assign('galleryview_easing', $xoopsModuleConfig['galleryview_easing']);
+
+
include(XOOPS_ROOT_PATH."/footer.php");
?>
\ No newline at end of file
Modified: XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html 2010-10-27 22:49:47 UTC (rev 5661)
+++ XoopsModules/extgallery/trunk/modules/extgallery/templates/extgallery_public-slideshow.html 2010-10-28 07:55:48 UTC (rev 5662)
@@ -1,46 +1,55 @@
+<head>
+<link rel="stylesheet" type="text/css" href="<{xoAppUrl browse.php?modules/extgallery/include/galleryview.css}>" />
+<script type="text/javascript" src="<{xoAppUrl browse.php?Frameworks/jquery/jquery.js}>"></script>
+<script type="text/javascript" src="<{xoAppUrl browse.php?modules/extgallery/include/galleryview.js}>"></script>
+<script type="text/javascript" src="<{xoAppUrl browse.php?modules/extgallery/include/timers.js}>"></script>
+<script type="text/javascript" src="<{xoAppUrl browse.php?modules/extgallery/include/easing.js}>"></script>
+<script type="text/javascript">
+ $(document).ready(function(){
+ $('#photos').galleryView({
+ panel_width: <{$galleryview_panelwidth}>,
+ panel_height: <{$galleryview_panelheight}>,
+ frame_width: <{$galleryview_framewidth}>,
+ frame_height: <{$galleryview_frameheight}>,
+ background_color: '<{$galleryview_backgroundcolor}>',
+ transition_speed: <{$galleryview_transitionspeed}>,
+ transition_interval: <{$galleryview_transitioninterval}>,
+ overlay_height: <{$galleryview_overlayheight}>,
+ overlay_color: '<{$galleryview_overlaycolor}>',
+ overlay_text_color: '<{$galleryview_overlaytextcolor}>',
+ caption_text_color: '<{$galleryview_captiontextcolor}>',
+ border: '<{$galleryview_borderwidth}>px solid <{$galleryview_bordercolor}>',
+ overlay_opacity: '<{$galleryview_overlayopacity}>',
+ overlay_font_size: '<{$galleryview_overlayfontsize}>',
+ nav_theme: '<{$galleryview_navtheme}>',
+ filmstrip_position: '<{$galleryview_position}>',
+ overlay_position: '<{$galleryview_position}>',
+ easing: '<{$galleryview_easing}>'
+ });
+ });
+</script>
+</head>
<div id="extgallery">
<a href="<{xoAppUrl modules/extgallery/}>"><{$extgalleryName}></a><{foreachq item=node from=$catPath name=breadcrumb}> <img src="images/breadcrumb-link.gif" alt="BreadCrumb" /> <a href="public-categories.php?id=<{$node.cat_id}>"><{$node.cat_name}></a><{/foreach}> <img src="images/breadcrumb-link.gif" alt="BreadCrumb" /> <{$cat.cat_name}>
- <script type="text/javascript">
- //<![CDATA[
- window.addEvent('domready', function(){
- var data = {
- <{foreachq item=photo from=$photos name=slideShowPhotos}>
- 'medium/<{$photo.photo_name}>': { caption: '<{$photo.photo_title|escape:'quotes'}>', href: '<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>' }<{if ! $smarty.foreach.slideShowPhotos.last}>,<{/if}>
+<div class="galleryviewpo" align="center">
+ <div id="photos" class="galleryview">
+ <{foreach item=photo from=$photos}>
+ <div class="panel">
+ <img width="<{$galleryview_panelwidth}>" height="<{$galleryview_panelheight}>" src="<{$xoops_url}>/uploads/extgallery/public-photo/medium/<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" />
+ <div class="panel-overlay">
+ <h2><{$photo.photo_title}></h2>
+ <{$photo.photo_desc}> <a href="<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>"><{$smarty.const._MB_EXTGALLERY_MOREINFO}></a></p>
+ </div>
+ </div>
+ <{/foreach}>
+ <ul class="filmstrip">
+ <{foreach item=photo from=$photos}>
+ <li><img width="<{$galleryview_framewidth}>" height="<{$galleryview_frameheight}>" src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_title}>" title="<{$photo.photo_title}>" /></li>
+ <{/foreach}>
+ </ul>
+ </div>
+</div>
- <{/foreach}>
- };
- <{if $slideshow_transtype == 'fold'}>
- var myShow = new Slideshow.Fold('show', data, {
- <{elseif $slideshow_transtype == 'kenburns'}>
- var myShow = new Slideshow.KenBurns('show', data, {
- <{elseif $slideshow_transtype == 'push'}>
- var myShow = new Slideshow.Push('show', data, {
- <{else}>
- var myShow = new Slideshow('show', data, {
- <{/if}>
- controller: <{$slideshow_controller}>,
- captions: <{$slideshow_caption}>,
- thumbnails: <{$slideshow_thumb}>,
- linked: false,
- overlap: false,
- delay: <{$slideshow_delay}>,
- duration: <{$slideshow_duration}>,
- transition: '<{$slideshow_effecttype}>:<{$slideshow_effectoption}>',
- height: 600,
- width: 600,
- resize: false,
- replace: [/^medium\/(.*)$/, 'thumb/thumb_$1'],
- hu: '<{$xoops_url}>/uploads/extgallery/public-photo'}
- );
-
- });
- //]]>
- </script>
-
- <div id="show" class="slideshow">
- <img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photos[0].photo_name}>" alt="<{$photos[0].photo_title|escape:'html'}>" />
- </div>
-<div style="margin-top: 115px;" />
<{include file='db:system_notification_select.html'}>
</div>
\ No newline at end of file
Modified: XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php 2010-10-27 22:49:47 UTC (rev 5661)
+++ XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php 2010-10-28 07:55:48 UTC (rev 5662)
@@ -447,67 +447,138 @@
$modversion['config'][$i]['formtype'] = 'hidden';
$modversion['config'][$i]['valuetype'] = 'int';
$modversion['config'][$i]['default'] = 5;
+
+// hidden effects for slideshow
$i++;
-$modversion['config'][$i]['name'] = 'slideshow_delay';
+$modversion['config'][$i]['name'] = 'galleryview_panelwidth';
$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
$modversion['config'][$i]['description'] = '';
$modversion['config'][$i]['formtype'] = 'hidden';
$modversion['config'][$i]['valuetype'] = 'int';
-$modversion['config'][$i]['default'] = 5000;
+$modversion['config'][$i]['default'] = 600;
$i++;
-$modversion['config'][$i]['name'] = 'slideshow_duration';
+$modversion['config'][$i]['name'] = 'galleryview_panelheight';
$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
$modversion['config'][$i]['description'] = '';
$modversion['config'][$i]['formtype'] = 'hidden';
$modversion['config'][$i]['valuetype'] = 'int';
-$modversion['config'][$i]['default'] = 1000;
+$modversion['config'][$i]['default'] = 400;
$i++;
-$modversion['config'][$i]['name'] = 'slideshow_transtype';
+$modversion['config'][$i]['name'] = 'galleryview_framewidth';
$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
$modversion['config'][$i]['description'] = '';
$modversion['config'][$i]['formtype'] = 'hidden';
+$modversion['config'][$i]['valuetype'] = 'int';
+$modversion['config'][$i]['default'] = 80;
+$i++;
+$modversion['config'][$i]['name'] = 'galleryview_frameheight';
+$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'hidden';
+$modversion['config'][$i]['valuetype'] = 'int';
+$modversion['config'][$i]['default'] = 60;
+$i++;
+$modversion['config'][$i]['name'] = 'galleryview_overlayheight';
+$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'hidden';
+$modversion['config'][$i]['valuetype'] = 'int';
+$modversion['config'][$i]['default'] = 62;
+$i++;
+$modversion['config'][$i]['name'] = 'galleryview_overlaycolor';
+$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'hidden';
$modversion['config'][$i]['valuetype'] = 'text';
-$modversion['config'][$i]['default'] = 'default';
+$modversion['config'][$i]['default'] = '#222222';
$i++;
-$modversion['config'][$i]['name'] = 'slideshow_effecttype';
+$modversion['config'][$i]['name'] = 'galleryview_borderwidth';
$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
$modversion['config'][$i]['description'] = '';
$modversion['config'][$i]['formtype'] = 'hidden';
+$modversion['config'][$i]['valuetype'] = 'int';
+$modversion['config'][$i]['default'] = 1;
+$i++;
+$modversion['config'][$i]['name'] = 'galleryview_bordercolor';
+$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'hidden';
$modversion['config'][$i]['valuetype'] = 'text';
-$modversion['config'][$i]['default'] = 'back';
+$modversion['config'][$i]['default'] = '#cccccc';
$i++;
-$modversion['config'][$i]['name'] = 'slideshow_effectoption';
+$modversion['config'][$i]['name'] = 'galleryview_navtheme';
$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
$modversion['config'][$i]['description'] = '';
$modversion['config'][$i]['formtype'] = 'hidden';
$modversion['config'][$i]['valuetype'] = 'text';
-$modversion['config'][$i]['default'] = 'in:out';
+$modversion['config'][$i]['default'] = 'light';
$i++;
-$modversion['config'][$i]['name'] = 'slideshow_caption';
+$modversion['config'][$i]['name'] = 'galleryview_position';
$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
$modversion['config'][$i]['description'] = '';
$modversion['config'][$i]['formtype'] = 'hidden';
+$modversion['config'][$i]['valuetype'] = 'text';
+$modversion['config'][$i]['default'] = 'bottom';
+$i++;
+$modversion['config'][$i]['name'] = 'galleryview_easing';
+$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'hidden';
+$modversion['config'][$i]['valuetype'] = 'text';
+$modversion['config'][$i]['default'] = 'swing';
+
+$i++;
+$modversion['config'][$i]['name'] = 'galleryview_bgcolor';
+$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'hidden';
+$modversion['config'][$i]['valuetype'] = 'text';
+$modversion['config'][$i]['default'] = '#000000';
+$i++;
+$modversion['config'][$i]['name'] = 'galleryview_tspeed';
+$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'hidden';
$modversion['config'][$i]['valuetype'] = 'int';
-$modversion['config'][$i]['default'] = 1;
+$modversion['config'][$i]['default'] = 1200;
$i++;
-$modversion['config'][$i]['name'] = 'slideshow_thumb';
+$modversion['config'][$i]['name'] = 'galleryview_tterval';
$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
$modversion['config'][$i]['description'] = '';
$modversion['config'][$i]['formtype'] = 'hidden';
$modversion['config'][$i]['valuetype'] = 'int';
-$modversion['config'][$i]['default'] = 1;
+$modversion['config'][$i]['default'] = 6000;
$i++;
-$modversion['config'][$i]['name'] = 'slideshow_controller';
+$modversion['config'][$i]['name'] = 'galleryview_overlaytc';
$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
$modversion['config'][$i]['description'] = '';
$modversion['config'][$i]['formtype'] = 'hidden';
-$modversion['config'][$i]['valuetype'] = 'int';
-$modversion['config'][$i]['default'] = 1;
+$modversion['config'][$i]['valuetype'] = 'text';
+$modversion['config'][$i]['default'] = '#ffffff';
+$i++;
+$modversion['config'][$i]['name'] = 'galleryview_captiontc';
+$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'hidden';
+$modversion['config'][$i]['valuetype'] = 'text';
+$modversion['config'][$i]['default'] = '#222222';
+$i++;
+$modversion['config'][$i]['name'] = 'galleryview_opacity';
+$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'hidden';
+$modversion['config'][$i]['valuetype'] = 'text';
+$modversion['config'][$i]['default'] = '0.6';
+$i++;
+$modversion['config'][$i]['name'] = 'galleryview_overlayfs';
+$modversion['config'][$i]['title'] = '_MI_EXTGAL_HIDDEN_FIELD';
+$modversion['config'][$i]['description'] = '';
+$modversion['config'][$i]['formtype'] = 'hidden';
+$modversion['config'][$i]['valuetype'] = 'text';
+$modversion['config'][$i]['default'] = '11px';
-
-
-
+// hidden effects for album
$i++;
$modversion['config'][$i]['name'] = 'use_ajax_effects';
$modversion['config'][$i]['title'] = '_MI_EXTGALLERY_USE_AJAX_EFFECTS';
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <kr...@us...> - 2010-10-27 22:49:54
|
Revision: 5661
http://xoops.svn.sourceforge.net/xoops/?rev=5661&view=rev
Author: kris_fr
Date: 2010-10-27 22:49:47 +0000 (Wed, 27 Oct 2010)
Log Message:
-----------
update editors_order.txt (add number for elrte editor)
Modified Paths:
--------------
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/editors_order.txt
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/editors_order.txt
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/editors_order.txt 2010-10-27 16:34:13 UTC (rev 5660)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/editors_order.txt 2010-10-27 22:49:47 UTC (rev 5661)
@@ -10,4 +10,5 @@
koivi ==> order 10
codemirror ==> order 11
editarea ==> order 12
+elrte ==> order 13
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <kr...@us...> - 2010-10-27 16:34:27
|
Revision: 5660
http://xoops.svn.sourceforge.net/xoops/?rev=5660&view=rev
Author: kris_fr
Date: 2010-10-27 16:34:13 +0000 (Wed, 27 Oct 2010)
Log Message:
-----------
Created Protector release for XOOPS 2.5.0
Added Paths:
-----------
XoopsModules/protector/releases/xoops-2.5.0/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/admin/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/admin/admin_menu.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/admin/index.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/blocks/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/blocks/blocks.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/blocks/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/images/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/images/dotdotdot.gif
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/images/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/index.css
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/index.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/module_icon.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/mytrustdirname.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/notification.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/notification_update.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/oninstall.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/onuninstall.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/onupdate.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/preload/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/preload/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/preloads/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/preloads/core.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/preloads/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/search.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/modules/protector/xoops_version.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/.htaccess
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/CHANGES
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/CHANGES_OLD
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/COPYING
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/MEMO_ja
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/README
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/README_PL.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/TODO
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/admin/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/admin/advisory.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/admin/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/admin/index.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/admin/mymenu.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/admin/prefix_manager.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/admin_menu.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/blocks/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/blocks/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/blocks.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/class/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/class/ProtectorFilter.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/class/ProtectorMysqlDatabase.class.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/class/gtickets.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/class/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/class/protector.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/class/registry.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/configs/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/configs/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/doc/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/doc/documentation_protector-3-10_french.pdf
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/doc/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/bruteforce_overrun_message.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/crawler_overrun_message.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/f5attack_overrun_message.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_deny_by_httpbl.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_deny_by_rbl.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4everyone.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4guest.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_need_multibyte.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_register_moratorium.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_register_insert_js_check.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/precommon_badip_errorlog.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/precommon_badip_message.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/precommon_badip_redirection.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/precommon_bwlimit_errorlog.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/precommon_bwlimit_message.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/prepurge_exit_message.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_disabled/spamcheck_overrun_message.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_enabled/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_enabled/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/filters_enabled/precommon_badip_message.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/images/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/images/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/images/module_icon.png
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/images/module_icon_old.png
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/include/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/include/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/include/install_extramodcheck.inc.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/include/postcheck.inc.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/include/postcheck_functions.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/include/precheck.inc.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/include/precheck_functions.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/include/version.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/arabic/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/arabic/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/arabic/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/arabic/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/arabic/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/de_utf8/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/de_utf8/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/de_utf8/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/de_utf8/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/de_utf8/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/english/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/english/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/english/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/english/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/english/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/fr_utf8/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/fr_utf8/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/fr_utf8/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/fr_utf8/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/fr_utf8/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/french/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/french/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/french/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/french/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/french/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/german/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/german/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/german/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/german/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/german/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/italian/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/italian/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/italian/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/italian/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/italian/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/ja_utf8/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/ja_utf8/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/ja_utf8/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/ja_utf8/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/ja_utf8/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/japanese/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/japanese/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/japanese/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/japanese/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/japanese/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/nederlands/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/nederlands/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/nederlands/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/nederlands/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/nederlands/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/persian/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/persian/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/persian/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/persian/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/persian/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/polish/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/polish/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/polish/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/polish/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/polish/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/portuguesebr/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/portuguesebr/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/portuguesebr/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/portuguesebr/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/portuguesebr/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/russian/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/russian/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/russian/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/russian/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/russian/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/schinese_utf8/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/schinese_utf8/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/schinese_utf8/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/schinese_utf8/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/schinese_utf8/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/spanish/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/spanish/admin.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/spanish/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/spanish/main.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/language/spanish/modinfo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/CREDITS
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrCollections.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/AlphaValue.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/Background.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/Border.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/Color.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/Composite.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/Filter.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/Font.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/FontFamily.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/ImportantDecorator.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/Length.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/ListStyle.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/Multiple.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/Number.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/Percentage.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/TextDecoration.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/URI.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/Enum.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/Bool.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/Class.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/Color.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/FrameTarget.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/ID.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/Length.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/LinkTypes.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/MultiLength.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/Pixels.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/Integer.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/Lang.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/Switch.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/Text.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/URI/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/URI/Email/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/URI/Email/SimpleCheck.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/URI/Email/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/URI/Email.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/URI/Host.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/URI/IPv4.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/URI/IPv6.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/URI/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/URI.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/Background.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/BdoDir.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/BgColor.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/BoolToCSS.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/Border.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/EnumToCSS.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/ImgRequired.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/ImgSpace.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/Input.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/Lang.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/Length.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/Name.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/NameSync.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/SafeEmbed.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/SafeObject.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/SafeParam.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/ScriptRequired.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/Textarea.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTransform.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrTypes.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrValidator.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Bootstrap.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/CSSDefinition.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ChildDef/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ChildDef/Chameleon.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ChildDef/Custom.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ChildDef/Empty.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ChildDef/Optional.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ChildDef/Required.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ChildDef/StrictBlockquote.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ChildDef/Table.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ChildDef/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ChildDef.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Config.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigDef/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigDef/Directive.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigDef/DirectiveAlias.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigDef/Namespace.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigDef/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigDef.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/Builder/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/Builder/Xml.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/Builder/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/Exception.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/Interchange/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/Interchange/Directive.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/Interchange/Id.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/Interchange/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/Interchange.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/InterchangeBuilder.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/Validator.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/ValidatorAtom.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedClasses.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedFrameTargets.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRel.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRev.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.ClassUseCDATA.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultImageAlt.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImage.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImageAlt.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultTextDir.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.EnableID.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.ForbiddenClasses.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklist.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklistRegexp.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefix.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.AutoParagraph.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Custom.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.DocURL.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowImportant.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowTricky.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowedProperties.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/CSS.Proprietary.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyFixLt.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.Encoding.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidChildren.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.Language.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.MaintainLineNumbers.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveInvalidImg.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Escaping.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.TidyImpl.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedAttributes.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.Attr.Name.UseCDATA.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.CoreModules.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.Parent.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeEmbed.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyRemove.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.Trusted.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/HTML.XHTML.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Output.CommentScriptContents.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Output.TidyFormat.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.Base.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.Host.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema/info.ini
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema/schema.ser
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ConfigSchema.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ContentSets.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Context.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Definition.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Decorator/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Decorator/Cleanup.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Decorator/Memory.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Decorator/Template.php.in
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Decorator/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Decorator.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Null.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Serializer/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Serializer/CSS/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Serializer/CSS/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Serializer/HTML/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Serializer/HTML/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Serializer/README
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Serializer/Test/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Serializer/Test/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Serializer/URI/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Serializer/URI/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Serializer/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Serializer.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCacheFactory.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Doctype.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DoctypeRegistry.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ElementDef.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Encoder.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/EntityLookup/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/EntityLookup/entities.ser
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/EntityLookup/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/EntityLookup.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/EntityParser.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Error.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ErrorCollector.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/ErrorStruct.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Exception.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Filter/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Filter/ExtractStyleBlocks.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Filter/YouTube.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Filter/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Filter.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Generator.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLDefinition.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Bdo.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/CommonAttributes.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Edit.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Forms.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Hypertext.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Image.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Legacy.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/List.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Name.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/NonXMLCommonAttributes.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Object.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Presentation.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Proprietary.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Ruby.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/SafeEmbed.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/SafeObject.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Scripting.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/StyleAttribute.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Tables.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Target.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Text.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Tidy/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Tidy/Name.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Tidy/Proprietary.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Tidy/Strict.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Tidy/Transitional.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Tidy/XHTML.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Tidy/XHTMLStrict.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Tidy/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/Tidy.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/XMLCommonAttributes.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModuleManager.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/IDAccumulator.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Injector/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Injector/AutoParagraph.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Injector/DisplayLinkURI.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Injector/Linkify.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Injector/PurifierLinkify.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Injector/RemoveEmpty.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Injector/SafeObject.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Injector/index.html
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Injector.php
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Language/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Language/classes/
XoopsModules/protector/releases/xoops-2.5.0/htdocs/xoops_lib/modules/protector...
[truncated message content] |
|
From: <ma...@us...> - 2010-10-27 16:00:40
|
Revision: 5659
http://xoops.svn.sourceforge.net/xoops/?rev=5659&view=rev
Author: mageg
Date: 2010-10-27 16:00:34 +0000 (Wed, 27 Oct 2010)
Log Message:
-----------
harmonize tab style in admin for xoops 2.5.0
Modified Paths:
--------------
XoopsModules/protector/trunk/htdocs/xoops_lib/modules/protector/admin/mymenu.php
XoopsModules/protector/trunk/htdocs/xoops_lib/modules/protector/xoops_version.php
Modified: XoopsModules/protector/trunk/htdocs/xoops_lib/modules/protector/admin/mymenu.php
===================================================================
--- XoopsModules/protector/trunk/htdocs/xoops_lib/modules/protector/admin/mymenu.php 2010-10-26 21:09:58 UTC (rev 5658)
+++ XoopsModules/protector/trunk/htdocs/xoops_lib/modules/protector/admin/mymenu.php 2010-10-27 16:00:34 UTC (rev 5659)
@@ -77,12 +77,14 @@
$adminmenu[$i]['link'] = XOOPS_URL."/modules/$mydirname/" . $adminmenu[$i]['link'] ;
}
}
-
+// start hack by Mage
+/*
// display (you can customize htmls)
echo "<div style='text-align:left;width:98%;'>" ;
foreach( $adminmenu as $menuitem ) {
echo "<div style='float:left;height:1.5em;'><nobr><a href='".htmlspecialchars($menuitem['link'],ENT_QUOTES)."' style='background-color:{$menuitem['color']};font:normal normal bold 9pt/12pt;'>".htmlspecialchars($menuitem['title'],ENT_QUOTES)."</a> | </nobr></div>\n" ;
}
echo "</div>\n<hr style='clear:left;display:block;' />\n" ;
-
+*/
+// end hack by Mage
?>
\ No newline at end of file
Modified: XoopsModules/protector/trunk/htdocs/xoops_lib/modules/protector/xoops_version.php
===================================================================
--- XoopsModules/protector/trunk/htdocs/xoops_lib/modules/protector/xoops_version.php 2010-10-26 21:09:58 UTC (rev 5658)
+++ XoopsModules/protector/trunk/htdocs/xoops_lib/modules/protector/xoops_version.php 2010-10-27 16:00:34 UTC (rev 5659)
@@ -29,6 +29,12 @@
$modversion['iconsmall'] = 'module_icon.php?file=iconsmall' ;
$modversion['dirname'] = $mydirname ;
+// start hack by Mage
+// Admin menu
+// Set to 1 if you want to display menu generated by system module
+$modversion['system_menu'] = 1 ;
+// end hack by Mage
+
// Any tables can't be touched by modulesadmin.
$modversion['sqlfile'] = false ;
$modversion['tables'] = array() ;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <and...@us...> - 2010-10-26 21:10:05
|
Revision: 5658
http://xoops.svn.sourceforge.net/xoops/?rev=5658&view=rev
Author: andrey3761
Date: 2010-10-26 21:09:58 +0000 (Tue, 26 Oct 2010)
Log Message:
-----------
Modified Paths:
--------------
XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/help_center.html
XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/images.html
XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/mailusers.html
XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/maintenance.html
XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/module_index.html
XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/preferences.html
XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/smilies.html
XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/userrank.html
XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/users.html
Modified: XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/help_center.html
===================================================================
--- XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/help_center.html 2010-10-26 17:11:47 UTC (rev 5657)
+++ XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/help_center.html 2010-10-26 21:09:58 UTC (rev 5658)
@@ -1,20 +1,25 @@
<div id="help-template" class="outer">
-<h2 class="head">Welcome to: XOOPS Help center</h2>
+<h2 class="head">Добро пожаловать: Центр помощи XOOPS</h2>
-<h4 class="odd">How do I use XOOPS?</h4>
-<p class="even">XOOPS is a web application platform written in PHP for the MySQL database. Its object orientation makes it an ideal tool for developing small or large community websites, intra company and corporate portals, weblogs and much more. In order to use XOOPS effectively, you need to install modules that provide the functionality that you're looking for. There are many different modules in our <a href="http://www.xoops.org/modules/repository/"> Module Repository</a>, from calendars, photo galleries, through news, bulletin boards, to weather updates.</p>
+<h4 class="odd">Как использовать XOOPS?</h4>
+<p class="even">XOOPS - это динамический OO (Объектно-Ориентированный) основанный на открытом исходном коде скрипт портала, написанный на PHP, с поддержкой базы данных MySQL, XOOPS - это идеальный инструмент для создания небольших высоко-динамичных сообществ вэб-сайтов, внутренних порталов компании, корпоративных порталов, web-публикаторов и многого другого.
+ Чтобы использовать XOOPS эффективнее, Вы должны установить модули, которые обеспечивают лучшую функциональность. В нашем <a href="http://www.xoops.org/modules/repository/"> Репозитарии </a>, вы можете найти различные модули:фотогалереи, новости, доски объявлений, форумы и т.д..
+</p>
-<h4 class="odd">How do I use the Help Center?</h4>
-<p class="even">The Help Center is to provide you with basic information related to individual features of the Administration. Whenever you would like to know more about particular page you are on, just click the help icon in the right hand corner</p>
+<h4 class="odd">Как использовать Центр помощи?</h4>
+<p class="even"Центр помощи должен предоставить Вам основную информацию, связанную с отдельными разделами админпанели. Всякий раз, когда Вы хотите узнать больше об странице, щелкните по значку справки в углу справа
+</p>
-<h4 class="odd">How I can create content in XOOPS?</h4>
-<p class="even">You'll need a module for it. This could be a News module, or a Content module. </p>
+<h4 class="odd">Как создать контент в XOOPS?</h4>
+<p class="even">Вам нужен для этого модуль. Это может быть модуль News, или модуль Content. </p>
-<h4 class="odd">How I install FileManager plugin?</h4>
-<p class="even">To install the FileManager Plugin, you need to follow these steps: (more to come)</p>
+<h4 class="odd">Как установить плагин FileManager?</h4>
+<p class="even">Чтобы установить Плагин FileManager, Вы должны выполнить следующее: (узнать больше)
-<h4 class="odd">How I can get more help?</h4>
-<p class="even">Please visit our Support Forums at: <a href="http://xoops.org/modules/newbb">http://xoops.org/modules/newbb</a> </p>
+To install the FileManager Plugin, you need to follow these steps: (more to come)</p>
+<h4 class="odd">Как получить больше помощи?</h4>
+<p class="even">Пожалуйста, посетите форум поддержки: <a href="http://xoops.org/modules/newbb">http://xoops.org/modules/newbb</a> </p>
+
</div>
\ No newline at end of file
Modified: XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/images.html
===================================================================
--- XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/images.html 2010-10-26 17:11:47 UTC (rev 5657)
+++ XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/images.html 2010-10-26 21:09:58 UTC (rev 5658)
@@ -1,12 +1,11 @@
<div id="help-template" class="outer">
-<h1 class="head">Help: Image Manager</h1>
+<h1 class="head">Справка: Менеджер изображений</h1>
-<h4 class="odd">Description</h4>
+<h4 class="odd">Описание</h4>
<p class="even">
-The Image Manager is a tool that enables people to upload, organize and retrieve images for use throughout the site. You must configure the image manager before you can use it - this involves creating some categories to store your images and setting preferences on issues such as maximum image dimensions, file size and user group access rights. Each category is configured separately.<br /><br />
+Менеджер изображений - инструмент, который позволяет пользователям загружать, организовать и получать изображения для использования на сайте. Прежде чем использовать, Вы должны сконфигурировать менеджера изображений, - необходимо создать несколько категорий для сохранения изображений, установить максимальные размеры изображения, размер файла и права доступа группы пользователей. Каждая категория сконфигурирована отдельно.<br /><br />
+Изображения могут быть категоризированы и загружены непосредственно в менеджер изображений через браузер одним щелчком мышки, включая легкую вставку изображений в новостные статьи и другой контент. Есть обширная система разрешений, управляющая размерами изображений, размером файла и доступом групп пользователей к различным категориям.
-Images can be categorized and uploaded directly into the images manager through a browser in this window with one click of a button, enabling easy insertion of images into news articles and other content. There is an extensive permission system controlling image dimensions, file size and access of user groups to different categories.
-
</p>
</div>
Modified: XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/mailusers.html
===================================================================
--- XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/mailusers.html 2010-10-26 17:11:47 UTC (rev 5657)
+++ XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/mailusers.html 2010-10-26 21:09:58 UTC (rev 5658)
@@ -1,11 +1,14 @@
<div id="help-template" class="outer">
-<h1 class="head">Help: Mail Users</h1>
-<h4 class="odd">Description</h4>
+<h1 class="head">Справка: E-mail для пользователей</h1>
+<h4 class="odd">Описание</h4>
-<p class="even">
-XOOPS has a built in messaging system that enables you to send a message to your entire registered user base or subgroups thereof, or using date filters. This can be in the form of a private message (i.e. through the XOOPS built-in messaging system) or through an email. A range of options is available for filtering out subgroups of users from your membership.<br /><br />
-
-You can also use predefined tags that will enable you to personalize your message.
+<p class="even"> В XOOPS есть возможность рассылки сообщений всем зарегистрированным пользователям или определенной группе, или по фильтру последнего входа в систему. Рассылка может быть осуществлена как форме личного сообщения (то есть через встроенную систему обмена сообщениями XOOPS) так и через электронную почту.
+<br /><br />
+Вы можете использовать предопределенные теги, которые позволят Вам персонализировать свое сообщение.<br>
+К примеру:<br>
+Здравствуйте {X_UNAME}. <br> На ваш e-mail {X_UEMAIL} отправлено письмо с активацией. Для продолжения активации пройдите по ссылке {X_UACTLINK}<br><br>
+Будет отправлено письмо с текстом:<br>
+Здравствуйте НИК. <br> На ваш e-mail ni...@ma... отправлено письмо с активацией. Для продолжения активации пройдите по ссылке http://вашсайт/ссылка<br>
</p>
</div>
Modified: XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/maintenance.html
===================================================================
--- XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/maintenance.html 2010-10-26 17:11:47 UTC (rev 5657)
+++ XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/maintenance.html 2010-10-26 21:09:58 UTC (rev 5658)
@@ -1,15 +1,13 @@
<div id="help-template" class="outer">
-<h1 class="head">Help: Maintenance</h1>
-<h4 class="odd">Description</h4>
+<h1 class="head">Справка: Техническое обслуживание</h1>
+<h4 class="odd">Описание</h4>
<p class="even">
-Maintenance provides several basic functions to help you in mantaining your XOOPS installation and keep it healthy:<br /><br />
+Техническое обслуживание обеспечивает несколько основных функций для поддержания вашего сайта в рабочем состоянии:<br /><br />
+- очистка папок кеша<br />
+- очистка таблицы сессий<br />
+- обслуживание таблиц базы данных (анализ, проверка, оптимизация и востановление)<br /><br />
+Вы можете также создать дамп всей базы данных или отдельных её таблиц.
-- clean cache folder<br />
-- empty the session table<br />
-- perform maintenance of the database tables (analyze, check, optimize, and repair) <br /><br />
-
-You can also perform a "Dump" of the whole database or individual tables for backup purposes.
-
</div>
\ No newline at end of file
Modified: XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/module_index.html
===================================================================
--- XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/module_index.html 2010-10-26 17:11:47 UTC (rev 5657)
+++ XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/module_index.html 2010-10-26 21:09:58 UTC (rev 5658)
@@ -1,7 +1,7 @@
<div id="help-template" class="outer">
-<h2 class="head">Welcom to: System module</h2>
-<h4 class="odd">Description</h4>
-<p class="even">For administration of core settings of the site.</p>
-
+<h2 class="head">Добро пожаловать: Модуль системы</h2>
+<h4 class="odd">Описание</h4>
+<p class="even">Для администрирования основных настроек сайта.</p>
+
</div>
\ No newline at end of file
Modified: XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/preferences.html
===================================================================
--- XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/preferences.html 2010-10-26 17:11:47 UTC (rev 5657)
+++ XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/preferences.html 2010-10-26 21:09:58 UTC (rev 5658)
@@ -1,60 +1,57 @@
<div id="help-template" class="outer">
-<h1 class="head">Help: Preferences</h1>
-<h4 class="odd">Description</h4>
+<h1 class="head">Справка: Конфигурация</h1>
+<h4 class="odd">Описание</h4>
<p class="even">
-The preference panels are where you configure your site-wide preferences. It is worth taking the time to work through them as some settings can have a significant impact on the performance, security and ease of use of your site.
+Панель конфигурации - то место, где Вы конфигурируете настройки всего сайта. Стоит уделить настройкам некоторое время, поскольку некоторые настройки могут оказать значительное влияние на работу, безопасность и простоту использования Вашего сайта.
+
</p>
-<h4 class="odd">General Settings</h4>
+<h4 class="odd">Основные настройки</h4>
<p class="even">
-These are the most important and most frequently accessed preferences. You will set the Site name and the Slogan for your Website. You'll also select the default Theme and Admin GUI. And if you need to work on your Website, you can close it for all users. You can also set Module-wide Cache times.
+Настройки, к которым обращаются чаще всего. Здесь вы прописываете название вашего сайтаи его девиз. Вы также можете выбрать тему по умолчанию и тему админки. И если вам необходимо поработать над сайтом, Вы можете закрыть его для всех пользователей. Вы можете также установить время Кэша всех модулей.
</p>
-<h4 class="odd">Meta Tags and Footer</h4>
+<h4 class="odd">МЕТА-теги и нижний колонтитул</h4>
<p class="even">
-Meta tags provide information about your information – they describe the nature of your website. Their main use is to help search engines and their robots to index your website correctly, i.e. to help the right people find it. The information you supply is included in the header of each webpage. It should represent the content of the site as a whole - the meta information is the same on every page, it currently cannot be customised for different modules or pages.<br /><br />
+МЕТА-теги предоставляют информацию о вашем сайте - они описывают теги вашего сайта. Их основное использование - помочь поисковым системам и их роботам правильно индексировать ваш сайт, то есть помочь нужным людям найти информацию. Информация, которую Вы добавляете, будет включена в заголовок каждой страницы.
+<br /><br />
+Знайте, что главные поисковые системы используют различные стратегии индексации веб-сайтов. Они могут использовать различную информацию из МЕТА-тегов или даже проигнорировать их полностью. Осторожное использование метаинформации может помочь Вашему сайту получить лучший рейтинг поисковых систем.<br /><br />
+Попытайтесь быть точными и честными в обеспечении метаинформации. Не пытайтесь 'управлять' поисковыми системами, чтобы получить лучший рейтинг - они могут вычислить вас, и Ваш сайт может упасть в рейтинге или попасть в черный список.
-Be aware that the major search engines use different strategies for indexing websites. They may place different weightings on meta tags or even ignore them completely. Careful use of meta information may help your website to gain better search engine rankings and it is useful to seek information on the indexing strategies of your dominant referrers (see your website logfile). This may help you to optimise your meta information or other aspects of your site design and content to improve your rankings. <br /><br />
-
-Try to be accurate and honest in providing meta information. Don’t try to ‘<em>manipulate</em>’ search engines to gain a better ranking – they may recognise this behaviour and your site may be downgraded or blacklisted from their index.
-
</p>
-<h4 class="odd">Word Censoring Options</h4>
+<h4 class="odd">Параметры цензуры слов</h4>
<p class="even">
-XOOPS can automatically censor undesirable words that may be posted by visitors to your site and replace them with a generic, alternative term of your choice. The censorship function does consume some system resources and may slow your site somewhat. It is disabled by default.<br /><br />
+XOOPS может автоматически подвергнуть цензуре нежелательные слова, которые могут быть отправлены посетителями Вашего сайта и заменить их другим словом. Функция цензуры потребляет некоторые системные ресурсы и может немного замедлить сайт. По умолчанию отключено.
+<br /><br />
+Чтобы осуществить цензуру на Вашем сайте установите "Разрешить цензуру нежелательных слов?" в "Да". Вы должны ввести список нежелательных слов в поле‘Слова для цензуры’, d качестве разделите используйте символ |. Введенные слова нечувствительны к регистру. Введите подходящее слово в поле "Плохие слова будут заменены на:". Значение по умолчанию #OOPS#.
-To implement censorship on your site select the ‘<em>enable</em>’ radio button. You need to enter a list of unwanted words in the ‘<em>words to censor</em>’ box, separating them with the pipe character. This function is case insensitive. Enter a suitable replacement term in the ‘<em>replace bad words with</em>’ box. The default is #OOPS#.
-
</p>
-<h4 class="odd">Search Options</h4>
+<h4 class="odd">Настройка поиска</h4>
<p class="even">
-The search facility is one of the most important tools for locating information in a portal website. The XOOPS search categorises results by module – records are identified as news items, downloads, links or other types as per the modules you have installed. <br /><br />
+Средство поиска - один из самых важных инструментов для того, чтобы определить местонахождение информации в портальном веб-сайте. Поиск XOOPS категоризирует результаты по модулям - отчеты идентифицированы как сообщения печати, загрузки, ссылки или другие типы согласно модулям, которые Вы установили.
+<br /><br />
+Глобальный поиск всех ресурсов на Вашем сайте включен по умолчанию. Если Вы отключите глобальный поиск, то это средство больше не будет доступно, и блок поиска станет нефункциональным.
+Длина слова по умолчанию для поиска - пять символов. Будут проигнорированы любые слова короче пяти символов. Это полезно для управления точностью поиска, короткие ключевые слова имеют тенденцию быть более распространенными, таким образом, они имеют тенденцию возвращать большее число отчетов, многие из которых могут быть не важными. Более длинные ключевые слова имеют тенденцию получать меньше отчетов, но с более высокой степенью точности.
+.<br /><br />
-Global searches of all resources on your site are enabled by default. If you disable global searches this facility will no longer be available and the search block will become non-functional.
-The default minimum keyword length for searches is five characters. Any terms that are shorter will be ignored. This is useful for controlling the precision of searches, though not much use for terms like “site map”. Short keywords tend to be more common so they tend to return a greater number of records, many of which may be irrelevant. Longer keywords tend to retrieve fewer records but with a higher degree of precision.<br /><br />
-
-Searching is relatively expensive in computational terms and so excluding short terms will reduce the load on the server. However, bear in mind that sometimes it is useful to be able to search for a short term.
-
</p>
-
-<h4 class="odd">Mail Setup</h4>
+<h4 class="odd">Настройка почты</h4>
<p class="even">
-This section of the control panel is used to configure your email for the system. It is recommended that you leave the Mail Delivery Method on the default setting “PHP (mail)”. You do not need to fill in the Sendmail or SMTP fields unless you use an alternative mail delivery option.
+Этот раздел управления используется для конфигурации почты для системы. Рекомендуется, чтобы Вы оставили Метод Доставки почты по умолчанию на “PHP mail()”. Вы не должны заполнять области Sendmail или SMTP, если Вы не используете альтернативную опцию доставки почты.
</p>
-<h4 class="odd">Authentication Options</h4>
+<h4 class="odd">Настройки аутентификации</h4>
<p class="even">
-Just leave it at Xoops Database and you can ignore all the other options in there.<br /><br />
-
-LDAP or Microsoft Active directory servers have been added for authentification as an alternate to the normal Xoops users. The reason is that in many company you already have a user database in ADS or LDAP and they can use that to logon to Xoops and don´t have to register yet another account.
+Выберите База данных XOOPS, и можете проигнорировать все другие опции.<br /><br />
+LDAP или серверы каталогов Microsoft Active были добавлены для аутентификации как замена нормальным пользователям Xoops. Причина состоит в том, что во многих компания уже есть пользовательская база данных ADS или LDAP, и они могут использовать эти настройки, чтобы войти в систему Xoops и не должны зарегистрировать еще одну учетную запись.
</p>
-<h4 class="odd">System Module Settings</h4>
+<h4 class="odd">Конфигурация модуля системы</h4>
<p class="even">
-Here you can activate/deactivate each of the System sections, as well as specify system-wide defaults, e.g. for number of displayed avatars or images per page. You can also select a default editor for blocks, comments, and for all modules.
+Здесь Вы можете активировать/деактивировать каждый из Системных разделов, так же как определить значения по умолчанию в масштабе всей системы, например, для числа выведенных аватаров или изображений на страницу. Вы можете также выбрать редактор по умолчанию для блоков, комментариев, и для всех модулей.
</p>
</div>
\ No newline at end of file
Modified: XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/smilies.html
===================================================================
--- XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/smilies.html 2010-10-26 17:11:47 UTC (rev 5657)
+++ XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/smilies.html 2010-10-26 21:09:58 UTC (rev 5658)
@@ -1,13 +1,14 @@
<div id="help-template" class="outer">
-<h1 class="head">Help: Smilies</h1>
+<h1 class="head">Справка: Смайлики</h1>
-<h4 class="odd">Description</h4>
+<h4 class="odd">Описание</h4>
<p class="even">
-Smiles are little graphic symbols that people can use to express themselves. They can be inserted anywhere in the text of an article, comment or post from both the user and admin sides of the system. XOOPS ships with a collection of 17 smilies built in. Some of these are displayed on the submission forms in various modules (including forums, news, downloads, links and others). Clicking on a smilie will insert it into the post. Smilies can also be inserted by typing in their unique ‘codes’ (keyboard shortcuts), for example typing ':' '-' 'D' in a post will insert this smilie: <img src="http://www.xoops.org/uploads/smil42e7a3d4c7b9f.gif" alt=""/> <br /><br />
+Смайлики - это небольшие графические иконки, которые Вы можете добавлять в Свои Сообщения для более яркой передачи своих эмоций, чувств, таких как смех, радость, злость. XOOPS поставляется с набором из 17 встроенных смайликов. Некоторые из них выведены в формах добавления в различных модулях (включая форумы, новости, загрузки, ссылки и других). При щелчке по смайлику вы вставите его в сообщение. Смайлик может быть добавлен, если написать его уникальный 'код', например, если ввести ':' '-' 'D', то в сообщении будет выведен такой вот смайлик:<img src="http://www.xoops.org/uploads/smil42e7a3d4c7b9f.gif" alt=""/> <br /><br />
-The full list of smilies available on your system and their codes is accessible through the Smilies, which is where you're now. Here you can add, edit and delete smilies, and control which are displayed on submission forms (only nine of the 17 are displayed by default)<br /><br />
+Полный список смайликов, доступных в Вашей системе и их коды, доступны ниже. Здесь Вы можете добавить, отредактировать и удалить смайлики, а так же выбрать, выводить его или нет в ворме добавления комментариев.<br /><br />
-If you don’t want smilies on your system, you can either uncheck the “display in form?” box (in which case they won’t appear on submission forms, but will still be available via their codes), or use the delete link to remove them entirely.
+Если Вы не хотите иметь смайлики в своей системе, Вы можете отключить их в формах добавления - поле 'Разрешить смайлики', или же нажать 'удалить', чтобы удалить их полностью.
+
</p>
</div>
Modified: XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/userrank.html
===================================================================
--- XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/userrank.html 2010-10-26 17:11:47 UTC (rev 5657)
+++ XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/userrank.html 2010-10-26 21:09:58 UTC (rev 5658)
@@ -1,17 +1,17 @@
<div id="help-template" class="outer">
-<h1 class="head">Help: User Ranks</h1>
-<h4 class="odd">Description</h4>
+<h1 class="head">Справка: Ранги пользователей</h1>
+<h4 class="odd">Описание</h4>
<p class="even">
-User Ranks allow you to give people some ‘<em>status</em>’ based on either their role or level of participation in the community. It is important to note that user ranks are functionally irrelevant - they *do not* confer any extra privileges or administrative rights at all – they are just titles. User access rights are actually controlled elsewhere (through the Groups section of the control panel). If you assign someone the Webmaster user rank but forget to also assign them to the Webmaster user group (a common mistake) they may look cool but they won’t be able to administer the site !<br /><br />
+Ранги пользователей позволяют Вам дать людям некоторый '<em>статус</em>', основанный или на их роли или на уровне участия в сообществе. Пользовательскими правами доступа фактически управляют в другом месте (через Групповой раздел панели управления). Если Вы назначаете кому-то ранг Веб-мастера, то не забывайте также назначать им группу Веб-мастера (частая ошибка), иначе они не смогут управлять сайтом!
+<br /><br />
+'<em>Обычные</em>' ранги увеличиваются на основе сообщений на форуме, при добавлении комментариев, при добавлении статей и т.д. Ранги пользователя увеличиваются при переходе определенного уровня сообщений, и они имеют право на следующий уровень. XOOPS поставляется со следующими рангами по умолчанию: Новичок; Пишущий редко; Пишущий регулярно; Редко уходящий отсюда; Местный житель.<br />
+XOOPS также поставляетcя с двумя ‘<em>специальными</em>' рангами: Модератор и Администратор. Специальные ранги отличаются тем, что их их можно назначить пользователям независимо от числа сообщений, которые они добавили. Типичное использование специальных рангов используется для выделения людей, выполняющих различные административные функции.<br /><br />
+Ссылка '<em>Редактировать ранг</em>' позволяет Вам изменить название ранга, изменить минимальное / максимальное количество сообщений для пребывания в этом ранге, присвоить '<em>специальный</em>' ранг (или отключить), загрузить новое изображение ранга. Вы можете удалить ненужные ранги (ссылка '<em>Удалить ранг</em>'). <br /><br />
-‘<em>Normal</em>’ ranks are assigned on the basis of the number of forum posts and comments a user has made. A user’s rank will change as they make enough posts to qualify for the next level. XOOPS ships with the following default ranks: Just popping in; Not too shy to talk; Quite a regular; Just can’t stay away; and Home away from home.
-XOOPS also ships with two ‘<em>special ranks</em>’: Moderator and Webmaster. Special ranks differ in that they can be assigned to users irrespective of the number of posts they have made. A typical use of special ranks is to give recognition to people performing various administrative functions.<br /><br />
-
-The ‘<em>edit</em>’ link allows you to change the name of a rank, to alter the minimum / maximum number of posts needed to qualify, to designate it as a ‘<em>special</em>’ rank (or not), and to upload a new rank image. You can remove unnecessary ranks (‘delete’ link). <br /><br />
-
-You can create additional ranks through the form at the bottom of the user rank page. Simply assign a name, minimum and maximum number of posts (if desired), upload a rank image and assign it as either normal or special.
+Вы можете создать дополнительные ранги через кнопку 'Добавить новый ранг'. Просто назначьте название, минимальное и максимальное количество сообщений (при желании), загрузите изображение разряда и определите, специальный или обычный ранг.
+
</p>
</div>
\ No newline at end of file
Modified: XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/users.html
===================================================================
--- XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/users.html 2010-10-26 17:11:47 UTC (rev 5657)
+++ XoopsLanguages/russian/core/2.5.0/htdocs/modules/system/language/russian/help/users.html 2010-10-26 21:09:58 UTC (rev 5658)
@@ -1,27 +1,29 @@
<div id="help-template" class="outer">
-<h1 class="head">Help: Users</h1>
+<h1 class="head">Справка: Пользователи</h1>
-<h4 class="odd">Description</h4>
+<h4 class="odd">Описание</h4>
<p class="even">
-XOOPS provides built in tools for easy user management. These include the ability to search for users by various criteria, send email and private messages to users through a template-based messaging system. In your site, users have the rights that pertain to the group they're assigned to.<br /><br />
-
-As to users, they have access to their profile, have some control over most of the information that will be visible to other users, and have also an inbox to receive private messages from the site administrator or from other users. They have besides control over what changes in the site will trigger personal notifications. And depending on the permissions set by the site manager, they can see content and participate in the site's life by uploading content, writing stories or comments, rating content and in general giving their feedback to what they see on the site.<br /><br />
+XOOPS обеспечивает легкое управление пользователями в панели управления. Есть возможность поиска пользователей по различным критериям, послать eMail и личные сообщения пользователям через основанную на шаблоне систему обмена сообщениями. На сайте пользователи имеют права, которые принадлежат группе, на которую их назначают.
+<br /><br />
+Пользователи имеют доступ к своему профилю, имеют некоторый контроль над большей частью информации, которая будет видима другим пользователям, могут принимать личные сообщения от администратора сайта или от других пользователей. Они могут выбирать темы, управлять личными уведомлениями. И в зависимости от разрешений, установленных администратором, они могут видеть контент и участвовать в жизни сайта, загружать контент, оставлять комментарии, оценивать контент.
+<br /><br />
</p>
-<h4 class="odd">Advanced Search</h4>
+<h4 class="odd">Расширенный поиск</h4>
<p class="even">
-"Advanced Search" provides a wide range of options that you can use to search for specific users or to filter your membership. You can also obtain a complete list of members by pressing the ‘submit’ button without using any of the filters.
+"Расширенный поиск" обеспечивает широкий диапазон опций, которые можно использовать для поиска определенных пользователей или же для поиска по определенному фильтру. Вы так-же можете получить полный список участников, при нажатии на кнопку 'Отправить', не используя ни одного из фильтров.
</p>
-<h4 class="odd">Edit Users</h4>
+<h4 class="odd">Редактирование пользователей</h4>
<p class="even">
-You can add, edit and delete users through this section of the System Module.<br /><br />
-To edit a user, search for one based on the name or other criteria. You may then choose to either <br /><br />
+Вы можете добавлять, редактировать и удалять пользователей через этот раздел модуля System.<br /><br />
+Чтобы отредактировать пользователя, найдите его по имени или по другому критерию. Выбрать действие с пользователем: <br /><br />
-i) modify their details or <br />
-ii) delete them using the second drop down box.<br /><br />
+- Редактировать пользователя<br />
+- Удалить пользователя<br /><br />
-Selecting ‘modify’ will open the user’s profile which you may then change as you see fit (note that you can also reach the edit profile page from the user side via the member directory, or by clicking on a username anywhere in the site).
+При нажатии 'Перейти', вы перейдете в профиль пользователя, который можно изменить так, как считаете целесообразным (заметьте, что Вы можете также перейти на страницу редактирования профиля через список участников, или щелкая по имени пользователя где угодно на сайте).
+
</p>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vo...@us...> - 2010-10-26 17:11:53
|
Revision: 5657
http://xoops.svn.sourceforge.net/xoops/?rev=5657&view=rev
Author: voltan1
Date: 2010-10-26 17:11:47 +0000 (Tue, 26 Oct 2010)
Log Message:
-----------
Add album page in admin area for manage album effect options (part 2)
Modified Paths:
--------------
XoopsModules/extgallery/trunk/modules/extgallery/include/overlay.css
Modified: XoopsModules/extgallery/trunk/modules/extgallery/include/overlay.css
===================================================================
--- XoopsModules/extgallery/trunk/modules/extgallery/include/overlay.css 2010-10-26 17:01:15 UTC (rev 5656)
+++ XoopsModules/extgallery/trunk/modules/extgallery/include/overlay.css 2010-10-26 17:11:47 UTC (rev 5657)
@@ -1,17 +1,10 @@
/* ============= extgallery_public-album.html ============= */
.apple_overlay {
display:none;
- /* background-image:url(modules/extgallery/images/transparent.png); */
- background-image:url(modules/extgallery/images/white.png);
- width:600px;
padding:35px;
font-size:11px;
}
-.apple_overlay img {
- max-width: 600px !important;
-}
-
.apple_overlay .close {
background-image:url(modules/extgallery/images/close.png);
position:absolute;
@@ -20,4 +13,4 @@
cursor:pointer;
height:35px;
width:35px;
-}
+}
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|