@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phosweb010 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Current Path :
/
homepage
/
v-mt
/
plugins
/
StyleCatcher
/
Path :
Upload File :
New :
File
Dir
//homepage/v-mt/plugins/StyleCatcher/stylecatcher.pl
# Movable Type (r) (C) 2005-2008 Six Apart, Ltd. All Rights Reserved. # This code cannot be redistributed without permission from www.sixapart.com. # For more information, consult your Movable Type license. # # $Id: stylecatcher.pl 1174 2008-01-08 21:02:50Z bchoate $ package MT::Plugin::StyleCatcher; use strict; use base 'MT::Plugin'; our $VERSION = '2.0'; my $plugin; $plugin = MT::Plugin::StyleCatcher->new({ id => 'StyleCatcher', name => "StyleCatcher", version => $VERSION, doc_link => "http://www.sixapart.com/movabletype/styles/", description => q(<MT_TRANS phrase="StyleCatcher lets you easily browse through styles and then apply them to your blog in just a few clicks. To find out more about Movable Type styles, or for new sources for styles, visit the <a href='http://www.sixapart.com/movabletype/styles'>Movable Type styles</a> page.">), author_name => "Six Apart, Ltd.", author_link => "http://www.sixapart.com/", l10n_class => 'StyleCatcher::L10N', registry => { stylecatcher_libraries => { 'sixapart_mt4' => { url => 'http://www.sixapart.com/movabletype/styles/mt4/library', label => 'MT 4 Style Library', description_label => "A collection of styles compatible with Movable Type 4 default templates.", order => 1, }, # 'sixapart_mt3' => { # url => 'http://www.sixapart.com/movabletype/styles/mt3/library', # label => 'MT 3 Style Library', # description_label => "A collection of styles compatible with Movable Type 3.3+ default templates.", # order => 1000, # }, }, applications => { cms => { methods => { stylecatcher_theme => '$StyleCatcher::StyleCatcher::CMS::view', stylecatcher_js => '$StyleCatcher::StyleCatcher::CMS::js', stylecatcher_apply => '$StyleCatcher::StyleCatcher::CMS::apply', }, menus => { 'design:theme' => { label => 'Styles', order => 200, mode => 'stylecatcher_theme', view => "blog", permission => 'edit_templates', }, }, }, }, }, }); MT->add_plugin($plugin); sub instance { $plugin } 1;