diff --git a/application/modules/default/views/scripts/product/add.phtml b/application/modules/default/views/scripts/product/add.phtml index 72b434d1e..54f0dd593 100644 --- a/application/modules/default/views/scripts/product/add.phtml +++ b/application/modules/default/views/scripts/product/add.phtml @@ -1,2182 +1,2176 @@ . **/ //$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(); $helpBaseUrl = new Default_View_Helper_BuildBaseUrl(); $modelCategory = new Default_Model_DbTable_ProjectCategory(); $valueCatId = $this->form->project_category_id->getValue(); //$valueCatId = 55; $storeCatIds = Zend_Registry::isRegistered('store_category_list') ? Zend_Registry::get('store_category_list') : null; //$categories = $modelCategory->fetchCategoriesForForm($valueCatId); $categoryAncestors = $modelCategory->fetchAncestorsAsId($valueCatId); $categories = $modelCategory->fetchCategoriesForFormNew($valueCatId); //$categories2 = array(); 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->source_url ?>
form->is_original ?> Check this box, if this is your own original work and not based on something else
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->image_small ?> form->image_small_upload ?> form->image_big ?> form->image_big_upload ?> form->gallery ?> form->embed_code ?> form->link_1 ?> form->facebook_code ?> form->twitter_code ?> form->google_code ?>

Git

form->gitlab_project_id->getMultiOptions())) { ?>
form->is_gitlab_project ?> Check this box, if this a public project on git.opendesktop.org
product) || (!empty($this->product) && $this->product->is_gitlab_project == 0)) { $this->form->gitlab_project_id->setAttrib('disabled', 'disabled'); } ?> form->gitlab_project_id ?>
product) || (!empty($this->product) && $this->product->is_gitlab_project == 0)) { $this->form->show_gitlab_project_issues->setAttrib('disabled', 'disabled'); } ?> form->show_gitlab_project_issues ?> Check this box, if you want to show the issue list
product) || (!empty($this->product) && $this->product->is_gitlab_project == 0)) { $this->form->use_gitlab_project_readme->setAttrib('disabled', 'disabled'); } ?> form->use_gitlab_project_readme ?> Check this box, if you want to show the README.md as project description
You can create a project on git.opendesktop.org and link it with this project.

Files

project_id)) { ?>

Changelog

inlineScript()->appendScript( ' $(document).ready(function(){ ImagePreview.setup(); ProductForm.setup(); ProductGallery.setup(); Opendownloadfile.setup(); }); '); diff --git a/application/modules/default/views/scripts/product/partials/ppload.phtml b/application/modules/default/views/scripts/product/partials/ppload.phtml index 11c0b17c3..6dda8edc8 100644 --- a/application/modules/default/views/scripts/product/partials/ppload.phtml +++ b/application/modules/default/views/scripts/product/partials/ppload.phtml @@ -1,853 +1,874 @@ . **/ $catTagGropuModel = new Default_Model_TagGroup(); $tagGroups = $catTagGropuModel->fetchTagGroupsForCategory($this->product->project_category_id); $tagsForGroupHelper = new Default_View_Helper_FetchTagsForTagGroup(); ?> + + product->ppload_collection_id): ?> catXdgType($this->product->project_category_id); $helperUserRole = new Backend_View_Helper_UserRole(); $userRoleName = $helperUserRole->userRole(); ?>
" . $tagGroup['group_display_name'] . ""; } } ?>
translate('File (click to download)'); ?> translate('Version'); ?> translate('Description'); ?> translate('Downloads'); ?> translate('Date'); ?> translate('Filesize'); ?> DL translate('OCS-Install'); ?> Compatible
*/?> diff --git a/application/modules/default/views/scripts/user/products.phtml b/application/modules/default/views/scripts/user/products.phtml index a68859b6a..b2d446616 100644 --- a/application/modules/default/views/scripts/user/products.phtml +++ b/application/modules/default/views/scripts/user/products.phtml @@ -1,1615 +1,1634 @@ . **/ $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'); $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(); Opendownloadfile.setup(); }); '); ?>