Example #1
0
                   '        <label for="group" class="label"><?php 
echo $lC_Language->get('field_group');
?>
</label>'+
                   '        <?php 
echo lc_draw_pull_down_menu('group', null, null, 'class="input with-small-padding"') . $lC_Language->get('field_group_new') . '<br />' . lc_draw_input_field('group_new', null, 'class="input" style="width:93%;"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="image" class="label"><?php 
echo $lC_Language->get('field_image');
?>
</label>'+
                   '        <?php 
echo lc_draw_file_field('image', true, 'class="file"') . ' ' . $lC_Language->get('field_image_local') . '<br />' . realpath('../images/banners/') . '/' . lc_draw_input_field('image_local', null, 'class="input" style="width:93%;"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="address_format" class="label"><?php 
echo $lC_Language->get('field_image_target');
?>
</label>'+
                   '        <?php 
echo realpath('../images') . '/' . lc_draw_input_field('image_target', null, 'class="input" style="width:93%;"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="html_text" class="label"><?php 
Example #2
0
                   '        <label for="categories_name" class="label" style="width:33%;"><?php 
echo $lC_Language->get('field_name');
?>
</label>'+
                   '        <span id="editCategoryNames"></span>'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <span id="categoryImage"></span>'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="categories_image" class="label" style="width:33%;"><?php 
echo $lC_Language->get('field_image');
?>
</label>'+
                   '        <?php 
echo lc_draw_file_field('categories_image', true, 'class="file"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="sort_order" class="label" style="width:33%;"><?php 
echo $lC_Language->get('field_sort_order');
?>
</label>'+
                   '        <?php 
echo lc_draw_input_field('sort_order', null, 'class="input" id="editSortOrder"');
?>
'+
                   '      </p>'+
                   '    </form>'+
                   '  </div>'+
Example #3
0
?>
');
    return false;
  }
  $.modal({
    content: '<div id="uploadConfirm">'+
             '  <form name="fmUpload" id="fmUpload" action="<?php 
echo lc_href_link_admin(FILENAME_DEFAULT, $lC_Template->getModule() . '&action=upload');
?>
" method="post" enctype="multipart/form-data">'+
             '  <p><?php 
echo $lC_Language->get('introduction_upload_file');
?>
</p>'+
             '  <p><?php 
echo lc_draw_file_field('fmFile[]', true, 'id="fmFileUpload" class="file"');
?>
</p>'+
             '  </form>'+
             '  <p class="margin-top"><?php 
echo lc_output_string_protected($_SESSION['fm_directory']) . '/';
?>
</p>'+
             '</div>',
    title: '<?php 
echo $lC_Language->get('modal_heading_upload_file');
?>
',
    width: 350,
    actions: {
      'Close' : {
Example #4
0
echo lc_icon_admin('new.png', IMAGE_INSERT) . ' ' . TEXT_INFO_HEADING_RESTORE_LOCAL;
?>
</div>
  <div class="infoBoxContent">
    <form name="bRestoreLocal" action="<?php 
echo lc_href_link(FILENAME_DEFAULT, $lC_Template->getModule() . '&action=restorelocalnow');
?>
" method="post" enctype="multipart/form-data">

    <p><?php 
echo TEXT_INFO_RESTORE_LOCAL;
?>
</p>

    <p><?php 
echo lc_draw_file_field('sql_file', true);
?>
</p>

    <p><?php 
echo TEXT_INFO_RESTORE_LOCAL_RAW_FILE;
?>
</p>

    <p align="center"><?php 
echo '<input type="submit" value="' . IMAGE_RESTORE . '" class="operationButton"> <input type="button" value="' . IMAGE_CANCEL . '" onclick="toggleInfoBox(\'bDefault\');" class="operationButton">';
?>
</p>

    </form>
  </div>
Example #5
0
?>
');
    return false;
  }
  $.modal({
    content: '<div id="restoreLocalConfirm">'+
             '  <form name="bRestoreLocal" id="bRestoreLocal" action="<?php 
echo lc_href_link_admin(FILENAME_DEFAULT, $lC_Template->getModule() . '&action=restoreLocal');
?>
" method="post" enctype="multipart/form-data">'+
             '  <p><?php 
echo $lC_Language->get('introduction_restore_local_file');
?>
</p>'+
             '  <p><?php 
echo lc_draw_file_field('sql_file', true, 'class="file"');
?>
</p>'+
             '  </form>'+
             '</div>',
    title: '<?php 
echo $lC_Language->get('modal_heading_restore_file');
?>
',
    width: 350,
    actions: {
      'Close' : {
        color: 'red',
        click: function(win) { win.closeModal(); }
      }
    },
Example #6
0
echo $lC_Language->get('field_name');
?>
</label>'+
                   '        <?php 
echo lc_draw_input_field('manufacturers_name', null, 'class="input" style="width:92%;" id="editManufacturersName"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height" id="mImage"></p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="manufacturers_image" class="label" style="width:33%;"><?php 
echo $lC_Language->get('field_image');
?>
</label>'+
                   '        <?php 
echo lc_draw_file_field('manufacturers_image', true, 'class="file"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="manufacturers_url" class="label" style="width:33%;"><?php 
echo $lC_Language->get('field_url');
?>
</label>'+
                   '        <span id="editMfgUrl"></span>'+
                   '      </p>'+
                   '    </form>'+
                   '  </div>'+
                   '</div>',
          title: '<?php 
echo $lC_Language->get('modal_heading_edit_manufacturer');
Example #7
0
                   '        <label for="group" class="label"><?php 
echo $lC_Language->get('field_group');
?>
</label>'+
                   '        <?php 
echo lc_draw_pull_down_menu('group', null, null, 'id="editGroup" class="input with-small-padding"') . $lC_Language->get('field_group_new') . '<br />' . lc_draw_input_field('group_new', null, 'class="input" style="width:93%;"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="image" class="label"><?php 
echo $lC_Language->get('field_image');
?>
</label>'+
                   '        <?php 
echo lc_draw_file_field('image', true, 'id="editImage" class="file" onchange="javascript:emptyImage();"') . ' ' . $lC_Language->get('field_image_local') . '<br />' . realpath('../images/banners/') . '/' . lc_draw_input_field('image_local', null, 'id="editImageLocal" class="input" style="width:93%;"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="address_format" class="label"><?php 
echo $lC_Language->get('field_image_target');
?>
</label>'+
                   '        <?php 
echo realpath('../images') . '/' . lc_draw_input_field('image_target', null, 'id="editImageTarget" class="input" style="width:93%;"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="html_text" class="label"><?php