Image to Post - rating
This commit is contained in:
parent
5371669e54
commit
f497094482
@ -5,7 +5,7 @@ class RatingsInfo extends ExtensionInfo
|
||||
public const KEY = "rating";
|
||||
|
||||
public $key = self::KEY;
|
||||
public $name = "Image Ratings";
|
||||
public $name = "Post Ratings";
|
||||
public $url = self::SHIMMIE_URL;
|
||||
public $authors = self::SHISH_AUTHOR;
|
||||
public $license = self::LICENSE_GPLV2;
|
||||
|
@ -165,7 +165,7 @@ class Ratings extends Extension
|
||||
$options[$rating->name] = $rating->code;
|
||||
}
|
||||
|
||||
$sb = new SetupBlock("Image Ratings");
|
||||
$sb = new SetupBlock("Post Ratings");
|
||||
$sb->start_table();
|
||||
foreach (array_keys($_shm_user_classes) as $key) {
|
||||
if ($key == "base" || $key == "hellbanned") {
|
||||
|
@ -63,20 +63,20 @@ class RatingsTheme extends Themelet
|
||||
|
||||
public function get_help_html(array $ratings)
|
||||
{
|
||||
$output = '<p>Search for images with one or more possible ratings.</p>
|
||||
$output = '<p>Search for posts with one or more possible ratings.</p>
|
||||
<div class="command_example">
|
||||
<pre>rating:'.$ratings[0]->search_term.'</pre>
|
||||
<p>Returns images with the '.$ratings[0]->name.' rating.</p>
|
||||
<p>Returns posts with the '.$ratings[0]->name.' rating.</p>
|
||||
</div>
|
||||
<p>Ratings can be abbreviated to a single letter as well</p>
|
||||
<div class="command_example">
|
||||
<pre>rating:'.$ratings[0]->code.'</pre>
|
||||
<p>Returns images with the '.$ratings[0]->name.' rating.</p>
|
||||
<p>Returns posts with the '.$ratings[0]->name.' rating.</p>
|
||||
</div>
|
||||
<p>If abbreviations are used, multiple ratings can be searched for.</p>
|
||||
<div class="command_example">
|
||||
<pre>rating:'.$ratings[0]->code.$ratings[1]->code.'</pre>
|
||||
<p>Returns images with the '.$ratings[0]->name.' or '.$ratings[1]->name.' rating.</p>
|
||||
<p>Returns posts with the '.$ratings[0]->name.' or '.$ratings[1]->name.' rating.</p>
|
||||
</div>
|
||||
<p>Available ratings:</p>
|
||||
<table>
|
||||
|
Loading…
x
Reference in New Issue
Block a user