Skip to content

Commit

Permalink
version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
jyarali committed Mar 18, 2020
1 parent 4c7e88f commit 0d7da5c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
26 changes: 13 additions & 13 deletions jform-form-generator.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<name>Jform Form Generator</name>
<description>اولین پلاگین فرمساز دیتالایف لنجین با قابلیت Drag&amp;Drop</description>
<icon></icon>
<version>1.0</version>
<version>1.1</version>
<dleversion>13</dleversion>
<versioncompare>greater</versioncompare>
<upgradeurl>https://raw.githubusercontent.com/jyarali/jform-dle/master/updates.json</upgradeurl>
Expand Down Expand Up @@ -47,10 +47,10 @@ file_put_contents (ENGINE_DIR . '/data/jform.txt', serialize($setting));]]></php
<phpenable><![CDATA[]]></phpenable>
<phpdisable><![CDATA[]]></phpdisable>
<phpdelete><![CDATA[]]></phpdelete>
<notice><![CDATA[]]></notice>
<file name="engine/skins/default.skin.php">
<operation action="before">
<searchcode><![CDATA[ if( count( $menu_item ) ) $sidebar= implode("", $menu_item);]]></searchcode>
<notice><![CDATA[]]></notice>
<file name="engine/skins/default.skin.php">
<operation action="before">
<searchcode><![CDATA[ if( count( $menu_item ) ) $sidebar= implode("", $menu_item);]]></searchcode>
<replacecode><![CDATA[ #####JForm Plugin
$menu_item[] = '<li class="">
<a href="#" class="has-ul legitRipple"><i class="fa fa-wpforms"></i> <span>پلاگین فرمساز JForm</span></a>
Expand All @@ -62,16 +62,16 @@ file_put_contents (ENGINE_DIR . '/data/jform.txt', serialize($setting));]]></php
<li><a href="?mod=jform&action=setting" class="legitRipple">تنظیمات پلاگین</a></li>
</ul>
</li>';
#####JForm Plugin]]></replacecode>
</operation>
</file>
<file name="engine/engine.php">
<operation action="before">
<searchcode><![CDATA[case "unsubscribe" :]]></searchcode>
#####JForm Plugin]]></replacecode>
</operation>
</file>
<file name="engine/engine.php">
<operation action="before">
<searchcode><![CDATA[case "unsubscribe" :]]></searchcode>
<replacecode><![CDATA[case "jform" :
include (DLEPlugins::Check(ENGINE_DIR . '/modules/jform/jform.php'));
break;
]]></replacecode>
</operation>
]]></replacecode>
</operation>
</file>
</dleplugin>
6 changes: 3 additions & 3 deletions updates.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.0",
"url": "https://raw.githubusercontent.com/jyarali/jform-dle/master/jform-form-generator.xml"
}
"version": "1.1",
"url": "https://raw.githubusercontent.com/jyarali/jform-dle/master/jform-form-generator.xml"
}

0 comments on commit 0d7da5c

Please sign in to comment.