Image to Post - pools

This commit is contained in:
Matthew Barbour 2020-10-26 10:22:13 -05:00
parent 3ac5d05a25
commit fb4a1391df
2 changed files with 8 additions and 8 deletions

View File

@ -175,7 +175,7 @@ class Pools extends Extension
{
$sb = new SetupBlock("Pools");
$sb->add_int_option(PoolsConfig::MAX_IMPORT_RESULTS, "Max results on import: ");
$sb->add_int_option(PoolsConfig::IMAGES_PER_PAGE, "<br>Images per page: ");
$sb->add_int_option(PoolsConfig::IMAGES_PER_PAGE, "<br>Posts per page: ");
$sb->add_int_option(PoolsConfig::LISTS_PER_PAGE, "<br>Index list items per page: ");
$sb->add_int_option(PoolsConfig::UPDATED_PER_PAGE, "<br>Updated list items per page: ");
$sb->add_bool_option(PoolsConfig::INFO_ON_VIEW_IMAGE, "<br>Show pool info on image: ");

View File

@ -45,7 +45,7 @@ class PoolsTheme extends Themelet
$h
</select>
<input type='hidden' name='image_id' value='{$image->id}'>
<input type='submit' value='Add Image to Pool'>
<input type='submit' value='Add Post to Pool'>
</form>
";
}
@ -396,26 +396,26 @@ class PoolsTheme extends Themelet
public function get_help_html()
{
return '<p>Search for images that are in a pool.</p>
return '<p>Search for posts that are in a pool.</p>
<div class="command_example">
<pre>pool=1</pre>
<p>Returns images in pool #1.</p>
<p>Returns posts in pool #1.</p>
</div>
<div class="command_example">
<pre>pool=any</pre>
<p>Returns images in any pool.</p>
<p>Returns posts in any pool.</p>
</div>
<div class="command_example">
<pre>pool=none</pre>
<p>Returns images not in any pool.</p>
<p>Returns posts not in any pool.</p>
</div>
<div class="command_example">
<pre>pool_by_name=swimming</pre>
<p>Returns images in the "swimming" pool.</p>
<p>Returns posts in the "swimming" pool.</p>
</div>
<div class="command_example">
<pre>pool_by_name=swimming_pool</pre>
<p>Returns images in the "swimming pool" pool. Note that the underscore becomes a space</p>
<p>Returns posts in the "swimming pool" pool. Note that the underscore becomes a space</p>
</div>
';
}