mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
Removed embedded <?php ?>
This commit is contained in:
@@ -5,15 +5,13 @@ if (!defined('e107_INIT'))
|
|||||||
require_once("../../class2.php");
|
require_once("../../class2.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(e107::isInstalled('metaweblog'))
|
if(!e107::isInstalled('metaweblog'))
|
||||||
{
|
{
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
|
||||||
echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>";
|
echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>
|
||||||
?>
|
<manifest xmlns=\"http://schemas.microsoft.com/wlw/manifest/weblog\">
|
||||||
|
|
||||||
|
|
||||||
<manifest xmlns="http://schemas.microsoft.com/wlw/manifest/weblog">
|
|
||||||
|
|
||||||
<options>
|
<options>
|
||||||
<clientType>WordPress</clientType>
|
<clientType>WordPress</clientType>
|
||||||
<supportsKeywords>Yes</supportsKeywords>
|
<supportsKeywords>Yes</supportsKeywords>
|
||||||
@@ -27,13 +25,12 @@ echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>";
|
|||||||
<homepageLinkText>View site</homepageLinkText>
|
<homepageLinkText>View site</homepageLinkText>
|
||||||
<adminLinkText>Dashboard</adminLinkText>
|
<adminLinkText>Dashboard</adminLinkText>
|
||||||
<adminUrl>
|
<adminUrl>
|
||||||
<![CDATA[
|
<![CDATA[". SITEURLBASE.e_ADMIN_ABS."
|
||||||
<?php echo SITEURLBASE.e_ADMIN_ABS ?>
|
|
||||||
]]>
|
]]>
|
||||||
</adminUrl>
|
</adminUrl>
|
||||||
<postEditingUrl>
|
<postEditingUrl>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
<?php echo SITEURLBASE.e_ADMIN_ABS."newspost.php?create.edit." ?>{post-id}
|
".SITEURLBASE.e_ADMIN_ABS."newspost.php?create.edit."."{post-id}
|
||||||
]]>
|
]]>
|
||||||
</postEditingUrl>
|
</postEditingUrl>
|
||||||
</weblog>
|
</weblog>
|
||||||
@@ -45,17 +42,13 @@ echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>";
|
|||||||
<imageUrl>images/wlw/comments_32.png</imageUrl>
|
<imageUrl>images/wlw/comments_32.png</imageUrl>
|
||||||
<clickUrl>
|
<clickUrl>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
<?php echo SITEURLBASE.e_ADMIN_ABS."comment.php" ?>
|
". SITEURLBASE.e_ADMIN_ABS."comment.php
|
||||||
]]>
|
]]>
|
||||||
</clickUrl>
|
</clickUrl>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
</buttons>
|
</buttons>
|
||||||
|
|
||||||
</manifest>
|
</manifest>"
|
||||||
|
|
||||||
<?php
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
Reference in New Issue
Block a user