Page MenuHomeIn-Portal Phabricator

modern-store
No OneTemporary

File Metadata

Created
Mon, Jan 6, 12:30 AM

modern-store

Index: branches/1.0.x/my_account/spam_report.tpl
===================================================================
--- branches/1.0.x/my_account/spam_report.tpl (revision 14793)
+++ branches/1.0.x/my_account/spam_report.tpl (nonexistent)
@@ -1,58 +0,0 @@
-<!--##
-<NAME>Spam Report Form</NAME>
-<SECTION>My Account</SECTION>
-##-->
-<inp2:m_NoDebug/>
-
-<inp2:spam-report_PresetFormFields/>
-
-<inp2:m_Include template="elements/forms.elm" strip_nl="2"/>
-
-<script type="text/javascript">
- FormManager.resetFields('spam-report');
-</script>
-
-<div class="profile registerpage">
- <div class="profile-title">
- <h1>Report Review</h1>
- <p class="req">Required fields are marked by <span class="star">*</span></p>
- <div class="clear"></div>
- </div>
-
- <form method="post" id="spam_report_form" action="<inp2:m_FormAction/>" class="form profile-form">
- <inp2:m_if check="m_Get" name="rev_id">
- <input type="hidden" name="item_prefix" value="rev"/>
- <input type="hidden" name="rev_id" value="<inp2:m_Get name='rev_id'/>"/>
- </inp2:m_if>
-
- <inp2:m_RenderElement name="inp_edit_textarea" prefix="spam-report" field="MessageText" title="lu_fld_MessageText" style="width: 100%; height: 170px;" is_last="1"/>
-
- <inp2:m_RenderElement design="inp_edit_buttons" no_editing="1">
- <input type="submit" value="Submit" id="submit" class="green-button" disabled/>
- </inp2:m_RenderElement>
- </form>
-</div>
-
-<script type="text/javascript">
- $(document).ready(
- function() {
- FormManager.registerForm(
- {
- prefix: 'spam-report',
- save_event: 'OnNewReport',
- id: <inp2:spam-report_Field name='ReportId'/>,
- form_id: 'spam_report_form'/*,
- next_template: 'my_account/spam-report-confirm'*/
- }
- );
-
- $('#spam_report_form').submit(
- function ($e) {
- FormManager.submitForm('spam-report');
-
- return false;
- }
- );
- }
- );
-</script>
\ No newline at end of file
Property changes on: branches/1.0.x/my_account/spam_report.tpl
___________________________________________________________________
Deleted: svn:eol-style
## -1 +0,0 ##
-LF
\ No newline at end of property
Index: branches/1.0.x/my_account
===================================================================
--- branches/1.0.x/my_account (revision 14793)
+++ branches/1.0.x/my_account (nonexistent)
Property changes on: branches/1.0.x/my_account
___________________________________________________________________
Deleted: bugtraq:logregex
## -1,2 +0,0 ##
-(?:[Bb]ugs?|[Ii]ssues?|[Rr]eports?|[Ff]ixe?s?|[Rr]esolves?)+\s+(?:#?(?:\d+)[,\.\s]*)+
-(\d+)
\ No newline at end of property
Deleted: bugtraq:number
## -1 +0,0 ##
-true
\ No newline at end of property
Deleted: bugtraq:url
## -1 +0,0 ##
-http://tracker.in-portal.org/view.php?id=%BUGID%
\ No newline at end of property
Deleted: tsvn:autoprops
## -1,19 +0,0 ##
-*.php = svn:eol-style=LF;svn:keywords=Id
-*.tpl = svn:eol-style=LF
-*.sql = svn:eol-style=LF
-*.lang = svn:eol-style=LF
-*.sh = svn:eol-style=LF;svn:executable
-*.txt = svn:eol-style=LF
-*.html = svn:eol-style=LF
-*.htm = svn:eol-style=LF
-*.css = svn:eol-style=LF
-*.js = svn:eol-style=LF
-*.xml = svn:eol-style=LF
-.htaccess = svn:eol-style=LF
-.smsignore = svn:eol-style=LF
-COPYRIGHT = svn:eol-style=LF
-CREDITS = svn:eol-style=LF
-INSTALL = svn:eol-style=LF
-LICENSE = svn:eol-style=LF
-LICENSES = svn:eol-style=LF
-README = svn:eol-style=LF
\ No newline at end of property
Index: branches/1.0.x/products/add_review.tpl
===================================================================
--- branches/1.0.x/products/add_review.tpl (revision 14793)
+++ branches/1.0.x/products/add_review.tpl (nonexistent)
@@ -1,64 +0,0 @@
-<script type="text/javascript">
- FormManager.resetFields('rev');
-</script>
-
-<inp2:rev_PresetFormFields/>
-
-<inp2:m_Include template="elements/forms.elm" strip_nl="2"/>
-
-<div class="review">
- <div class="profile-title">
- <h1>Add a Review</h1>
- <div class="clear"></div>
- </div>
-
- <!--<inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="FirstName"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="LastName"/>-->
-
- <form method="post" action="<inp2:m_FormAction/>" id="add_review_form" class="form profile-form left">
- <p><label for="name">Your Name</label><input type="text" id="name" name="name" value="Anonymous" class="field" /></p>
-
- <!--<p><label>Rating</label><span><img src="i/star-small.jpg" width="18" height="18" alt="" /><img src="i/star-small.jpg" width="18" height="18" alt="" /><img src="i/star-small.jpg" width="18" height="18" alt="" /><img src="i/star-small.jpg" width="18" height="18" alt="" /><img src="i/star-small.jpg" width="18" height="18" alt="" /></span></p>
- <p><label for="review">Your Review</label><textarea id="review" rows="10" cols="100" class="field"></textarea></p>-->
-
- <inp2:m_RenderElement name="inp_edit_rating" prefix="rev" field="Rating"/>
- <inp2:m_RenderElement name="inp_edit_textarea" prefix="rev" field="ReviewText" title="lu_fld_YourReview" rows="10" cols="100" style="height: 70px;"/>
-
- <inp2:m_RenderElement design="inp_edit_buttons">
- <input type="submit" value="Submit" id="submit" class="green-button" disabled/>
- <em class="optinfo">(maximum of 1,000 words)</em>
- </inp2:m_RenderElement>
- </form>
-</div>
-
-<script type="text/javascript">
- $(document).ready(
- function () {
- FormManager.registerForm(
- {
- prefix: 'rev',
- url: '<inp2:p_ProductLink template="#TEMPLATE#" js_escape="1" __NO_REWRITE__="1" no_amp="1"/>',
- save_event: 'OnCreate',
- id: '<inp2:rev_Field name="ReviewId"/>',
- form_id: 'add_review_form'
- }
- );
-
- $('#add_review_form').submit(
- function ($e) {
- FormManager.submitForm('rev');
-
- return false;
- }
- );
-
- /*$('input[type=reset]', '#add_review_form').click(
- function ($e) {
- FormManager.closeForm('rev');
-
- return false;
- }
- );*/
- }
- );
-</script>
Property changes on: branches/1.0.x/products/add_review.tpl
___________________________________________________________________
Deleted: svn:eol-style
## -1 +0,0 ##
-LF
\ No newline at end of property
Index: branches/1.0.x/products/details.tpl
===================================================================
--- branches/1.0.x/products/details.tpl (revision 14793)
+++ branches/1.0.x/products/details.tpl (revision 14794)
@@ -1,264 +1,264 @@
<!--##
<NAME>Products - Details Design</NAME>
<DESC>General design template for Product Details</DESC>
<SECTION>Pages||Products</SECTION>
##-->
<inp2:p_AddToRecent />
<inp2:m_DefineElement name="page_title"><inp2:p_Field name="Name" html_escape="1"/></inp2:m_DefineElement>
<inp2:m_DefineElement name="sidebar">
<inp2:m_Include template="elements/side_boxes/related_products.elm" data_exists="1"/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="before_content">
<div class="block-fixed">
<div>
<a href="<inp2:p_AddToCartLink template='elements/ajax/cart_bubble' product_template='__default__'/>" class="button-addtocart" qty_id="product-qty" rel="nofollow"><span><img src="<inp2:m_TemplatesBase/>img/bg-button-cart-add.png" width="24" height="24" alt="" /><i>Add to Cart</i></span></a>
</div>
</div>
</inp2:m_DefineElement>
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<inp2:rev_InitList main_list="1"/>
<div class="block no-border-bottom">
<inp2:m_Include template="elements/navigation_bar.elm" navigation_buttons="1"/>
<div class="goods border-radius product-detail">
<inp2:m_if check="p_Field" name="IsNew" db="db">
<div class="ribbon new"></div>
<inp2:m_elseif check="p_Field" name="IsPop" db="db"/>
<div class="ribbon top"></div>
<inp2:m_elseif check="p_Field" name="Featured" db="db"/>
<div class="ribbon sale"></div>
</inp2:m_if>
<h1><inp2:p_Field field="Name" html_escape="1"/></h1>
<div class="rating">
<inp2:p_VotesIndicator/>
<!--<inp2:m_if check="p_Field" name="CachedRating" equals_to="1|2|3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>
<inp2:m_if check="p_Field" name="CachedRating" equals_to="2|3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>
<inp2:m_if check="p_Field" name="CachedRating" equals_to="3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>
<inp2:m_if check="p_Field" name="CachedRating" equals_to="4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>
<inp2:m_if check="p_Field" name="CachedRating" equals_to="5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>-->
</div>
<div class="h1-reviews">(<a href="#reviews"><inp2:rev_TotalRecords/> reviews</a>)</div>
<div class="clear"></div>
<div class="product">
<div class="info">
<div class="img">
<p class="signsmall">Roll over images for multiple views:</p>
<ul id="pikame" >
<li><img src="<inp2:m_TemplatesBase />img/samples/good-details.jpg" width="256" height="258" alt="" /></li>
<li><img src="<inp2:m_TemplatesBase />img/samples/good1.jpg" width="256" height="258" alt="" /></li>
<li><img src="<inp2:m_TemplatesBase />img/samples/good2.jpg" width="256" height="258" alt="" /></li>
<li><img src="<inp2:m_TemplatesBase />img/samples/good-details.jpg" width="256" height="258" alt="" /></li>
<li><img src="<inp2:m_TemplatesBase />img/samples/good-details.jpg" width="256" height="258" alt="" /></li>
<li><img src="<inp2:m_TemplatesBase />img/samples/good-details.jpg" width="256" height="258" alt="" /></li>
</ul>
<div class="viewlarger">
<a href="" onclick="TINY.box.show({image:'<inp2:m_TemplatesBase />img/samples/good-details-big.jpg',animate:true}); return false;">View Larger</a>
</div>
<p class="showmore"><a href="#">Show More Images...</a></p>
</div>
<div class="doplinks">
<a href="#" class="link-print">Print this Page</a><br />
<a href="#" class="link-compare">Compare to other Products</a><br />
<a href="#" class="link-wishlist">Add to Wishlist</a><br />
</div>
</div>
<div class="description">
<div class="options-har">
<div class="sel-options">
<label><strong>Select Size:</strong>
<select name="select" class="field-alt">
<option value="" selected="selected">22"</option>
<option value="">23"</option>
</select>
</label>
</div>
<div class="sel-options">
<label><strong>Select Color:</strong>
<select name="select" class="field-alt">
<option value="" selected="selected">Gray Metallic</option>
<option value="">White Metallic</option>
<option value="">Black Metallic</option>
</select>
</label>
</div>
<div class="clear"></div>
</div>
<div class="price-block">
<p><s class="under"><inp2:p_Field name="MSRP" currency="selected" decimal_tag="span"/></s></p>
<p class="redprice"><em class="price"><inp2:p_Field name="Price" currency="selected" decimal_tag="span"/></em></p>
</div>
<div class="order-block">
<p class="qty form"><strong>Qty.</strong>&nbsp;&nbsp;<input type="text" name="qty" id="product-qty" value="1" class="field" /></p>
<p class="but"><a href="<inp2:p_AddToCartLink template='elements/ajax/cart_bubble' product_template='__default__'/>" class="addtocart" qty_id="product-qty" rel="nofollow"><span><i>Add to Cart</i></span></a></p>
<p class="avail">Availability: <em>In Stock</em></p>
</div>
<div class="clear"></div>
<dl class="har">
<dt>Model:</dt>
<dd>XT2324</dd>
<dt>Manufacturer:</dt>
<dd><inp2:p_Field name="ManufacturerId"/></dd>
</dl>
<dl class="har">
<dt>SKU:</dt>
<dd><inp2:p_Field name="SKU"/></dd>
<dt>Size:</dt>
<dd>22''</dd>
</dl>
<div class="clear"></div>
<div class="text">
</div>
<div id="tabs">
<ul>
<inp2:m_if check="p_Field" name="cust_Features">
<li><a href="#tabs-1">Features</a></li>
</inp2:m_if>
<inp2:m_if check="p_Field" name="Description">
<li><a href="#tabs-2">Details</a></li>
</inp2:m_if>
<li><a href="#tabs-3">Specifications</a></li>
</ul>
<inp2:m_if check="p_Field" name="cust_Features">
<div id="tabs-1">
<inp2:p_Field name="cust_Features"/>
</div>
</inp2:m_if>
<inp2:m_if check="p_Field" name="Description">
<div id="tabs-2">
<inp2:p_Field name="Description"/>
</div>
</inp2:m_if>
<div id="tabs-3">
<p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p>
<p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div class="reviews">
<a name="reviews"></a>
<div class="top-review">
<div class="info-review">
<p class="title">Reviews for <inp2:p_Field name="Name" html_escape="1" cut_first="60"/> (<inp2:rev_TotalRecords/>):</p>
<!--<p class="but-review"><a href="" onclick="TINY.box.show({iframe:'addreview-success.html',width:600,height:340}); return false;" class="addreview">Add a Review</a></p>-->
- <p class="but-review"><a href="<inp2:p_ProductLink template='products/add_review' width='600' height='340'/>" class="thickbox addreview">Add a Review</a></p>
+ <p class="but-review"><a href="<inp2:p_ProductLink template='elements/ajax/add_review' width='600' height='340'/>" class="thickbox addreview">Add a Review</a></p>
<div class="sortby">
Sort by:
<select>
<option value="" selected="selected">Price</option>
<option value="">Rating</option>
<option value="">Populate</option>
</select>
</div>
</div>
<div class="overall-review">
<p>Overall Rating:</p>
<div class="overall-detail">
<inp2:rev_PrintRatingPercents render_as="rating_percent_element" show_none="0"/>
</div>
</div>
<div class="clear"></div>
</div>
<inp2:rev_PrintList render_as="review_element"/>
<script type="text/javascript">
$(document).ready(
function () {
$('.reviews .row-review').each(
function () {
var $review = $(this);
$('.yes, .no', this).click(
function ($e) {
var $link = $(this),
$counter = $('.' + $link.attr('class') + '-count', $review);
$.get(
$link.attr('href'),
function ($count) {
$counter.html('(' + $count + ')');
}
)
return false;
}
);
}
);
}
);
</script>
</div>
<div class="clear"></div>
<inp2:m_Include template="elements/pagination.elm" prefix="rev"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<inp2:m_DefineElement name="add_to_head">
<script src="<inp2:m_TemplatesBase />inc/js/jquery.gzoom.js"></script>
<script src="<inp2:m_TemplatesBase />inc/js/jquery.pikachoose.full.js"></script>
<script type= "text/javascript">
/*<![CDATA[*/
$(function() {
$("#tabs").tabs();
$("#pikame").PikaChoose({autoPlay:false, showCaption:false});
});
window.onload= function () {
$("#zoom").gzoom({
sW: 258,
sH: 258,
lW: 1400,
lH: 1050,
lighbox : false
});
};
/*]]>*/
</script>
</inp2:m_DefineElement>
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="designs/default_design.des" pass_params="1" right_column="sidebar" before_content="before_content"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/login/register.tpl
===================================================================
--- branches/1.0.x/login/register.tpl (revision 14793)
+++ branches/1.0.x/login/register.tpl (nonexistent)
@@ -1,81 +0,0 @@
-<!--<link rel="stylesheet" type="text/css" href="<inp2:m_Compress files='inc/profile.css'/>" charset="<inp2:lang.current_Field name='Charset'/>"/>-->
-
-<script type="text/javascript">
- FormManager.resetFields('u.register');
-</script>
-
-<inp2:m_Include template="elements/forms.elm" strip_nl="2"/>
-<inp2:u.register_FormName name="registration"/>
-
-<div class="profile registerpage">
- <div class="profile-title">
- <h1>Registration</h1>
- <p class="req">Required fields are marked by <span class="star">*</span></p>
- <div class="clear"></div>
- </div>
-
- <form method="post" action="<inp2:m_FormAction/>" id="register_form" class="form profile-form">
- <div class="halfcol">
- <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="FirstName"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="LastName"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="Company"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="Email"/>
- <inp2:m_RenderElement name="inp_edit_radio" prefix="u.register" field="SubscribeToMailing"/>
- <inp2:m_RenderElement name="inp_edit_password" prefix="u.register" field="Password"/>
- </div>
-
- <div class="halfcol halfcol-last">
- <inp2:m_RenderElement name="inp_edit_address" prefix="u.register" field="Street" field2="Street2" title="lu_fld_Address"/>
- <inp2:m_RenderElement name="inp_edit_options" prefix="u.register" field="Country" has_empty="1" empty_label="lu_opt_SelectCountry"/>
- <inp2:m_RenderElement name="inp_edit_options" prefix="u.register" field="State" has_empty="1"/>
-
- <!-- TODO: preload states by country -->
-
- <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="Zip" row_class="alt2"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="Phone"/>
- </div>
- <div class="clear"></div>
-
- <div class="terms">
- <label><input type="checkbox" id="terms" name="terms" value="yes" checked="true" />&nbsp;I Agree to Terms and Conditions</label>
- </div>
-
- <inp2:m_RenderElement design="inp_edit_buttons">
- <input type="submit" value="Register" class="green-button" disabled/>&nbsp;&nbsp;&nbsp;
- <input type="reset" value="Cancel" class="grey-button" />
- </inp2:m_RenderElement>
-
- <input type="hidden" name="forms[u.register]" value="<inp2:u.register_FormName/>"/>
- </form>
-</div>
-
-<script type="text/javascript">
- $(document).ready(
- function () {
- FormManager.registerForm(
- {
- prefix: 'u.register',
- save_event: 'OnRegisterAjax',
- id: '<inp2:u.register_Field name="PortalUserId"/>',
- form_id: 'register_form'
- }
- );
-
- $('#register_form').submit(
- function ($e) {
- FormManager.submitForm('u.register');
-
- return false;
- }
- );
-
- $('input[type=reset]', '#register_form').click(
- function ($e) {
- FormManager.closeForm('u.register');
-
- return false;
- }
- );
- }
- );
-</script>
Property changes on: branches/1.0.x/login/register.tpl
___________________________________________________________________
Deleted: svn:eol-style
## -1 +0,0 ##
-LF
\ No newline at end of property
Index: branches/1.0.x/elements/login.elm.tpl
===================================================================
--- branches/1.0.x/elements/login.elm.tpl (revision 14793)
+++ branches/1.0.x/elements/login.elm.tpl (revision 14794)
@@ -1,85 +1,85 @@
<inp2:m_if check="m_LoggedIn">
<div class="txt logged">Welcome back, <strong><inp2:u_Field name="FirstName"/></strong>!</div>
<div class="profile-menu">
<div class="link">
<a href="" id="profile">My Account</a>
</div>
<div id="profile-sel" class="plashka">
<ul>
<li><a href="#" class="active">My Profile</a></li>
<li><a href="#" class="">Track Orders</a></li>
<li><a href="#" class="">Order History</a></li>
<li><a href="#" class="">Return Policy</a></li>
<li><a href="#" class="">Affiliates</a></li>
<li><a href="#" class="">Contact Us</a></li>
</ul>
</div>
</div>
<div class="logout logged">
<a href="<inp2:u_LogoutLink/>">Log Out</a>
</div>
<inp2:m_else/>
<div class="txt">
- Welcome! Please <a href="<inp2:m_Link template='login/register' width='850' height='630'/>" class="thickbox">Register</a> for an account or
+ Welcome! Please <a href="<inp2:m_Link template='elements/ajax/register' width='850' height='630'/>" class="thickbox">Register</a> for an account or
<div class="login">
<a href="" id="login">Log In</a>
</div>
<div id="login-sel" class="plashka">
<a href="" class="icon-close"><img src="<inp2:m_TemplatesBase />img/icon-close.gif" width="6" height="6" alt="Close" /></a>
<script type="text/javascript">
FormManager.resetFields('u.login-sidebox');
</script>
<inp2:u.login-sidebox_FormName name="login"/>
<form method="post" action="#" id="login-form" class="form login-form">
<fieldset>
<inp2:m_RenderElement name="error_msg_container" prefix="u.login-sidebox" field="UserLogin" style="padding: 0px; display: block;"/>
<inp2:m_RenderElement name="inp_edit_box" prefix="u.login-sidebox" field="UserLogin" title="lu_fld_EmailOrUsername" error_position="none"/>
<inp2:m_RenderElement name="inp_edit_password_single" prefix="u.login-sidebox" field="UserPassword" title="lu_fld_Password" error_position="none"/>
<p>
<label>
<input type="checkbox" name="<inp2:u.login-sidebox_InputName name='UserRememberLogin'/>" id="<inp2:u.login-sidebox_InputName name='UserRememberLogin'/>" value="1" /> <u>Remember me on this computer</u>
</label>
</p>
<p class="buttons">
<input type="submit" value="Sign in" class="green-button"/>&nbsp;&nbsp;&nbsp;
<a href="#" style="font-weight: normal;">Forgot password?</a>
</p>
</fieldset>
<input type="hidden" name="forms[u.login-sidebox]" value="<inp2:u.login-sidebox_FormName/>"/>
</form>
<script type="text/javascript">
$(document).ready(
function () {
FormManager.registerForm(
{
prefix: 'u.login-sidebox',
save_event: 'OnLoginAjax',
id: '<inp2:u.login-sidebox_Field name="PortalUserId"/>',
form_id: 'login-form',
immediate_validation: false
}
);
$('#login-form').submit(
function ($e) {
FormManager.submitForm('u.login-sidebox');
return false;
}
);
}
);
</script>
</div>
</div>
</inp2:m_if>
\ No newline at end of file
Index: branches/1.0.x/elements/ajax/register.tpl
===================================================================
--- branches/1.0.x/elements/ajax/register.tpl (nonexistent)
+++ branches/1.0.x/elements/ajax/register.tpl (revision 14794)
@@ -0,0 +1,81 @@
+<!--<link rel="stylesheet" type="text/css" href="<inp2:m_Compress files='inc/profile.css'/>" charset="<inp2:lang.current_Field name='Charset'/>"/>-->
+
+<script type="text/javascript">
+ FormManager.resetFields('u.register');
+</script>
+
+<inp2:m_Include template="elements/forms.elm" strip_nl="2"/>
+<inp2:u.register_FormName name="registration"/>
+
+<div class="profile registerpage">
+ <div class="profile-title">
+ <h1>Registration</h1>
+ <p class="req">Required fields are marked by <span class="star">*</span></p>
+ <div class="clear"></div>
+ </div>
+
+ <form method="post" action="<inp2:m_FormAction/>" id="register_form" class="form profile-form">
+ <div class="halfcol">
+ <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="FirstName"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="LastName"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="Company"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="Email"/>
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="u.register" field="SubscribeToMailing"/>
+ <inp2:m_RenderElement name="inp_edit_password" prefix="u.register" field="Password"/>
+ </div>
+
+ <div class="halfcol halfcol-last">
+ <inp2:m_RenderElement name="inp_edit_address" prefix="u.register" field="Street" field2="Street2" title="lu_fld_Address"/>
+ <inp2:m_RenderElement name="inp_edit_options" prefix="u.register" field="Country" has_empty="1" empty_label="lu_opt_SelectCountry"/>
+ <inp2:m_RenderElement name="inp_edit_options" prefix="u.register" field="State" has_empty="1"/>
+
+ <!-- TODO: preload states by country -->
+
+ <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="Zip" row_class="alt2"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="Phone"/>
+ </div>
+ <div class="clear"></div>
+
+ <div class="terms">
+ <label><input type="checkbox" id="terms" name="terms" value="yes" checked="true" />&nbsp;I Agree to Terms and Conditions</label>
+ </div>
+
+ <inp2:m_RenderElement design="inp_edit_buttons">
+ <input type="submit" value="Register" class="green-button" disabled/>&nbsp;&nbsp;&nbsp;
+ <input type="reset" value="Cancel" class="grey-button" />
+ </inp2:m_RenderElement>
+
+ <input type="hidden" name="forms[u.register]" value="<inp2:u.register_FormName/>"/>
+ </form>
+</div>
+
+<script type="text/javascript">
+ $(document).ready(
+ function () {
+ FormManager.registerForm(
+ {
+ prefix: 'u.register',
+ save_event: 'OnRegisterAjax',
+ id: '<inp2:u.register_Field name="PortalUserId"/>',
+ form_id: 'register_form'
+ }
+ );
+
+ $('#register_form').submit(
+ function ($e) {
+ FormManager.submitForm('u.register');
+
+ return false;
+ }
+ );
+
+ $('input[type=reset]', '#register_form').click(
+ function ($e) {
+ FormManager.closeForm('u.register');
+
+ return false;
+ }
+ );
+ }
+ );
+</script>
Property changes on: branches/1.0.x/elements/ajax/register.tpl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
Index: branches/1.0.x/elements/ajax/add_review.tpl
===================================================================
--- branches/1.0.x/elements/ajax/add_review.tpl (nonexistent)
+++ branches/1.0.x/elements/ajax/add_review.tpl (revision 14794)
@@ -0,0 +1,64 @@
+<script type="text/javascript">
+ FormManager.resetFields('rev');
+</script>
+
+<inp2:rev_PresetFormFields/>
+
+<inp2:m_Include template="elements/forms.elm" strip_nl="2"/>
+
+<div class="review">
+ <div class="profile-title">
+ <h1>Add a Review</h1>
+ <div class="clear"></div>
+ </div>
+
+ <!--<inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="FirstName"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="u.register" field="LastName"/>-->
+
+ <form method="post" action="<inp2:m_FormAction/>" id="add_review_form" class="form profile-form left">
+ <p><label for="name">Your Name</label><input type="text" id="name" name="name" value="Anonymous" class="field" /></p>
+
+ <!--<p><label>Rating</label><span><img src="i/star-small.jpg" width="18" height="18" alt="" /><img src="i/star-small.jpg" width="18" height="18" alt="" /><img src="i/star-small.jpg" width="18" height="18" alt="" /><img src="i/star-small.jpg" width="18" height="18" alt="" /><img src="i/star-small.jpg" width="18" height="18" alt="" /></span></p>
+ <p><label for="review">Your Review</label><textarea id="review" rows="10" cols="100" class="field"></textarea></p>-->
+
+ <inp2:m_RenderElement name="inp_edit_rating" prefix="rev" field="Rating"/>
+ <inp2:m_RenderElement name="inp_edit_textarea" prefix="rev" field="ReviewText" title="lu_fld_YourReview" rows="10" cols="100" style="height: 70px;"/>
+
+ <inp2:m_RenderElement design="inp_edit_buttons">
+ <input type="submit" value="Submit" id="submit" class="green-button" disabled/>
+ <em class="optinfo">(maximum of 1,000 words)</em>
+ </inp2:m_RenderElement>
+ </form>
+</div>
+
+<script type="text/javascript">
+ $(document).ready(
+ function () {
+ FormManager.registerForm(
+ {
+ prefix: 'rev',
+ url: '<inp2:p_ProductLink template="#TEMPLATE#" js_escape="1" __NO_REWRITE__="1" no_amp="1"/>',
+ save_event: 'OnCreate',
+ id: '<inp2:rev_Field name="ReviewId"/>',
+ form_id: 'add_review_form'
+ }
+ );
+
+ $('#add_review_form').submit(
+ function ($e) {
+ FormManager.submitForm('rev');
+
+ return false;
+ }
+ );
+
+ /*$('input[type=reset]', '#add_review_form').click(
+ function ($e) {
+ FormManager.closeForm('rev');
+
+ return false;
+ }
+ );*/
+ }
+ );
+</script>
Property changes on: branches/1.0.x/elements/ajax/add_review.tpl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
Index: branches/1.0.x/elements/ajax/spam_report.tpl
===================================================================
--- branches/1.0.x/elements/ajax/spam_report.tpl (nonexistent)
+++ branches/1.0.x/elements/ajax/spam_report.tpl (revision 14794)
@@ -0,0 +1,58 @@
+<!--##
+<NAME>Spam Report Form</NAME>
+<SECTION>My Account</SECTION>
+##-->
+<inp2:m_NoDebug/>
+
+<inp2:spam-report_PresetFormFields/>
+
+<inp2:m_Include template="elements/forms.elm" strip_nl="2"/>
+
+<script type="text/javascript">
+ FormManager.resetFields('spam-report');
+</script>
+
+<div class="profile registerpage">
+ <div class="profile-title">
+ <h1>Report Review</h1>
+ <p class="req">Required fields are marked by <span class="star">*</span></p>
+ <div class="clear"></div>
+ </div>
+
+ <form method="post" id="spam_report_form" action="<inp2:m_FormAction/>" class="form profile-form">
+ <inp2:m_if check="m_Get" name="rev_id">
+ <input type="hidden" name="item_prefix" value="rev"/>
+ <input type="hidden" name="rev_id" value="<inp2:m_Get name='rev_id'/>"/>
+ </inp2:m_if>
+
+ <inp2:m_RenderElement name="inp_edit_textarea" prefix="spam-report" field="MessageText" title="lu_fld_MessageText" style="width: 100%; height: 170px;" is_last="1"/>
+
+ <inp2:m_RenderElement design="inp_edit_buttons" no_editing="1">
+ <input type="submit" value="Submit" id="submit" class="green-button" disabled/>
+ </inp2:m_RenderElement>
+ </form>
+</div>
+
+<script type="text/javascript">
+ $(document).ready(
+ function() {
+ FormManager.registerForm(
+ {
+ prefix: 'spam-report',
+ save_event: 'OnNewReport',
+ id: <inp2:spam-report_Field name='ReportId'/>,
+ form_id: 'spam_report_form'/*,
+ next_template: 'my_account/spam-report-confirm'*/
+ }
+ );
+
+ $('#spam_report_form').submit(
+ function ($e) {
+ FormManager.submitForm('spam-report');
+
+ return false;
+ }
+ );
+ }
+ );
+</script>
\ No newline at end of file
Property changes on: branches/1.0.x/elements/ajax/spam_report.tpl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
Index: branches/1.0.x/elements/content_boxes.elm.tpl
===================================================================
--- branches/1.0.x/elements/content_boxes.elm.tpl (revision 14793)
+++ branches/1.0.x/elements/content_boxes.elm.tpl (revision 14794)
@@ -1,140 +1,140 @@
<!--## DEFAULT CONTENT-TOP ELEMENT ##-->
<inp2:m_DefineElement name="default_content_banner" no_editing="1">
<!-- default banners -->
<inp2:st_ContentBlock num="101" page="index"/>
<!-- //default banners -->
</inp2:m_DefineElement>
<inp2:m_DefineElement name="default_page_title"><inp2:m_GetConfig name="Site_Name"/> &mdash; <inp2:st_PageInfo type="htmlhead_title"/></inp2:m_DefineElement>
<inp2:m_DefineElement name="default_add_to_footer" no_editing="1">
</inp2:m_DefineElement>
<inp2:m_DefineElement name="default_add_to_head" no_editing="1">
</inp2:m_DefineElement>
<inp2:m_DefineElement name="default_sidebar" no_editing="1">
</inp2:m_DefineElement>
<inp2:m_DefineElement name="default_page_title">
<inp2:st_PageInfo type="htmlhead_title"/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="image_element">
<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> />
</inp2:m_DefineElement>
<inp2:m_DefineElement name="content_box" content_class="" header_class="">
<h2 class="<inp2:m_Param name='header_class'/>"><inp2:m_param name="header"/></h2>
<div class="<inp2:m_Param name='content_class'/>">
<inp2:m_param name="content"/>
</div>
</inp2:m_DefineElement>
<!--## Unused for now
<inp2:m_DefineElement name="side_box" add_class="">
<div class="block <inp2:m_Param name='add_class'/>">
<h2><inp2:m_param name="header"/></h2>
<inp2:m_param name="content"/>
</div>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="side_box_custom" add_class="">
<div class="<inp2:m_Param name='add_class'/>">
<h4><inp2:m_param name="header"/></h4>
<inp2:m_param name="content"/>
</div>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="content_box_scrollable" add_class="">
<div class="block no-border-bottom<inp2:m_Param name='add_class'/>">
<h2><inp2:m_param name="header"/></h2>
<inp2:m_param name="content"/>
</div>
</inp2:m_DefineElement>
##-->
<inp2:m_DefineElement name="rating_percent_element">
<i><inp2:m_Param name="percent"/>%</i>
<span>
<inp2:VotesIndicator rating="$rating" small_style="small-star"/>
<!--##<inp2:m_if check="m_Param" name="rating" equals_to="1|2|3|4|5">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="m_Param" name="rating" equals_to="2|3|4|5">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="m_Param" name="rating" equals_to="3|4|5">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="m_Param" name="rating" equals_to="4|5">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="m_Param" name="rating" equals_to="5">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>##-->
</span><br/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="review_element">
<div class="row-review">
<p class="user"><inp2:Field name="ReviewedBy"/></p>
<div class="text-review"><inp2:Field name="ReviewText"/></div>
<div class="optional-review">
<p>
Was this review helpful to you?&nbsp;&nbsp;<a href="<inp2:HelpfulLink helpful='1'/>" class="yes">Yes</a>&nbsp;&nbsp;<em class="yes-count">(<inp2:Field name="HelpfulCount"/>)</em>&nbsp;&nbsp;<a href="<inp2:HelpfulLink helpful='0'/>" class="no">No</a>&nbsp;&nbsp;<em class="no-count">(<inp2:Field name="NotHelpfulCount"/>)</em>
</p>
- <p><a href="<inp2:ItemLink template='my_account/spam_report' width='720' height='350'/>" class="thickbox">Is this Review Inappropriate?</a></p>
+ <p><a href="<inp2:ItemLink template='elements/ajax/spam_report' width='720' height='350'/>" class="thickbox">Is this Review Inappropriate?</a></p>
<inp2:m_if check="Field" name="Rating" db="db">
<p class="rat">
Rating:
<inp2:VotesIndicator small_style="small-star"/>
<!--##<inp2:m_if check="Field" name="Rating" equals_to="1|2|3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="Field" name="Rating" equals_to="2|3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="Field" name="Rating" equals_to="3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="Field" name="Rating" equals_to="4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="Field" name="Rating" equals_to="5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>##-->
</p>
</inp2:m_if>
<p class="date"><strong><inp2:DateField name="CreatedOn" format="F j, Y"/></strong></p>
</div>
</div>
</inp2:m_DefineElement>
<inp2:m_DefineElement no_editing="1" name="prev_next_element" prefix="" id_field="" special="prefix-navigation" main_list="">
<inp2:{$prefix}.{$special}_InitList per_page="-1" main_list="$main_list" skip_quering="1"/>
<inp2:m_if check="{$prefix}.previous_Field" name="$id_field" item="$prefix" list="{$prefix}.{$special}">
<a href="<inp2:{$prefix}.previous_ItemLink template='__default__'/>" class="product-prev" title="Previous"></a>
</inp2:m_if>
<inp2:m_if check="{$prefix}.next_Field" name="$id_field" item="$prefix" list="{$prefix}.{$special}">
<a href="<inp2:{$prefix}.next_ItemLink template='__default__'/>" class="product-next" title="Next"></a>
</inp2:m_if>
</inp2:m_DefineElement>
\ No newline at end of file
Index: branches/1.0.x/account
===================================================================
--- branches/1.0.x/account (nonexistent)
+++ branches/1.0.x/account (revision 14794)
Property changes on: branches/1.0.x/account
___________________________________________________________________
Added: bugtraq:logregex
## -0,0 +1,2 ##
+(?:[Bb]ugs?|[Ii]ssues?|[Rr]eports?|[Ff]ixe?s?|[Rr]esolves?)+\s+(?:#?(?:\d+)[,\.\s]*)+
+(\d+)
\ No newline at end of property
Added: bugtraq:number
## -0,0 +1 ##
+true
\ No newline at end of property
Added: bugtraq:url
## -0,0 +1 ##
+http://tracker.in-portal.org/view.php?id=%BUGID%
\ No newline at end of property
Added: tsvn:autoprops
## -0,0 +1,19 ##
+*.php = svn:eol-style=LF;svn:keywords=Id
+*.tpl = svn:eol-style=LF
+*.sql = svn:eol-style=LF
+*.lang = svn:eol-style=LF
+*.sh = svn:eol-style=LF;svn:executable
+*.txt = svn:eol-style=LF
+*.html = svn:eol-style=LF
+*.htm = svn:eol-style=LF
+*.css = svn:eol-style=LF
+*.js = svn:eol-style=LF
+*.xml = svn:eol-style=LF
+.htaccess = svn:eol-style=LF
+.smsignore = svn:eol-style=LF
+COPYRIGHT = svn:eol-style=LF
+CREDITS = svn:eol-style=LF
+INSTALL = svn:eol-style=LF
+LICENSE = svn:eol-style=LF
+LICENSES = svn:eol-style=LF
+README = svn:eol-style=LF
\ No newline at end of property

Event Timeline