|
From: <vo...@us...> - 2013-02-19 08:14:58
|
Revision: 11065
http://sourceforge.net/p/xoops/svn/11065
Author: voltan1
Date: 2013-02-19 08:14:48 +0000 (Tue, 19 Feb 2013)
Log Message:
-----------
fix template
Modified Paths:
--------------
XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_utils.php
XoopsModules/oledrion/branches/voltan/oledrion/language/english/main.php
XoopsModules/oledrion/branches/voltan/oledrion/language/english/modinfo.php
XoopsModules/oledrion/branches/voltan/oledrion/language/persian/main.php
XoopsModules/oledrion/branches/voltan/oledrion/language/persian/modinfo.php
XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_product.html
XoopsModules/oledrion/branches/voltan/oledrion/xoops_version.php
Added Paths:
-----------
XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/
XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/addtocart.png
XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/addtowishlist.png
XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/index.html
XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-blank.gif
XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-close.gif
XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-next.gif
XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-prev.gif
XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-ico-loading.gif
XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/
XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/addtocart.png
XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/addtowishlist.png
XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/index.html
XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-blank.gif
XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-close.gif
XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-next.gif
XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-prev.gif
XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-ico-loading.gif
Removed Paths:
-------------
XoopsModules/oledrion/branches/voltan/oledrion/language/english/images/
XoopsModules/oledrion/branches/voltan/oledrion/language/persian/images/
Modified: XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_utils.php
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_utils.php 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_utils.php 2013-02-19 08:14:48 UTC (rev 11065)
@@ -1454,11 +1454,9 @@
} else {
$fileToCall = OLEDRION_JS_URL.$javascriptFile;
}
- if(!$oldWay && isset($xoTheme)) {
- $xoTheme->addScript($fileToCall);
- } else {
- echo "<script type=\"text/javascript\" src=\"".$fileToCall."\"></script>\n";
- }
+
+ $xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js");
+ $xoTheme->addScript($fileToCall);
}
/**
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/addtocart.png
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/addtocart.png
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/addtocart.png 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/addtocart.png 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/addtocart.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+image/png
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/addtowishlist.png
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/addtowishlist.png
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/addtowishlist.png 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/addtowishlist.png 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/addtowishlist.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+image/png
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/index.html
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/index.html (rev 0)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/index.html 2013-02-19 08:14:48 UTC (rev 11065)
@@ -0,0 +1 @@
+<script>history.go(-1);</script>
\ No newline at end of file
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/index.html
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-blank.gif
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-blank.gif
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-blank.gif 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-blank.gif 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-blank.gif
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+image/gif
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-close.gif
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-close.gif
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-close.gif 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-close.gif 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-close.gif
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+image/gif
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-next.gif
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-next.gif
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-next.gif 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-next.gif 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-next.gif
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+image/gif
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-prev.gif
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-prev.gif
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-prev.gif 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-prev.gif 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-btn-prev.gif
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+image/gif
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-ico-loading.gif
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-ico-loading.gif
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-ico-loading.gif 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-ico-loading.gif 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/english/image/lightbox-ico-loading.gif
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+image/gif
\ No newline at end of property
Modified: XoopsModules/oledrion/branches/voltan/oledrion/language/english/main.php
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/english/main.php 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/english/main.php 2013-02-19 08:14:48 UTC (rev 11065)
@@ -240,7 +240,6 @@
define("_OLEDRION_PAY_ONLINE","Do you want to pay Online?");
define("_OLEDRION_FINISH","Your order is finalized");
-//define("_OLEDRION_ECOTAXE","Ecotax");
define("_OLEDRION_DELIVERY_TIME","Delivery");
define("_OLEDRION_IN_DAYS","in days");
define("_OLEDRION_DAYS","days");
Modified: XoopsModules/oledrion/branches/voltan/oledrion/language/english/modinfo.php
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/english/modinfo.php 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/english/modinfo.php 2013-02-19 08:14:48 UTC (rev 11065)
@@ -247,4 +247,5 @@
define("_MI_OLEDRION_BREAK_COMMENT_NOTIFICATION",'Comments and Notifications');
define("_MI_OLEDRION_BREAK_SEARCH",'Search');
-define("_MI_OLEDRION_BREAK_IMAGE",'Image');
\ No newline at end of file
+define("_MI_OLEDRION_BREAK_IMAGE",'Image');
+?>
\ No newline at end of file
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/addtocart.png
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/addtocart.png
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/addtocart.png 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/addtocart.png 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/addtocart.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+image/png
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/addtowishlist.png
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/addtowishlist.png
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/addtowishlist.png 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/addtowishlist.png 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/addtowishlist.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+image/png
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/index.html
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/index.html (rev 0)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/index.html 2013-02-19 08:14:48 UTC (rev 11065)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/index.html
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-blank.gif
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-blank.gif
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-blank.gif 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-blank.gif 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-blank.gif
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+image/gif
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-close.gif
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-close.gif
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-close.gif 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-close.gif 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-close.gif
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+image/gif
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-next.gif
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-next.gif
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-next.gif 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-next.gif 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-next.gif
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+image/gif
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-prev.gif
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-prev.gif
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-prev.gif 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-prev.gif 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-btn-prev.gif
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+image/gif
\ No newline at end of property
Added: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-ico-loading.gif
===================================================================
(Binary files differ)
Index: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-ico-loading.gif
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-ico-loading.gif 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-ico-loading.gif 2013-02-19 08:14:48 UTC (rev 11065)
Property changes on: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/image/lightbox-ico-loading.gif
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+image/gif
\ No newline at end of property
Modified: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/main.php
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/persian/main.php 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/persian/main.php 2013-02-19 08:14:48 UTC (rev 11065)
@@ -19,7 +19,7 @@
* Version : $Id:
* ****************************************************************************
*/
-
+define("_AM_OLEDRION_COUNTRY","کشور");
define("_OLEDRION_SEARCHFOR","جستجو برای");
define("_OLEDRION_SEARCH","جستجو");
define("_OLEDRION_CATEGORYC","شاخه: ");
@@ -242,7 +242,6 @@
define("_OLEDRION_PAY_ONLINE","پرداخت بصورت آنلاین ؟");
define("_OLEDRION_FINISH","تایید نهایی");
-define("_OLEDRION_ECOTAXE","Ecotaxe");
define("_OLEDRION_DELIVERY_TIME","زمان تحویل");
define("_OLEDRION_IN_DAYS","در روز");
define("_OLEDRION_DAYS","روز");
Modified: XoopsModules/oledrion/branches/voltan/oledrion/language/persian/modinfo.php
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/language/persian/modinfo.php 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/language/persian/modinfo.php 2013-02-19 08:14:48 UTC (rev 11065)
@@ -208,6 +208,15 @@
define('_MI_OLEDRION_COLUMNS_CATEGORY', "تعداد ستون ها در هر شاخه");
define('_MI_OLEDRION_ADAPTED_LIST', "بیشترین تعداد محصولات برای نمایش قبل از جایگزین لیست با لیست تطبیق داده شده");
+define('_MI_OLEDRION_PRODUCT_PROPERTY1',"Product Property 1");
+define('_MI_OLEDRION_PRODUCT_PROPERTY2',"Product Property 2");
+define('_MI_OLEDRION_PRODUCT_PROPERTY3',"Product Property 3");
+define('_MI_OLEDRION_PRODUCT_PROPERTY4',"Product Property 4");
+define('_MI_OLEDRION_PRODUCT_PROPERTY5',"Product Property 5");
+define('_MI_OLEDRION_PRODUCT_PROPERTY_TITLE',"Title");
+define('_MI_OLEDRION_GATEWAY',"Gateway used by the module");
+
+
define("_MI_OLEDRION_BNAME1_DESC",'Shows recently added products titles');
define("_MI_OLEDRION_BNAME2_DESC",'Shows most viewed products titles');
define("_MI_OLEDRION_BNAME3_DESC",'Show categories in relation with the category page');
@@ -223,6 +232,7 @@
define("_MI_OLEDRION_BNAME13_DESC",'Shows recent public lists according to the current category');
define("_MI_OLEDRION_BNAME14_DESC",'Shows random lists');
define("_MI_OLEDRION_BNAME15_DESC",'Shows most viewed lists');
+define("_MI_OLEDRION_BNAME16_DESC",'Shows ajax search form');
define("_MI_OLEDRION_SEARCH_CATEGORY",'Show category');
define("_MI_OLEDRION_SEARCH_MANUFACTURERS",'Show Manufacturers');
Modified: XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_product.html
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_product.html 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_product.html 2013-02-19 08:14:48 UTC (rev 11065)
@@ -35,21 +35,7 @@
});
</script>
<{/if}>
-
- <script type="text/javascript">
- $(function() {
- $('.gallery a').lightBox({
- imageLoading:'<{$smarty.const.OLEDRION_URL}>language/<{$xoops_language}>/images/lightbox-ico-loading.gif',
- imageBtnClose:'<{$smarty.const.OLEDRION_URL}>language/<{$xoops_language}>/images/lightbox-btn-close.gif',
- imageBtnNext:'<{$smarty.const.OLEDRION_URL}>language/<{$xoops_language}>/images/lightbox-btn-next.gif',
- imageBtnPrev:'<{$smarty.const.OLEDRION_URL}>language/<{$xoops_language}>/images/lightbox-btn-prev.gif',
- imageBlank:'<{$smarty.const.OLEDRION_URL}>language/<{$xoops_language}>/images/lightbox-blank.gif',
- txtImage: '<{$smarty.const._NEWS_MD_LIGHTBOX_IMAGE}>',
- overlayOpacity: 0.6,
- containerResizeSpeed: 350,
- });
- });
- </script>
+
<!--*********** HEADER ********-->
<div id="oledrion-logo">
<{* Display category's advertisement and if it does not exists, the module's advertisement *}>
@@ -91,14 +77,61 @@
</td>
</tr>
<tr>
- <td class="top">
+ <td class="top">
+ <!--********* VOTES ******-->
+ <{if $canRateProducts}>
+ <div class="oledrion_rating">
+ <div class="floatleft"><{$smarty.const._OLEDRION_RATINGC}> <{$product.product_rating_formated}> (<{$product.product_votes_count}>)</div>
+ <div class="vote">
+ <input value="<{$product.product_rating_formated}>" step="1" id="backing<{$product.product_id}>" type="range">
+ <div class="floatleft rateit" data-url="<{$smarty.const.OLEDRION_URL}>ajax.php?op=rate" data-product="<{$product.product_id}>" data-rateit-backingfld="#backing<{$product.product_id}>" data-rateit-resetable="false" data-rateit-ispreset="true" data-rateit-min="0" data-rateit-max="10"></div>
+ </div>
+ <{if $userCanRate}>
+ <script type="text/javascript">
+ $('.vote .rateit').bind('rated reset', function (e) {
+ var ri = $(this);
+ var rating = ri.rateit('vote');
+ var product_id = ri.data('product');
+ var url = ri.data('url');
+ ri.rateit('readonly', true);
+ $.ajax({
+ url: url,
+ data: { product_id: product_id, rating: rating},
+ type: 'POST',
+ dataType: "json",
+ success:function (result) {
+ if (!result.status == 1) {
+ alert(result.message);
+ }
+ }
+ });
+ });
+ </script>
+ <{/if}>
+ <div class="clear"></div>
+ </div>
+ <{/if}>
+ <!--********* /VOTES ******-->
<{if $product.product_thumb_full_url != ''}>
- <div class="oledrion_productthumb-big gallery">
- <!-- Old way to see the product's picture -->
- <!-- <a href="javascript:openWithSelfMain('<{$smarty.const.OLEDRION_URL}>media.php?product_id=<{$product.product_id}>&type=picture', '',<{$smarty.const.OLEDRION_POPUP_MEDIA_WIDTH}>, <{$smarty.const.OLEDRION_POPUP_MEDIA_HEIGHT}>);" title="<{$product.product_href_title}>"> <img src="<{$product.product_thumb_full_url}>" alt="<{$product.product_href_title}>" /></a> -->
- <!-- With a ligthview effect -->
- <a href="<{$product.product_image_full_url}>" title="<{$product.product_href_title}>"> <img src="<{$product.product_thumb_full_url}>" alt="<{$product.product_href_title}>" /></a>
- </div>
+ <script type="text/javascript">
+ $(function() {
+ $('.lightbox').lightBox({
+ imageLoading:'<{$smarty.const.OLEDRION_URL}>language/<{$xoops_language}>/images/lightbox-ico-loading.gif',
+ imageBtnClose:'<{$smarty.const.OLEDRION_URL}>language/<{$xoops_language}>/images/lightbox-btn-close.gif',
+ imageBtnNext:'<{$smarty.const.OLEDRION_URL}>language/<{$xoops_language}>/images/lightbox-btn-next.gif',
+ imageBtnPrev:'<{$smarty.const.OLEDRION_URL}>language/<{$xoops_language}>/images/lightbox-btn-prev.gif',
+ imageBlank:'<{$smarty.const.OLEDRION_URL}>language/<{$xoops_language}>/images/lightbox-blank.gif',
+ txtImage: '<{$smarty.const._NEWS_MD_LIGHTBOX_IMAGE}>',
+ overlayOpacity: 0.6,
+ containerResizeSpeed: 350
+ });
+ });
+ </script>
+ <div class="oledrion_productthumb-big">
+ <a class="lightbox" href="<{$product.product_image_full_url}>" title="<{$product.product_href_title}>">
+ <img src="<{$product.product_thumb_full_url}>" alt="<{$product.product_href_title}>" />
+ </a>
+ </div>
<{/if}>
</td>
<td class="top">
@@ -114,62 +147,61 @@
<{/if}>
<!-- Price box -->
<{if $mod_pref.use_price}>
- <div class="oledrion_productprice_view-product">
- <div class="oledrion_view-product_price">
- <{if $product.product_stock == 0 }>
- <{$mod_pref.nostock_msg}>
- <{elseif count($product.product_attributes) == 0 }>
- <span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_PRICE}></span>: <a href="<{$smarty.const.OLEDRION_URL}>caddy.php?op=addproduct&product_id=<{$product.product_id}>" title="<{$smarty.const._OLEDRION_ADD_TO_CART}>">
- <{if $product.product_discount_price_ttc != ''}>
- <s><{$product.product_price_ttc_long}> </s> <{$product.product_discount_price_ttc}>
- <{else}>
- <{$product.product_price_ttc_long}>
- <{/if}>
-
- <img src="<{$smarty.const.OLEDRION_IMAGES_URL}>cartadd.png" alt="" /></a>
- <{if $product.product_ecotaxe != ''}>
- <div class="oledrion_view-product_price_ecotaxe"><span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_ECOTAXE}></span> : <{$product.product_ecotaxe_formated}></div>
- <{/if}>
- <{else}>
- <div class="oledrion_view-product_price_frmcart">
- <form method="post" name="frmCart" id="frmCart" action="<{$smarty.const.OLEDRION_URL}>caddy.php?op=addproduct&product_id=<{$product.product_id}>">
- <table class="tablefix">
+ <div class="oledrion_productprice_view-product">
+ <div class="oledrion_view-product_price">
+ <{if $product.product_stock == 0 }>
+ <{$mod_pref.nostock_msg}>
+ <{elseif count($product.product_attributes) == 0 }>
+ <span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_PRICE}></span>: <a href="<{$smarty.const.OLEDRION_URL}>caddy.php?op=addproduct&product_id=<{$product.product_id}>" title="<{$smarty.const._OLEDRION_ADD_TO_CART}>">
+ <{if $product.product_discount_price_ttc != ''}>
+ <s><{$product.product_price_ttc_long}> </s> <{$product.product_discount_price_ttc}>
+ <{else}>
+ <{$product.product_price_ttc_long}>
+ <{/if}>
+ <img src="<{$smarty.const.OLEDRION_IMAGES_URL}>cartadd.png" alt="" /></a>
+ <{if $product.product_ecotaxe != ''}>
+ <div class="oledrion_view-product_price_ecotaxe"><span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_ECOTAXE}></span> : <{$product.product_ecotaxe_formated}></div>
+ <{/if}>
+ <{else}>
+ <div class="oledrion_view-product_price_frmcart">
+ <form method="post" name="frmCart" id="frmCart" action="<{$smarty.const.OLEDRION_URL}>caddy.php?op=addproduct&product_id=<{$product.product_id}>">
+ <table class="tablefix">
<tr>
<td>
<{foreach item=attribute from=$product.product_attributes}>
- <div class="pad2"><{$attribute}></div>
+ <div class="pad2"><{$attribute}></div>
<{/foreach}>
</td>
<td>
<span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_PRICE}></span> : <{if $product.product_discount_price_ttc != ''}>
- <s><{$product.product_price_ttc}> </s> <b><{$product.product_discount_price_ttc}></b>
- <{else}>
- <{$product.product_price_ttc_long}>
- <{/if}>
- <span id="oledrion_final_price_ttc"><{$product.product_final_price_ttc_formated_long}></span>
- <{if $product.product_ecotaxe != ''}>
- <div class="oledrion_view-product_price_ecotaxe"><span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_ECOTAXE}></span> : <{$product.product_ecotaxe_formated}></div>
- <{/if}>
+ <s><{$product.product_price_ttc}> </s> <b><{$product.product_discount_price_ttc}></b>
+ <{else}>
+ <{$product.product_price_ttc_long}>
+ <{/if}>
+ <span id="oledrion_final_price_ttc"><{$product.product_final_price_ttc_formated_long}></span>
+ <{if $product.product_ecotaxe != ''}>
+ <div class="oledrion_view-product_price_ecotaxe"><span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_ECOTAXE}></span> : <{$product.product_ecotaxe_formated}></div>
+ <{/if}>
<br /><br />
<input type="image" src="<{$addToCartImage}>" id="buy_button" alt="<{$smarty.const._OLEDRION_ADD_TO_CART}>" title="<{$smarty.const._OLEDRION_ADD_TO_CART}>" value="<{$smarty.const._OLEDRION_ADD_TO_CART}>" />
<div class="error" style="display: none;">
- <br /><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>warning.png" width="24" height="24" style="float:left; margin: -5px 10px 0px 0px; " /><span></span>.<br clear="all" />
- </div>
+ <br /><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>warning.png" width="24" height="24" style="float:left; margin: -5px 10px 0px 0px; " /><span></span>.<br clear="all" />
+ </div>
</td>
</tr>
- </table>
- </form>
- </div>
- <{/if}>
+ </table>
+ </form>
</div>
- <{if $product.product_shipping_price != 0}>
- <div class="oledrion_view-product_shipping-price">
- <span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_SHIPPING_PRICE}></span>: <{$product.product_shipping_price_formated}>
- </div>
<{/if}>
</div>
+ <{if $product.product_shipping_price != 0}>
+ <div class="oledrion_view-product_shipping-price">
+ <span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_SHIPPING_PRICE}></span>: <{$product.product_shipping_price_formated}>
+ </div>
+ <{/if}>
+ </div>
<{else}>
- <br />
+ <br />
<{/if}>
<!-- /Price box -->
<div class="oledrion_productdate">
@@ -399,41 +431,7 @@
</div>
<br />
<!--********* /CADDY ******-->
-
- <!--********* VOTES ******-->
- <{if $canRateProducts}>
- <div class="oledrion_rating">
- <{$smarty.const._OLEDRION_RATINGC}> <{$product.product_rating_formated}> (<{$product.product_votes_count}>)
- <{if $userCanRate}>
- <div class="vote">
- <input value="<{$product.product_rating_formated}>" step="1" id="backing<{$product.product_id}>" type="range">
- <div class="rateit" data-url="<{$smarty.const.OLEDRION_URL}>ajax.php?op=rate" data-product="<{$product.product_id}>" data-rateit-backingfld="#backing<{$product.product_id}>" data-rateit-resetable="false" data-rateit-ispreset="true" data-rateit-min="0" data-rateit-max="10"></div>
- </div>
- <script type="text/javascript">
- $('.vote .rateit').bind('rated reset', function (e) {
- var ri = $(this);
- var rating = ri.rateit('vote');
- var product_id = ri.data('product');
- var url = ri.data('url');
- ri.rateit('readonly', true);
- $.ajax({
- url: url,
- data: { product_id: product_id, rating: rating},
- type: 'POST',
- dataType: "json",
- success:function (result) {
- if (!result.status == 1) {
- alert(result.message);
- }
- }
- });
- });
- </script>
- <{/if}>
- </div>
- <{/if}>
- <!--********* /VOTES ******-->
-
+
<{* Pour afficher le pied de page de la catégorie du produit *}>
<{* <{$product.product_category.cat_footer}> *}>
Modified: XoopsModules/oledrion/branches/voltan/oledrion/xoops_version.php
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/xoops_version.php 2013-02-19 07:06:58 UTC (rev 11064)
+++ XoopsModules/oledrion/branches/voltan/oledrion/xoops_version.php 2013-02-19 08:14:48 UTC (rev 11065)
@@ -1000,7 +1000,7 @@
$modversion['config'][$cpto]['description'] = '_MI_OLEDRION_RESIZE_MAIN_DSC';
$modversion['config'][$cpto]['formtype'] = 'yesno';
$modversion['config'][$cpto]['valuetype'] = 'int';
-$modversion['config'][$cpto]['default'] = 0;
+$modversion['config'][$cpto]['default'] = 1;
/**
* Create thumbs automatically ?
@@ -1011,7 +1011,7 @@
$modversion['config'][$cpto]['description'] = '_MI_OLEDRION_CREATE_THUMBS_DSC';
$modversion['config'][$cpto]['formtype'] = 'yesno';
$modversion['config'][$cpto]['valuetype'] = 'int';
-$modversion['config'][$cpto]['default'] = 0;
+$modversion['config'][$cpto]['default'] = 1;
/**
* Images width
@@ -1022,7 +1022,7 @@
$modversion['config'][$cpto]['description'] = '';
$modversion['config'][$cpto]['formtype'] = 'textbox';
$modversion['config'][$cpto]['valuetype'] = 'int';
-$modversion['config'][$cpto]['default'] = 150;
+$modversion['config'][$cpto]['default'] = 600;
/**
@@ -1034,7 +1034,7 @@
$modversion['config'][$cpto]['description'] = '';
$modversion['config'][$cpto]['formtype'] = 'textbox';
$modversion['config'][$cpto]['valuetype'] = 'int';
-$modversion['config'][$cpto]['default'] = 150;
+$modversion['config'][$cpto]['default'] = 600;
/**
@@ -1046,7 +1046,7 @@
$modversion['config'][$cpto]['description'] = '';
$modversion['config'][$cpto]['formtype'] = 'textbox';
$modversion['config'][$cpto]['valuetype'] = 'int';
-$modversion['config'][$cpto]['default'] = 80;
+$modversion['config'][$cpto]['default'] = 180;
/**
* Thumbs height
@@ -1057,7 +1057,7 @@
$modversion['config'][$cpto]['description'] = '';
$modversion['config'][$cpto]['formtype'] = 'textbox';
$modversion['config'][$cpto]['valuetype'] = 'int';
-$modversion['config'][$cpto]['default'] = 80;
+$modversion['config'][$cpto]['default'] = 180;
/**
* Do you also want to resize categories'pictures to the above dimensions ?
@@ -1068,7 +1068,7 @@
$modversion['config'][$cpto]['description'] = '';
$modversion['config'][$cpto]['formtype'] = 'yesno';
$modversion['config'][$cpto]['valuetype'] = 'int';
-$modversion['config'][$cpto]['default'] = 0;
+$modversion['config'][$cpto]['default'] = 1;
$cpto++;
$modversion['config'][$cpto]['name'] = 'break' . $cpto;
|