'.get_the_title().'
'; $output .= ''.get_the_time(__('M','arclite')).''.get_the_time(__('j','arclite')).'
'; $output .= 'THEME_VERSION, 'imageless' => $imageless, 'threecol' => $threecol, 'left_sidebar' => '1', 'jquery' => $jquery, 'logo' => $logo, 'header' => $header, 'header1' => $header1, 'header2' => $header2, 'header_color' => $header_color, 'widget_background' => $widget_background, 'content_background' => $content_background, 'post_preview' => $post_preview, 'navigation' => $navigation, 'navigation_exclude' => $navigation_exclude, 'search' => $search, 'sidebar_categories' => $sidebar_categories, 'footer_content' => $footer_content, 'user_css' => $user_css, 'lightbox' => '1', 'remove_settings' => '0')) ); } function remove_options() { delete_option('arclite'); } function get_arclite_option( $option ) { $get_arclite_options = get_option('arclite'); return $get_arclite_options[$option]; } function print_arclite_option( $option ) { $get_arclite_options = get_option('arclite'); echo $get_arclite_options[$option]; } function get_upload_dir($dir) { $uploadpath = wp_upload_dir(); if ($uploadpath['baseurl']=='') $uploadpath['baseurl'] = get_bloginfo('siteurl').'/wp-content/uploads'; return $uploadpath[$dir]; } function arclite_update_options() { check_admin_referer('theme-settings'); if (!current_user_can('edit_themes')) wp_die(__('You are not authorised to perform this operation.', 'arclite')); $options = get_option('arclite'); if (isset($_POST['imageless'])) $options['imageless'] = 1; else $options['imageless'] = 0; if (isset($_POST['threecol'])) $options['threecol'] = 1; else $options['threecol'] = 0; if (isset($_POST['left_sidebar'])) $options['left_sidebar'] = $_POST['left_sidebar']; if (isset($_POST['jquery'])) $options['jquery'] = 1; else $options['jquery'] = 0; if (isset($_POST['lightbox'])) $options['lightbox'] = 1; else $options['lightbox'] = 0; if (isset($_POST['header'])) $options['header'] = $_POST['header']; if (isset($_POST['header_color'])) $options['header_color'] = $_POST['header_color']; if (isset($_POST['sidebar'])) $options['sidebar'] = $_POST['sidebar']; if (isset($_POST['widget_background'])) $options['widget_background'] = $_POST['widget_background']; if (isset($_POST['content_background'])) $options['content_background'] = $_POST['content_background']; if (isset($_POST['post_preview'])) $options['post_preview'] = $_POST['post_preview']; if (isset($_POST['navigation'])) $options['navigation'] = $_POST['navigation']; if (isset($_POST['navigation_exclude'])) $options['navigation_exclude'] = $_POST['navigation_exclude']; if (isset($_POST['search'])) $options['search'] = 1; else $options['search'] = 0; if (isset($_POST['sidebar_categories'])) $options['sidebar_categories'] = 1; else $options['sidebar_categories'] = 0; if (isset($_POST['footer_content'])) $options['footer_content'] = stripslashes($_POST['footer_content']); if (isset($_POST['user_css'])) $options['user_css'] = stripslashes($_POST['user_css']); if (isset($_POST['remove_settings'])) $options['remove_settings'] = 1; else $options['remove_settings'] = 0; if (isset($_POST['remove-logo'])): $options['logo'] = ''; else: if ($_FILES["file-logo"]["type"]): $directory = get_upload_dir('basedir').'/'; move_uploaded_file($_FILES["file-logo"]["tmp_name"], $directory . $_FILES["file-logo"]["name"]); $options['logo'] = get_upload_dir('baseurl'). "/". $_FILES["file-logo"]["name"]; endif; endif; if (isset($_POST['remove-header1'])): $options['header1'] = ''; else: if ($_FILES["file-header1"]["type"]): $directory = get_upload_dir('basedir').'/'; move_uploaded_file($_FILES["file-header1"]["tmp_name"], $directory . $_FILES["file-header1"]["name"]); $options['header1'] = get_upload_dir('baseurl'). "/". $_FILES["file-header1"]["name"]; endif; endif; if (isset($_POST['remove-header2'])): $options['header2'] = ''; else: if ($_FILES["file-header2"]["type"]): $directory = get_upload_dir('basedir').'/'; move_uploaded_file($_FILES["file-header2"]["tmp_name"], $directory . $_FILES["file-header2"]["name"]); $options['header2'] = get_upload_dir('baseurl'). "/". $_FILES["file-header2"]["name"]; endif; endif; update_option('arclite', $options); wp_redirect(admin_url('themes.php?page=theme-settings&updated=true')); } function arclite_theme_settings() { if (current_user_can('edit_themes')): ?>
'.get_the_time(__('M','arclite')).''.get_the_time(__('j','arclite')).'
'; $output .= ''.get_comment_author().''; else: $authorlink=''.get_comment_author().''; endif; printf(__('%s by %s on %s', 'arclite'), '#'.++$commentcount.'', $authorlink, get_comment_time(get_option('date_format')).' - '.get_comment_time(get_option('time_format'))); ?>
'comment-reply', 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => ''.__('Reply','arclite').''.$my_comment_count))); } ?>
comment_type == 'trackback') _e("Trackback:","arclite"); else _e("Pingback:","arclite"); ?>