add version info to the Template plugin

This commit is contained in:
Evan Prodromou 2010-01-07 17:43:56 -08:00
parent 0587dcc045
commit afaefa6942
1 changed files with 61 additions and 51 deletions

View File

@ -38,7 +38,6 @@ class TemplatePlugin extends Plugin {
)); ));
} }
// <%styles%> // <%styles%>
// <%scripts%> // <%scripts%>
// <%search%> // <%search%>
@ -323,6 +322,17 @@ class TemplateAction extends Action
} }
} }
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Template',
'version' => TEMPLATEPLUGIN_VERSION,
'author' => 'Brian Hendrickson',
'homepage' => 'http://status.net/wiki/Plugin:Template',
'rawdescription' =>
_m('Use an HTML template for Web output.'));
return true;
}
} }
/** /**