diff --git a/core/basepage.php b/core/basepage.php index e3fb982c..b9f223c7 100644 --- a/core/basepage.php +++ b/core/basepage.php @@ -560,7 +560,7 @@ EOD; $contact = empty($contact_link) ? "" : "
Contact"; return " - Images © their respective owners, + Media © their respective owners, Shimmie © Shish & The Team diff --git a/core/extension.php b/core/extension.php index cf841b54..55cf3de2 100644 --- a/core/extension.php +++ b/core/extension.php @@ -313,17 +313,17 @@ abstract class DataHandlerExtension extends Extension $existing = Image::by_id($event->replace_id); if (is_null($existing)) { - throw new UploadException("Image to replace does not exist!"); + throw new UploadException("Post to replace does not exist!"); } if ($existing->hash === $event->metadata['hash']) { - throw new UploadException("The uploaded image is the same as the one to replace."); + throw new UploadException("The uploaded post is the same as the one to replace."); } // even more hax.. $event->metadata['tags'] = $existing->get_tag_list(); $image = $this->create_image_from_data(warehouse_path(Image::IMAGE_DIR, $event->metadata['hash']), $event->metadata); if (is_null($image)) { - throw new UploadException("Data handler failed to create image object from data"); + throw new UploadException("Data handler failed to create post object from data"); } if (empty($image->get_mime())) { throw new UploadException("Unable to determine MIME for ". $event->tmpname); @@ -339,7 +339,7 @@ abstract class DataHandlerExtension extends Extension } else { $image = $this->create_image_from_data(warehouse_path(Image::IMAGE_DIR, $event->hash), $event->metadata); if (is_null($image)) { - throw new UploadException("Data handler failed to create image object from data"); + throw new UploadException("Data handler failed to create post object from data"); } if (empty($image->get_mime())) { throw new UploadException("Unable to determine MIME for ". $event->tmpname); diff --git a/core/imageboard/image.php b/core/imageboard/image.php index fa54edd3..cee3a9a4 100644 --- a/core/imageboard/image.php +++ b/core/imageboard/image.php @@ -396,7 +396,7 @@ class Image SET owner_id=:owner_id WHERE id=:id ", ["owner_id"=>$owner->id, "id"=>$this->id]); - log_info("core_image", "Owner for Image #{$this->id} set to {$owner->name}"); + log_info("core_image", "Owner for Post #{$this->id} set to {$owner->name}"); } } @@ -648,7 +648,7 @@ class Image } if ($new_source != $old_source) { $database->execute("UPDATE images SET source=:source WHERE id=:id", ["source"=>$new_source, "id"=>$this->id]); - log_info("core_image", "Source for Image #{$this->id} set to: $new_source (was $old_source)"); + log_info("core_image", "Source for Post #{$this->id} set to: $new_source (was $old_source)"); } } @@ -665,7 +665,7 @@ class Image global $database; if ($locked !== $this->locked) { $database->execute("UPDATE images SET locked=:yn WHERE id=:id", ["yn"=>$locked, "id"=>$this->id]); - log_info("core_image", "Setting Image #{$this->id} lock to: $locked"); + log_info("core_image", "Setting Post #{$this->id} lock to: $locked"); } } @@ -782,7 +782,7 @@ class Image ); } - log_info("core_image", "Tags for Image #{$this->id} set to: ".Tag::implode($tags)); + log_info("core_image", "Tags for Post #{$this->id} set to: ".Tag::implode($tags)); $cache->delete("image-{$this->id}-tags"); } } @@ -795,7 +795,7 @@ class Image global $database; $this->delete_tags_from_image(); $database->execute("DELETE FROM images WHERE id=:id", ["id"=>$this->id]); - log_info("core_image", 'Deleted Image #'.$this->id.' ('.$this->hash.')'); + log_info("core_image", 'Deleted Post #'.$this->id.' ('.$this->hash.')'); unlink($this->get_image_filename()); unlink($this->get_thumb_filename()); @@ -807,7 +807,7 @@ class Image */ public function remove_image_only(): void { - log_info("core_image", 'Removed Image File ('.$this->hash.')'); + log_info("core_image", 'Removed Post File ('.$this->hash.')'); @unlink($this->get_image_filename()); @unlink($this->get_thumb_filename()); } diff --git a/ext/admin/info.php b/ext/admin/info.php index 4a396aa9..55cea22d 100644 --- a/ext/admin/info.php +++ b/ext/admin/info.php @@ -15,9 +15,9 @@ class AdminPageInfo extends ExtensionInfo

Lowercase all tags:
Set all tags to lowercase for consistency

Recount tag use: -
If the counts of images per tag get messed up somehow, this will reset them, and remove any unused tags +
If the counts of posts per tag get messed up somehow, this will reset them, and remove any unused tags

Database dump:
Download the contents of the database in plain text format, useful for backups. -

Image dump: -
Download all the images as a .zip file (Requires ZipArchive)"; +

Post dump: +
Download all the posts as a .zip file (Requires ZipArchive)"; } diff --git a/ext/admin/test.php b/ext/admin/test.php index 0e4852bf..e0f5b919 100644 --- a/ext/admin/test.php +++ b/ext/admin/test.php @@ -28,14 +28,14 @@ class AdminPageTest extends ShimmiePHPUnitTestCase // Validate problem $page = $this->get_page("post/view/$image_id_1"); - $this->assertEquals("Image $image_id_1: TeStCase$ts", $page->title); + $this->assertEquals("Post $image_id_1: TeStCase$ts", $page->title); // Fix send_event(new AdminActionEvent('lowercase_all_tags')); // Validate fix $this->get_page("post/view/$image_id_1"); - $this->assert_title("Image $image_id_1: testcase$ts"); + $this->assert_title("Post $image_id_1: testcase$ts"); // Change $_POST["tag"] = "TestCase$ts"; @@ -43,7 +43,7 @@ class AdminPageTest extends ShimmiePHPUnitTestCase // Validate change $this->get_page("post/view/$image_id_1"); - $this->assert_title("Image $image_id_1: TestCase$ts"); + $this->assert_title("Post $image_id_1: TestCase$ts"); } # FIXME: make sure the admin tools actually work diff --git a/ext/alias_editor/test.php b/ext/alias_editor/test.php index 9829cec3..23cad165 100644 --- a/ext/alias_editor/test.php +++ b/ext/alias_editor/test.php @@ -36,7 +36,7 @@ class AliasEditorTest extends ShimmiePHPUnitTestCase $image_id = $this->post_image("tests/pbx_screenshot.jpg", "test1"); $this->get_page("post/view/$image_id"); # check that the tag has been replaced - $this->assert_title("Image $image_id: test2"); + $this->assert_title("Post $image_id: test2"); $this->get_page("post/list/test1/1"); # searching for an alias should find the master tag $this->assert_response(302); $this->get_page("post/list/test2/1"); # check that searching for the main tag still works @@ -67,13 +67,13 @@ class AliasEditorTest extends ShimmiePHPUnitTestCase $image_id_2 = $this->post_image("tests/bedroom_workshop.jpg", "onetag"); $this->get_page("post/list/onetag/1"); # searching for an aliased tag should find its aliases $this->assert_title("multi tag"); - $this->assert_no_text("No Images Found"); + $this->assert_no_text("No Posts Found"); $this->get_page("post/list/multi/1"); $this->assert_title("multi"); - $this->assert_no_text("No Images Found"); + $this->assert_no_text("No Posts Found"); $this->get_page("post/list/multi tag/1"); $this->assert_title("multi tag"); - $this->assert_no_text("No Images Found"); + $this->assert_no_text("No Posts Found"); $this->delete_image($image_id_1); $this->delete_image($image_id_2); diff --git a/ext/approval/main.php b/ext/approval/main.php index 36c435d8..cf83ff0a 100644 --- a/ext/approval/main.php +++ b/ext/approval/main.php @@ -33,7 +33,7 @@ class Approval extends Extension $image_id = isset($_POST['image_id']) ? $_POST['image_id'] : null; } if (empty($image_id)) { - throw new SCoreException("Can not approve image: No valid Image ID given."); + throw new SCoreException("Can not approve post: No valid Post ID given."); } self::approve_image($image_id); @@ -48,7 +48,7 @@ class Approval extends Extension $image_id = isset($_POST['image_id']) ? $_POST['image_id'] : null; } if (empty($image_id)) { - throw new SCoreException("Can not disapprove image: No valid Image ID given."); + throw new SCoreException("Can not disapprove image: No valid Post ID given."); } self::disapprove_image($image_id); diff --git a/ext/approval/theme.php b/ext/approval/theme.php index bde28240..7b85c43c 100644 --- a/ext/approval/theme.php +++ b/ext/approval/theme.php @@ -27,14 +27,14 @@ class ApprovalTheme extends Themelet public function get_help_html() { - return '

Search for images that are approved/not approved.

+ return '

Search for posts that are approved/not approved.

approved:yes
-

Returns images that have been approved.

+

Returns posts that have been approved.

approved:no
-

Returns images that have not been approved.

+

Returns posts that have not been approved.

'; } @@ -42,7 +42,7 @@ class ApprovalTheme extends Themelet public function display_admin_block(SetupBuildingEvent $event) { $sb = new SetupBlock("Approval"); - $sb->add_bool_option(ApprovalConfig::IMAGES, "Images: "); + $sb->add_bool_option(ApprovalConfig::IMAGES, "Posts: "); $event->panel->add_block($sb); } @@ -52,9 +52,9 @@ class ApprovalTheme extends Themelet $html = (string)SHM_SIMPLE_FORM( "admin/approval", - BUTTON(["name"=>'approval_action', "value"=>'approve_all'], "Approve All Images"), + BUTTON(["name"=>'approval_action', "value"=>'approve_all'], "Approve All Posts"), BR(), - BUTTON(["name"=>'approval_action', "value"=>'disapprove_all'], "Disapprove All Images"), + BUTTON(["name"=>'approval_action', "value"=>'disapprove_all'], "Disapprove All Posts"), ); $page->add_block(new Block("Approval", $html)); } diff --git a/ext/artists/theme.php b/ext/artists/theme.php index 0041d495..f3a52d24 100644 --- a/ext/artists/theme.php +++ b/ext/artists/theme.php @@ -27,19 +27,19 @@ class ArtistsTheme extends Themelet "; } - + if ($mode == "editor") { $html = "
".$user->get_auth_html()."
- +
".$user->get_auth_html()."
"; - + if ($is_admin) { $html .= "
".$user->get_auth_html()." @@ -47,19 +47,19 @@ class ArtistsTheme extends Themelet
"; } - + $html .= "
".$user->get_auth_html()."
- +
".$user->get_auth_html()."
- +
".$user->get_auth_html()." @@ -131,7 +131,7 @@ class ArtistsTheme extends Themelet global $page; $page->add_block(new Block("Edit artist", $html, "main", 10)); } - + public function new_artist_composer() { global $page, $user; @@ -152,7 +152,7 @@ class ArtistsTheme extends Themelet $page->set_heading("Artists"); $page->add_block(new Block("Artists", $html, "main", 10)); } - + public function list_artists($artists, $pageNumber, $totalPages) { global $user, $page; @@ -167,7 +167,7 @@ class ArtistsTheme extends Themelet if (!$user->is_anonymous()) { $html .= "Action"; } // space for edit link - + $html .= ""; $deletionLinkActionArray = [ @@ -244,7 +244,7 @@ class ArtistsTheme extends Themelet -
+ '; global $page; @@ -354,7 +354,7 @@ class ArtistsTheme extends Themelet "; - + if ($userIsLogged) { $html .= ""; } @@ -402,13 +402,13 @@ class ArtistsTheme extends Themelet $artist_images = ""; foreach ($images as $image) { $thumb_html = $this->build_thumb_html($image); - + $artist_images .= ''. ''.$thumb_html.''. ''; } - - $page->add_block(new Block("Artist Images", $artist_images, "main", 20)); + + $page->add_block(new Block("Artist Posts", $artist_images, "main", 20)); } private function render_aliases(array $aliases, bool $userIsLogged, bool $userIsAdmin): string @@ -548,11 +548,11 @@ class ArtistsTheme extends Themelet public function get_help_html() { - return '

Search for images with a particular artist.

+ return '

Search for posts with a particular artist.

artist=leonardo
-

Returns images with the artist "leonardo".

-
+

Returns posts with the artist "leonardo".

+ '; } } diff --git a/ext/auto_tagger/test.php b/ext/auto_tagger/test.php index 9d1e096d..d4e9a6eb 100644 --- a/ext/auto_tagger/test.php +++ b/ext/auto_tagger/test.php @@ -37,14 +37,14 @@ class AutoTaggerTest extends ShimmiePHPUnitTestCase $image_id = $this->post_image("tests/pbx_screenshot.jpg", "test1"); $this->get_page("post/view/$image_id"); # check that the tag has been replaced - $this->assert_title("Image $image_id: test1 test2"); + $this->assert_title("Post $image_id: test1 test2"); $this->delete_image($image_id); send_event(new AddAutoTagEvent("test2", "test3")); $image_id = $this->post_image("tests/pbx_screenshot.jpg", "test1"); $this->get_page("post/view/$image_id"); # check that the tag has been replaced - $this->assert_title("Image $image_id: test1 test2 test3"); + $this->assert_title("Post $image_id: test1 test2 test3"); $this->delete_image($image_id); send_event(new DeleteAutoTagEvent("test1")); diff --git a/ext/bbcode/info.php b/ext/bbcode/info.php index d01ac5b5..5ee10f5a 100644 --- a/ext/bbcode/info.php +++ b/ext/bbcode/info.php @@ -27,6 +27,6 @@ class BBCodeInfo extends ExtensionInfo
  • [[wiki article|with some text]]
  • [quote]text[/quote]
  • [quote=Username]text[/quote] -
  • >>123 (link to image #123) +
  • >>123 (link to post #123) "; } diff --git a/ext/bulk_actions/info.php b/ext/bulk_actions/info.php index fc25998d..bb49ea82 100644 --- a/ext/bulk_actions/info.php +++ b/ext/bulk_actions/info.php @@ -9,5 +9,5 @@ class BulkActionsInfo extends ExtensionInfo public $authors = ["Matthew Barbour"=>"matthew@darkholme.net"]; public $license = self::LICENSE_WTFPL; public $description = "Provides query and selection-based bulk action support"; - public $documentation = "Provides bulk action section in list view. Allows performing actions against a set of images based on query or manual selection. Based on Mass Tagger by Christian Walde , contributions by Shish and Agasa."; + public $documentation = "Provides bulk action section in list view. Allows performing actions against a set of posts based on query or manual selection. Based on Mass Tagger by Christian Walde , contributions by Shish and Agasa."; } diff --git a/ext/bulk_actions/theme.php b/ext/bulk_actions/theme.php index 52b3f24c..68a66bcb 100644 --- a/ext/bulk_actions/theme.php +++ b/ext/bulk_actions/theme.php @@ -8,7 +8,7 @@ class BulkActionsTheme extends Themelet
  • ", $exts); - return '

    Search for images by extension

    + return '

    Search for posts by extension

    ext=jpg
    -

    Returns images with the extension "jpg".

    +

    Returns posts with the extension "jpg".

    These extensions are available in the system: @@ -26,11 +26,11 @@ class MimeSystemTheme extends Themelet
    -

    Search for images by MIME type

    +

    Search for posts by MIME type

    mime=image/jpeg
    -

    Returns images that have the MIME type "image/jpeg".

    +

    Returns posts that have the MIME type "image/jpeg".

    These MIME types are available in the system: diff --git a/ext/not_a_tag/main.php b/ext/not_a_tag/main.php index be1c3e22..2658fb71 100644 --- a/ext/not_a_tag/main.php +++ b/ext/not_a_tag/main.php @@ -147,7 +147,7 @@ class NotATag extends Extension "DELETE FROM untags WHERE LOWER(tag) = LOWER(:tag)", ["tag"=>$input['d_tag']] ); - $page->flash("Image ban removed"); + $page->flash("Post ban removed"); $page->set_mode(PageMode::REDIRECT); $page->set_redirect(referer_or(make_link())); } elseif ($event->get_arg(0) == "list") { diff --git a/ext/not_a_tag/test.php b/ext/not_a_tag/test.php index a75f0a77..64495acf 100644 --- a/ext/not_a_tag/test.php +++ b/ext/not_a_tag/test.php @@ -13,12 +13,12 @@ class NotATagTest extends ShimmiePHPUnitTestCase // Original $this->get_page("post/view/$image_id"); - $this->assert_title("Image $image_id: pbx"); + $this->assert_title("Post $image_id: pbx"); // Modified OK send_event(new TagSetEvent($image, ["two"])); $this->get_page("post/view/$image_id"); - $this->assert_title("Image $image_id: two"); + $this->assert_title("Post $image_id: two"); // Modified Bad as user - redirect try { @@ -28,12 +28,12 @@ class NotATagTest extends ShimmiePHPUnitTestCase $this->assertTrue(true); } $this->get_page("post/view/$image_id"); - $this->assert_title("Image $image_id: two"); + $this->assert_title("Post $image_id: two"); // Modified Bad as admin - ignore (should warn?) $this->log_in_as_admin(); send_event(new TagSetEvent($image, ["four", "face"])); $this->get_page("post/view/$image_id"); - $this->assert_title("Image $image_id: four"); + $this->assert_title("Post $image_id: four"); } } diff --git a/ext/notes/theme.php b/ext/notes/theme.php index abc18993..c6a2c6aa 100644 --- a/ext/notes/theme.php +++ b/ext/notes/theme.php @@ -186,7 +186,7 @@ class NotesTheme extends Themelet $html = "". "". - "". + "". "". "". "". @@ -250,23 +250,23 @@ class NotesTheme extends Themelet public function get_help_html() { - return '

    Search for images with notes.

    + return '

    Search for posts with notes.

    note=noted
    -

    Returns images with a note matching "noted".

    +

    Returns posts with a note matching "noted".

    notes>0
    -

    Returns images with 1 or more notes.

    +

    Returns posts with 1 or more notes.

    Can use <, <=, >, >=, or =.

    notes_by=username
    -

    Returns images with note(s) by "username".

    +

    Returns posts with note(s) by "username".

    notes_by_user_id=123
    -

    Returns images with note(s) by user 123.

    +

    Returns posts with note(s) by user 123.

    '; } diff --git a/ext/numeric_score/info.php b/ext/numeric_score/info.php index beb2059c..9ee731a1 100644 --- a/ext/numeric_score/info.php +++ b/ext/numeric_score/info.php @@ -5,10 +5,10 @@ class NumericScoreInfo extends ExtensionInfo public const KEY = "numeric_score"; public $key = self::KEY; - public $name = "Image Scores (Numeric)"; + public $name = "Post Scores (Numeric)"; public $url = self::SHIMMIE_URL; public $authors = self::SHISH_AUTHOR; public $license = self::LICENSE_GPLV2; public $description = "Allow users to score images"; - public $documentation ="Each registered user may vote an image +1 or -1, the image's score is the sum of all votes."; + public $documentation ="Each registered user may vote a post +1 or -1, the image's score is the sum of all votes."; } diff --git a/ext/numeric_score/main.php b/ext/numeric_score/main.php index dfb2d369..2fda09e5 100644 --- a/ext/numeric_score/main.php +++ b/ext/numeric_score/main.php @@ -162,7 +162,7 @@ class NumericScore extends Extension public function onNumericScoreSet(NumericScoreSetEvent $event) { global $user; - log_debug("numeric_score", "Rated >>{$event->image_id} as {$event->score}", "Rated Image"); + log_debug("numeric_score", "Rated >>{$event->image_id} as {$event->score}", "Rated Post"); $this->add_vote($event->image_id, $user->id, $event->score); } diff --git a/ext/numeric_score/theme.php b/ext/numeric_score/theme.php index 8cb01ce2..71551523 100644 --- a/ext/numeric_score/theme.php +++ b/ext/numeric_score/theme.php @@ -51,7 +51,7 @@ class NumericScoreTheme extends Themelet "; } - $page->add_block(new Block("Image Score", $html, "left", 20)); + $page->add_block(new Block("Post Score", $html, "left", 20)); } public function get_nuller(User $duser) @@ -96,32 +96,32 @@ class NumericScoreTheme extends Themelet public function get_help_html() { - return '

    Search for images that have received numeric scores by the score or by the scorer.

    + return '

    Search for posts that have received numeric scores by the score or by the scorer.

    score=1
    -

    Returns images with a score of 1.

    +

    Returns posts with a score of 1.

    score>0
    -

    Returns images with a score of 1 or more.

    +

    Returns posts with a score of 1 or more.

    Can use <, <=, >, >=, or =.

    upvoted_by=username
    -

    Returns images upvoted by "username".

    +

    Returns posts upvoted by "username".

    upvoted_by_id=123
    -

    Returns images upvoted by user 123.

    +

    Returns posts upvoted by user 123.

    downvoted_by=username
    -

    Returns images downvoted by "username".

    +

    Returns posts downvoted by "username".

    downvoted_by_id=123
    -

    Returns images downvoted by user 123.

    +

    Returns posts downvoted by user 123.

    diff --git a/ext/pm_triggers/info.php b/ext/pm_triggers/info.php index b4226c9a..97ffec1d 100644 --- a/ext/pm_triggers/info.php +++ b/ext/pm_triggers/info.php @@ -9,6 +9,6 @@ class PMTriggerInfo extends ExtensionInfo public $url = self::SHIMMIE_URL; public $authors = self::SHISH_AUTHOR; public $license = self::LICENSE_GPLV2; - public $description = "Send PMs in response to certain events (eg image deletion)"; + public $description = "Send PMs in response to certain events (eg post deletion)"; public $beta = true; } diff --git a/ext/pm_triggers/main.php b/ext/pm_triggers/main.php index ad1039f3..f8cae750 100644 --- a/ext/pm_triggers/main.php +++ b/ext/pm_triggers/main.php @@ -6,8 +6,8 @@ class PMTrigger extends Extension { $this->send( $event->image->owner_id, - "[System] An image you uploaded has been deleted", - "Image le gone~ (#{$event->image->id}, {$event->image->get_tag_list()})" + "[System] A post you uploaded has been deleted", + "Post le gone~ (#{$event->image->id}, {$event->image->get_tag_list()})" ); } diff --git a/ext/pools/main.php b/ext/pools/main.php index 4bfdd8e4..86ec0484 100644 --- a/ext/pools/main.php +++ b/ext/pools/main.php @@ -179,7 +179,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, "
    Images per page: "); + $sb->add_int_option(PoolsConfig::IMAGES_PER_PAGE, "
    Posts per page: "); $sb->add_int_option(PoolsConfig::LISTS_PER_PAGE, "
    Index list items per page: "); $sb->add_int_option(PoolsConfig::UPDATED_PER_PAGE, "
    Updated list items per page: "); $sb->add_bool_option(PoolsConfig::INFO_ON_VIEW_IMAGE, "
    Show pool info on image: "); diff --git a/ext/pools/theme.php b/ext/pools/theme.php index 63940d16..6f5aea3b 100644 --- a/ext/pools/theme.php +++ b/ext/pools/theme.php @@ -45,7 +45,7 @@ class PoolsTheme extends Themelet $h - + "; } @@ -396,26 +396,26 @@ class PoolsTheme extends Themelet public function get_help_html() { - return '

    Search for images that are in a pool.

    + return '

    Search for posts that are in a pool.

    pool=1
    -

    Returns images in pool #1.

    +

    Returns posts in pool #1.

    pool=any
    -

    Returns images in any pool.

    +

    Returns posts in any pool.

    pool=none
    -

    Returns images not in any pool.

    +

    Returns posts not in any pool.

    pool_by_name=swimming
    -

    Returns images in the "swimming" pool.

    +

    Returns posts in the "swimming" pool.

    pool_by_name=swimming_pool
    -

    Returns images in the "swimming pool" pool. Note that the underscore becomes a space

    +

    Returns posts in the "swimming pool" pool. Note that the underscore becomes a space

    '; } diff --git a/ext/private_image/info.php b/ext/private_image/info.php index 65ca5279..c46a8864 100644 --- a/ext/private_image/info.php +++ b/ext/private_image/info.php @@ -5,7 +5,7 @@ class PrivateImageInfo extends ExtensionInfo public const KEY = "private_image"; public $key = self::KEY; - public $name = "Private Image"; + public $name = "Private Post"; public $authors = ["Matthew Barbour"=>"matthew@darkholme.net"]; public $license = self::LICENSE_WTFPL; public $description = "Allows users to mark images as private, which prevents other users from seeing them."; diff --git a/ext/private_image/main.php b/ext/private_image/main.php index 316d079e..0e4f9e6a 100644 --- a/ext/private_image/main.php +++ b/ext/private_image/main.php @@ -47,11 +47,11 @@ class PrivateImage extends Extension $image_id = isset($_POST['image_id']) ? $_POST['image_id'] : null; } if (empty($image_id)) { - throw new SCoreException("Can not make image private: No valid Image ID given."); + throw new SCoreException("Can not make image private: No valid Post ID given."); } $image = Image::by_id($image_id); if ($image==null) { - throw new SCoreException("Image not found."); + throw new SCoreException("Post not found."); } if ($image->owner_id!=$user->can(Permissions::SET_OTHERS_PRIVATE_IMAGES)) { throw new SCoreException("Cannot set another user's image to private."); @@ -69,11 +69,11 @@ class PrivateImage extends Extension $image_id = isset($_POST['image_id']) ? $_POST['image_id'] : null; } if (empty($image_id)) { - throw new SCoreException("Can not make image public: No valid Image ID given."); + throw new SCoreException("Can not make image public: No valid Post ID given."); } $image = Image::by_id($image_id); if ($image==null) { - throw new SCoreException("Image not found."); + throw new SCoreException("Post not found."); } if ($image->owner_id!=$user->can(Permissions::SET_OTHERS_PRIVATE_IMAGES)) { throw new SCoreException("Cannot set another user's image to private."); @@ -181,7 +181,7 @@ class PrivateImage extends Extension { if ($event->key===HelpPages::SEARCH) { $block = new Block(); - $block->header = "Private Images"; + $block->header = "Private Posts"; $block->body = $this->theme->get_help_html(); $event->add_block($block); } diff --git a/ext/private_image/theme.php b/ext/private_image/theme.php index ebf5fd1b..263503ca 100644 --- a/ext/private_image/theme.php +++ b/ext/private_image/theme.php @@ -27,14 +27,14 @@ class PrivateImageTheme extends Themelet public function get_help_html() { - return '

    Search for images that are private/public.

    + return '

    Search for posts that are private/public.

    private:yes
    -

    Returns images that are private, restricted to yourself if you are not an admin.

    +

    Returns posts that are private, restricted to yourself if you are not an admin.

    private:no
    -

    Returns images that are public.

    +

    Returns posts that are public.

    '; } diff --git a/ext/qr_code/info.php b/ext/qr_code/info.php index bdb0b914..684f1531 100644 --- a/ext/qr_code/info.php +++ b/ext/qr_code/info.php @@ -11,7 +11,7 @@ class QRImageInfo extends ExtensionInfo public $license = self::LICENSE_GPLV2; public $description = "Turns BBCode into HTML"; public $documentation = -"Shows a QR Code for downloading an image to cell phones. -Based on Artanis's Link to Image Extension +"Shows a QR Code for downloading a post to cell phones. +Based on Artanis's Link to Post Extension Further modified by Shish to remove the 7MB local QR generator and replace it with a link to google chart APIs"; } diff --git a/ext/random_image/info.php b/ext/random_image/info.php index 4b01c327..bc6ac3a1 100644 --- a/ext/random_image/info.php +++ b/ext/random_image/info.php @@ -5,22 +5,22 @@ class RandomImageInfo extends ExtensionInfo public const KEY = "random_image"; public $key = self::KEY; - public $name = "Random Image"; + public $name = "Random Post"; public $url = self::SHIMMIE_URL; public $authors = self::SHISH_AUTHOR; public $license = self::LICENSE_GPLV2; - public $description = "Do things with a random image"; + public $description = "Do things with a random post"; public $documentation = -"Viewing a random image +"Viewing a random post
    Visit /random_image/view -

    Downloading a random image +

    Downloading a random post
    Link to /random_image/download. This will give -the raw data for an image (no HTML). This is useful so that you +the raw data for a post (no HTML). This is useful so that you can set your desktop wallpaper to be the download URL, refreshed every couple of hours. -

    Getting a random image from a subset -
    Adding a slash and some search terms will get a random image +

    Getting a random post from a subset +
    Adding a slash and some search terms will get a random post from those results. This can be useful if you want a specific size -of random image, or from a category. You could link to +of random post, or from a category. You could link to /random_image/download/size=1024x768+cute"; } diff --git a/ext/random_image/main.php b/ext/random_image/main.php index a7fa55b5..e0e59355 100644 --- a/ext/random_image/main.php +++ b/ext/random_image/main.php @@ -22,7 +22,7 @@ class RandomImage extends Extension $image = Image::by_random($search_terms); if (!$image) { throw new SCoreException( - "Couldn't find any images randomly", + "Couldn't find any posts randomly", Tag::implode($search_terms) ); } @@ -43,7 +43,7 @@ class RandomImage extends Extension public function onSetupBuilding(SetupBuildingEvent $event) { - $sb = new SetupBlock("Random Image"); + $sb = new SetupBlock("Random Post"); $sb->add_bool_option("show_random_block", "Show Random Block: "); $event->panel->add_block($sb); } @@ -62,7 +62,7 @@ class RandomImage extends Extension public function onPageSubNavBuilding(PageSubNavBuildingEvent $event) { if ($event->parent=="posts") { - $event->add_nav_link("posts_random", new Link('random_image/view'), "Random Image"); + $event->add_nav_link("posts_random", new Link('random_image/view'), "Random Post"); } } } diff --git a/ext/random_image/test.php b/ext/random_image/test.php index b9af4950..0e185836 100644 --- a/ext/random_image/test.php +++ b/ext/random_image/test.php @@ -8,10 +8,10 @@ class RandomImageTest extends ShimmiePHPUnitTestCase $this->log_out(); $page = $this->get_page("random_image/view"); - $this->assertEquals("Image $image_id: test", $page->title); + $this->assertEquals("Post $image_id: test", $page->title); $page = $this->get_page("random_image/view/test"); - $this->assertEquals("Image $image_id: test", $page->title); + $this->assertEquals("Post $image_id: test", $page->title); $page = $this->get_page("random_image/download"); $this->assertNotNull($page->data); @@ -27,21 +27,21 @@ class RandomImageTest extends ShimmiePHPUnitTestCase # enabled, no image = no text $config->set_bool("show_random_block", true); $page = $this->get_page("post/list"); - $this->assertNull($page->find_block("Random Image")); + $this->assertNull($page->find_block("Random Post")); # enabled, image = text $image_id = $this->post_image("tests/pbx_screenshot.jpg", "test"); $page = $this->get_page("post/list"); - $this->assertNotNull($page->find_block("Random Image")); + $this->assertNotNull($page->find_block("Random Post")); # disabled, image = no text $config->set_bool("show_random_block", false); $page = $this->get_page("post/list"); - $this->assertNull($page->find_block("Random Image")); + $this->assertNull($page->find_block("Random Post")); # disabled, no image = no image $this->delete_image($image_id); $page = $this->get_page("post/list"); - $this->assertNull($page->find_block("Random Image")); + $this->assertNull($page->find_block("Random Post")); } } diff --git a/ext/random_image/theme.php b/ext/random_image/theme.php index dc17d0af..38606619 100644 --- a/ext/random_image/theme.php +++ b/ext/random_image/theme.php @@ -7,7 +7,7 @@ class RandomImageTheme extends Themelet { public function display_random(Page $page, Image $image) { - $page->add_block(new Block("Random Image", $this->build_random_html($image), "left", 8)); + $page->add_block(new Block("Random Post", $this->build_random_html($image), "left", 8)); } public function build_random_html(Image $image, ?string $query = null): string diff --git a/ext/random_list/info.php b/ext/random_list/info.php index fab27994..76d9c161 100644 --- a/ext/random_list/info.php +++ b/ext/random_list/info.php @@ -9,8 +9,8 @@ class RandomListInfo extends ExtensionInfo public $url = "http://www.drudexsoftware.com"; public $authors = ["Drudex Software"=>"support@drudexsoftware.com"]; public $license = self::LICENSE_GPLV2; - public $description = "Allows displaying a page with random images"; + public $description = "Allows displaying a page with random posts"; public $documentation = -"Random image list can be accessed through www.yoursite.com/random +"Random post list can be accessed through www.yoursite.com/random It is recommended that you create a link to this page so users know it exists."; } diff --git a/ext/random_list/main.php b/ext/random_list/main.php index dbef258a..95a43ee0 100644 --- a/ext/random_list/main.php +++ b/ext/random_list/main.php @@ -35,7 +35,7 @@ class RandomList extends Extension $images_per_page = $config->get_int("random_images_list_count", 12); $random_images = []; - // generate random images + // generate random posts for ($i = 0; $i < $images_per_page; $i++) { $random_image = Image::by_random($search_terms); if (!$random_image) { @@ -57,12 +57,12 @@ class RandomList extends Extension public function onSetupBuilding(SetupBuildingEvent $event) { - $sb = new SetupBlock("Random Images List"); + $sb = new SetupBlock("Random Posts List"); // custom headers $sb->add_int_option( "random_images_list_count", - "Amount of Random images to display " + "Amount of Random posts to display " ); $event->panel->add_block($sb); diff --git a/ext/random_list/theme.php b/ext/random_list/theme.php index 3714d3ad..cf45bb63 100644 --- a/ext/random_list/theme.php +++ b/ext/random_list/theme.php @@ -17,9 +17,9 @@ class RandomListTheme extends Themelet */ public function display_page(Page $page, array $images) { - $page->title = "Random Images"; + $page->title = "Random Posts"; - $html = "Refresh the page to view more images"; + $html = "Refresh the page to view more posts"; if (count($images)) { $html .= "

    "; @@ -29,10 +29,10 @@ class RandomListTheme extends Themelet $html .= "
    "; } else { - $html .= "

    No images were found to match the search criteria"; + $html .= "

    No posts were found to match the search criteria"; } - $page->add_block(new Block("Random Images", $html)); + $page->add_block(new Block("Random Posts", $html)); $nav = $this->build_navigation($this->search_terms); $page->add_block(new Block("Navigation", $nav, "left", 0)); diff --git a/ext/rating/info.php b/ext/rating/info.php index c7836f29..39490b41 100644 --- a/ext/rating/info.php +++ b/ext/rating/info.php @@ -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; diff --git a/ext/rating/main.php b/ext/rating/main.php index b2c8216d..661831e2 100644 --- a/ext/rating/main.php +++ b/ext/rating/main.php @@ -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") { diff --git a/ext/rating/theme.php b/ext/rating/theme.php index a8d74452..52317ea1 100644 --- a/ext/rating/theme.php +++ b/ext/rating/theme.php @@ -63,20 +63,20 @@ class RatingsTheme extends Themelet public function get_help_html(array $ratings) { - $output = '

    Search for images with one or more possible ratings.

    + $output = '

    Search for posts with one or more possible ratings.

    rating:'.$ratings[0]->search_term.'
    -

    Returns images with the '.$ratings[0]->name.' rating.

    +

    Returns posts with the '.$ratings[0]->name.' rating.

    Ratings can be abbreviated to a single letter as well

    rating:'.$ratings[0]->code.'
    -

    Returns images with the '.$ratings[0]->name.' rating.

    +

    Returns posts with the '.$ratings[0]->name.' rating.

    If abbreviations are used, multiple ratings can be searched for.

    rating:'.$ratings[0]->code.$ratings[1]->code.'
    -

    Returns images with the '.$ratings[0]->name.' or '.$ratings[1]->name.' rating.

    +

    Returns posts with the '.$ratings[0]->name.' or '.$ratings[1]->name.' rating.

    Available ratings:

    ImagePostNoteBodyUpdater
    diff --git a/ext/regen_thumb/info.php b/ext/regen_thumb/info.php index 7f0a8ab5..b4736aea 100644 --- a/ext/regen_thumb/info.php +++ b/ext/regen_thumb/info.php @@ -11,7 +11,7 @@ class RegenThumbInfo extends ExtensionInfo public $license = self::LICENSE_GPLV2; public $description = "Regenerate a thumbnail image"; public $documentation = -"This adds a button in the image control section on an image's view page, which allows an admin to regenerate -an image's thumbnail; useful for instance if the first attempt failed due to lack of memory, and memory has +"This adds a button in the post control section on a post's view page, which allows an admin to regenerate +a post's thumbnail; useful for instance if the first attempt failed due to lack of memory, and memory has since been increased."; } diff --git a/ext/relationships/theme.php b/ext/relationships/theme.php index 4cd63984..8b484fa6 100644 --- a/ext/relationships/theme.php +++ b/ext/relationships/theme.php @@ -50,27 +50,27 @@ class RelationshipsTheme extends Themelet public function get_help_html() { - return '

    Search for images that have parent/child relationships.

    + return '

    Search for posts that have parent/child relationships.

    parent=any
    -

    Returns images that have a parent.

    -
    +

    Returns posts that have a parent.

    +
    parent=none
    -

    Returns images that have no parent.

    -
    +

    Returns posts that have no parent.

    +
    parent=123
    -

    Returns images that have image 123 set as parent.

    -
    +

    Returns posts that have image 123 set as parent.

    +
    child=any
    -

    Returns images that have at least 1 child.

    -
    +

    Returns posts that have at least 1 child.

    +
    child=none
    -

    Returns images that have no children.

    -
    +

    Returns posts that have no children.

    + '; } } diff --git a/ext/report_image/info.php b/ext/report_image/info.php index 290b4c0c..54771baa 100644 --- a/ext/report_image/info.php +++ b/ext/report_image/info.php @@ -5,10 +5,10 @@ class ReportImageInfo extends ExtensionInfo public const KEY = "report_image"; public $key = self::KEY; - public $name = "Report Images"; + public $name = "Report Posts"; public $url = "http://atravelinggeek.com/"; public $authors = ["ATravelingGeek"=>"atg@atravelinggeek.com"]; public $license = self::LICENSE_GPLV2; - public $description = "Report images as dupes/illegal/etc"; + public $description = "Report posts as dupes/illegal/etc"; public $version = "0.3a"; } diff --git a/ext/report_image/main.php b/ext/report_image/main.php index 3ccf6be3..65580cbf 100644 --- a/ext/report_image/main.php +++ b/ext/report_image/main.php @@ -57,7 +57,7 @@ class ReportImage extends Extension $page->set_mode(PageMode::REDIRECT); $page->set_redirect(make_link("post/view/$image_id")); } else { - $this->theme->display_error(500, "Missing input", "Missing image ID or report reason"); + $this->theme->display_error(500, "Missing input", "Missing post ID or report reason"); } } elseif ($event->get_arg(0) == "remove") { if (!empty($_POST['id'])) { @@ -67,7 +67,7 @@ class ReportImage extends Extension $page->set_redirect(make_link("image_report/list")); } } else { - $this->theme->display_error(500, "Missing input", "Missing image ID"); + $this->theme->display_error(500, "Missing input", "Missing post ID"); } } elseif ($event->get_arg(0) == "remove_reports_by" && $user->check_auth_token()) { if ($user->can(Permissions::VIEW_IMAGE_REPORT)) { @@ -128,7 +128,7 @@ class ReportImage extends Extension $count = $this->count_reported_images(); $h_count = $count > 0 ? " ($count)" : ""; - $event->add_nav_link("image_report", new Link('image_report/list'), "Reported Images$h_count"); + $event->add_nav_link("image_report", new Link('image_report/list'), "Reported Posts$h_count"); } } } @@ -139,7 +139,7 @@ class ReportImage extends Extension if ($user->can(Permissions::VIEW_IMAGE_REPORT)) { $count = $this->count_reported_images(); $h_count = $count > 0 ? " ($count)" : ""; - $event->add_link("Reported Images$h_count", make_link("image_report/list")); + $event->add_link("Reported Posts$h_count", make_link("image_report/list")); } } @@ -157,7 +157,7 @@ class ReportImage extends Extension public function onSetupBuilding(SetupBuildingEvent $event) { - $sb = new SetupBlock("Image Reports"); + $sb = new SetupBlock("Post Reports"); $opts = [ "Reporter Only" => "user", diff --git a/ext/report_image/test.php b/ext/report_image/test.php index b831da50..0899582b 100644 --- a/ext/report_image/test.php +++ b/ext/report_image/test.php @@ -15,12 +15,12 @@ class ReportImageTest extends ShimmiePHPUnitTestCase // Check that the report exists $config->set_bool("report_image_show_thumbs", true); $this->get_page("image_report/list"); - $this->assert_title("Reported Images"); + $this->assert_title("Reported Posts"); $this->assert_text("report details"); $config->set_bool("report_image_show_thumbs", false); $this->get_page("image_report/list"); - $this->assert_title("Reported Images"); + $this->assert_title("Reported Posts"); $this->assert_text("report details"); $this->assert_text("$image_id"); @@ -30,7 +30,7 @@ class ReportImageTest extends ShimmiePHPUnitTestCase // Check that the report is gone $this->get_page("image_report/list"); - $this->assert_title("Reported Images"); + $this->assert_title("Reported Posts"); $this->assert_no_text("report details"); # FIXME: test delete image from report screen diff --git a/ext/report_image/theme.php b/ext/report_image/theme.php index 2de8df5d..fdc9f17b 100644 --- a/ext/report_image/theme.php +++ b/ext/report_image/theme.php @@ -40,15 +40,15 @@ class ReportImageTheme extends Themelet $thumb_width = $config->get_int(ImageConfig::THUMB_WIDTH); $html = "
    - + $h_reportedimages
    ImageReasonAction
    PostReasonAction
    "; - $page->set_title("Reported Images"); - $page->set_heading("Reported Images"); + $page->set_title("Reported Posts"); + $page->set_heading("Reported Posts"); $page->add_block(new NavBlock()); - $page->add_block(new Block("Reported Images", $html)); + $page->add_block(new Block("Reported Posts", $html)); } /** @@ -84,7 +84,7 @@ class ReportImageTheme extends Themelet "; - $page->add_block(new Block("Report Image", $html, "left")); + $page->add_block(new Block("Report Post", $html, "left")); } public function get_nuller(User $duser) diff --git a/ext/res_limit/main.php b/ext/res_limit/main.php index 14c746cf..e5df6be9 100644 --- a/ext/res_limit/main.php +++ b/ext/res_limit/main.php @@ -19,16 +19,16 @@ class ResolutionLimit extends Extension $image = $event->image; if ($min_w > 0 && $image->width < $min_w) { - throw new UploadException("Image too small"); + throw new UploadException("Post too small"); } if ($min_h > 0 && $image->height < $min_h) { - throw new UploadException("Image too small"); + throw new UploadException("Post too small"); } if ($max_w > 0 && $image->width > $max_w) { - throw new UploadException("Image too large"); + throw new UploadException("Post too large"); } if ($max_h > 0 && $image->height > $max_h) { - throw new UploadException("Image too large"); + throw new UploadException("Post too large"); } if (count($ratios) > 0) { @@ -49,7 +49,7 @@ class ResolutionLimit extends Extension } if ($valids > 0 && !$ok) { throw new UploadException( - "Image needs to be in one of these ratios: ". + "Post needs to be in one of these ratios: ". html_escape($config->get_string("upload_ratios", "")) ); } diff --git a/ext/res_limit/test.php b/ext/res_limit/test.php index ecf25159..b8a21fbf 100644 --- a/ext/res_limit/test.php +++ b/ext/res_limit/test.php @@ -13,8 +13,8 @@ class ResolutionLimitTest extends ShimmiePHPUnitTestCase $this->log_in_as_user(); $this->post_image("tests/pbx_screenshot.jpg", "pbx computer screenshot"); //$this->assert_response(302); - $this->assert_no_text("Image too large"); - $this->assert_no_text("Image too small"); + $this->assert_no_text("Post too large"); + $this->assert_no_text("Post too small"); $this->assert_no_text("ratio"); } @@ -32,7 +32,7 @@ class ResolutionLimitTest extends ShimmiePHPUnitTestCase $this->post_image("tests/pbx_screenshot.jpg", "pbx computer screenshot"); $this->assertTrue(false, "Invalid-size image was allowed"); } catch (UploadException $e) { - $this->assertEquals("Image too small", $e->getMessage()); + $this->assertEquals("Post too small", $e->getMessage()); } } @@ -49,7 +49,7 @@ class ResolutionLimitTest extends ShimmiePHPUnitTestCase $this->post_image("tests/pbx_screenshot.jpg", "pbx computer screenshot"); $this->assertTrue(false, "Invalid-size image was allowed"); } catch (UploadException $e) { - $this->assertEquals("Image too large", $e->getMessage()); + $this->assertEquals("Post too large", $e->getMessage()); } } @@ -66,7 +66,7 @@ class ResolutionLimitTest extends ShimmiePHPUnitTestCase $this->post_image("tests/pbx_screenshot.jpg", "pbx computer screenshot"); $this->assertTrue(false, "Invalid-size image was allowed"); } catch (UploadException $e) { - $this->assertEquals("Image needs to be in one of these ratios: 16:9", $e->getMessage()); + $this->assertEquals("Post needs to be in one of these ratios: 16:9", $e->getMessage()); } } diff --git a/ext/resize/info.php b/ext/resize/info.php index b5d7057a..477d79ca 100644 --- a/ext/resize/info.php +++ b/ext/resize/info.php @@ -11,7 +11,7 @@ class ResizeImageInfo extends ExtensionInfo public const KEY = "resize"; public $key = self::KEY; - public $name = "Resize Image"; + public $name = "Resize Post"; public $authors = ["jgen"=>"jgen.tech@gmail.com"]; public $license = self::LICENSE_GPLV2; public $description = "This extension allows admins to resize images."; diff --git a/ext/resize/main.php b/ext/resize/main.php index 0b2a371b..de1a95e1 100644 --- a/ext/resize/main.php +++ b/ext/resize/main.php @@ -126,12 +126,12 @@ class ResizeImage extends Extension $image_id = isset($_POST['image_id']) ? int_escape($_POST['image_id']) : null; } if (empty($image_id)) { - throw new ImageResizeException("Can not resize Image: No valid Image ID given."); + throw new ImageResizeException("Can not resize Image: No valid Post ID given."); } $image = Image::by_id($image_id); if (is_null($image)) { - $this->theme->display_error(404, "Image not found", "No image in the database has the ID #$image_id"); + $this->theme->display_error(404, "Post not found", "No image in the database has the ID #$image_id"); } else { /* Check if options were given to resize an image. */ diff --git a/ext/rotate/main.php b/ext/rotate/main.php index 81d53f06..b947ce0d 100644 --- a/ext/rotate/main.php +++ b/ext/rotate/main.php @@ -57,12 +57,12 @@ class RotateImage extends Extension $image_id = isset($_POST['image_id']) ? $_POST['image_id'] : null; } if (empty($image_id)) { - throw new ImageRotateException("Can not rotate Image: No valid Image ID given."); + throw new ImageRotateException("Can not rotate Image: No valid Post ID given."); } $image = Image::by_id($image_id); if (is_null($image)) { - $this->theme->display_error(404, "Image not found", "No image in the database has the ID #$image_id"); + $this->theme->display_error(404, "Post not found", "No image in the database has the ID #$image_id"); } else { /* Check if options were given to rotate an image. */ @@ -104,7 +104,7 @@ class RotateImage extends Extension $image_obj = Image::by_id($image_id); $hash = $image_obj->hash; if (is_null($hash)) { - throw new ImageRotateException("Image does not have a hash associated with it."); + throw new ImageRotateException("Post does not have a hash associated with it."); } $image_filename = warehouse_path(Image::IMAGE_DIR, $hash); diff --git a/ext/rss_images/info.php b/ext/rss_images/info.php index c01dfbb8..11af74cc 100644 --- a/ext/rss_images/info.php +++ b/ext/rss_images/info.php @@ -5,7 +5,7 @@ class RSSImagesInfo extends ExtensionInfo public const KEY = "rss_images"; public $key = self::KEY; - public $name = "RSS for Images"; + public $name = "RSS for Posts"; public $url = self::SHIMMIE_URL; public $authors = self::SHISH_AUTHOR; public $license = self::LICENSE_GPLV2; diff --git a/ext/rss_images/main.php b/ext/rss_images/main.php index e99c6fae..7cba6b3a 100644 --- a/ext/rss_images/main.php +++ b/ext/rss_images/main.php @@ -11,10 +11,10 @@ class RSSImages extends Extension if (count($event->search_terms) > 0) { $search = url_escape(Tag::caret(Tag::implode($event->search_terms))); $page->add_html_header(""); + "title=\"$title - Posts with tags: $search\" href=\"".make_link("rss/images/$search/1")."\" />"); } else { $page->add_html_header(""); + "title=\"$title - Posts\" href=\"".make_link("rss/images/1")."\" />"); } } diff --git a/ext/rule34/main.php b/ext/rule34/main.php index ffb466e9..311f915e 100644 --- a/ext/rule34/main.php +++ b/ext/rule34/main.php @@ -39,7 +39,7 @@ class Rule34 extends Extension $html = (string)TR( TH("Links"), TD( - A(["href"=>$url0], "Image Only"), + A(["href"=>$url0], "File Only"), " (", A(["href"=>$url1], "Backup Server"), ")" diff --git a/ext/source_history/theme.php b/ext/source_history/theme.php index 052655aa..649eda76 100644 --- a/ext/source_history/theme.php +++ b/ext/source_history/theme.php @@ -19,7 +19,7 @@ class SourceHistoryTheme extends Themelet { $history_html = $this->history_list($history, true); - $page->set_title('Image '.$image_id.' Source History'); + $page->set_title('Post '.$image_id.' Source History'); $page->set_heading('Source History: '.$image_id); $page->add_block(new NavBlock()); $page->add_block(new Block("Source History", $history_html, "main", 10)); diff --git a/ext/tag_categories/theme.php b/ext/tag_categories/theme.php index f862198a..79d4f6a3 100644 --- a/ext/tag_categories/theme.php +++ b/ext/tag_categories/theme.php @@ -101,14 +101,14 @@ class TagCategoriesTheme extends Themelet public function get_help_html() { - return '

    Search for images containing a certain number of tags with the specified tag category.

    + return '

    Search for posts containing a certain number of tags with the specified tag category.

    persontags=1
    -

    Returns images with exactly 1 tag with the tag category "person".

    +

    Returns posts with exactly 1 tag with the tag category "person".

    cattags>0
    -

    Returns images with 1 or more tags with the tag category "cat".

    +

    Returns posts with 1 or more tags with the tag category "cat".

    Can use <, <=, >, >=, or =.

    Category name is not case sensitive, category must exist for search to work.

    diff --git a/ext/tag_edit/info.php b/ext/tag_edit/info.php index 87af3743..c3396597 100644 --- a/ext/tag_edit/info.php +++ b/ext/tag_edit/info.php @@ -26,7 +26,7 @@ class TagEditInfo extends ExtensionInfo