diff --git a/application/modules/default/views/scripts/product/add.phtml b/application/modules/default/views/scripts/product/add.phtml index 2c1ec404e..0f921462c 100644 --- a/application/modules/default/views/scripts/product/add.phtml +++ b/application/modules/default/views/scripts/product/add.phtml @@ -1,1984 +1,1984 @@ . **/ //$this->os = Zend_Registry::get('application_os'); $this->tab = 'add'; $helperImage = new Default_View_Helper_Image(); $helpMemberUrl = new Default_View_Helper_BuildMemberUrl(); $helpProductUrl = new Default_View_Helper_BuildProductUrl(); $architectureListHelper = new Default_View_Helper_FetchArchitectureTags(); $packagetypeListHelper = new Default_View_Helper_FetchPackagetypeTags(); $modelCategory = new Default_Model_DbTable_ProjectCategory(); $valueCatId = $this->form->project_category_id->getValue(); //$valueCatId = 55; $categories = $modelCategory->fetchCategoriesForForm($valueCatId); $categoryAncestors = $modelCategory->fetchAncestorsAsId($valueCatId); if (count($categoryAncestors) > 0) { $categoryPath = explode(',',$categoryAncestors['ancestors']); } $categoryPath[] = $valueCatId; $this->headLink()->appendStylesheet('/theme/flatui/css/chosen.css'); $this->inlineScript()->appendFile('/theme/flatui/js/lib/chosen.jquery.min.js'); $this->inlineScript()->appendScript(' $(document).ready(function(){ $("select.chosen").chosen({ width: "100%", max_selected_options: "5", disable_search: "false", disable_search_threshold: "5" }); }); '); ?>
profile-image
Hi member->username; ?>translate(', welcome to your personal start page!') ?>
render('user/partials/userHeader.phtml'); ?>
form->project_id ?>

Basics

(*) Mandatory fields.

form->title ?>
*
value="escape($this->form->title->getValue()) ?>" title="Please use only letters." maxlength="60" aria-required="true" aria-invalid="false" data-rule-minlength="4" data-rule-maxlength="60" data-msg-minlength="At least 4 chars" data-msg-maxlength="At most 60 chars"> form->title->getMessages()) { $errorHtml = ''; foreach ($this->form->title->getMessages() as $currentError) { $errorHtml .= ''; } ?>
form->project_category_id ?> form->project_subcategory_id ?> form->project_sub_subcategory_id ?> form->description ?> form->version ?> form->image_small ?> form->image_small_upload ?> form->image_big ?> form->image_big_upload ?> form->gallery ?> form->embed_code ?> form->source_url ?> form->license_tag_id ?> project_id) { $tagmodel = new Default_Model_Tags(); $tagscat = $tagmodel->getTagsCategory($this->project_id, Default_Model_Tags::TAG_TYPE_PROJECT); if(strlen($tagscat)>0) { ?>
form->tagsuser ?> form->link_1 ?> form->facebook_code ?> form->twitter_code ?> form->google_code ?>

Files

project_id)) { ?>

Changelog

inlineScript()->appendScript( ' $(document).ready(function(){ ImagePreview.setup(); ProductForm.setup(); ProductGallery.setup(); }); '); diff --git a/application/modules/default/views/scripts/user/products.phtml b/application/modules/default/views/scripts/user/products.phtml index 510713f33..6e1b351ab 100644 --- a/application/modules/default/views/scripts/user/products.phtml +++ b/application/modules/default/views/scripts/user/products.phtml @@ -1,1666 +1,1666 @@ . **/ $this->headLink()->appendStylesheet('/theme/flatui/css/stylesheets/general.css'); $this->headLink()->appendStylesheet('/theme/flatui/css/select2.min.css'); $this->headLink()->appendStylesheet('/theme/flatui/css/select2.custmized.css'); $this->inlineScript()->appendFile('/theme/flatui/js/lib/select2.min.js'); $architectureListHelper = new Default_View_Helper_FetchArchitectureTags(); $packagetypeListHelper = new Default_View_Helper_FetchPackagetypeTags(); $this->tab = 'products'; ?>
render('user/partials/userHeader_top.phtml'); ?>
render('user/partials/userHeader.phtml'); ?>

translate('Products') ?>

products->getTotalItemCount() ?> translate('products') ?>
partialLoop('user/partials/loopMyProducts.phtml', $this->products, $this->productFiles); ?>
paginationControl($this->products, 'Sliding', '/partials/paginationControlBootstrap.phtml', array('dom_target' => 'section.my-products-page')); ?>
inlineScript()->appendScript( ' $(document).ready(function(){ myProducts.setup(); Partials.setup(); }); '); ?> inlineScript()->appendScript( ' $(document).ready(function(){ TagingLoopMyProducts.setup(); }); '); ?>