aboutsummaryrefslogtreecommitdiff
path: root/lib/models
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models')
-rw-r--r--lib/models/OERReview.php10
-rw-r--r--lib/models/resources/ResourcePropertyDefinition.php2
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/models/OERReview.php b/lib/models/OERReview.php
index 69a672f..e5b9fd4 100644
--- a/lib/models/OERReview.php
+++ b/lib/models/OERReview.php
@@ -204,15 +204,15 @@ class OERReview extends BlubberThread
$data['thread_posting']['html'] .= "<div>";
$rating = round($this['metadata']['rating'], 1);
$v = $rating >= 0.75 ? "" : ($rating >= 0.25 ? "-halffull" : "-empty");
- $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asSvg(25);
+ $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asImg(25);
$v = $rating >= 1.75 ? "" : ($rating >= 1.25 ? "-halffull" : "-empty");
- $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asSvg(25);
+ $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asImg(25);
$v = $rating >= 2.75 ? "" : ($rating >= 2.25 ? "-halffull" : "-empty");
- $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asSvg(25);
+ $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asImg(25);
$v = $rating >= 3.75 ? "" : ($rating >= 3.25 ? "-halffull" : "-empty");
- $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asSvg(25);
+ $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asImg(25);
$v = $rating >= 4.75 ? "" : ($rating >= 4.25 ? "-halffull" : "-empty");
- $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asSvg(25);
+ $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asImg(25);
$data['thread_posting']['html'] .= "</div>";
return $data;
diff --git a/lib/models/resources/ResourcePropertyDefinition.php b/lib/models/resources/ResourcePropertyDefinition.php
index 1e2333d..f878975 100644
--- a/lib/models/resources/ResourcePropertyDefinition.php
+++ b/lib/models/resources/ResourcePropertyDefinition.php
@@ -254,7 +254,7 @@ class ResourcePropertyDefinition extends SimpleORMap
),
$this->__toString(),
$search->render(),
- Icon::create('refresh')->asSvg(
+ Icon::create('refresh')->asImg(
[
'class' => 'delete-assigned-user-icon enter-accessible',
'data-input-name' => $input_name,