|
From: <vo...@us...> - 2013-02-20 09:37:30
|
Revision: 11078
http://sourceforge.net/p/xoops/svn/11078
Author: voltan1
Date: 2013-02-20 09:37:26 +0000 (Wed, 20 Feb 2013)
Log Message:
-----------
Fix style url
Modified Paths:
--------------
XoopsModules/oledrion/branches/voltan/oledrion/manufacturer.php
XoopsModules/oledrion/branches/voltan/oledrion/product.php
Modified: XoopsModules/oledrion/branches/voltan/oledrion/manufacturer.php
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/manufacturer.php 2013-02-20 08:05:11 UTC (rev 11077)
+++ XoopsModules/oledrion/branches/voltan/oledrion/manufacturer.php 2013-02-20 09:37:26 UTC (rev 11078)
@@ -87,8 +87,9 @@
oledrion_utils::setLocalCSS($xoopsConfig['language']);
oledrion_utils::loadLanguageFile('modinfo.php');
-$xoopsTpl->assign('global_advert', oledrion_utils::getModuleOption('advertisement'));
-$breadcrumb = array(OLEDRION_URL.'whoswho.php' => _OLEDRION_MANUFACTURERS,
+$xoopsTpl->assign('global_advert', oledrion_utils::getModuleOption('advertisement'));
+// By voltan
+$breadcrumb = array(/*OLEDRION_URL.'whoswho.php' => _OLEDRION_MANUFACTURERS,*/
OLEDRION_URL.basename(__FILE__) => $manufacturer->getVar('manu_name').' '.$manufacturer->getVar('manu_commercialname'));
$xoopsTpl->assign('breadcrumb', oledrion_utils::breadcrumb($breadcrumb));
Modified: XoopsModules/oledrion/branches/voltan/oledrion/product.php
===================================================================
--- XoopsModules/oledrion/branches/voltan/oledrion/product.php 2013-02-20 08:05:11 UTC (rev 11077)
+++ XoopsModules/oledrion/branches/voltan/oledrion/product.php 2013-02-20 09:37:26 UTC (rev 11078)
@@ -74,7 +74,7 @@
$xoopsConfig['sitename'] = $title;
xoops_header(false);
// Inclusion de la feuille de style du module
- $url = OLEDRION_URL.'include/oledrion.css';
+ $url = OLEDRION_URL.'css/oledrion.css';
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$url\" />";
echo "</head><body>";
if(!isset($xoopsTpl)) {
@@ -453,7 +453,7 @@
require_once XOOPS_ROOT_PATH.'/include/comment_view.php';
require_once XOOPS_ROOT_PATH.'/footer.php';
} elseif(isset($_GET['op']) && $_GET['op'] == 'print') { // Version imprimable de la page
- $xoopsTpl->display('db:oledrion_product.html');
+ $xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/oledrion/templates/oledrion_product.html');
xoops_footer();
}
?>
\ No newline at end of file
|