Skip to content

Commit

Permalink
+ Add enamad htm file
Browse files Browse the repository at this point in the history
  • Loading branch information
Danoosh committed Jun 19, 2014
1 parent 1482d3c commit 47f9464
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 7 deletions.
12 changes: 12 additions & 0 deletions config_fa.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" ?>
<module>
<name>inamad</name>
<displayName><![CDATA[ماژول ای - نماد]]></displayName>
<version><![CDATA[1.0]]></version>
<description><![CDATA[نمایش اینماد در فروشگاه شما]]></description>
<author><![CDATA[PSI - ipresta.ir]]></author>
<tab><![CDATA[payment_security]]></tab>
<is_configurable>1</is_configurable>
<need_instance>0</need_instance>
<limited_countries></limited_countries>
</module>
3 changes: 2 additions & 1 deletion inamad.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ public function displayForm()
'label' => $this->l('Namad Zoom out'),
'name' => 'namad_zoom',
'size' => 2,
'required' => true
'required' => true,
'desc' => $this->l('For zoomout Namad logo fill out this field. Value is based percentage.')
),
array(
'type' => 'text',
Expand Down
2 changes: 2 additions & 0 deletions translations/fa.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
$_MODULE = array();
$_MODULE['<{inamad}prestashop>inamad_1ff824f889bf7b35a745b8113575569c'] = 'ماژول ای - نماد';
$_MODULE['<{inamad}prestashop>inamad_c125f463827742af1f4ee9288e3bdcac'] = 'نمایش اینماد در فروشگاه شما';
$_MODULE['<{inamad}prestashop>inamad_292f8c295bba1f1fb524ca8c323d6c62'] = 'لطفا فایل eNamadLogo.htm را در روت فروشگاه خود کپی کنید.';
$_MODULE['<{inamad}prestashop>inamad_6af91e35dff67a43ace060d1d57d5d1a'] = 'تنظیمات بروز گردید .';
$_MODULE['<{inamad}prestashop>inamad_f4f70727dc34561dfde1a3c529b6205c'] = 'تنظیمات';
$_MODULE['<{inamad}prestashop>inamad_6ead07fcca259f55c43b7bee86935283'] = 'کد آی فریم';
$_MODULE['<{inamad}prestashop>inamad_1197b4f6bcee73835d5a7525e82a848d'] = 'متن تاییدیه نماد اعتماد';
$_MODULE['<{inamad}prestashop>inamad_e883a1b362fd8e77d7aed7ea7928d634'] = 'میزان کوچک نمایی نماد';
$_MODULE['<{inamad}prestashop>inamad_ce363b28762f8e46450a76b8b5f1df8e'] = 'برای کوچک نمایی لوگوی نماد در سایت این فیلد را پرکنید. مقدار بر اساس درصد است.';
$_MODULE['<{inamad}prestashop>inamad_97746d82fbf2263e56150842eee56c8e'] = 'عرض نماد';
$_MODULE['<{inamad}prestashop>inamad_8b6d9fc5536c569f2ff8ae2fc569f2a5'] = 'ارتفاع نماد';
$_MODULE['<{inamad}prestashop>inamad_3fc68ea2d52f1413b99c6c2dea1615ad'] = 'مکان نمایش';
Expand Down
4 changes: 2 additions & 2 deletions views/css/namad.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pspnamad{
#inamad{
text-align: center;
}
#footer #pspnamad{
#footer #inamad{
float: right;
padding: 15px 10px;
}
6 changes: 3 additions & 3 deletions views/templates/hook/namad.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
{else}
{$block = false}
{/if}
<div id="pspnamad" {if $block}class="block" {else} style="width:{Configuration::get('PSI_ENAMAD_W')}px; height:{Configuration::get('PSI_ENAMAD_H')}px"{/if}>
<div id="inamad" {if $block}class="block" {else} style="width:{Configuration::get('PSI_ENAMAD_W')}px; height:{Configuration::get('PSI_ENAMAD_H')}px"{/if}>
{if $block}<p class="title_block">{Configuration::get('PSI_ENAMAD_TEXT')}</p>{/if}
<iframe width="125" scrolling="no" height="140" frameborder="0" style="margin: 0;
padding: 0; border: 1px" temp_src="http://enamad.ir/trustseal/symbol.aspx" src="http://enamad.ir/trustseal/symbol.aspx">
<iframe width="{Configuration::get('PSI_ENAMAD_W')}" scrolling="no" height="{Configuration::get('PSI_ENAMAD_H')}" frameborder="0" style="margin: 0;
padding: 0; border: 1px" src="{$base_uri}eNamadLogo.htm">
</iframe>
</div>
{/if}
2 changes: 1 addition & 1 deletion views/templates/hook/resizer.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<style type="text/css">
#pspnamad{
#inamad{
-webkit-transform: scale({$zoom}); /* Saf3.1+, Chrome */
-moz-transform: scale({$zoom}); /* FF3.5+ */
-ms-transform: scale({$zoom}); /* IE9 */
Expand Down

0 comments on commit 47f9464

Please sign in to comment.