Ejemplo n.º 1
0
 function doView($file)
 {
     osc_run_hook("before_admin_html");
     osc_current_admin_theme_path($file);
     Session::newInstance()->_clearVariables();
     osc_run_hook("after_admin_html");
 }
Ejemplo n.º 2
0
                                    <input type="text" name="s_username" id="s_username" />
                                </fieldset>
                            </div>

                            <div style="float: left; width: 50%;">
                                <fieldset>
                                    <legend><?php 
_e('Password');
?>
 (<?php 
_e('required');
?>
)</legend>
                                    <input type="password" name="s_password" id="s_password" />
                                </fieldset>
                            </div>
                            <div style="clear: both;"></div>
                            <input id="button_save" type="submit" value="<?php 
_e('Create');
?>
" />
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <?php 
osc_current_admin_theme_path('footer.php');
?>
    </body>
</html>
Ejemplo n.º 3
0
                <div class="form-row">
                    <div class="form-label"><?php 
_e('E-mail user whenever');
?>
</div>
                    <div class="form-controls">
                        <div class="form-label-checkbox">
                            <label>
                                <input type="checkbox" <?php 
echo osc_notify_new_comment_user() ? 'checked="checked"' : '';
?>
 name="notify_new_comment_user" value="1" /> <?php 
_e("There's a new comment on his listing");
?>
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-actions">
                    <input type="submit" id="save_changes" value="<?php 
echo osc_esc_html(__('Save changes'));
?>
" class="btn btn-submit" />
                </div>
            </div>
        </fieldset>
    </form>
</div>
<?php 
osc_current_admin_theme_path('parts/footer.php');
Ejemplo n.º 4
0
 function doView($file)
 {
     osc_current_admin_theme_path($file);
     Session::newInstance()->_clearVariables();
 }
Ejemplo n.º 5
0
                        if(data.error==1) {
                        } else {
                            $('#content-head div.banner-market').html(data.html);
                        }
                    });
            });
        </script>
<?php 
}
osc_add_hook('admin_page_header', 'customPageHeader');
function customPageTitle($string)
{
    return __('Market');
}
osc_add_filter('admin_title', 'customPageTitle');
osc_current_admin_theme_path('parts/header.php');
if (osc_market_api_connect() == '') {
    ?>
<div id="dialog-connect" title="<?php 
    _e('Connect');
    ?>
" class="has-form-actions hide">
    <div class="form-horizontal hide" id="connect_wait">
        <div class="form-row">
            <p>
                <?php 
    _e('Connecting... please wait');
    ?>
            </p>
        </div>
    </div>
Ejemplo n.º 6
0
 function doView($file)
 {
     osc_current_admin_theme_path($file);
 }
Ejemplo n.º 7
0
					});
				});
			}
		});
	});
</script>

<?php 
defined('ABS_PATH') or die(__('Invalid OSClass request.'));
?>

<div id="content">
    <div id="separator"></div>

    <?php 
include_once osc_current_admin_theme_path('include/backoffice_menu.php');
?>

    <div id="right_column">
        <div id="content_header" class="content_header">
            <div style="float: left;"><img src="<?php 
echo osc_current_admin_theme_url('images/tools-icon.png');
?>
" /></div>
            <div id="content_header_arrow">&raquo; <?php 
_e('Upgrade OSClass');
?>
</div>
            <div style="clear: both;"></div>
        </div>