Skip to content

Commit

Permalink
v7.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
laranginha committed Sep 19, 2024
1 parent 1187044 commit c3c6341
Show file tree
Hide file tree
Showing 28 changed files with 447 additions and 432 deletions.
2 changes: 1 addition & 1 deletion application/config/constants.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php if ( ! defined( 'BASEPATH' ) ) {
exit( 'No direct script access allowed' );}

define( 'UIFORM_VERSION', '7.1.4' );
define( 'UIFORM_VERSION', '7.1.7' );
define( 'ZIGAFORM_F_LITE', 1 );
define( 'UIFORM_DEBUG', 0 );
define( 'UIFORM_DEMO', 0 );
Expand Down
16 changes: 15 additions & 1 deletion application/helpers/common_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,21 @@

class Uiform_Form_Helper
{


public static function createCustomFolder()
{
$folderPath = FCPATH . '/uploads/form-styles';
if (!file_exists($folderPath)) {
mkdir($folderPath, 0755, true);
}

if (file_exists($folderPath)) {
return true;
} else {
return false;
}
}

public static function isJson($string)
{
try {
Expand Down
19 changes: 3 additions & 16 deletions application/modules/formbuilder/controllers/forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ public function ajax_build_multistep()
$gen_return['output_css'] .= $child->fmb_html_css;
}

if ($this->createCustomFolder()) {
if (Uiform_Form_Helper::createCustomFolder()) {
$newPublicDir = FCPATH . '/uploads/form-styles';
} else {
$newPublicDir = FCPATH . '/assets/frontend/css/';
Expand Down Expand Up @@ -1830,7 +1830,7 @@ public function ajax_save_form()
$this->db->update($this->model_forms->table);


if ($this->createCustomFolder()) {
if (Uiform_Form_Helper::createCustomFolder()) {
$newPublicDir = FCPATH . '/uploads/form-styles';
} else {
$newPublicDir = FCPATH . '/assets/frontend/css/';
Expand Down Expand Up @@ -1925,20 +1925,7 @@ public function ajax_save_form()
die();
}

protected function createCustomFolder()
{
$folderPath = FCPATH . '/uploads/form-styles';
if (!file_exists($folderPath)) {
mkdir($folderPath, 0755, true);
}


if (file_exists($folderPath)) {
return true;
} else {
return false;
}
}



/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@
value="<?php echo floatval($input4['set_default']); ?>"
name="<?php echo $nameField; ?>"
/>
<div class="rockfm-input4-output">
<div class="rockfm-input4-number"><?php echo floatval($input4['set_default']); ?></div>

</div>

</div>
<?php
$cntACmp = ob_get_contents();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class="uifm-sublabel uifm-f-option"><?php echo __('Textbox sublabel', 'FRocket_a
data-check-hash=""
/>
<div class="uifm-inp4-output">
<div class="uifm-inp4-number"></div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ class="uifm-sublabel uifm-f-option"><?php echo __('Textbox sublabel', 'FRocket_a
data-check-hash=""
/>
<div class="uifm-inp4-output">
<div class="uifm-inp4-number"></div>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion assets/backend/js/admin.min.js

Large diffs are not rendered by default.

26 changes: 25 additions & 1 deletion assets/backend/js/bslider/4.12.1/bootstrap-slider.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================= */
.slider {
.slider {
display: inline-block;
vertical-align: middle;
position: relative;
Expand Down Expand Up @@ -125,9 +125,33 @@
.slider input {
display: none;
}

.slider .sfdc-tooltip{

}

.slider .sfdc-tooltip.sfdc-top {
margin-top: -36px;
}


.slider .sfdc-tooltip.sfdc-top .sfdc-tooltip-inner{
background-color: #626266!important;
}

.slider .sfdc-tooltip.sfdc-top .sfdc-tooltip-arrow{
border-top-color:#626266!important;
}


.slider .sfdc-tooltip.sfdc-in-move .sfdc-tooltip-inner{
background-color: #000!important;
}

.slider .sfdc-tooltip.sfdc-in-move .sfdc-tooltip-arrow{
border-top-color:#000!important;
}

.slider .tooltip-inner {
white-space: nowrap;
}
Expand Down
Loading

0 comments on commit c3c6341

Please sign in to comment.