diff --git a/ext/link_image/info.php b/ext/link_image/info.php index cbd937bb..57c9de6b 100644 --- a/ext/link_image/info.php +++ b/ext/link_image/info.php @@ -5,7 +5,7 @@ class LinkImageInfo extends ExtensionInfo public const KEY = "link_image"; public $key = self::KEY; - public $name = "Link to Image"; + public $name = "Link to Post"; public $authors = ["Artanis"=>"artanis.00@gmail.com"]; public $description = "Show various forms of link to each image, for copy & paste"; public $license = self::LICENSE_GPLV2; @@ -25,9 +25,9 @@ It takes the following arguments as well as plain text. || \$title || The site title as set in Config. || -
Link to Image will default this option to '\$title - \$id (\$ext \$size \$filesize)'. +
Link to Post will default this option to '\$title - \$id (\$ext \$size \$filesize)'. -
To reset to the default, simply clear the current setting. Link to Image +
To reset to the default, simply clear the current setting. Link to Post will then fill in the default value after the save.
To leave the setting blank for any reason, leave a space (' ') in it."; diff --git a/ext/link_image/main.php b/ext/link_image/main.php index b3b93ddd..11e70cb5 100644 --- a/ext/link_image/main.php +++ b/ext/link_image/main.php @@ -13,7 +13,7 @@ class LinkImage extends Extension public function onSetupBuilding(SetupBuildingEvent $event) { - $sb = new SetupBlock("Link to Image"); + $sb = new SetupBlock("Link to Post"); $sb->add_text_option("ext_link-img_text-link_format", "Text Link Format: "); $event->panel->add_block($sb); } diff --git a/ext/link_image/test.php b/ext/link_image/test.php index 6ddf7c89..c99f792f 100644 --- a/ext/link_image/test.php +++ b/ext/link_image/test.php @@ -11,6 +11,6 @@ class LinkImageTest extends ShimmiePHPUnitTestCase preg_match("#value='https?://.*/(post/view/[0-9]+)'#", $this->page_to_text(), $matches); $this->assertTrue(count($matches) > 0); $page = $this->get_page($matches[1]); - $this->assertEquals("Image $image_id: pie", $page->title); + $this->assertEquals("Post $image_id: pie", $page->title); } } diff --git a/ext/link_image/theme.php b/ext/link_image/theme.php index 4806e71e..a8c15a5b 100644 --- a/ext/link_image/theme.php +++ b/ext/link_image/theme.php @@ -10,7 +10,7 @@ class LinkImageTheme extends Themelet $page->add_block(new Block( - "Link to Image", + "Link to Post", "