Example #1
0
function itemCustomHead()
{
    if (osc_item_is_expired()) {
        $echo = "<meta name=\"robots\" content=\"noindex, nofollow\" /><meta name=\"googlebot\" content=\"noindex, nofollow\" />";
    } else {
        $echo = "<meta name=\"robots\" content=\"index, follow\" /><meta name=\"googlebot\" content=\"index, follow\" />";
    }
    echo $echo . '<script type="text/javascript" src="' . osc_current_web_theme_js_url('jquery.validate.min.js') . '"></script>';
}
function itemCustomHead()
{
    ?>
        <script type="text/javascript" src="<?php 
    echo osc_current_web_theme_js_url('jquery.validate.min.js');
    ?>
"></script>'
<?php 
}
Example #3
0
function itemCustomHead()
{
    echo '<script type="text/javascript" src="' . osc_current_web_theme_js_url('jquery.validate.min.js') . '"></script>';
    echo '<script type="text/javascript" src="' . osc_current_web_theme_js_url('tabber-minimized.js') . '"></script>';
    ?>
        
        <?php 
    if (osc_images_enabled_at_items()) {
        ItemForm::photos_javascript();
    }
    ?>
        <?php 
}
Example #4
0
function itemCustomHead()
{
    echo '<script type="text/javascript" src="' . osc_current_web_theme_js_url('tabber-minimized.js') . '"></script>';
    ?>
        <?php 
    if (realestate_default_location_show_as() == 'dropdown') {
        ItemForm::location_javascript();
    } else {
        ItemForm::location_javascript_new();
    }
    ?>
        <?php 
    if (osc_images_enabled_at_items()) {
        ItemForm::photos_javascript();
    }
    ?>
        <!-- end only item-post.php -->
        <?php 
}
                            </div>
                            <div class="actions">
                                <button class="btn" type="submit"><?php 
_e('Update', 'twitter');
?>
</button>
                            </div>
                        </fieldset>
                    </form>
                </div>
            </div>
        </div>
        <script type="text/javascript">
            var text_error_required = '<?php 
_e('This field is required', 'twitter');
?>
' ;
            var text_valid_email    = '<?php 
_e('Enter a valid e-mail address', 'twitter');
?>
' ;
        </script>
        <script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('change_email.js');
?>
"></script>
        <?php 
osc_current_web_theme_path('footer.php');
?>
    </body>
</html>
Example #6
0
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<!-- css -->
<link rel="stylesheet" type="text/css" href="http://twitter.github.com/bootstrap/1.3.0/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="http://www.lista.ph.s3.amazonaws.com/css/twitter-bootstrap/chosen.css" />
<link rel="stylesheet" type="text/css" href="http://www.lista.ph.s3.amazonaws.com/css/twitter-bootstrap/custom.css" />
<!--link rel="stylesheet" type="text/css" href="<?php 
echo osc_current_web_theme_js_url('chosen/chosen.css');
?>
" /-->
<!--link rel="stylesheet" type="text/css" href="<?php 
echo osc_current_web_theme_styles_url('custom.css');
?>
" /-->

<!-- js -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="http://www.lista.ph.s3.amazonaws.com/scripts/twitter-bootstrap/global.js"></script>
<script type="text/javascript" src="http://www.lista.ph.s3.amazonaws.com/scripts/twitter-bootstrap/chosen.min.js"></script>
<!--script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('global.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('chosen/chosen.min.js');
?>
"></script-->

<?php 
osc_run_hook('header');
Example #7
0
?>
</label>
                            <div class="input">
                                <input class="large" type="password" value="" name="new_password2" id="new_password2">
                            </div>
                        </div>
                        <div class="actions">
                            <button class="btn" type="submit"><?php 
_e('Change password', 'twitter_bootstrap');
?>
</button>
                        </div>
                    </fieldset>
                 </form>
            </div>
        </div>
        <script type="text/javascript">
            var text_error_required = '<?php 
_e('This field is required', 'twitter_bootstrap');
?>
' ;
        </script>
        <script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('forgot_password.js');
?>
"></script>
        <?php 
osc_current_web_theme_path('footer.php');
?>
    </body>
</html>
Example #8
0
"/>
<?php 
}
?>
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="Fri, Jan 01 1970 00:00:00 GMT" />

    <script type="text/javascript">
        var fileDefaultText = '<?php 
echo osc_esc_js(__('No file selected', 'modern'));
?>
';
        var fileBtnText     = '<?php 
echo osc_esc_js(__('Choose File', 'modern'));
?>
';
    </script>

<?php 
osc_enqueue_style('style', osc_current_web_theme_url('style.css'));
osc_enqueue_style('tabs', osc_current_web_theme_url('tabs.css'));
osc_enqueue_style('jquery-ui-datepicker', osc_assets_url('css/jquery-ui/jquery-ui.css'));
osc_register_script('jquery-uniform', osc_current_web_theme_js_url('jquery.uniform.js'), 'jquery');
osc_register_script('global', osc_current_web_theme_js_url('global.js'));
osc_enqueue_script('jquery');
osc_enqueue_script('jquery-ui');
osc_enqueue_script('jquery-uniform');
osc_enqueue_script('tabber');
osc_enqueue_script('global');
osc_run_hook('header');
FieldForm::i18n_datePicker();
Example #9
0
_e('No regions available', 'twitter_bootstrap');
?>
" ;
            twitter_theme.text_no_cities          = "<?php 
_e('No cities available', 'twitter_bootstrap');
?>
" ;
            twitter_theme.page                    = "form" ;
            twitter_theme.item_id                 = "" ;
        </script>
        <script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('bootstrap-tabs.js');
?>
"></script>
        <script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('item_form.js');
?>
"></script>
        <?php 
item_category_select_js();
?>
    </head>
    <body>
        <?php 
osc_current_web_theme_path('header.php');
?>
        <div class="container margin-top-10">
            <?php 
twitter_show_flash_message();
?>
        </div>
Example #10
0
function osclasswizards_footer_js()
{
    echo '<script type="text/javascript" src="' . osc_current_web_theme_js_url('main.js') . '"></script>';
}
Example #11
0
echo osc_esc_js(__('No file selected', 'modern'));
?>
';
    var fileBtnText     = '<?php 
echo osc_esc_js(__('Choose File', 'modern'));
?>
';
</script>
<script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('jquery.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('jquery-ui.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('jquery.uniform.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('tabber-minimized.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('global.js');
?>
"></script>

<?php 
osc_run_hook('header');
 *
 *      You should have received a copy of the GNU Affero General Public
 * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
?>

<?php 
$js_lang = array('delete' => __('Delete', 'pop'), 'cancel' => __('Cancel', 'pop'));
osc_enqueue_script('jquery');
osc_enqueue_script('jquery-ui');
osc_register_script('global-theme-js', osc_current_web_theme_js_url('global.js'), 'jquery');
osc_register_script('delete-user-js', osc_current_web_theme_js_url('delete_user.js'), 'jquery-ui');
osc_enqueue_script('global-theme-js');
osc_register_script('imagesloaded-js', osc_current_web_theme_js_url('imagesloaded.pkgd.min.js'));
osc_enqueue_script('imagesloaded-js');
osc_register_script('masonry-js', osc_current_web_theme_js_url('masonry.pkgd.min.js'));
osc_enqueue_script('masonry-js');
?>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

<title><?php 
echo meta_title();
?>
</title>
<meta name="title" content="<?php 
echo osc_esc_html(meta_title());
?>
" />
<?php 
if (meta_description() != '') {
    ?>
Example #13
0
echo osc_recover_user_password_url();
?>
"><?php 
_e("Forgot password?", 'twitter_bootstrap');
?>
</a>
                            </div>
                        </div>
                    </fieldset>
                </form>
            </div>
        </div>
        <script type="text/javascript">
            var text_error_required = '<?php 
_e('This field is required', 'twitter_bootstrap');
?>
' ;
            var text_valid_email    = '<?php 
_e('Enter a valid e-mail address', 'twitter_bootstrap');
?>
' ;
        </script>
        <script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('register.js');
?>
"></script>
        <?php 
osc_current_web_theme_path('footer.php');
?>
    </body>
</html>
Example #14
0
/**
*
*   jQuery and css to be loaded
*/
function load_my_script()
{
    osc_register_script('jquery', osc_current_web_theme_js_url('jquery.js'));
    osc_enqueue_script('jquery');
    osc_register_script('jquery-ui', osc_base_url() . 'oc-content/themes/classified/js/jquery-ui.min.js', 'jquery');
    osc_register_script('cookie-plugin', osc_base_url() . 'oc-content/themes/classified/js/jquery.cookie.min.js', 'jquery');
    osc_register_script('ratings', osc_base_url() . 'oc-content/themes/classified/js/jRate.min.js');
    osc_enqueue_script('ratings');
    osc_register_script('jquery-validate', osc_base_url() . 'oc-content/themes/classified/js/jquery.validate.min.js', 'jquery');
    osc_enqueue_script('jquery-validate');
    osc_register_script('classified', osc_base_url() . 'oc-content/themes/classified/js/classified.js');
    osc_enqueue_script('classified');
    osc_register_script('jssor', osc_base_url() . 'oc-content/themes/classified/js/jssor.js');
    osc_enqueue_script('jssor');
    osc_register_script('jssor-slider', osc_base_url() . 'oc-content/themes/classified/js/jssor.slider.js');
    osc_enqueue_script('jssor-slider');
    osc_register_script('facebook-admin', osc_base_url() . 'oc-content/themes/classified/js/facebook-admin.js');
    osc_enqueue_script('facebook-admin');
    osc_enqueue_script('cookie-plugin');
    osc_register_script('bootstrap-js', osc_base_url() . 'oc-content/themes/classified/bootstrap/bootstrap.min.js', 'jquery');
    osc_register_script('bootstrap-dialog', osc_base_url() . 'oc-content/themes/classified/js/bootstrap-dialog.min.js');
    osc_register_script('jquery-uniform', osc_base_url() . 'oc-content/themes/classified/js/jquery.uniform.js');
    osc_register_script('jquery-fineuploader', osc_base_url() . 'oc-includes/osclass/assets/js/fineuploader/jquery.fineuploader.min.js', 'jquery');
    if (!OC_ADMIN) {
        osc_enqueue_style('font-awesome', osc_base_url() . 'oc-content/themes/classified/css/font-awesome.min.css');
        osc_enqueue_style('bootstrap', osc_base_url() . 'oc-content/themes/classified/bootstrap/bootstrap.css');
        osc_enqueue_style('facebook-css', osc_base_url() . 'oc-content/themes/classified/css/facebook.css');
        osc_enqueue_style('default-css', osc_base_url() . 'oc-content/themes/classified/style.css');
    }
    if (osc_is_home_page()) {
        //osc_enqueue_style('jCarouselLite-css',osc_base_url().'oc-content/themes/classified/css/premium_slide.css');
        //osc_register_script('jCarouselLite', osc_base_url().'oc-content/themes/classified/js/jCarouselLite.js');
        //osc_enqueue_script('jCarouselLite');
    }
}
function itemCustomHead()
{
    echo '<script type="text/javascript" src="' . osc_current_web_theme_js_url('jquery.validate.min.js') . '"></script>';
}
Example #16
0
?>
';
    var fileBtnText     = '<?php 
_e('Choose File', 'modern');
?>
';
</script>

<script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('jquery.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('jquery-ui.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('jquery.uniform.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('global.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('tabber-minimized.js');
?>
"></script>

<?php 
osc_run_hook('header');
                    </form>
                </div>
            </div>
        </div>
        <script type="text/javascript">
            var ajax_region_url    = '<?php 
echo osc_base_url(true) . "?page=ajax&action=regions&countryId=";
?>
' ;
            var ajax_city_url      = '<?php 
echo osc_base_url(true) . "?page=ajax&action=cities&regionId=";
?>
' ;
            var text_select_region = '<?php 
_e("Select a region...", 'twitter');
?>
' ;
            var text_select_city   = '<?php 
_e("Select a city...", 'twitter');
?>
' ;
        </script>
        <script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('profile.js');
?>
"></script>
        <?php 
osc_current_web_theme_path('footer.php');
?>
    </body>
</html>
Example #18
0
osc_register_script('ajaxload-js', osc_current_web_theme_js_url('ajax-load.js'));
osc_enqueue_script('ajaxload-js');
osc_register_script('location-js', osc_current_web_theme_js_url('location.js'));
osc_register_script('imagesloaded-js', osc_current_web_theme_js_url('imagesloaded.pkgd.min.js'));
osc_enqueue_script('imagesloaded-js');
osc_register_script('imgLiquid-js', osc_current_web_theme_js_url('imgLiquid-min.js'));
//osc_enqueue_script('imgLiquid-js');
osc_register_script('imagefill-js', osc_current_web_theme_js_url('jquery-imagefill.js'));
osc_enqueue_script('imagefill-js');
osc_register_script('masonry-js', osc_current_web_theme_js_url('masonry.pkgd.min.js'));
osc_enqueue_script('masonry-js');
osc_register_script('materialize-js', osc_current_web_theme_js_url('materialize.min.js'));
osc_enqueue_script('materialize-js');
osc_register_script('sweetalert', osc_current_web_theme_js_url('sweetalert/sweetalert.min.js'));
osc_enqueue_script('sweetalert');
osc_register_script('salvattore-js', osc_current_web_theme_js_url('salvattore.min.js'));
?>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

<title><?php 
echo meta_title();
?>
</title>
<meta name="title" content="<?php 
echo osc_esc_html(meta_title());
?>
" />
<?php 
if (meta_description() != '') {
    ?>
    <meta name="description" content="<?php 
Example #19
0
<script type="text/javascript">
    var fileDefaultText = '<?php 
echo osc_esc_js(__('No file selected', 'classified'));
?>
';
    var fileBtnText     = '<?php 
echo osc_esc_js(__('Choose File', 'classified'));
?>
';
</script>

<?php 
osc_enqueue_style('style', osc_current_web_theme_url('style.css'));
//osc_enqueue_style('tabs', osc_current_web_theme_url('tabs.css'));
//osc_enqueue_style('jquery-ui-datepicker', osc_assets_url('css/jquery-ui/jquery-ui.css'));
osc_register_script('jquery', osc_current_web_theme_js_url('jquery.js'));
osc_enqueue_script('jquery');
osc_enqueue_script('jquery-ui');
osc_register_script('bootstrap-js', osc_base_url() . 'oc-content/themes/classified/bootstrap/bootstrap.min.js', 'jquery');
osc_enqueue_script('bootstrap-js');
osc_enqueue_script('tabber');
osc_enqueue_script('bootstrap-dialog');
osc_run_hook('header');
//FieldForm::i18n_datePicker();
?>


<?php 
/**
*   Custom Javascript from Theme Settings
*   Can be used for Chat or other JavaScript applications
Example #20
0
?>
                        </div>
                        <div class="actions">
                            <button class="btn" type="submit"><?php 
_e('Send', 'twitter_bootstrap');
?>
</button>
                        </div>
                    </fieldset>
                </form>
            </div>
        </div>
        <script type="text/javascript">
            var text_error_required = '<?php 
_e('This field is required', 'twitter_bootstrap');
?>
' ;
            var text_valid_email    = '<?php 
_e('Enter a valid e-mail address', 'twitter_bootstrap');
?>
' ;
        </script>
        <script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('item_sendfriend.js');
?>
"></script>
        <?php 
osc_current_web_theme_path('footer.php');
?>
    </body>
</html>
Example #21
0
 *     modify it under the terms of the GNU Affero General Public License
 *     as published by the Free Software Foundation, either version 3 of
 *            the License, or (at your option) any later version.
 *
 *     This program is distributed in the hope that it will be useful, but
 *         WITHOUT ANY WARRANTY; without even the implied warranty of
 *        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *             GNU Affero General Public License for more details.
 *
 *      You should have received a copy of the GNU Affero General Public
 * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
osc_register_script('fancybox', osc_current_web_theme_js_url('fancybox/jquery.fancybox.js'), array('jquery'));
osc_enqueue_script('fancybox');
osc_enqueue_script('jquery-validate');
osc_enqueue_style('fancybox', osc_current_web_theme_js_url('fancybox/jquery.fancybox.css'));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="<?php 
echo str_replace('_', '-', osc_current_user_locale());
?>
">
    <head>
        <?php 
osc_current_web_theme_path('head.php');
?>

        <script type="text/javascript">
            $(document).ready(function(){
                $("a[rel=image_group]").fancybox({
                    openEffect : 'none',
Example #22
0
</div>
<!-- footer -->

<?php 
osc_run_hook('footer');
?>
<div id="dialog-delete-item" title="<?php 
echo osc_esc_html(__('Delete listing', 'pop'));
?>
">
    <?php 
_e('Are you sure you want to delete this listing?', 'pop');
?>
</div>
<script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('salvattore.min.js');
?>
"></script>
<script>
    $("#dialog-delete-item").dialog({
        autoOpen: false,
        modal: true,
        width: 350
    });
</script>

<script>
    // fix bootstrap dropdown
    $('a.dropdown-toggle, .dropdown-menu a').on('touchstart', function (e) {
        e.stopPropagation();
    });
    osc_set_preference('keyword_placeholder', __('ie. PHP Programmer', 'pop'), 'pop_theme');
}
osc_register_script('fancybox', osc_current_web_theme_url('js/fancybox/jquery.fancybox.pack.js'), array('jquery'));
osc_enqueue_style('fancybox', osc_current_web_theme_url('js/fancybox/jquery.fancybox.css'));
osc_enqueue_script('fancybox');
osc_enqueue_style('font-awesome', osc_current_web_theme_url('css/font-awesome-4.1.0/css/font-awesome.min.css'));
// used for date/dateinterval custom fields
osc_enqueue_script('php-date');
if (!OC_ADMIN) {
    osc_enqueue_style('fine-uploader-css', osc_assets_url('js/fineuploader/fineuploader.css'));
    osc_enqueue_style('pop-fine-uploader-css', osc_current_web_theme_url('css/ajax-uploader.css'));
}
osc_enqueue_script('jquery-fineuploader');
osc_register_script('jquery-bxslider', osc_current_web_theme_js_url('jquery.bxslider.js'));
osc_register_script('jquery-metadata', osc_current_web_theme_js_url('jquery.metadata.js'));
osc_register_script('bootstrap-js', osc_current_web_theme_js_url('bootstrap.js'));
osc_enqueue_script('bootstrap-js');
osc_add_hook('header', 'pop_custom_styles');
/* FUNCTIONS */
// install options
if (!function_exists('pop_theme_install')) {
    function pop_theme_install()
    {
        osc_set_preference('keyword_placeholder', __('Search ...', 'pop'), 'pop_theme');
        osc_set_preference('version', POP_THEME_VERSION, 'pop_theme');
        osc_set_preference('footer_link', '1', 'pop_theme');
        osc_set_preference('donation', '0', 'pop_theme');
        osc_set_preference('pop_max_premium', '2', 'pop_theme');
        osc_set_preference('logo', '', 'pop_theme');
        osc_reset_preferences();
    }
Example #24
0
?>
                        </div>
                        <div class="actions">
                            <button class="btn" type="submit"><?php 
_e('Send message', 'twitter_bootstrap');
?>
</button>
                        </div>
                    </fieldset>
                </form>
            </div>
        </div>
        <script type="text/javascript">
            var text_error_required = '<?php 
_e('This field is required', 'twitter_bootstrap');
?>
' ;
            var text_valid_email    = '<?php 
_e('Enter a valid e-mail address', 'twitter_bootstrap');
?>
' ;
        </script>
        <script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('item_contact.js');
?>
"></script>
        <?php 
osc_current_web_theme_path('footer.php');
?>
    </body>
</html>
Example #25
0
 *     modify it under the terms of the GNU Affero General Public License
 *     as published by the Free Software Foundation, either version 3 of
 *            the License, or (at your option) any later version.
 *
 *     This program is distributed in the hope that it will be useful, but
 *         WITHOUT ANY WARRANTY; without even the implied warranty of
 *        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *             GNU Affero General Public License for more details.
 *
 *      You should have received a copy of the GNU Affero General Public
 * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
osc_register_script('jquery-ad-gallery', osc_current_web_theme_js_url('jquery.ad-gallery.1.2.5.js'), array('jquery'));
osc_register_script('tabber', osc_current_web_theme_js_url('tabber-minimized.js'), array('jquery'));
osc_register_script('theme-global', osc_current_web_theme_js_url('global.js'), array('jquery'));
osc_register_script('theme-ui', osc_current_web_theme_js_url('ui.js'), array('jquery'));
osc_enqueue_script('jquery-ui');
osc_enqueue_script('tabber');
osc_enqueue_script('jquery-ad-gallery');
osc_enqueue_script('jquery-validate');
osc_enqueue_script('theme-global');
osc_enqueue_script('theme-ui');
osc_enqueue_style('style', osc_current_web_theme_styles_url('style.css'));
?>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

<title><?php 
echo meta_title();
?>
</title>
<meta name="title" content="<?php 
Example #26
0
 *     This program is distributed in the hope that it will be useful, but
 *         WITHOUT ANY WARRANTY; without even the implied warranty of
 *        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *             GNU Affero General Public License for more details.
 *
 *      You should have received a copy of the GNU Affero General Public
 * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
?>

<?php 
$js_lang = array('delete' => __('Delete', 'bender'), 'cancel' => __('Cancel', 'bender'));
osc_enqueue_script('jquery');
osc_enqueue_script('jquery-ui');
osc_register_script('global-theme-js', osc_current_web_theme_js_url('global.js'), 'jquery');
osc_register_script('delete-user-js', osc_current_web_theme_js_url('delete_user.js'), 'jquery-ui');
osc_enqueue_script('global-theme-js');
?>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

<title><?php 
echo meta_title();
?>
</title>
<meta name="title" content="<?php 
echo osc_esc_html(meta_title());
?>
" />
<?php 
if (meta_description() != '') {
    ?>
Example #27
0
 */
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="<?php 
echo str_replace('_', '-', osc_current_user_locale());
?>
">
    <head>
        <?php 
osc_current_web_theme_path('head.php');
?>
        <meta name="robots" content="noindex, nofollow" />
        <meta name="googlebot" content="noindex, nofollow" />
        <script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('jquery.validate.min.js');
?>
"></script>
    </head>
    <body>
        <div class="container">
            <?php 
osc_current_web_theme_path('header.php');
?>
            <div class="content user_forms">
                <div id="contact" class="inner">
                    <h1><?php 
_e('Contact seller', 'modern');
?>
</h1>
                    <ul id="error_list"></ul>
Example #28
0
 *        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *             GNU Affero General Public License for more details.
 *
 *      You should have received a copy of the GNU Affero General Public
 * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
$js_lang = array('delete' => __('Delete', OSCLASSWIZARDS_THEME_FOLDER), 'cancel' => __('Cancel', OSCLASSWIZARDS_THEME_FOLDER));
osc_enqueue_script('jquery');
osc_enqueue_script('jquery-ui');
osc_register_script('global-theme-js', osc_current_web_theme_js_url('global.js'), 'jquery');
osc_register_script('delete-user-js', osc_current_web_theme_js_url('delete_user.js'), 'jquery-ui');
osc_enqueue_script('global-theme-js');
osc_enqueue_script('bootstrap-theme-js');
osc_register_script('bootstrap-theme-js', osc_current_web_theme_js_url('bootstrap.min.js'), 'jquery');
osc_enqueue_script('checkbox-theme-js');
osc_register_script('checkbox-theme-js', osc_current_web_theme_js_url('checkbox.js'), 'jquery');
?>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<?php 
osc_run_hook('osclasswizards_head');
if (osc_get_canonical() != '') {
    ?>
<!-- canonical -->
<link rel="canonical" href="<?php 
    echo osc_get_canonical();
    ?>
"/>
<!-- /canonical -->
<?php 
}
?>
Example #29
0
</label>
                                <div class="input">
                                    <input class="xlarge" type="password" value="" name="new_password2" id="new_password2">
                                </div>
                            </div>
                            <div class="actions">
                                <button class="btn" type="submit"><?php 
_e('Update', 'twitter_bootstrap');
?>
</button>
                            </div>
                        </fieldset>
                    </form>
                </div>
            </div>
        </div>
        <script type="text/javascript">
            var text_error_required = '<?php 
_e('This field is required', 'twitter_bootstrap');
?>
' ;
        </script>
        <!--<script type="text/javascript" src="<?php 
echo osc_current_web_theme_js_url('change_password.js');
?>
"></script>-->
        <?php 
osc_current_web_theme_path('footer.php');
?>
    </body>
</html>
Example #30
0
            echo '<div class="ads_728">' . PHP_EOL;
            echo osc_get_preference('search-results-top-728x90', 'realestate');
            echo '</div>' . PHP_EOL;
        }
    }
}
osc_add_hook('search_ads_listing_top', 'search_ads_listing_top_fn');
if (!function_exists('search_ads_listing_medium_fn')) {
    function search_ads_listing_medium_fn()
    {
        if (osc_get_preference('search-results-middle-728x90', 'realestate') != '') {
            echo '<div class="clear"></div>' . PHP_EOL;
            echo '<div class="ads_728">' . PHP_EOL;
            echo osc_get_preference('search-results-middle-728x90', 'realestate');
            echo '</div>' . PHP_EOL;
        }
    }
}
osc_add_hook('search_ads_listing_medium', 'search_ads_listing_medium_fn');
if (!function_exists('realestate_default_location_show_as')) {
    function realestate_default_location_show_as()
    {
        return osc_get_preference('defaultLocationShowAs', 'realestate');
    }
}
osc_register_script('jquery-validate-realestate', osc_current_web_theme_js_url('jquery.validate.min.js'), 'jquery');
function realestate_scripts()
{
    osc_enqueue_script('jquery-validate-realestate');
}
osc_add_hook('init', 'realestate_scripts');