1
0
mirror of https://github.com/e107inc/e107.git synced 2025-02-07 15:51:18 +01:00
php-e107/e107_plugins/metaweblog/wlwmanifest.php

54 lines
1.1 KiB
PHP
Raw Normal View History

2009-10-26 16:15:42 +00:00
<?php
if (!defined('e107_INIT'))
{
require_once("../../class2.php");
}
2009-10-27 01:05:52 +00:00
if(!e107::isInstalled('metaweblog'))
2009-10-26 16:15:42 +00:00
{
2009-10-27 01:05:52 +00:00
exit();
}
2009-10-26 16:15:42 +00:00
2009-10-27 01:05:52 +00:00
echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>
<manifest xmlns=\"http://schemas.microsoft.com/wlw/manifest/weblog\">
2009-10-26 16:15:42 +00:00
<options>
<clientType>WordPress</clientType>
<supportsKeywords>Yes</supportsKeywords>
<supportsGetTags>Yes</supportsGetTags>
</options>
<weblog>
<serviceName>e107</serviceName>
<imageUrl>images/wlw/e107_icon_32.png</imageUrl>
<watermarkImageUrl>images/wlw/e107_icon_32_wat.png</watermarkImageUrl>
<homepageLinkText>View site</homepageLinkText>
<adminLinkText>Dashboard</adminLinkText>
<adminUrl>
2009-10-27 01:05:52 +00:00
<![CDATA[". SITEURLBASE.e_ADMIN_ABS."
2009-10-26 16:15:42 +00:00
]]>
</adminUrl>
<postEditingUrl>
<![CDATA[
2009-10-27 01:05:52 +00:00
".SITEURLBASE.e_ADMIN_ABS."newspost.php?create.edit."."{post-id}
2009-10-26 16:15:42 +00:00
]]>
</postEditingUrl>
</weblog>
<buttons>
<button>
<id>0</id>
<text>Manage Comments</text>
<imageUrl>images/wlw/comments_32.png</imageUrl>
<clickUrl>
<![CDATA[
2009-10-27 01:05:52 +00:00
". SITEURLBASE.e_ADMIN_ABS."comment.php
2009-10-26 16:15:42 +00:00
]]>
</clickUrl>
</button>
</buttons>
2009-10-27 01:05:52 +00:00
</manifest>"
2009-10-26 16:15:42 +00:00
?>