Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15027 | Rev 15140 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 15027 Rev 15139
Línea 1... Línea 1...
1
<?php 
1
<?php
2
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
2
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
3
$currentUser    = $this->currentUserHelper();
3
$currentUser    = $this->currentUserHelper();
Línea 4... Línea 4...
4
 
4
 
Línea 13... Línea 13...
13
$allowDelete    = $acl->isAllowed($roleName, 'microlearning/content/capsules/delete') ? 1 : 0;
13
$allowDelete    = $acl->isAllowed($roleName, 'microlearning/content/capsules/delete') ? 1 : 0;
14
$allowUsers     = $acl->isAllowed($roleName, 'microlearning/content/capsules/users') ? 1 : 0;
14
$allowUsers     = $acl->isAllowed($roleName, 'microlearning/content/capsules/users') ? 1 : 0;
Línea -... Línea 15...
-
 
15
 
15
 
16
 
16
 
17
 
Línea 17... Línea 18...
17
 
18
$this->headLink()->setStyle($this->basePath('plugins/nelberth-editor/style.css'));
Línea 42... Línea 43...
42
$this->inlineScript()->appendFile($this->basePath('plugins/datatables/jquery.dataTables.min.js'));
43
$this->inlineScript()->appendFile($this->basePath('plugins/datatables/jquery.dataTables.min.js'));
43
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js'));
44
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js'));
44
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/dataTables.responsive.min.js'));
45
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/dataTables.responsive.min.js'));
45
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/responsive.bootstrap4.min.js'));
46
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/responsive.bootstrap4.min.js'));
Línea 46... Línea -...
46
 
-
 
Línea 47... Línea 47...
47
$this->headLink()->appendStylesheet($this->basePath('plugins/nelberth-editor/style.css'));
47
 
48
 
48
 
Línea 49... Línea 49...
49
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
49
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
Línea 2024... Línea 2024...
2024
 
2024
 
2025
});
2025
});
2026
JS;
2026
JS;
2027
$this->inlineScript()->captureEnd();
2027
$this->inlineScript()->captureEnd();
2028
?>
-
 
Línea -... Línea 2028...
-
 
2028
?>
2029
  
2029
 
2030
 
2030
 
2031
				
2031
 
2032
<!-- Content Header (Page header) -->
2032
<!-- Content Header (Page header) -->
2033
<section class="content-header">
2033
<section class="content-header">
2034
	<div class="container-fluid">
2034
	<div class="container-fluid">
2035
    	<div class="row mb-2">
2035
		<div class="row mb-2">
2036
        	<div class="col-sm-12">
2036
			<div class="col-sm-12">
2037
            	<h1>LABEL_CAPSULES</h1>
2037
				<h1>LABEL_CAPSULES</h1>
2038
			</div>
2038
			</div>
2039
		</div>
2039
		</div>
Línea 2040... Línea 2040...
2040
	</div><!-- /.container-fluid -->
2040
	</div><!-- /.container-fluid -->
2041
</section>
2041
</section>
2042
 
2042
 
2043
<section class="content" id="content1">
2043
<section class="content" id="content1">
2044
	<div class="container-fluid">
2044
	<div class="container-fluid">
2045
    	<div class="row">
2045
		<div class="row">
2046
        	<div class="col-12">
2046
			<div class="col-12">
2047
				<div class="card">        
2047
				<div class="card">
2048
					<div class="card-header">
2048
					<div class="card-header">
2049
						<?php 
2049
						<?php
2050
                        $form = $this->form;
2050
						$form = $this->form;
2051
            	        $form->setAttributes([
2051
						$form->setAttributes([
2052
                            'name'    => 'form-filter',
2052
							'name'    => 'form-filter',
2053
                            'id'      => 'form-filter',
2053
							'id'      => 'form-filter',
2054
                        ]);
2054
						]);
2055
    
2055
 
2056
                        $form->prepare();
2056
						$form->prepare();
2057
                        echo $this->form()->openTag($form);
2057
						echo $this->form()->openTag($form);
2058
                        ?>		
2058
						?>
2059
                        <div class="form-group">
2059
						<div class="form-group">
2060
                            <?php
2060
							<?php
2061
                            $element = $form->get('topic_uuid');
2061
							$element = $form->get('topic_uuid');
2062
                           
2062
 
2063
                            $element->setAttributes(['class' => 'form-control']);
2063
							$element->setAttributes(['class' => 'form-control']);
2064
                            $element->setLabel('LABEL_TOPIC');
2064
							$element->setLabel('LABEL_TOPIC');
2065
                            echo $this->formLabel($element);
2065
							echo $this->formLabel($element);
2066
                            echo $this->formSelect($element);
2066
							echo $this->formSelect($element);
2067
                            ?>
2067
							?>
2068
                        </div>			
2068
						</div>
2069
						<?php echo $this->form()->closeTag($form); ?>
2069
						<?php echo $this->form()->closeTag($form); ?>
2070
					</div>            
2070
					</div>
2071
					<div class="card-body">
2071
					<div class="card-body">
2072
        	    		<table id="gridTable" class="table   table-hover">
2072
						<table id="gridTable" class="table   table-hover">
2073
                      		<thead>
2073
							<thead>
2074
        						<tr>
2074
								<tr>
2075
                                	<th>LABEL_NAME</th>
2075
									<th>LABEL_NAME</th>
2076
                                  	<th>LABEL_DETAILS</th>
2076
									<th>LABEL_DETAILS</th>
2077
                                  	<th>LABEL_IMAGES</th>	
2077
									<th>LABEL_IMAGES</th>
2078
                                  	<th>LABEL_ACTIONS</th>
2078
									<th>LABEL_ACTIONS</th>
2079
                                </tr>
2079
								</tr>
2080
                       		</thead>
2080
							</thead>
2081
                         	<tbody>
2081
							<tbody>
2082
                         	</tbody>
2082
							</tbody>
2083
                    	</table>
2083
						</table>
2084
                   	</div>
2084
					</div>
2085
                   	<div class="card-footer clearfix">
2085
					<div class="card-footer clearfix">
2086
                   		<div style="float:right;">
2086
						<div style="float:right;">
2087
							<button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH  </button>
2087
							<button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
2088
							<?php if($allowAdd) : ?>
2088
							<?php if ($allowAdd) : ?>
2089
							<button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
2089
								<button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
2090
							<?php endif; ?>
2090
							<?php endif; ?>
2091
						</div>
2091
						</div>
2092
                 	</div>
2092
					</div>
2093
          		</div>
2093
				</div>
2094
           	</div>     
2094
			</div>
Línea 2095... Línea 2095...
2095
        </div>          
2095
		</div>
2096
 	</div>
2096
	</div>
Línea 2097... Línea 2097...
2097
</section> 
2097
</section>
Línea 2098... Línea 2098...
2098
 
2098
 
2099
 
2099
 
-
 
2100
<!-- The Modal -->
-
 
2101
<div id="modalCapsuleAdd" style='display:none'>
-
 
2102
 
-
 
2103
 
-
 
2104
	<!-- Modal Header -->
-
 
2105
 
-
 
2106
	<div class="d-flex justify-content-center tituloEditor">
-
 
2107
		<h4>LABEL_ADD_CAPSULE</h4>
-
 
2108
 
-
 
2109
	</div>
-
 
2110
	<!-- Modal body -->
-
 
2111
	<div class="grid-padre">
-
 
2112
		<?php
-
 
2113
		$form = $this->formAdd;
-
 
2114
		$form->setAttributes([
-
 
2115
			'method'  => 'post',
-
 
2116
			'action'  => '',
-
 
2117
			'name'    => 'form-capsule-add',
-
 
2118
			'id'      => 'form-capsule-add',
-
 
2119
		]);
-
 
2120
 
-
 
2121
		$form->prepare();
-
 
2122
		echo $this->form()->openTag($form);
-
 
2123
		?>
-
 
2124
		<div class="form-group grid-1-2">
-
 
2125
			<?php
-
 
2126
			$element = $form->get('name');
-
 
2127
 
-
 
2128
			$element->setAttributes(['class' => 'form-control']);
-
 
2129
			$element->setOptions(['label' => 'LABEL_NAME']);
-
 
2130
			echo $this->formLabel($element);
-
 
2131
			echo $this->formText($element);
-
 
2132
			?>
-
 
2133
		</div>
-
 
2134
		<div class="form-group grid-1-2">
-
 
2135
			<?php
-
 
2136
			$element = $form->get('description');
-
 
2137
			$element->setAttributes(['id' => 'description_add', 'class' => 'form-control', 'rows' => '2', 'class' => 'form-control']);
-
 
2138
			$element->setOptions(['label' => 'LABEL_DESCRIPTION']);
-
 
2139
			echo $this->formLabel($element);
-
 
2140
			echo $this->formTextArea($element);
-
 
2141
			?>
-
 
2142
		</div>
-
 
2143
		<div class="form-group grid-1-2">
-
 
2144
			<?php
-
 
2145
			$element = $form->get('order');
-
 
2146
			$element->setAttributes(['class' => 'form-control']);
-
 
2147
			$element->setOptions(['label' => 'LABEL_ORDER']);
-
 
2148
			echo $this->formLabel($element);
-
 
2149
			echo $this->formText($element);
-
 
2150
			?>
-
 
2151
		</div>
-
 
2152
 
-
 
2153
		<div class="form-group grid-1-2">
-
 
2154
			<?php
-
 
2155
			$element = $form->get('status');
-
 
2156
			$element->setAttributes(['class' => 'form-control']);
-
 
2157
			$element->setOptions(['label' => 'LABEL_STATUS']);
-
 
2158
			echo $this->formLabel($element);
-
 
2159
			echo $this->formSelect($element);
-
 
2160
			?>
-
 
2161
		</div>
-
 
2162
		<div class="form-group grid-1-2">
-
 
2163
			<?php
-
 
2164
			$element = $form->get('privacy');
-
 
2165
			$element->setAttributes(['class' => 'form-control']);
-
 
2166
			$element->setOptions(['label' => 'LABEL_PRIVACY']);
-
 
2167
			echo $this->formLabel($element);
-
 
2168
			echo $this->formSelect($element);
-
 
2169
			?>
-
 
2170
		</div>
-
 
2171
		<div class="form-group grid-1-2">
-
 
2172
			<?php
-
 
2173
			$element = $form->get('type');
-
 
2174
			$element->setAttributes(['class' => 'form-control']);
-
 
2175
			$element->setOptions(['label' => 'LABEL_TYPE']);
-
 
2176
			echo $this->formLabel($element);
-
 
2177
			echo $this->formSelect($element);
-
 
2178
			?>
-
 
2179
		</div>
-
 
2180
		<div class="form-group grid-1-2" id="form-row-cost">
-
 
2181
			<?php
-
 
2182
			$element = $form->get('cost');
-
 
2183
			$element->setAttributes(['class' => 'form-control']);
-
 
2184
			$element->setOptions(['label' => 'LABEL_COST']);
-
 
2185
			echo $this->formLabel($element);
-
 
2186
			echo $this->formText($element);
-
 
2187
			?>
-
 
2188
		</div>
-
 
2189
 
-
 
2190
		<?php
-
 
2191
		$element = $form->get('marketplace');
-
 
2192
		$element->setAttributes(['class' => 'marketplace']);
-
 
2193
		echo $this->formHidden($element);
-
 
2194
		?>
-
 
2195
		<?php
-
 
2196
		$element = $form->get('file');
-
 
2197
		$element->setAttributes(['class' => 'file']);
-
 
2198
		echo $this->formHidden($element);
-
 
2199
		?>
-
 
2200
		<div class="form-group grid-1-2 ">
-
 
2201
			<div class="imagen-contaner">
-
 
2202
				<label for="marketplaceImg">LABEL_IMAGE_MARKETPLACE</label>
Línea 2100... Línea -...
2100
<!-- The Modal -->
-
 
2101
<div id="modalCapsuleAdd" style='display:none'>
-
 
2102
 
-
 
2103
 
-
 
2104
            <!-- Modal Header -->
-
 
2105
 
-
 
2106
              <div class="d-flex justify-content-center tituloEditor">
-
 
2107
              <h4>LABEL_ADD_CAPSULE</h4>
-
 
2108
 
-
 
2109
             </div>
-
 
2110
            <!-- Modal body -->
-
 
2111
      		<div class="grid-padre">
-
 
2112
       			 <?php 
-
 
2113
       			 $form = $this->formAdd;
-
 
2114
            		$form->setAttributes([
-
 
2115
                        'method'  => 'post',
-
 
2116
            		    'action'  => '',
-
 
2117
                        'name'    => 'form-capsule-add',
-
 
2118
                        'id'      => 'form-capsule-add',
-
 
2119
                    ]);
-
 
2120
    
-
 
2121
                    $form->prepare();
-
 
2122
                    echo $this->form()->openTag($form);
-
 
2123
                    ?>					
-
 
2124
    				<div class="form-group grid-1-2">
-
 
2125
    				<?php 
-
 
2126
                        $element = $form->get('name');
-
 
2127
                        
-
 
2128
                        $element->setAttributes(['class' => 'form-control']);
-
 
2129
                        $element->setOptions(['label' => 'LABEL_NAME']);
-
 
2130
                        echo $this->formLabel($element);
-
 
2131
                        echo $this->formText($element);
-
 
2132
                    ?>
-
 
2133
				</div>
-
 
2134
                <div class="form-group grid-1-2">
-
 
2135
                	<?php 
-
 
2136
                    $element = $form->get('description');
-
 
2137
                    $element->setAttributes(['id' => 'description_add', 'class' => 'form-control', 'rows' => '2','class' => 'form-control']);
-
 
2138
                    $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
-
 
2139
                    echo $this->formLabel($element);
-
 
2140
                    echo $this->formTextArea($element);
-
 
2141
                    ?>
-
 
2142
   				</div>
-
 
2143
				<div class="form-group grid-1-2">
-
 
2144
    				<?php 
-
 
2145
                        $element = $form->get('order');
-
 
2146
                        $element->setAttributes(['class' => 'form-control']);
-
 
2147
                        $element->setOptions(['label' => 'LABEL_ORDER']);
-
 
2148
                        echo $this->formLabel($element);
-
 
2149
                        echo $this->formText($element);
-
 
2150
                    ?>
-
 
2151
				</div>
-
 
2152
				
-
 
2153
          		<div class="form-group grid-1-2">
-
 
2154
    				<?php 
-
 
2155
                        $element = $form->get('status');
-
 
2156
                        $element->setAttributes(['class' => 'form-control']);
-
 
2157
                        $element->setOptions(['label' => 'LABEL_STATUS']);
-
 
2158
                        echo $this->formLabel($element);
-
 
2159
                        echo $this->formSelect($element);
-
 
2160
                    ?>
-
 
2161
				</div>
-
 
2162
				<div class="form-group grid-1-2">
-
 
2163
    				<?php 
-
 
2164
                        $element = $form->get('privacy');
-
 
2165
                        $element->setAttributes(['class' => 'form-control']);
-
 
2166
                        $element->setOptions(['label' => 'LABEL_PRIVACY']);
-
 
2167
                        echo $this->formLabel($element);
-
 
2168
                        echo $this->formSelect($element);
-
 
2169
                    ?>
-
 
2170
				</div>
-
 
2171
				<div class="form-group grid-1-2">
-
 
2172
    				<?php 
-
 
2173
                        $element = $form->get('type');
-
 
2174
                        $element->setAttributes(['class' => 'form-control']);
-
 
2175
                        $element->setOptions(['label' => 'LABEL_TYPE']);
-
 
2176
                        echo $this->formLabel($element);
-
 
2177
                        echo $this->formSelect($element);
-
 
2178
                    ?>
-
 
2179
				</div>
-
 
2180
				<div class="form-group grid-1-2" id="form-row-cost">
-
 
2181
    				<?php 
-
 
2182
                        $element = $form->get('cost');
-
 
2183
                        $element->setAttributes(['class' => 'form-control']);
-
 
2184
                        $element->setOptions(['label' => 'LABEL_COST']);
-
 
2185
                        echo $this->formLabel($element);
-
 
2186
                        echo $this->formText($element);
-
 
2187
                    ?>
-
 
2188
				</div>
-
 
2189
				
-
 
2190
				<?php 
-
 
2191
                    $element = $form->get('marketplace');
-
 
2192
					$element->setAttributes([ 'class' => 'marketplace']);
-
 
2193
                    echo $this->formHidden($element); 
-
 
2194
                ?>		
-
 
2195
                <?php 
-
 
2196
                    $element = $form->get('file');
-
 
2197
					$element->setAttributes([ 'class' => 'file']);
-
 
2198
                    echo $this->formHidden($element); 
-
 
2199
                ?>
-
 
2200
				<div class="form-group grid-1-2 ">
-
 
2201
					<div class="imagen-contaner">
-
 
Línea 2202... Línea -...
2202
						<label for="marketplaceImg">LABEL_IMAGE_MARKETPLACE</label>
-
 
2203
						<img class='marketplaceImg' src='' class="img img-responsive" style="width: 100px; height: auto"></img>
2203
				<img class='marketplaceImg' src='' class="img img-responsive" style="width: 100px; height: auto"></img>
Línea 2204... Línea 2204...
2204
					</div>
2204
			</div>
2205
				</div>
2205
		</div>
Línea 2206... Línea 2206...
2206
				<h5 style="text-align:center " class="form-group grid-1-2" id='titleTypeImage'>LABEL_IMAGE_MARKETPLACE</h5>
2206
		<h5 style="text-align:center " class="form-group grid-1-2" id='titleTypeImage'>LABEL_IMAGE_MARKETPLACE</h5>
Línea 2207... Línea 2207...
2207
          		<div class="contenido form-group " id="contenido"></div>
2207
		<div class="contenido form-group " id="contenido"></div>
2208
                  
2208
 
Línea 2209... Línea 2209...
2209
     	      		<?php echo $this->form()->closeTag($form); ?>
2209
		<?php echo $this->form()->closeTag($form); ?>
2210
      		</div>
2210
	</div>
2211
 
2211
 
2212
 
2212
 
2213
 
2213
 
2214
</div>   		
2214
</div>
2215
 
2215
 
2216
 
2216
 
2217
<!-- The Modal -->
2217
<!-- The Modal -->
2218
<div  id="modalCapsuleEdit" style='display:none'>
2218
<div id="modalCapsuleEdit" style='display:none'>
2219
 
2219
 
2220
 
2220
 
2221
            <!-- Modal Header -->
2221
	<!-- Modal Header -->
2222
 
2222
 
2223
			<div class="d-flex justify-content-center tituloEditor">
2223
	<div class="d-flex justify-content-center tituloEditor">
2224
              <h4>LABEL_EDIT_CAPSULE</h4>
2224
		<h4>LABEL_EDIT_CAPSULE</h4>
2225
 
2225
 
2226
             </div>
2226
	</div>
2227
            <!-- Modal body -->
2227
	<!-- Modal body -->
2228
      		<div class="grid-padre">
2228
	<div class="grid-padre">
2229
			  <?php 
2229
		<?php
2230
       			  $form = $this->formEdit;
2230
		$form = $this->formEdit;
2231
            		$form->setAttributes([
2231
		$form->setAttributes([
2232
                        'method'    => 'post',
2232
			'method'    => 'post',
2233
                        'name'      => 'form-capsule-edit',
2233
			'name'      => 'form-capsule-edit',
2234
                        'id'        => 'form-capsule-edit'
2234
			'id'        => 'form-capsule-edit'
2235
                    ]);
2235
		]);
2236
    
2236
 
2237
                    $form->prepare();
2237
		$form->prepare();
2238
                    echo $this->form()->openTag($form);
2238
		echo $this->form()->openTag($form);
2239
                ?>						
2239
		?>
2240
    				<div class="form-group grid-1-2">
-
 
2241
    				<?php 
-
 
2242
                        $element = $form->get('name');
-
 
2243
                        
-
 
2244
                        $element->setAttributes(['class' => 'form-control']);
-
 
2245
                        $element->setOptions(['label' => 'LABEL_NAME']);
-
 
2246
                        echo $this->formLabel($element);
-
 
2247
                        echo $this->formText($element);
-
 
2248
                    ?>
-
 
2249
				</div>
-
 
2250
                <div class="form-group grid-1-2">
-
 
2251
                	<?php 
-
 
2252
                    $element = $form->get('description');
-
 
2253
                    $element->setAttributes(['id' => 'description_edit', 'class' => 'form-control', 'rows' => '2','class' => 'form-control']);
-
 
2254
                    $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
-
 
2255
                    echo $this->formLabel($element);
-
 
2256
                    echo $this->formTextArea($element);
-
 
2257
                    ?>
-
 
2258
   				</div>
-
 
2259
				<div class="form-group grid-1-2">
-
 
2260
    				<?php 
2240
		<div class="form-group grid-1-2">
2261
                        $element = $form->get('order');
-
 
2262
                        $element->setAttributes(['class' => 'form-control']);
-
 
2263
                        $element->setOptions(['label' => 'LABEL_ORDER']);
-
 
2264
                        echo $this->formLabel($element);
-
 
2265
                        echo $this->formText($element);
-
 
2266
                    ?>
-
 
2267
				</div>
-
 
2268
				
-
 
2269
          		<div class="form-group grid-1-2">
2241
			<?php
2270
    				<?php 
2242
			$element = $form->get('name');
2271
                        $element = $form->get('status');
2243
 
2272
                        $element->setAttributes(['class' => 'form-control']);
2244
			$element->setAttributes(['class' => 'form-control']);
2273
                        $element->setOptions(['label' => 'LABEL_STATUS']);
2245
			$element->setOptions(['label' => 'LABEL_NAME']);
2274
                        echo $this->formLabel($element);
2246
			echo $this->formLabel($element);
2275
                        echo $this->formSelect($element);
-
 
2276
                    ?>
-
 
2277
				</div>
-
 
2278
				<div class="form-group grid-1-2">
-
 
2279
    				<?php 
-
 
2280
                        $element = $form->get('privacy');
-
 
2281
                        $element->setAttributes(['class' => 'form-control']);
-
 
2282
                        $element->setOptions(['label' => 'LABEL_PRIVACY']);
-
 
2283
                        echo $this->formLabel($element);
-
 
2284
                        echo $this->formSelect($element);
2247
			echo $this->formText($element);
2285
                    ?>
2248
			?>
2286
				</div>
-
 
2287
				<div class="form-group grid-1-2">
-
 
2288
    				<?php 
-
 
2289
                        $element = $form->get('type');
2249
		</div>
2290
                        $element->setAttributes(['class' => 'form-control']);
-
 
2291
                        $element->setOptions(['label' => 'LABEL_TYPE']);
-
 
2292
                        echo $this->formLabel($element);
-
 
2293
                        echo $this->formSelect($element);
-
 
2294
                    ?>
-
 
2295
				</div>
-
 
2296
				<div class="form-group grid-1-2" id="form-row-cost">
-
 
2297
    				<?php 
-
 
2298
                        $element = $form->get('cost');
-
 
2299
                        $element->setAttributes(['class' => 'form-control']);
-
 
2300
                        $element->setOptions(['label' => 'LABEL_COST']);
-
 
2301
                        echo $this->formLabel($element);
-
 
2302
                        echo $this->formText($element);
-
 
2303
                    ?>
-
 
2304
				</div>
2250
		<div class="form-group grid-1-2">
2305
				
-
 
2306
				<?php 
-
 
2307
                    $element = $form->get('marketplace');
-
 
2308
					$element->setAttributes([ 'class' => 'marketplace']);
-
 
2309
                    echo $this->formHidden($element); 
-
 
Línea -... Línea 2251...
-
 
2251
			<?php
-
 
2252
			$element = $form->get('description');
-
 
2253
			$element->setAttributes(['id' => 'description_edit', 'class' => 'form-control', 'rows' => '2', 'class' => 'form-control']);
-
 
2254
			$element->setOptions(['label' => 'LABEL_DESCRIPTION']);
-
 
2255
			echo $this->formLabel($element);
-
 
2256
			echo $this->formTextArea($element);
-
 
2257
			?>
-
 
2258
		</div>
-
 
2259
		<div class="form-group grid-1-2">
-
 
2260
			<?php
-
 
2261
			$element = $form->get('order');
-
 
2262
			$element->setAttributes(['class' => 'form-control']);
-
 
2263
			$element->setOptions(['label' => 'LABEL_ORDER']);
-
 
2264
			echo $this->formLabel($element);
-
 
2265
			echo $this->formText($element);
-
 
2266
			?>
-
 
2267
		</div>
-
 
2268
 
-
 
2269
		<div class="form-group grid-1-2">
-
 
2270
			<?php
-
 
2271
			$element = $form->get('status');
-
 
2272
			$element->setAttributes(['class' => 'form-control']);
-
 
2273
			$element->setOptions(['label' => 'LABEL_STATUS']);
-
 
2274
			echo $this->formLabel($element);
-
 
2275
			echo $this->formSelect($element);
-
 
2276
			?>
-
 
2277
		</div>
-
 
2278
		<div class="form-group grid-1-2">
-
 
2279
			<?php
-
 
2280
			$element = $form->get('privacy');
-
 
2281
			$element->setAttributes(['class' => 'form-control']);
-
 
2282
			$element->setOptions(['label' => 'LABEL_PRIVACY']);
-
 
2283
			echo $this->formLabel($element);
-
 
2284
			echo $this->formSelect($element);
-
 
2285
			?>
-
 
2286
		</div>
-
 
2287
		<div class="form-group grid-1-2">
-
 
2288
			<?php
-
 
2289
			$element = $form->get('type');
-
 
2290
			$element->setAttributes(['class' => 'form-control']);
-
 
2291
			$element->setOptions(['label' => 'LABEL_TYPE']);
-
 
2292
			echo $this->formLabel($element);
-
 
2293
			echo $this->formSelect($element);
-
 
2294
			?>
-
 
2295
		</div>
-
 
2296
		<div class="form-group grid-1-2" id="form-row-cost">
-
 
2297
			<?php
-
 
2298
			$element = $form->get('cost');
-
 
2299
			$element->setAttributes(['class' => 'form-control']);
-
 
2300
			$element->setOptions(['label' => 'LABEL_COST']);
-
 
2301
			echo $this->formLabel($element);
-
 
2302
			echo $this->formText($element);
-
 
2303
			?>
-
 
2304
		</div>
-
 
2305
 
-
 
2306
		<?php
-
 
2307
		$element = $form->get('marketplace');
-
 
2308
		$element->setAttributes(['class' => 'marketplace']);
-
 
2309
		echo $this->formHidden($element);
2310
                ?>		
2310
		?>
2311
                <?php 
2311
		<?php
Línea 2312... Línea 2312...
2312
                    $element = $form->get('file');
2312
		$element = $form->get('file');
2313
					$element->setAttributes([ 'class' => 'file']);
2313
		$element->setAttributes(['class' => 'file']);
2314
                    echo $this->formHidden($element); 
2314
		echo $this->formHidden($element);
2315
                ?>
2315
		?>
2316
				<div class="form-group grid-1-2 ">
2316
		<div class="form-group grid-1-2 ">
2317
					<div class="imagen-contaner">
2317
			<div class="imagen-contaner">
2318
						<label for="marketplaceImg">LABEL_IMAGE_MARKETPLACE</label>
2318
				<label for="marketplaceImg">LABEL_IMAGE_MARKETPLACE</label>
2319
						<img class='marketplaceImg' src='' class="img img-responsive" style="width: 100px; height: auto"></img>
2319
				<img class='marketplaceImg' src='' class="img img-responsive" style="width: 100px; height: auto"></img>
2320
					</div>
2320
			</div>
2321
				</div>
2321
		</div>
2322
				<h5 style="text-align:center " class="form-group grid-1-2" id='titleTypeImage'>LABEL_IMAGE_MARKETPLACE</h5>
2322
		<h5 style="text-align:center " class="form-group grid-1-2" id='titleTypeImage'>LABEL_IMAGE_MARKETPLACE</h5>
2323
          		<div class="contenido form-group " id="contenido"></div>
2323
		<div class="contenido form-group " id="contenido"></div>
2324
                  
2324
 
2325
     	      		<?php echo $this->form()->closeTag($form); ?>
2325
		<?php echo $this->form()->closeTag($form); ?>
2326
      		</div>
2326
	</div>
2327
 
2327
 
2328
	
2328
 
2329
</div> 
2329
</div>
2330
 
2330
 
2331
 
2331
 
2332
 
2332
 
2333
<!-- The Modal -->
2333
<!-- The Modal -->
Línea 2334... Línea 2334...
2334
<div class="modal" id="modalAppMarkeplate">
2334
<div class="modal" id="modalAppMarkeplate">
2335
	<div class="modal-dialog">
2335
	<div class="modal-dialog">
2336
		<div class="modal-content">
2336
		<div class="modal-content">
2337
        	<!-- Modal Header -->
2337
			<!-- Modal Header -->
Línea 2338... Línea 2338...
2338
        	<div class="modal-header">
2338
			<div class="modal-header">
2339
           		<h4 class="modal-title">LABEL_IMAGE_MARKETPLACE</h4>
2339
				<h4 class="modal-title">LABEL_IMAGE_MARKETPLACE</h4>
2340
        		<button type="button" class="close" data-dismiss="modal">&times;</button>
2340
				<button type="button" class="close" data-dismiss="modal">&times;</button>
2341
      		</div>
2341
			</div>
2342
    
2342
 
Línea 2343... Línea 2343...
2343
           	<!-- Modal body --> 
2343
			<!-- Modal body -->
2344
           	<div class="modal-body text-center">
2344
			<div class="modal-body text-center">
2345
    			<img src="" class="img img-responsive" style="width: 300px; height: auto" id="image-marketplace" />
2345
				<img src="" class="img img-responsive" style="width: 300px; height: auto" id="image-marketplace" />
2346
          	</div>
2346
			</div>
2347
 
2347
 
2348
            <!-- Modal footer -->
2348
			<!-- Modal footer -->
2349
  			<div class="modal-footer">
2349
			<div class="modal-footer">
2350
    			<button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
2350
				<button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
2351
      		</div>
2351
			</div>
2352
      	</div>	
2352
		</div>
2353
	</div>
2353
	</div>
2354
</div>  
2354
</div>
-
 
2355
 
-
 
2356
 
-
 
2357
<!-- The Modal -->
Línea 2355... Línea -...
2355
 
-
 
2356
 
-
 
2357
<!-- The Modal -->
-
 
Línea 2358... Línea 2358...
2358
<div class="modal" id="modalImageApp">
2358
<div class="modal" id="modalImageApp">
2359
	<div class="modal-dialog ">
2359
	<div class="modal-dialog ">
2360
    	<div class="modal-content">
2360
		<div class="modal-content">
2361
 
2361
 
2362
            <!-- Modal Header -->
-
 
2363
      		<div class="modal-header">
-
 
2364
        		<h4 class="modal-title">LABEL_IMAGE</h4>
-
 
2365
        		<button type="button" class="close" data-dismiss="modal">&times;</button>
-
 
2366
      		</div>
-
 
2367
 
-
 
2368
            <!-- Modal body --> 
-
 
2369
            <div class="modal-body text-center">
-
 
2370
				<img src="" class="img img-responsive" style="width: 300px; height: auto" id="image-app" />
-
 
2371
      		</div>
-
 
2372
		
-
 
2373
            <!-- Modal footer -->
-
 
2374
      		<div class="modal-footer">
-
 
2375
        		<button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
-
 
2376
          	</div>
-
 
2377
         </div> 	
-
 
2378
	</div>
-
 
2379
</div>   	
-
 
2380
 
-
 
2381
 
-
 
2382
 					
-
 
2383
			
-
 
2384
	
-
 
2385
 
-
 
2386
<!-- The Modal -->
-
 
2387
<div class="modal" id="notificationUsersModal">
-
 
2388
	<div class="modal-dialog modal-xl">
-
 
2389
    	<div class="modal-content">
-
 
2390
 
-
 
2391
            <!-- Modal Header -->
-
 
2392
      		<div class="modal-header">
-
 
2393
        		<h4 class="modal-title">LABEL_USERS</h4>
-
 
2394
        		<button type="button" class="close" data-dismiss="modal">&times;</button>
-
 
2395
      		</div>
-
 
2396
 
-
 
2397
            <!-- Modal body -->
-
 
2398
      		<div class="modal-body">
-
 
2399
      			<form>
-
 
2400
      				<div class="form-group">
-
 
2401
      					<label>LABEL_TOPIC</label>
-
 
Línea 2402... Línea 2362...
2402
      					<input type="text" readonly="readonly" id="table-users-topic" class="form-control" >
2362
			<!-- Modal Header -->
2403
      				</div>
2363
			<div class="modal-header">
-
 
2364
				<h4 class="modal-title">LABEL_IMAGE</h4>
-
 
2365
				<button type="button" class="close" data-dismiss="modal">&times;</button>
2404
      				<div class="form-group">
2366
			</div>
Línea -... Línea 2367...
-
 
2367
 
-
 
2368
			<!-- Modal body -->
2405
      					<label>LABEL_CAPSULE</label>
2369
			<div class="modal-body text-center">
-
 
2370
				<img src="" class="img img-responsive" style="width: 300px; height: auto" id="image-app" />
-
 
2371
			</div>
-
 
2372
 
2406
      					<input type="text" readonly="readonly" id="table-users-capsule" class="form-control" >
2373
			<!-- Modal footer -->
-
 
2374
			<div class="modal-footer">
-
 
2375
				<button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
-
 
2376
			</div>
-
 
2377
		</div>
-
 
2378
	</div>
-
 
2379
</div>
-
 
2380
 
-
 
2381
 
-
 
2382
 
-
 
2383
 
-
 
2384
 
-
 
2385
 
-
 
2386
<!-- The Modal -->
-
 
2387
<div class="modal" id="notificationUsersModal">
-
 
2388
	<div class="modal-dialog modal-xl">
-
 
2389
		<div class="modal-content">
-
 
2390
 
-
 
2391
			<!-- Modal Header -->
2407
      				</div>
2392
			<div class="modal-header">
Línea -... Línea 2393...
-
 
2393
				<h4 class="modal-title">LABEL_USERS</h4>
Línea -... Línea 2394...
-
 
2394
				<button type="button" class="close" data-dismiss="modal">&times;</button>
-
 
2395
			</div>
-
 
2396
 
-
 
2397
			<!-- Modal body -->
Línea -... Línea 2398...
-
 
2398
			<div class="modal-body">
-
 
2399
				<form>
2408
      			</form>
2400
					<div class="form-group">
2409
      			<div style="height: 300px;overflow: scroll;"> 
2401
						<label>LABEL_TOPIC</label>