Source of file RatingField.php
Size: 0,705 Bytes - Last Modified: 2021-12-24T06:35:28+00:00
/var/www/docs.ssmods.com/process/src/forms/RatingField.php
12345678910111213141516171819202122 | <?php namespace Reviewable; class RatingField extends \FormField { public function __construct($name, $title = null, $value = null) { parent::__construct($name, $title, $value); $this->setTemplate('Reviewable_RatingField'); \Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery.js'); \Requirements::javascript(REVIEWABLE_MODULE . '/javascript/jquery.raty.js'); \Requirements::javascript(REVIEWABLE_MODULE . '/javascript/reviewable.js'); // simple theme only if (\Config::inst()->get('SSViewer', 'theme') == 'simple') { \Requirements::customCSS('.typography .rateable-ui img{border:0;background:none;}'); } } } |