|
65 | 65 | ?> |
66 | 66 | <div class="container-popup"> |
67 | 67 |
|
68 | | - <form action="index.php?option=com_media&asset=<?php echo $asset; ?>&author=<?php echo $author; ?>" class="form-vertical" id="imageForm" method="post" enctype="multipart/form-data"> |
| 68 | + <form action="index.php?option=com_media&asset=<?php echo $asset; ?>&author=<?php echo $author; ?>" class="form-horizontal" id="imageForm" method="post" enctype="multipart/form-data"> |
69 | 69 |
|
70 | 70 | <div id="messages" style="display: none;"> |
71 | 71 | <span id="message"></span><?php echo JHtml::_('image', 'media/dots.gif', '...', array('width' => 22, 'height' => 12), true); ?> |
72 | 72 | </div> |
73 | 73 |
|
74 | 74 | <div class="well"> |
75 | | - <div class="row"> |
76 | | - <div class="span12 control-group"> |
| 75 | + <div class="row-fluid"> |
| 76 | + <div class="span8 control-group"> |
77 | 77 | <div class="control-label"> |
78 | | - <label class="control-label" for="folder"><?php echo JText::_('COM_MEDIA_DIRECTORY'); ?></label> |
| 78 | + <label for="folder"><?php echo JText::_('COM_MEDIA_DIRECTORY'); ?></label> |
79 | 79 | </div> |
80 | 80 | <div class="controls"> |
81 | 81 | <?php echo $this->folderList; ?> |
82 | 82 | <button class="btn" type="button" id="upbutton" title="<?php echo JText::_('COM_MEDIA_DIRECTORY_UP'); ?>"><?php echo JText::_('COM_MEDIA_UP'); ?></button> |
83 | 83 | </div> |
84 | 84 | </div> |
85 | | - <div class="pull-right"> |
86 | | - <button class="btn btn-success button-save-selected" type="button" <?php if (!empty($onClick)) : |
87 | | - // This is for Mootools compatibility ?>onclick="<?php echo $onClick; ?>"<?php endif; ?> data-dismiss="modal"><?php echo JText::_('COM_MEDIA_INSERT'); ?></button> |
88 | | - <button class="btn button-cancel" type="button" onclick="window.parent.jQuery('.modal.in').modal('hide');<?php if (!empty($onClick)) : |
89 | | - // This is for Mootools compatibility ?>parent.jModalClose();<?php endif ?>" data-dismiss="modal"><?php echo JText::_('JCANCEL'); ?></button> |
| 85 | + <div class="span4 control-group"> |
| 86 | + <div class="pull-right"> |
| 87 | + <button class="btn btn-success button-save-selected" type="button" <?php if (!empty($onClick)) : |
| 88 | + // This is for Mootools compatibility ?>onclick="<?php echo $onClick; ?>"<?php endif; ?> data-dismiss="modal"><?php echo JText::_('COM_MEDIA_INSERT'); ?></button> |
| 89 | + <button class="btn button-cancel" type="button" onclick="window.parent.jQuery('.modal.in').modal('hide');<?php if (!empty($onClick)) : |
| 90 | + // This is for Mootools compatibility ?>parent.jModalClose();<?php endif ?>" data-dismiss="modal"><?php echo JText::_('JCANCEL'); ?></button> |
| 91 | + </div> |
90 | 92 | </div> |
91 | 93 | </div> |
92 | 94 | </div> |
|
95 | 97 |
|
96 | 98 | <div class="well"> |
97 | 99 | <div class="row-fluid"> |
98 | | - <div class="span6 control-group"> |
| 100 | + <div class="span12 control-group"> |
99 | 101 | <div class="control-label"> |
100 | 102 | <label for="f_url"><?php echo JText::_('COM_MEDIA_IMAGE_URL'); ?></label> |
101 | 103 | </div> |
102 | 104 | <div class="controls"> |
103 | 105 | <input type="text" id="f_url" value="" /> |
104 | 106 | </div> |
105 | 107 | </div> |
106 | | - <?php if (!$this->state->get('field.id')) : ?> |
| 108 | + </div> |
| 109 | + </div> |
| 110 | + |
| 111 | + <?php if (!$this->state->get('field.id')) : ?> |
| 112 | + <div class="well"> |
| 113 | + <div class="row-fluid"> |
107 | 114 | <div class="span6 control-group"> |
108 | 115 | <div class="control-label"> |
109 | 116 | <label title="<?php echo JText::_('COM_MEDIA_ALIGN_DESC'); ?>" class="noHtmlTip" for="f_align"><?php echo JText::_('COM_MEDIA_ALIGN'); ?></label> |
|
117 | 124 | </select> |
118 | 125 | </div> |
119 | 126 | </div> |
120 | | - <?php endif; ?> |
121 | | - </div> |
122 | | - <?php if (!$this->state->get('field.id')) : ?> |
| 127 | + </div> |
123 | 128 | <div class="row-fluid"> |
124 | 129 | <div class="span6 control-group"> |
125 | 130 | <div class="control-label"> |
|
161 | 166 | </div> |
162 | 167 | </div> |
163 | 168 | </div> |
164 | | - <?php endif; ?> |
165 | | - |
166 | 169 | <input type="hidden" id="dirPath" name="dirPath" /> |
167 | 170 | <input type="hidden" id="f_file" name="f_file" /> |
168 | 171 | <input type="hidden" id="tmpl" name="component" /> |
169 | | - |
170 | 172 | </div> |
| 173 | + <?php endif; ?> |
171 | 174 | </form> |
172 | 175 |
|
173 | 176 | <?php if ($user->authorise('core.create', 'com_media')) : ?> |
|
0 commit comments