[+] Project : default theme added
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10862 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
/* Block newsletter */
|
||||
#newsletter_block_left {
|
||||
padding:7px;
|
||||
border:1px solid #ccc;
|
||||
background:#eee;
|
||||
}
|
||||
#newsletter_block_left h4 {
|
||||
padding:0 0 12px 28px;
|
||||
color:#666;
|
||||
text-shadow:0 1px 0 #fff;
|
||||
background:url(img/icon/newsletter.png) no-repeat 0 0 transparent;
|
||||
}
|
||||
#newsletter_block_left p {padding:0;}
|
||||
|
||||
#newsletter_block_left input.inputNew {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
padding:0 5px;
|
||||
height:21px;
|
||||
width:150px;
|
||||
border:1px solid #ccc;
|
||||
border-right:none;
|
||||
-moz-border-radius-topleft: 3px;
|
||||
-moz-border-radius-bottomleft: 3px;
|
||||
-webkit-border-radius-topleft: 3px;
|
||||
-webkit-border-radius-bottomleft: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
font-size:10px;
|
||||
color:#999;
|
||||
}
|
||||
*:first-child+html #newsletter_block_left input.inputNew {position:static;}/* hack ie 7 */
|
||||
|
||||
#newsletter_block_left input.button_mini {
|
||||
height:23px;
|
||||
width:24px;
|
||||
border:0;
|
||||
text-indent:-5000px;
|
||||
background:url(img/bg_bt_newsletter_ok.png) no-repeat 0 0;
|
||||
cursor:pointer
|
||||
}
|
||||
*:first-child+html #newsletter_block_left input.button_mini {padding-left:24px !important;}/* hack ie 7 */
|
||||
/*\*//*/div.madiv {
|
||||
#newsletter_block_left input.button_mini {
|
||||
position:relative;
|
||||
top: 4px;
|
||||
}/* hack ie 8 */
|
||||
}/* */
|
||||
@@ -19,7 +19,7 @@
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7077 $
|
||||
* @version Release: $Revision: 6594 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
@@ -33,16 +33,21 @@
|
||||
<p class="{if $nw_error}warning_inline{else}success_inline{/if}">{$msg}</p>
|
||||
{/if}
|
||||
<form action="{$link->getPageLink('index')}" method="post">
|
||||
<p><input type="text" name="email" size="18" value="{if isset($value) && $value}{$value}{else}{l s='your e-mail' mod='blocknewsletter'}{/if}" onfocus="javascript:if(this.value=='{l s='your e-mail' mod='blocknewsletter'}')this.value='';" onblur="javascript:if(this.value=='')this.value='{l s='your e-mail' mod='blocknewsletter'}';" /></p>
|
||||
<p>
|
||||
{* @todo use jquery (focusin, focusout) instead of onblur and onfocus *}
|
||||
<input class="" type="text" name="email" size="18"
|
||||
value="{if isset($value) && $value}{$value}{else}{l s='your e-mail' mod='blocknewsletter'}{/if}"
|
||||
onfocus="javascript:if(this.value=='{l s='your e-mail' mod='blocknewsletter'}')this.value='';"
|
||||
onblur="javascript:if(this.value=='')this.value='{l s='your e-mail' mod='blocknewsletter'}';"
|
||||
class="inputNew" />
|
||||
<select name="action">
|
||||
<option value="0"{if isset($action) && $action == 0} selected="selected"{/if}>{l s='Subscribe' mod='blocknewsletter'}</option>
|
||||
<option value="1"{if isset($action) && $action == 1} selected="selected"{/if}>{l s='Unsubscribe' mod='blocknewsletter'}</option>
|
||||
</select>
|
||||
<input type="submit" value="ok" class="button_mini" name="submitNewsletter" />
|
||||
<input type="submit" value="ok" class="button_mini" name="submitNewsletter" />
|
||||
<input type="hidden" name="action" value="0" />
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /Block Newsletter module-->
|
||||
|
||||
Reference in New Issue
Block a user