Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
db9b4d8134 | |||
bcec72c3e6 | |||
369516bf7e | |||
fdc29206b8 | |||
f1c1f41dad | |||
6c74d52f6b | |||
c0d5a5e35c | |||
b9dbd95160 |
@ -41,7 +41,7 @@ class RateItNews4ward extends RateItFrontend {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/rateit/public/js/onReadyRateIt.js|static';
|
$GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/rateit/public/js/onReadyRateIt.js|static';
|
||||||
$GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/rateit/public/js/rateit-uncompressed.js';
|
$GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/rateit/public/js/rateit.js';
|
||||||
$GLOBALS['TL_CSS'][] = 'system/modules/rateit/public/css/rateit.css||static';
|
$GLOBALS['TL_CSS'][] = 'system/modules/rateit/public/css/rateit.css||static';
|
||||||
switch ($GLOBALS['TL_CONFIG']['rating_type']) {
|
switch ($GLOBALS['TL_CONFIG']['rating_type']) {
|
||||||
case 'hearts' :
|
case 'hearts' :
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
"php":">=5.3",
|
"php":">=5.3",
|
||||||
"contao/core":">=3.0",
|
"contao/core":">=3.0",
|
||||||
"contao-community-alliance/composer-plugin": "~2.0",
|
"contao-community-alliance/composer-plugin": "~2.0",
|
||||||
"cgo-it/rate-it":"3.4.1",
|
"cgo-it/rate-it":">=3.5.1",
|
||||||
"psi/news4ward": ">=2.2.0"
|
"psi/news4ward": ">=2.2.0"
|
||||||
},
|
},
|
||||||
"replace": {
|
"replace": {
|
||||||
@ -33,7 +33,7 @@
|
|||||||
"extra":{
|
"extra":{
|
||||||
"contao": {
|
"contao": {
|
||||||
"sources":{
|
"sources":{
|
||||||
"":"system/modules/news4ward-rateit"
|
"":"system/modules/news4ward_rateit"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,8 +33,8 @@ ClassLoader::addClasses(array
|
|||||||
*/
|
*/
|
||||||
TemplateLoader::addFiles(array
|
TemplateLoader::addFiles(array
|
||||||
(
|
(
|
||||||
'mod_news4ward_reader_rateit' => 'system/modules/news4ward_rateit/templates',
|
'mod_news4ward_reader_rateit' => 'system/modules/news4ward_rateit/templates',
|
||||||
'mod_news4ward_reader_rateit_microdata' => 'system/modules/news4ward_rateit/templates',
|
'mod_news4ward_reader_rateit_md' => 'system/modules/news4ward_rateit/templates',
|
||||||
'news4ward_list_item_rateit' => 'system/modules/news4ward_rateit/templates',
|
'news4ward_list_item_rateit' => 'system/modules/news4ward_rateit/templates',
|
||||||
'news4ward_list_item_rateit_microdata' => 'system/modules/news4ward_rateit/templates',
|
'news4ward_list_item_rateit_md' => 'system/modules/news4ward_rateit/templates',
|
||||||
));
|
));
|
||||||
|
@ -26,22 +26,6 @@
|
|||||||
<!-- indexer::continue -->
|
<!-- indexer::continue -->
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $this->id; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>">
|
|
||||||
<?php if ($this->showBefore) : ?>
|
|
||||||
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
<div class="wrapper">
|
|
||||||
<div class="rateItRating-selected" style="display: block;"></div>
|
|
||||||
<div class="rateItRating-hover"></div>
|
|
||||||
</div>
|
|
||||||
<?php if ($this->showAfter) : ?>
|
|
||||||
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($this->headline): ?>
|
<?php if ($this->headline): ?>
|
||||||
<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
|
<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
Reference in New Issue
Block a user