model = $model; } //////////////////////////////////////////////////////////////////////////////////////// // Public Methods // //////////////////////////////////////////////////////////////////////////////////////// public function display($reset = FALSE) { if (isset($_GET['bwg_start_tour']) && $_GET['bwg_start_tour'] == '1') { update_user_meta(get_current_user_id(), 'bwg_photo_gallery', '1'); WDWLibrary::spider_redirect('admin.php?page=options_bwg'); } global $WD_BWG_UPLOAD_DIR; ?>
model->get_row_data($reset); $built_in_watermark_fonts = array(); foreach (scandir(path_join(WD_BWG_DIR, 'fonts')) as $filename) { if (strpos($filename, '.') === 0) continue; else $built_in_watermark_fonts[] = $filename; } $watermark_fonts = array( 'arial' => 'Arial', 'Lucida grande' => 'Lucida grande', 'segoe ui' => 'Segoe ui', 'tahoma' => 'Tahoma', 'trebuchet ms' => 'Trebuchet ms', 'verdana' => 'Verdana', 'cursive' =>'Cursive', 'fantasy' => 'Fantasy', 'monospace' => 'Monospace', 'serif' => 'Serif', ); $effects = array( 'none' => 'None', 'cubeH' => 'Cube Horizontal', 'cubeV' => 'Cube Vertical', 'fade' => 'Fade', 'sliceH' => 'Slice Horizontal', 'sliceV' => 'Slice Vertical', 'slideH' => 'Slide Horizontal', 'slideV' => 'Slide Vertical', 'scaleOut' => 'Scale Out', 'scaleIn' => 'Scale In', 'blockScale' => 'Block Scale', 'kaleidoscope' => 'Kaleidoscope', 'fan' => 'Fan', 'blindH' => 'Blind Horizontal', 'blindV' => 'Blind Vertical', 'random' => 'Random', ); ?>