Plugin Directory

Changeset 1286679


Ignore:
Timestamp:
11/15/2015 05:46:54 PM (10 years ago)
Author:
DarkWolf
Message:

fix darkwolf in laltroweb

Location:
my-custom-css/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • my-custom-css/trunk/my-custom-css.php

    r1286674 r1286679  
    77You can see in action (source code) here: <a href="http://vegamami.altervista.org/">VegAmami</a> :)
    88PS: support file backup and - very important - static css file (fantastic for performance) ;)
    9 Author: Salvatore Noschese - DarkWolf
     9Author: Salvatore Noschese - L'AltroWeb
    1010Version: 2.6
    1111Author URI: https://laltroweb.it/
     
    4444else if(!file_exists(mystylecss_basedir()."/my_custom_css/index.html") || !file_exists(mystylecss_basedir()."/my_custom_css/bkk/index.html"))
    4545{
    46     file_put_contents(mystylecss_basedir()."/my_custom_css/index.html", "<!-- Blank index.html to prevent listing directory -->");
    47     file_put_contents(mystylecss_basedir()."/my_custom_css/bkk/index.html", "<!-- Blank index.html to prevent listing directory -->");
     46    file_put_contents(mystylecss_basedir()."/my_custom_css/index.html", "<!-- Prevent Directory Listing -->");
     47    file_put_contents(mystylecss_basedir()."/my_custom_css/bkk/index.html", "<!-- Prevent Directory Listing -->");
    4848}
    4949
     
    8484    {
    8585        // Write in source!
    86         echo "\n<!-- My Custom CSS -->\n<link rel='stylesheet' id='my-custom-css' href='".css_url()."?".@filemtime(css_path())."' type='text/css' media='all' />\n<!-- My Custom CSS -->\n";
     86        echo "\n<!-- My Custom CSS -->\n<link rel='stylesheet' id='mccss_stylesheet' href='".css_url()."?".@filemtime(css_path())."' type='text/css' media='all' />\n<!-- My Custom CSS -->\n";
    8787    }
    8888}
     
    9090function makecss()
    9191{
    92     $makecss = file_put_contents(css_path(), "/********* Do not edit this file *********/\n/*\nMy Custom CSS - Maked by Salvatore Noschese\na.k.a. DarkWolf - http://www://darkwolf.it/\n*/\n/********* Do not edit this file *********/\n\n".mycustomcss());
     92    $makecss = file_put_contents(css_path(), "/********* Do not edit this file *********/\n/*\nMy Custom CSS - Maked by Salvatore Noschese\na.k.a. L'altroWeb - https://laltroweb.it/\n*/\n/********* Do not edit this file *********/\n\n".mycustomcss());
    9393    return $makecss;
    9494}
     
    458458}
    459459echo '
    460     <!-- Smooth Scroll by DarkWolf -->
     460    <!-- Smooth Scroll -->
    461461        <a href="#" class="scrollup">&#9650;</a>
    462     <!-- Smooth Scroll by DarkWolf -->
     462    <!-- Smooth Scroll -->
    463463</div>';
    464464
  • my-custom-css/trunk/readme.txt

    r1286574 r1286679  
    11=== My Custom CSS ===
    2 Contributors: DarkWolf
     2Contributors: Salvatore Noschese (L'AltroWeb)
    33Donate link: https://www.paypal.me/SalvatoreN
    4 Tags: css, style, custom, theme, plugin, stylesheet, darkwolf, ace, cloud9 editor
     4Tags: css, style, custom, theme, plugin, stylesheet, darkwolf, laltroweb, ace, cloud9 editor
    55Requires at least: 3.0
    66Tested up to: 4.3.1
     
    1212== Description ==
    1313
    14 Maked by Salvatore Noschese (DarkWolf): https://laltroweb.it/
     14Maked by Salvatore Noschese: https://laltroweb.it/
    1515
    1616With this plugin you can put custom css code without edit your theme and/or your plugins (really useful in case of any theme/plugin update).
Note: See TracChangeset for help on using the changeset viewer.