| Line -... |
Line 1... |
| - |
|
1 |
<link rel="stylesheet" type="text/css" href="<?php echo $base_url;?>css/bootstrap-wysihtml5-0.0.2.css"></link>
|
| 1 |
<div class="container">
|
2 |
<div class="container">
|
| 2 |
<div class="row">
|
3 |
<div class="row">
|
| 3 |
<div class="col-lg-3">
|
4 |
<div class="col-lg-3">
|
| 4 |
<?php echo $this->Element('adminactions');?>
|
5 |
<?php echo $this->Element('adminactions');?>
|
| 5 |
</div>
|
6 |
</div>
|
| Line 30... |
Line 31... |
| 30 |
echo $this->Form->input('status');
|
31 |
echo $this->Form->input('status');
|
| 31 |
echo $this->Form->input('in_stock',array('type'=>'select','options'=>$stock_statuses));
|
32 |
echo $this->Form->input('in_stock',array('type'=>'select','options'=>$stock_statuses));
|
| 32 |
echo $this->Form->input('stock_status');
|
33 |
echo $this->Form->input('stock_status');
|
| 33 |
echo $this->Form->input('thumbnail');
|
34 |
echo $this->Form->input('thumbnail');
|
| 34 |
echo $this->Form->input('url');
|
35 |
echo $this->Form->input('url');
|
| 35 |
echo $this->Form->input('offer');
|
36 |
echo $this->Form->input('offer',array('type'=>'textarea'));
|
| 36 |
echo $this->Form->input('tagline');
|
37 |
echo $this->Form->input('tagline',array('type'=>'textarea'));
|
| 37 |
echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status));
|
38 |
echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status));
|
| 38 |
echo $this->Form->input('buyBoxFlag',array('type'=>'select','options'=>$buyBoxFlag));
|
39 |
echo $this->Form->input('buyBoxFlag',array('type'=>'select','options'=>$buyBoxFlag));
|
| 39 |
echo $this->Form->input('coupon');
|
40 |
echo $this->Form->input('coupon');
|
| 40 |
echo $this->Form->input('codAvailable',array('type'=>'select','options'=>$buyBoxFlag,'value'=>1));
|
41 |
echo $this->Form->input('codAvailable',array('type'=>'select','options'=>$buyBoxFlag,'value'=>1));
|
| 41 |
?>
|
42 |
?>
|
| Line 43... |
Line 44... |
| 43 |
<?php echo $this->Form->end(__('Submit')); ?>
|
44 |
<?php echo $this->Form->end(__('Submit')); ?>
|
| 44 |
</div>
|
45 |
</div>
|
| 45 |
</div>
|
46 |
</div>
|
| 46 |
</div>
|
47 |
</div>
|
| 47 |
</div>
|
48 |
</div>
|
| - |
|
49 |
<script src="<?php echo $base_url;?>js/wysihtml5-0.3.0_rc2.js"></script>
|
| - |
|
50 |
<script src="<?php echo $base_url;?>js/bootstrap-wysihtml5-0.0.2.js"></script>
|
| - |
|
51 |
<script type="text/javascript">
|
| - |
|
52 |
$('#MasterDataOffer').wysihtml5({
|
| - |
|
53 |
"font-styles": true, //Font styling, e.g. h1, h2, etc. Default true
|
| - |
|
54 |
"emphasis": true, //Italics, bold, etc. Default true
|
| - |
|
55 |
"lists": true, //(Un)ordered lists, e.g. Bullets, Numbers. Default true
|
| - |
|
56 |
"html": true, //Button which allows you to edit the generated HTML. Default false
|
| - |
|
57 |
"link": false, //Button to insert a link. Default true
|
| - |
|
58 |
"image": false, //Button to insert an image. Default true,
|
| - |
|
59 |
"color": false //Button to change color of font
|
| - |
|
60 |
});
|
| - |
|
61 |
$('#MasterDataTagline').wysihtml5({
|
| - |
|
62 |
"font-styles": true, //Font styling, e.g. h1, h2, etc. Default true
|
| - |
|
63 |
"emphasis": true, //Italics, bold, etc. Default true
|
| - |
|
64 |
"lists": true, //(Un)ordered lists, e.g. Bullets, Numbers. Default true
|
| - |
|
65 |
"html": true, //Button which allows you to edit the generated HTML. Default false
|
| - |
|
66 |
"link": false, //Button to insert a link. Default true
|
| - |
|
67 |
"image": false, //Button to insert an image. Default true,
|
| - |
|
68 |
"color": false //Button to change color of font
|
| - |
|
69 |
});
|
| - |
|
70 |
</script>
|