Compare commits
No commits in common. "3.4.0" and "master" have entirely different histories.
|
@ -0,0 +1,3 @@
|
|||
# news4ward-rateit #
|
||||
|
||||
Erweiterung für RateIt um news4ward-Beiträge bewerten zu können.
|
|
@ -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/rateit-uncompressed.js';
|
||||
$GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/rateit/public/js/rateit.js';
|
||||
$GLOBALS['TL_CSS'][] = 'system/modules/rateit/public/css/rateit.css||static';
|
||||
switch ($GLOBALS['TL_CONFIG']['rating_type']) {
|
||||
case 'hearts' :
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"name":"cgo-it/news4ward-rateit",
|
||||
"description":"News4ward-RateIt extension for the Contao Open Source CMS",
|
||||
"keywords":["contao", "rating", "rateit", "bewertung", "news4ward"],
|
||||
"type":"contao-module",
|
||||
"license":"LGPL-3.0+",
|
||||
"authors":[
|
||||
{
|
||||
"name":"cgo IT",
|
||||
"email":"info@cgo-it.de",
|
||||
"homepage":"https://cgo-it.de",
|
||||
"role":"Developer"
|
||||
}
|
||||
],
|
||||
"support": {
|
||||
"email": "info@cgo-it.de",
|
||||
"issues": "https://bitbucket.org/cgo-it/contao-news4ward-rateit/issues?status=new&status=open",
|
||||
"source": "https://bitbucket.org/cgo-it/contao-news4ward-rateit/src"
|
||||
},
|
||||
"require":{
|
||||
"php":">=5.3",
|
||||
"contao/core":">=3.0",
|
||||
"contao-community-alliance/composer-plugin": "~2.0",
|
||||
"cgo-it/rate-it":">=3.5.1",
|
||||
"psi/news4ward": ">=2.2.0"
|
||||
},
|
||||
"replace": {
|
||||
"cgo-it/news4ward-rateit": "self.version"
|
||||
},
|
||||
"conflict": {
|
||||
"contao/core": "2.11.*"
|
||||
},
|
||||
"extra":{
|
||||
"contao": {
|
||||
"sources":{
|
||||
"":"system/modules/news4ward_rateit"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -33,8 +33,8 @@ ClassLoader::addClasses(array
|
|||
*/
|
||||
TemplateLoader::addFiles(array
|
||||
(
|
||||
'mod_news4ward_reader_rateit' => 'system/modules/news4ward_rateit/templates',
|
||||
'mod_news4ward_reader_rateit_microdata' => 'system/modules/news4ward_rateit/templates',
|
||||
'news4ward_list_item_rateit' => 'system/modules/news4ward_rateit/templates',
|
||||
'news4ward_list_item_rateit_microdata' => 'system/modules/news4ward_rateit/templates',
|
||||
'mod_news4ward_reader_rateit' => '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_md' => 'system/modules/news4ward_rateit/templates',
|
||||
));
|
||||
|
|
|
@ -26,22 +26,6 @@
|
|||
<!-- indexer::continue -->
|
||||
<?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 echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
|
||||
<?php endif; ?>
|
Loading…
Reference in New Issue