@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phosweb007 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Current Path :
/
homepage
/
v-mt
/
extras
/
examples
/
plugins
/
l10nsample
/
Path :
Upload File :
New :
File
Dir
/homepage/v-mt/extras/examples/plugins/l10nsample/l10nsample.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: l10nsample.pl 1174 2008-01-08 21:02:50Z bchoate $ package MT::Plugin::l10nsample; use strict; use base 'MT::Plugin'; use vars qw($VERSION); $VERSION = '0.01'; my $plugin; $plugin = MT::Plugin::l10nsample->new({ name => "<MT_TRANS phrase=\"l10nsample\">", version => $VERSION, doc_link => "http://www.sixapart.com/", description => "<MT_TRANS phrase=\"This description can be localized if there is l10n_class set.\">", author_name => "<MT_TRANS phrase=\"Fumiaki Yoshimatsu\">", author_link => "http://sixapart.com/", l10n_class => 'l10nsample::L10N', }); MT->add_plugin($plugin); sub instance { $plugin } sub init_registry { my $plugin = shift; $plugin->registry({ applications => { cms => { page_actions => { entry => { l10nsample => { key => 'plugin:l10n_sample:l10n_sample', label => 'This is localizable', link => 'l10nsample.cgi', }, }, }, }, }, }); }