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