Plugin Directory

Changeset 805065


Ignore:
Timestamp:
11/15/2013 07:53:45 PM (12 years ago)
Author:
boyfa
Message:

1.6 vers all

Location:
persian-fonts
Files:
186 added
13 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • persian-fonts/trunk/def.css

    r799095 r805065  
    1 .main-navigation li { font-family: 'yekan'; }
  • persian-fonts/trunk/fonts/titr/stylesheet.css

    r761352 r805065  
    11@font-face {
    2     font-family: 'titr';
    3     src: url('BTitrBold.eot');
    4     src: local('BTitrBold'), url('BTitrBold.woff') format('woff'), url('BTitrBold.ttf') format('truetype'), url('BTitrBold.svg') format('svg');
    5     font-weight: normal;
    6     font-style: normal;
     2    font-family: 'titr';
     3    src: url('WebTitrTGE.eot');
     4    src: url('WebTitrTGE.eot?#iefix') format('embedded-opentype'),
     5         url('WebTitrTGE.woff') format('woff'),
     6         url('WebTitrTGE.ttf') format('truetype'),
     7         url('WebTitrTGE.svg#WebTitrTGEBold') format('svg');
     8    font-weight: bold;
     9    font-style: normal;
     10    unicode-range: U+0600–06FF;
    711}
    8 
  • persian-fonts/trunk/fonts/yekan/stylesheet.css

    r761352 r805065  
    11@font-face {
    22    font-family: 'yekan';
    3     src: url('BYekan.eot');
    4     src: local('BYekan'), url('BYekan.woff') format('woff'), url('BYekan.ttf') format('truetype'), url('BYekan.svg') format('svg');
     3    src: url('WebYekan.eot');
     4    src: local('B Yekan'), url('WebYekan.woff') format('woff'), url('WebYekan.ttf') format('truetype'), url('WebYekan.svg') format('svg');
    55    font-weight: normal;
    66    font-style: normal;
  • persian-fonts/trunk/gen.css

    r799095 r805065  
    1 /* font face gen file */.Bardiya { font-family: bardia; }.Hamid { font-family: hamid; }.Homa { font-family: homa; }.Koodak { font-family: koodak; }.Titr { font-family: titr; }.Yekan { font-family: yekan; }
     1/* font face gen file */.Koodak { font-family: koodak; }.Titr { font-family: titr; }.Yekan { font-family: yekan; }.badr { font-family: badr; }
  • persian-fonts/trunk/persian-fonts.php

    r799095 r805065  
    22/*
    33Plugin Name: Persian Fonts
    4 Plugin URI: http://wordpress.org/plugins/persian-fonts
    5 Description: change your website fonts by enabling this plugin.
     4Plugin URI: http://codev.ir/pf.html
     5Description: فونت‌های وب‌سایت خود را به سادگی چند کلیک تغییر دهید !
    66Author: Danial Hatami
    7 Author URI: http://adurl.ir
    8 Version: 1.5
     7Author URI: http://codev.ir
     8Version: 1.6
    99*/
    1010
    1111/*
    12 Copyright (C) 2013 Danial Hatami (email : Great.emperor94@gmail.com)
     12Copyright 2013 Danial Hatami (email : Great.emperor94@gmail.com)
    1313
    1414This program is free software; you can redistribute it and/or
     
    2626- F. Zangeneh
    2727*/ 
    28  
    29 add_filter('mce_css', 'tuts_mcekit_editor_style'); 
    30 function tuts_mcekit_editor_style($url) { 
    31  
    32     if ( !empty($url) ) 
    33         $url .= ','; 
    34  
    35     $url .= trailingslashit( plugin_dir_url(__FILE__) ) . '/editor-styles.css'; 
    36  
    37     return $url; 
    38 
     28
     29// thanks : Chris Jean - uploader
     30require_once ( dirname(__FILE__) .'/uploader.php'); 
    3931
    4032add_filter( 'mce_buttons_2', 'tuts_mce_editor_buttons' ); 
     
    5143    $style_formats = array(   
    5244        array( 
    53             'title' => 'فونت Yekan', 
     45            'title' => 'فونت Tahoma', 
    5446            'inline' => 'span', 
    5547            'styles' => array( 
    56                 'font-family' => 'yekan', 
     48                'font-family' => 'tahoma', 
    5749 
    5850        )
     
    224216    function persianfonts_create_menu()
    225217    {   
    226     add_menu_page( 'برگه تنظیمات افزونه', 'فونت پارسی', 8, __FILE__, array( &$this, 'persianfonts_settings_page') );
     218    add_menu_page( 'برگه تنظیمات افزونه', 'فونت پارسی', 8, __FILE__, array( &$this, 'persianfonts_settings_page'),plugins_url('persian-fonts/logo.png') );
    227219
    228220        add_action( 'admin_init', array( &$this, 'register_persianfonts_settings') );
  • persian-fonts/trunk/readme.txt

    r803755 r805065  
    1 === Persian Fonts ===
     1=== Persian Fonts ===
    22Contributors: boyfa , Fereidoon Zangeneh
    33Donate link: http://codev.ir/donate
    4 Tags: font-face, font replace, CSS, fontface, persian, fonts, theme
     4Tags: font-face, font replace, CSS, fontface, persian, fonts, theme, font uploader
    55Requires at least: 3.2
    66Tested up to: 3.7
    7 Stable tag: 1.5
     7Stable tag: 1.6
    88
    99Change your website fonts by enabling this plugin.
     
    1313One of the worst problems after translation is editing the fonts of the website. This plugin makes it fast and easy for you !
    1414
    15 **[توضیحات کامل افزونه به زبان پارسی](http://codev.ir/pf.html "Code Development Projects")**
    16 
     15[توضیحات کامل افزونه به زبان پارسی](http://codev.ir/pf.html "Code Development Projects")
    1716
    1817= Features =
    1918
    20 * "Dependencies on internal fonts
    21 * "Easy fonts replacement
    22 * "Compatible with all browsers
    23 * "Fully CSS
    24 * "No Java
    25 * "Includes CSS files in TinyMCE
    26 * "Enable Style Format menu in TinyMCE
    27 * "Creates TinyMCE font-face styles
    28 * "Edit CSS file in Dashboard
     19* Font Uploader ( upload your fonts in zip format )
     20* Fonts are standardization for web
     21* Dependencies on internal fonts
     22* Easy fonts replacement
     23* Compatible with 99% browsers
     24* Fully CSS
     25* Includes CSS files in TinyMCE
     26* Enables Style Format menu in TinyMCE
     27* Creates TinyMCE font-face styles
     28* Edit CSS file in Dashboard
    2929
    3030
     
    3232= Fonts =
    3333
    34 * B Hamid
    35 * B Bardiya
    3634* B Titr
    37 * B Homa
    3835* B Yekan
    3936* B Koodak
    40 
    41 = What's Next? =
    42 
    43 Please try the plugin and contact me (`codevpr@gmail.com`) if you **encounter any bugs or have any questions or suggestions** !
    44 
    45 This plugin is part of [Code Development Projects](http://codev.ir "Code Development Projects")
     37* **You Can Add More Fonts**
    4638
    4739
     
    81732. Style Menu in TinyMCE
    8274
     753. Font Uploader
     76
    8377== Changelog ==
     78
     79= 1.6 =
     80- Added : Font uploader
     81- Fixed : Some Crashes
     82- Use standard fonts
     83
     84
    8485= 1.5 =
    8586- Added : Setting Page
     
    8788- No external fonts
    8889- Load CSS files in TinyMCE
    89 - No Dashboard Fonts Effect !
    90 - Fixed : 3 bugs !
     90- No Dashboard Fonts Effect
     91- Fixed : Some Crashes
    9192
    9293
Note: See TracChangeset for help on using the changeset viewer.