Image to Post - pools
This commit is contained in:
parent
3ac5d05a25
commit
fb4a1391df
@ -175,7 +175,7 @@ class Pools extends Extension
|
|||||||
{
|
{
|
||||||
$sb = new SetupBlock("Pools");
|
$sb = new SetupBlock("Pools");
|
||||||
$sb->add_int_option(PoolsConfig::MAX_IMPORT_RESULTS, "Max results on import: ");
|
$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::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_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: ");
|
$sb->add_bool_option(PoolsConfig::INFO_ON_VIEW_IMAGE, "<br>Show pool info on image: ");
|
||||||
|
@ -45,7 +45,7 @@ class PoolsTheme extends Themelet
|
|||||||
$h
|
$h
|
||||||
</select>
|
</select>
|
||||||
<input type='hidden' name='image_id' value='{$image->id}'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
@ -396,26 +396,26 @@ class PoolsTheme extends Themelet
|
|||||||
|
|
||||||
public function get_help_html()
|
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">
|
<div class="command_example">
|
||||||
<pre>pool=1</pre>
|
<pre>pool=1</pre>
|
||||||
<p>Returns images in pool #1.</p>
|
<p>Returns posts in pool #1.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="command_example">
|
<div class="command_example">
|
||||||
<pre>pool=any</pre>
|
<pre>pool=any</pre>
|
||||||
<p>Returns images in any pool.</p>
|
<p>Returns posts in any pool.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="command_example">
|
<div class="command_example">
|
||||||
<pre>pool=none</pre>
|
<pre>pool=none</pre>
|
||||||
<p>Returns images not in any pool.</p>
|
<p>Returns posts not in any pool.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="command_example">
|
<div class="command_example">
|
||||||
<pre>pool_by_name=swimming</pre>
|
<pre>pool_by_name=swimming</pre>
|
||||||
<p>Returns images in the "swimming" pool.</p>
|
<p>Returns posts in the "swimming" pool.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="command_example">
|
<div class="command_example">
|
||||||
<pre>pool_by_name=swimming_pool</pre>
|
<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>
|
</div>
|
||||||
';
|
';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user