diff --git a/application/modules/default/views/scripts/product/add.phtml b/application/modules/default/views/scripts/product/add.phtml index c3b818a0e..46c72ff02 100644 --- a/application/modules/default/views/scripts/product/add.phtml +++ b/application/modules/default/views/scripts/product/add.phtml @@ -1,2150 +1,2150 @@ . **/ //$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); 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" }); }); '); ?> Hi = $this->member->username; ?>= $this->translate(', welcome to your personal start page!') ?> = $this->translate('Click here to go to your About Me page.') ?> render('user/partials/userHeader.phtml'); ?> = $this->form->project_id ?> Basics (*) Mandatory fields. form->title ?> * Product Name (4 letters min.) value="= $this->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 .= '' . $currentError . ''; } ?> = $this->form->project_category_id ?> = $this->form->project_subcategory_id ?> = $this->form->project_sub_subcategory_id ?> = $this->form->description ?> = $this->form->version ?> = $this->form->source_url ?> = $this->form->is_original ?> Check this box, if this is your own original work and not based on something else = $this->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) { ?> System Auto Tags = $this->form->tagsuser ?> = $this->form->image_small ?> = $this->form->image_small_upload ?> form->image_big ?> form->image_big_upload ?> = $this->form->gallery ?> = $this->form->embed_code ?> = $this->form->link_1 ?> = $this->form->facebook_code ?> = $this->form->twitter_code ?> = $this->form->google_code ?> Git form->gitlab_project_id->getMultiOptions())) { ?> = $this->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'); } ?> = $this->form->gitlab_project_id ?> product) || (!empty($this->product) && $this->product->is_gitlab_project == 0)) { $this->form->show_gitlab_project_issues->setAttrib('disabled', 'disabled'); } ?> = $this->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'); } ?> = $this->form->use_gitlab_project_readme ?> Check this box, if you want to show the README.md as project description Git-Project You can create a project on git.opendesktop.org and link it with this project. Files = $this->translate('Drop file(s) here') ?>: Deleted files are archived. Number of downloads are kept. * project_id)) { ?> Changelog = $this->translate('Changelog') ?> Changelog Title: Changelog Text: Save Changelog Your Entries: inlineScript()->appendScript( ' $(document).ready(function(){ ImagePreview.setup(); ProductForm.setup(); ProductGallery.setup(); Opendownloadfile.setup(); $(\'#demo\').multiselect({ includeSelectAllOption: true }); }); ');
(*) Mandatory fields.
= $this->translate('Drop file(s) here') ?>: