Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Tue, Feb 11, 5:27 AM

in-portal

Index: branches/5.0.x/themes/default/thankyou.tpl
===================================================================
--- branches/5.0.x/themes/default/thankyou.tpl (nonexistent)
+++ branches/5.0.x/themes/default/thankyou.tpl (revision 12862)
@@ -0,0 +1,34 @@
+<!--##
+<NAME>Thank You</NAME>
+<DESC>Thank you for submitting contact form</DESC>
+<SECTION>Pages</SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+ <inp2:m_RenderElement design="content_box">
+
+ <inp2:m_Capture to_var="header">
+ <inp2:st_PageInfo type="title"/>
+ </inp2:m_Capture>
+
+ <inp2:st_ContentBlock num="1"/>
+
+ <br /><br />
+ <inp2:formsubs_PhraseFromRequest name="thankyou_text" default="lu_text_Thankyou"/>
+
+ </inp2:m_RenderElement>
+
+ <script type="text/javascript">
+ $(document).ready(function() {
+ $('div.text').addClass('contacts');
+ });
+ </script>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" page_class="inner"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/5.0.x/themes/default/_install/theme.xml
===================================================================
--- branches/5.0.x/themes/default/_install/theme.xml (nonexistent)
+++ branches/5.0.x/themes/default/_install/theme.xml (revision 12862)
@@ -0,0 +1,3 @@
+<theme>
+ <default_design>designs/general</default_design>
+</theme>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default/_install/theme.xml
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/5.0.x/themes/default/_install/demo/service.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/themes/default/_install/demo/service.jpg
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/themes/default/_install/demo/contact_us.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/themes/default/_install/demo/contact_us.jpg
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/themes/default/_install/demo/service_photo.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/themes/default/_install/demo/service_photo.jpg
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/themes/default/_install/demo/agathokakolog.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/themes/default/_install/demo/agathokakolog.jpg
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/themes/default/_install/demo/click_here.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/themes/default/_install/demo/click_here.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/themes/default/_install/demo/giggalmator.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/themes/default/_install/demo/giggalmator.jpg
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/themes/default/_install/english.lang
===================================================================
--- branches/5.0.x/themes/default/_install/english.lang (nonexistent)
+++ branches/5.0.x/themes/default/_install/english.lang (revision 12862)
@@ -0,0 +1,21 @@
+<LANGUAGES>
+ <LANGUAGE PackName="English" Encoding="base64"><DATEFORMAT>m/d/Y</DATEFORMAT><TIMEFORMAT>g:i A</TIMEFORMAT><INPUTDATEFORMAT>m/d/Y</INPUTDATEFORMAT><INPUTTIMEFORMAT>g:i:s A</INPUTTIMEFORMAT><DECIMAL>.</DECIMAL><THOUSANDS>,</THOUSANDS><CHARSET>utf-8</CHARSET><DOCS_URL>http://docs.in-portal.org/eng/index.php</DOCS_URL><UNITSYSTEM>2</UNITSYSTEM>
+ <PHRASES>
+ <PHRASE Label="lu_AProblemInForm" Module="Core" Type="0">T25lIG9yIG1vcmUgZmllbGRzIG9uIHRoaXMgZm9ybSBoYXMgYW4gZXJyb3IuPGJyLz4NClBsZWFzZSByZXZpZXcgdGhlIGZpZWxkcyBtYXJrZWQgd2l0aCByZWQgY2FyZWZ1bGx5IGFuZCBzdWJtaXQgdGhlIGZvcm0gYWdhaW4u</PHRASE>
+ <PHRASE Label="lu_btn_Reset" Module="Core" Type="0">UmVzZXQ=</PHRASE>
+ <PHRASE Label="lu_btn_Send" Module="Core" Type="0">U2VuZA==</PHRASE>
+ <PHRASE Label="lu_fld_Company" Module="Core" Type="0">Q29tcGFueQ==</PHRASE>
+ <PHRASE Label="lu_fld_Email" Module="Core" Type="0">RS1tYWls</PHRASE>
+ <PHRASE Label="lu_fld_Message" Module="Core" Type="0">TWVzc2FnZQ==</PHRASE>
+ <PHRASE Label="lu_fld_Name" Module="Core" Type="0">TmFtZQ==</PHRASE>
+ <PHRASE Label="lu_fld_Phone" Module="Core" Type="0">UGhvbmU=</PHRASE>
+ <PHRASE Label="lu_fld_Subject" Module="Core" Type="0">U3ViamVjdA==</PHRASE>
+ <PHRASE Label="lu_rootcategory_name" Module="Core" Type="0">SG9tZQ==</PHRASE>
+ <PHRASE Label="lu_text_PromoHeader1" Module="Core" Type="0">TGFuZ3VhZ2Ugc2VsZWN0aW9uOg==</PHRASE>
+ <PHRASE Label="lu_text_PromoHeader2" Module="Core" Type="0">JnF1b3Q7U2V0dGluZyBFeGNlbGxlbmNlPGJyLz4NCmluIENvbnRlbnQgTWFuYWdlbWVudCZxdW90Ow==</PHRASE>
+ <PHRASE Label="lu_text_Thankyou" Module="Core" Type="0">VGhhbmsgeW91IGZvciBjb250YWN0aW5nIHdpdGggdXMh</PHRASE>
+ <PHRASE Label="lu_title_Address" Module="Core" Type="0">QWRkcmVzcw==</PHRASE>
+ <PHRASE Label="lu_title_RequestInformation" Module="Core" Type="0">SW5mb3JtYXRpb24gUmVxdWVzdCBGb3Jt</PHRASE>
+ </PHRASES>
+ </LANGUAGE>
+</LANGUAGES>
\ No newline at end of file
Index: branches/5.0.x/themes/default/_install/install_data.sql
===================================================================
--- branches/5.0.x/themes/default/_install/install_data.sql (nonexistent)
+++ branches/5.0.x/themes/default/_install/install_data.sql (revision 12862)
@@ -0,0 +1 @@
+UPDATE Category SET l1_Name = 'Home (TD)' WHERE l1_Name = 'Home';
\ No newline at end of file
Index: branches/5.0.x/themes/default/inc/styles.css
===================================================================
--- branches/5.0.x/themes/default/inc/styles.css (revision 12861)
+++ branches/5.0.x/themes/default/inc/styles.css (revision 12862)
@@ -1,260 +1,265 @@
/* Basic Blocks
*******************************************************************************/
body {
background: #fff url('../img/bg_header_new.jpg') no-repeat 50% 0;
color: #000;
- font: 0.75em/1.333em Arial,Tahoma,Verdana,Sans-Serif;
+ font: 0.75em/1.333em Sans-Serif,Arial,Tahoma,Verdana;
min-width: 800px;
}
img { border: 0; }
table { border-collapse: collapse; border-spacing: 0; }
td { padding: 0; vertical-align: top; }
a, a:hover { color: #0066CC; outline: none; text-decoration: none; }
a:hover { text-decoration: underline; }
.clear { clear: both !important; }
.fix { border: 1px solid #f00; }
/* Layout
*******************************************************************************/
#wrapper.inner {
background: url('../img/bg_inner_lines.gif') repeat-x 0 100%;
}
#wrapper .title_system {
color: #fff;
font-size: 0.833em;
line-height: 17px;
padding: 0 30px 0 0;
text-align: right;
}
/* Header
*******************************************************************************/
#header {
margin: 0 auto;
height: 162px;
/* height: 207px;*/
width: 763px;
}
#header h1.logo {
float: left;
height: 77px;
margin-top: 31px;
padding: 0 0 0 17px;
- width: 360px;
+ width: 480px;
}
#header h1.logo a {
background: url('../img/logo_xyz.gif') no-repeat 0 0;
color: #CF0;
display: block;
- font-family: Impact,sans-serif;
+ font-family: sans-serif;
font-size: 5.583em;
height: 47px;
padding: 30px 0 0 83px;
- width: 277px;
+ width: 400px;
}
#header h1.logo a:hover { text-decoration: none; }
#header .slogan {
color: #FFF;
float: right;
font-family: Georgia,serif;
font-size: 1.25em;
font-style: italic;
font-weight: bold;
padding: 54px 0 0 0;
text-align: right;
- width: 386px;
+ width: 265px;
}
/*** Menu ***/
#menu {
- background: url('../img/top_sup_menu.gif') repeat-x 0 100%;
+ background: url('../img/menu/top_sup_menju.gif') repeat-x 0 100%;
height: 76px;
}
#menu ul {
margin: 0 auto;
padding: 3px 0 0 0;
width: 770px;
}
#menu li {
- background: url('../img/nav_rcorn.jpg') no-repeat 100% 0;
+ background: url('../img/menu/nav_rcorn.jpg') no-repeat 100% 0;
display: inline-block;
float: left;
padding: 0 26px 0 0;
_width: 1%;
}
#menu li a {
- background: url('../img/arr_nav.gif') no-repeat 0 2px;
+ background: url('../img/menu/arr_nav.gif') no-repeat 0 2px;
color: #fff;
- font-family: Impact,sans-serif;
+ font-family: sans-serif;
font-size: 1.25em;
line-height: 39px;
padding: 0 8px 0 24px;
_background: none;
_white-space: nowrap;
}
#menu li a:hover {
color: #000;
text-decoration: none;
}
#menu li .first {
- background: url('../img/nav_1lcorn.jpg') no-repeat 0 0;
+ background: url('../img/menu/nav_1lcorn.jpg') no-repeat 0 0;
display: block;
height: 39px;
padding: 0 0 0 26px;
}
-#menu li.last { background: url('../img/nav_last_rcorn.gif') no-repeat 100% 0; }
-#menu li.active { background: url('../img/nav_1rcorn_a.jpg') no-repeat 100% 0; }
-#menu li.active .first { background: url('../img/nav_1lcorn_a.jpg') no-repeat 0 0; }
-#menu li.beforeactive { background: url('../img/nav_lcorn_a.jpg') no-repeat 100% 0; }
+#menu li.last { background: url('../img/menu/nav_last_rcorn.gif') no-repeat 100% 0; }
+#menu li.last.active { background: url('../img/menu/nav_last_rcorn_a.gif') no-repeat 100% 0; }
+#menu li.active { background: url('../img/menu/nav_1rcorn_a.jpg') no-repeat 100% 0; }
+#menu li.active .first { background: url('../img/menu/nav_1lcorn_a.jpg') no-repeat 0 0; }
+#menu li.beforeactive { background: url('../img/menu/nav_lcorn_a.jpg') no-repeat 100% 0; }
#menu li.active a {
- background: url('../img/arr_nav_a.gif') no-repeat 0 2px;
+ background: url('../img/menu/arr_nav_a.gif') no-repeat 0 2px;
color: #000;
- background: none;
+ _background: none;
}
/* Content
*******************************************************************************/
#content {
margin: 0 auto;
width: 763px;
}
#content h2 {
color: #BFBFBF;
font-family: 'Arial Narrow', Arial,sans-serif;
font-size: 2.833em;
font-weight: normal;
padding: 15px 0 18px 40px;
}
-
+#content h4 {
+ color: #88AA00;
+ font-family: arial,sans-serif;
+ font-size: 1.167em;
+ font-weight: bold;
+}
#content .column-text {
float: left;
padding: 0 40px;
width: 410px;
}
#content .column-text p,
#content .text p { padding: 0 0 10px 0; }
#content .column-right {
float: right;
width: 270px;
}
#content .text { padding: 0 40px 130px 40px; }
-#content .text.about { background: url('../img/about_pic.jpg') no-repeat 50% 100%; }
-#content .text.services { background: url('../img/services_pic.jpg') no-repeat 50% 100%; }
-#content .text.products { background: url('../img/products_pic.jpg') no-repeat 50% 100%; }
-#content .text.contacts { background: url('../img/contacts_pic.jpg') no-repeat 50% 100%; }
+#content .text.about { background: url('../img/sections/about_pic.jpg') no-repeat 50% 100%; }
+#content .text.services { background: url('../img/sections/services_pic.jpg') no-repeat 50% 100%; }
+#content .text.products { background: url('../img/sections/products_pic.jpg') no-repeat 50% 100%; }
+#content .text.contacts { background: url('../img/sections/contacts_pic.jpg') no-repeat 50% 100%; }
/*** News ***/
.block-news h3 {
background: #4F739F url('../img/bg_news_shade.gif') repeat-x 0 0;
padding: 13px 6px 0;
}
.block-news h3 img { margin-bottom: -3px; }
.block-news dl { background: #DCE4F1 url('../img/bg_right_colmn.gif') repeat-y 0 0; }
.block-news dl dt {
background: url('../img/pix_news.gif') no-repeat 0 15px;
color: #0066CC;
font-weight: bold;
margin: 0 0 0 6px;
padding: 10px 10px 0 34px;
}
.block-news dl dd {
font-size: 0.833em;
line-height: auto;
margin: 0 0 0 6px;
padding: 0 10px 5px 34px;
}
.block-promo { background: #fff url('../img/bg_promo.jpg') repeat-x 0 27px; }
.block-promo h3 {
background: #DDF47F url('../img/bg_promo_shade.gif') repeat-x 0 0;
padding: 7px 6px 0;
}
.block-promo h3 img { margin-bottom: -4px; }
.block-promo dl { background: url('../img/bg_promo_fade.jpg') no-repeat 0 0; }
.block-promo dl dt {
background: url('../img/pix_promo.gif') no-repeat 0 15px;
color: #006600;
font-weight: bold;
margin: 0 0 0 6px;
padding: 10px 10px 0 34px;
}
.block-promo dl dd {
font-size: 0.833em;
line-height: auto;
margin: 0 0 0 6px;
padding: 0 10px 5px 34px;
}
/*** Contacts ***/
-.contacts-block h4 {
- color: #88AA00;
- font-family: arial,sans-serif;
- font-size: 1.167em;
- font-weight: bold;
-}
.contacts-block .address {
float: left;
padding: 0 20px 0 0;
width: 200px;
}
.contacts-block .contacts-form {
float: left;
width: 410px;
}
.contacts-block .contacts-form .note { color: #777; font-size: 0.917em; }
.contacts-block .contacts-form .red { color: red; }
.contacts-block .contacts-form .bg-contacts { background: url('../img/bg-contacts.png') repeat-y 0 0; margin: 0 0 30px 0; }
.contacts-block .contacts-form .bg-contacts-up { background: url('../img/bg-contacts-up.png') no-repeat 0 0; }
-.contacts-block .contacts-form .bg-contacts-down { background: url('../img/bg-contacts-down.png') no-repeat 0 100%; padding: 5px 10px; }
+.contacts-block .contacts-form .bg-contacts-down { background: url('../img/bg-contacts-down.png') no-repeat 0 100%; padding: 15px 10px; }
.contacts-block .contacts-form .bg-contacts p { clear: both; float: left; width: 100%; }
.contacts-block .contacts-form .bg-contacts label { float: left; width: 120px; padding: 0 5px 0 0; }
.contacts-block .contacts-form .bg-contacts em { float: left; width: 215px; }
.contacts-block .contacts-form .bg-contacts em .field,
.contacts-block .contacts-form .bg-contacts em .fieldselect,
.contacts-block .contacts-form .bg-contacts em .fieldtextarea {
border-color: #000000 #B2B2B2 #B2B2B2 #000000;
border-width: 1px;
font-family: arial,sans-serif;
font-size: 1em;
- width: 170px;
+ width: 220px;
}
.contacts-block .contacts-form .bg-contacts em .fieldtextarea { height: 100px; }
#content .contacts-block .contacts-form .bg-contacts p.button {
padding: 0 0 10px 125px;
+ width: 220px;
}
#content .contacts-block .contacts-form .bg-contacts p.button input {
background-color: #CCFF00;
border-color: #8EB200 #000000 #000000 #8EB200;
border-width: 1px;
color: #000;
font-family: arial,sans-serif;
font-size: 1em;
height: 19px;
}
+#content .contacts-block .contacts-form .bg-contacts p.button input.submit {
+ float: right;
+}
+
/* Footer
*******************************************************************************/
#footer {
background: url('../img/bg_footer_left.jpg') repeat-x 0 0;
margin-top: 20px;
overflow: hidden;
}
#footer .footer-bg { background: url('../img/bg_footer.jpg') no-repeat 0 0; }
#footer .footer-center {
font-size: 0.833em;
height: 54px;
line-height: 54px;
margin: 0 auto;
width: 763px;
}
#footer .copy { color: #fff; float: left; }
#footer .powered {
color: #C9CDDB;
float: right;
}
-#footer .powered img { margin: 0 0 -10px 5px; }
+#footer .powered img { margin: 0 0 -10px 5px; }
\ No newline at end of file
Index: branches/5.0.x/themes/default/designs/form.tpl
===================================================================
--- branches/5.0.x/themes/default/designs/form.tpl (revision 12861)
+++ branches/5.0.x/themes/default/designs/form.tpl (revision 12862)
@@ -1,8 +1,74 @@
<!--##
-<NAME>Forms - Section Template</NAME>
+<NAME>Online Form - Section Template</NAME>
<DESC>Online Form</DESC>
-<SECTION>Platform</SECTION>
+<SECTION>Pages</SECTION>
##-->
<inp2:m_include template="elements/dynamic_forms.elm"/>
-<inp2:m_include template="designs/default_design.des"/>
\ No newline at end of file
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:st_PageInfo type="title"/>
+ </inp2:m_Capture>
+
+ <inp2:st_ContentBlock num="1"/>
+
+ <div class="contacts-block">
+ <div class="address">
+ <h4><inp2:m_Phrase label="lu_title_Address"/>:</h4>
+ <inp2:st_ContentBlock num="2"/>
+ </div>
+
+ <div class="contacts-form">
+ <h4><inp2:m_Phrase label="lu_title_RequestInformation"/></h4>
+ <p class="note">
+ <inp2:st_ContentBlock num="3"/>
+ </p>
+
+ <div class="bg-contacts">
+ <div class="bg-contacts-up">
+ <div class="bg-contacts-down">
+
+ <form method="post" action="<inp2:m_Link m_cat_id="0" m_cat_page="1"/>">
+ <inp2:m_if check="formsubs_HasError" field="any">
+ <p class="red"><inp2:m_RenderElement name="error_message" /></p>
+ </inp2:m_if>
+
+ <inp2:formflds_PrintList render_as="form_field" SourcePrefix="formsubs" per_page="-1"/>
+
+ <p class="button">
+ <input type="reset" name="reset" value="<inp2:m_Phrase label='lu_btn_Reset' no_editing='1'/>" />
+ <input type="submit" name="events[formsubs][OnCreate]" value="<inp2:m_Phrase label='lu_btn_Send' no_editing='1'/>" class="submit"/>
+ <input type="hidden" name="<inp2:formsubs_InputName field="FormId"/>" value="<inp2:m_Get var="form_id"/>"/>
+ <input type="hidden" name="form_id" value="<inp2:m_Get var="form_id"/>"/>
+ <input type="hidden" name="success_template" value="<inp2:st_Field name="FormSubmittedTemplate"/>"/>
+ </p>
+
+ </form>
+ <div class="clear"></div>
+
+ </div>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="clear"></div>
+
+ </div>
+
+ <script type="text/javascript">
+ $(document).ready(function() {
+ $('div.text').addClass('contacts');
+ });
+ </script>
+ </inp2:m_RenderElement>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" page_class="inner"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/5.0.x/themes/default/designs/default_design.des.tpl
===================================================================
--- branches/5.0.x/themes/default/designs/default_design.des.tpl (revision 12861)
+++ branches/5.0.x/themes/default/designs/default_design.des.tpl (revision 12862)
@@ -1,57 +1,52 @@
<inp2:m_CheckSSL/>
<inp2:m_Include template="elements/content_boxes.elm" strip_nl="1"/> <!--## includes system elements ##-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<inp2:lang.current_Field name="Locale" db="1"/>" lang="<inp2:lang.current_Field name="Locale" db="1"/>">
<head>
<title>
<inp2:st_PageInfo type="title"/> (<inp2:m_GetConfig name="Site_Name"/>)
</title>
<inp2:m_Include template="elements/html_head.elm" />
</head>
<body>
<inp2:st_EditPage mode="start"/><!--## System tag please do not remove ##-->
<div id="wrapper" class="<inp2:m_Param name="page_class"/>">
<!-- Basic Header -->
- <p class="title_system"><inp2:m_Phrase label="lu_text_PromoHeader1"/></p>
- <div id="header">
- <h1 class="logo"><a href="<inp2:m_Link template="index" m_cat_id="0" />"><inp2:m_GetConfig name="Site_Name"/></a></h1>
- <p class="slogan"><inp2:m_Phrase label="lu_text_PromoHeader2"/></p>
- </div>
- <div class="clear"></div>
+ <inp2:m_Include template="elements/header.elm" />
<!-- /Basic Header -->
<!-- Navigation -->
<inp2:m_Include template="elements/navigation_menu.elm" />
<!-- /Navigation -->
<div id="content">
<inp2:m_RenderElement name="content"/>
<!--## defined in each data template or default one used ##-->
<inp2:m_RenderElement name="sidebar" default_element="default_sidebar" />
<div class="clear"></div>
</div><!-- #content -->
</div><!-- #wrapper -->
<!-- Footer -->
<inp2:m_Include template="elements/footer.elm" />
<!-- //Footer -->
<inp2:st_EditPage mode="end"/> <!--## /System tag please do not remove ##-->
<inp2:m_Include template="elements/tracking.elm" />
</body>
</html>
\ No newline at end of file
Index: branches/5.0.x/themes/default/designs/general.tpl
===================================================================
--- branches/5.0.x/themes/default/designs/general.tpl (revision 12861)
+++ branches/5.0.x/themes/default/designs/general.tpl (revision 12862)
@@ -1,24 +1,24 @@
<!--##
<NAME>General - Section Template</NAME>
<DESC>General</DESC>
-<SECTION>Platform</SECTION>
+<SECTION>Pages</SECTION>
##-->
<!--## DEFINE MAIN CONTENT ELEMENT ##-->
<inp2:m_DefineElement name="content">
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:st_PageInfo type="title"/>
</inp2:m_Capture>
<inp2:st_ContentBlock num="1"/>
</inp2:m_RenderElement>
</inp2:m_DefineElement>
<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
<inp2:m_include template="designs/default_design.des" page_class="inner"/>
<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/5.0.x/themes/default/elements/html_head.elm.tpl
===================================================================
--- branches/5.0.x/themes/default/elements/html_head.elm.tpl (revision 12861)
+++ branches/5.0.x/themes/default/elements/html_head.elm.tpl (revision 12862)
@@ -1,7 +1,19 @@
<meta http-equiv="content-type" content="text/html; charset=<inp2:lang.current_Field name="Charset"/>" />
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="<inp2:m_TemplatesBase />inc/screen.css" media="screen" charset="utf-8"/>
<!-- JS FOR ADMIN -->
<inp2:st_EditingScripts/>
+
+<!-- JS FOR FRONT -->
+<inp2:m_ifnot check="m_GetConst" name="EDITING_MODE"> <!--## EXCLUDE THIS JS WHEN IN ADMIN ##-->
+ <script type="text/javascript" src="<inp2:m_TemplatesBase />inc/js/jquery.pack.js"></script>
+ <script type="text/javascript" src="<inp2:m_TemplatesBase />inc/js/jcookie.js"></script>
+</inp2:m_ifnot> <!--## //EXCLUDE THIS JS WHEN IN ADMIN ##-->
+
+<script type="text/javascript">
+$(document).ready(function() {
+ $('li.active').prev('li').addClass('beforeactive');
+});
+</script>
\ No newline at end of file
Index: branches/5.0.x/themes/default/elements/header.elm.tpl
===================================================================
--- branches/5.0.x/themes/default/elements/header.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default/elements/header.elm.tpl (revision 12862)
@@ -0,0 +1,19 @@
+<inp2:m_DefineElement name="lang_elem" no_editing="1">
+ <inp2:m_if check="SelectedLanguage">
+ <span><inp2:Field name="LocalName"/></span>
+ <inp2:m_else/>
+ <a href="<inp2:LanguageLink/>"><inp2:Field name="LocalName"/></a>
+ </inp2:m_if>
+ <inp2:m_ifnot check="m_Param" name="is_last"> | </inp2:m_ifnot>
+</inp2:m_DefineElement>
+
+<p class="title_system">
+ <inp2:m_Phrase label="lu_text_PromoHeader1"/>:
+ <inp2:lang_ListLanguages render_as="lang_elem" no_table="1"/>
+</p>
+
+<div id="header">
+ <h1 class="logo"><a href="<inp2:m_Link template="index" m_cat_id="0" />"><inp2:m_GetConfig name="Site_Name"/></a></h1>
+ <p class="slogan"><inp2:m_Phrase label="lu_text_PromoHeader2"/></p>
+</div>
+<div class="clear"></div>
\ No newline at end of file
Index: branches/5.0.x/themes/default/elements/dynamic_forms.elm.tpl
===================================================================
--- branches/5.0.x/themes/default/elements/dynamic_forms.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default/elements/dynamic_forms.elm.tpl (revision 12862)
@@ -0,0 +1,65 @@
+<inp2:m_DefineElement name="form_field_text">
+<em>
+ <input type="text" class="field" name="<inp2:CustomInputName/>" id="<inp2:Field name='FieldName'/>" value="<inp2:SubmissionTag tag="Field"/>" <inp2:m_param name="field_params" /> tabindex="0"/>
+</em>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="error_message">
+ <inp2:m_phrase name="lu_AProblemInForm"/><br />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_password">
+<em>
+ <input type="password" class="field" primarytype="password" name="<inp2:CustomInputName/>" id="<inp2:CustomInputName/>" value="" tabindex="0"/>
+ <input type="password" class="field" name="<inp2:CustomInputName verify="1"/>" id="verify_<inp2:CustomInputName verify="1"/>" value="" tabindex="0"/>
+</em>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_option">
+ <option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_select">
+<em>
+ <select name="<inp2:CustomInputName/>" id="<inp2:Field name='FieldName'/>" class="fieldselect" tabindex="0">
+ <inp2:SubmissionTag tag="PredefinedOptions" field="$field" block="form_field_option" selected=" selected='selected'"/>
+ </select>
+</em>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_checkbox">
+<em>
+ <input type="hidden" id="<inp2:CustomInputName/>" name="<inp2:CustomInputName/>" value="<inp2:SubmissionTag tag="Field" field="$field" db="db"/>">
+ <input type="checkbox" id="_cb_<inp2:m_param name="field"/>" name="_cb_<inp2:m_param name="field"/>" <inp2:SubmissionTag tag="Field" checked="checked" db="db"/> class="fieldcheckbox"/>" onclick="document.getElementById('<inp2:CustomInputName/>').value = this.checked ? 1:0">
+</em>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_textarea">
+<em>
+ <textarea name="<inp2:CustomInputName/>" id="<inp2:Field name='FieldName'/>" class="fieldtextarea" <inp2:m_param name="field_params" /> cols="40" rows="5"><inp2:SubmissionTag tag="Field" field="$field" /></textarea>
+</em>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_radio_item">
+ <input type="radio" <inp2:m_param name="checked"/> name="<inp2:m_param name="field_name"/>" id="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>" value="<inp2:m_param name="key"/>"><label for="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>"><inp2:m_param name="option"/></label>&nbsp;
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_radio">
+ <em>
+ <inp2:SubmissionTag tag="PredefinedOptions" field="$field" block="form_radio_item" selected="checked"/>
+</em>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field">
+<p>
+ <label for="<inp2:Field name='FieldName'/>" <inp2:m_if check="SubmissionTag" tag="HasError">class="red"</inp2:m_if>>
+ <inp2:Field name="FieldLabel" plus_or_as_label="1"/>&nbsp;<inp2:m_if check="FieldEquals" field="Required" value="1"><span class="red">*</span></inp2:m_if>
+ </label>
+<!--##
+ <inp2:m_if check="SubmissionTag" tag="HasError">
+ <span class="field-error"><inp2:SubmissionTag tag="Error"/></span><br />
+ </inp2:m_if>
+##-->
+ <inp2:ConfigFormElement field="Value" blocks_prefix="form_field_" element_type_field="ElementType" value_list_field="ValueList" />
+</p>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: branches/5.0.x/themes/default/elements/tracking.elm.tpl
===================================================================
--- branches/5.0.x/themes/default/elements/tracking.elm.tpl (revision 12861)
+++ branches/5.0.x/themes/default/elements/tracking.elm.tpl (revision 12862)
@@ -1,12 +1,7 @@
<!-- Tracking Code Starts-->
<inp2:m_if check="c.current_Field" name="IndexTools">
<inp2:c.current_Field name="IndexTools"/>
<inp2:m_else/>
<inp2:m_GetConfig name="TrackingCode"/>
</inp2:m_if>
<!-- Tracking Code Ends -->
-
-<inp2:m_ifnot check="m_GetConst" name="EDITING_MODE"> <!--## EXCLUDE THIS JS WHEN IN ADMIN ##-->
- <script type="text/javascript" src="<inp2:m_TemplatesBase />inc/js/jquery.pack.js"></script>
- <script type="text/javascript" src="<inp2:m_TemplatesBase />inc/js/jcookie.js"></script>
-</inp2:m_ifnot> <!--## //EXCLUDE THIS JS WHEN IN ADMIN ##-->
\ No newline at end of file
Index: branches/5.0.x/themes/default/elements/navigation_menu.elm.tpl
===================================================================
--- branches/5.0.x/themes/default/elements/navigation_menu.elm.tpl (revision 12861)
+++ branches/5.0.x/themes/default/elements/navigation_menu.elm.tpl (revision 12862)
@@ -1,19 +1,17 @@
<inp2:m_DefineElement name="menu_element" no_editing="1">
-<li class="<inp2:m_if check="m_Param" name="is_active">active</inp2:m_if>">
+<li class="<inp2:m_if check="m_Param" name="active">active</inp2:m_if> <inp2:m_if check="m_Param" name="is_last">last</inp2:m_if>">
<inp2:m_if check="m_Param" name="is_first">
<span class="first">
- <inp2:m_elseif check="m_Param" name="is_last"/>
- <span class="last">
<inp2:m_else/>
<span>
</inp2:m_if>
<a href="<inp2:m_if check='m_Param' name='external_url'><inp2:m_Param name='external_url'/><inp2:m_else/><inp2:m_Link template='$template' m_cat_id='$cat_id' m_cat_page='1'/></inp2:m_if>" title="<inp2:m_Param name="title"/>"><inp2:m_Param name="title"/></a></span>
</li>
</inp2:m_DefineElement>
<div id="menu">
<ul>
<inp2:st_CachedMenu render_as="menu_element" category_id="1"/>
</ul>
<div class="clear"></div>
</div>
\ No newline at end of file

Event Timeline