Changeset - 76b3946ebc40
[Not reviewed]
default
2 2 2
Nathan Brink (binki) - 13 years ago 2012-08-15 21:40:24
ohnobinki@ohnopublishing.net
Use SVG for favicon and give the favicon a light green background.
6 files changed with 170 insertions and 2 deletions:
0 comments (0 inline, 0 general)
images/favicon.png
Show inline comments
 
deleted file
 
binary diff not shown
Show images
images/favicon.svg
Show inline comments
 
new file 100644
 
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 
<!-- Created with Inkscape (http://www.inkscape.org/) -->
 

	
 
<svg
 
   xmlns:dc="http://purl.org/dc/elements/1.1/"
 
   xmlns:cc="http://creativecommons.org/ns#"
 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 
   xmlns:svg="http://www.w3.org/2000/svg"
 
   xmlns="http://www.w3.org/2000/svg"
 
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
 
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
 
   width="64"
 
   height="64"
 
   id="svg3040"
 
   version="1.1"
 
   inkscape:version="0.48.2 r9819"
 
   sodipodi:docname="favicon_untraced.svg"
 
   inkscape:export-filename="C:\Users\binki\Documents\repos\slate_permutate\images\favicon_96.png"
 
   inkscape:export-xdpi="135"
 
   inkscape:export-ydpi="135">
 
  <defs
 
     id="defs3042" />
 
  <sodipodi:namedview
 
     id="base"
 
     pagecolor="#ffffff"
 
     bordercolor="#666666"
 
     borderopacity="1.0"
 
     inkscape:pageopacity="0.0"
 
     inkscape:pageshadow="2"
 
     inkscape:zoom="1"
 
     inkscape:cx="32"
 
     inkscape:cy="40.443748"
 
     inkscape:document-units="px"
 
     inkscape:current-layer="text12334-9-1"
 
     showgrid="false"
 
     inkscape:window-width="1366"
 
     inkscape:window-height="716"
 
     inkscape:window-x="-8"
 
     inkscape:window-y="-8"
 
     inkscape:window-maximized="1" />
 
  <metadata
 
     id="metadata3045">
 
    <rdf:RDF>
 
      <cc:Work
 
         rdf:about="">
 
        <dc:format>image/svg+xml</dc:format>
 
        <dc:type
 
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
 
        <dc:title></dc:title>
 
      </cc:Work>
 
    </rdf:RDF>
 
  </metadata>
 
  <g
 
     inkscape:label="Layer 1"
 
     inkscape:groupmode="layer"
 
     id="layer1"
 
     transform="translate(0,-988.36218)">
 
    <rect
 
       style="fill:#d0ffdc;fill-opacity:1;stroke:none"
 
       id="rect3106"
 
       width="88"
 
       height="84"
 
       x="-8"
 
       y="-5"
 
       transform="translate(0,988.36218)"
 
       ry="0"
 
       rx="0" />
 
    <g
 
       style="font-size:72px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:-4px;word-spacing:0px;fill:#4d4d4d;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
 
       id="text12334-9-1">
 
      <path
 
         d="m 29.646092,1030.586 c -0.223138,-4.6239 -1.784894,-8.0718 -4.685274,-10.3438 -2.90043,-2.272 -5.800835,-4.136 -8.701222,-5.592 -2.900421,-1.4559 -4.462176,-3.2719 -4.685271,-5.4479 0.03749,-1.1039 0.448482,-2.0099 1.232985,-2.718 0.784476,-0.7079 1.717463,-1.0739 2.798963,-1.0979 1.331965,0.019 2.663946,0.3405 3.995948,0.9629 1.331961,0.6226 2.447946,1.4296 3.347958,2.421 l 5.975923,-5.3279 c -1.578008,-2.0175 -3.605981,-3.65243 -6.083923,-4.90496 -2.477989,-1.25244 -5.009954,-1.89743 -7.595901,-1.93497 -3.99296,0.0285 -7.3289138,1.15953 -10.0078713,3.39295 -2.6789692,2.23348 -4.0709499,5.39848 -4.1759463,9.49488 0.2222181,4.2822 1.7777518,7.6297 4.666606,10.0425 2.8888414,2.4129 5.7776896,4.4058 8.6665536,5.9786 2.888833,1.5729 4.444368,3.2404 4.666609,5.0026 -0.02402,1.4175 -0.462014,2.5245 -1.313984,3.321 -0.852008,0.7965 -1.973992,1.2015 -3.365956,1.215 -1.243499,-0.062 -2.590481,-0.4785 -4.04095,-1.251 -1.4504905,-0.7725 -2.6714731,-1.5315 -3.6629509,-2.277 l -4.7519388,7.4879 c 1.6409756,1.3785 3.5789491,2.5635 5.8139262,3.555 2.2349605,0.9915 4.4249295,1.5105 6.5699145,1.557 4.135428,-0.029 7.690378,-1.2135 10.664862,-3.555 2.974433,-2.3415 4.531411,-5.6684 4.67094,-9.9809 z"
 
         style="font-variant:normal;font-weight:900;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#4d4d4d;font-family:Delicious Heavy;-inkscape-font-specification:'Delicious Heavy, Heavy'"
 
         id="path3877" />
 
      <path
 
         d="m 62.93754,1012.5863 c -0.151533,-5.6294 -2.008507,-9.5444 -5.570929,-11.7449 -3.56248,-2.20041 -7.921419,-3.2534 -13.076831,-3.15895 l -11.951846,0 0,45.35945 10.727861,0 0,-15.5518 c 0.565478,0.3255 1.216469,0.5745 1.952975,0.747 0.736473,0.1725 1.405464,0.2595 2.006974,0.261 4.47442,-0.1185 8.215368,-1.6815 11.222855,-4.689 3.007429,-3.0074 4.570407,-6.7484 4.688941,-11.2228 z m -10.727862,-0.072 c 0.02248,2.127 -0.454517,3.8489 -1.430981,5.1659 -0.976509,1.317 -2.587487,1.995 -4.832939,2.034 -0.390011,-0.018 -0.870005,-0.126 -1.439981,-0.324 -0.570008,-0.198 -1.050002,-0.378 -1.439982,-0.54 l 0,-12.1679 1.58398,0 c 2.141954,-0.063 3.923929,0.2971 5.34593,1.08 1.421959,0.783 2.159949,2.367 2.213973,4.752 z"
 
         style="fill:#000000"
 
         id="path3879" />
 
    </g>
 
  </g>
 
</svg>
images/favicon_96.png
Show inline comments
 
deleted file
 
binary diff not shown
Show images
images/favicon_untraced.svg
Show inline comments
 
new file 100644
 
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 
<!-- Created with Inkscape (http://www.inkscape.org/) -->
 

	
 
<svg
 
   xmlns:dc="http://purl.org/dc/elements/1.1/"
 
   xmlns:cc="http://creativecommons.org/ns#"
 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 
   xmlns:svg="http://www.w3.org/2000/svg"
 
   xmlns="http://www.w3.org/2000/svg"
 
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
 
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
 
   width="64"
 
   height="64"
 
   id="svg3040"
 
   version="1.1"
 
   inkscape:version="0.48.2 r9819"
 
   sodipodi:docname="favicon_untraced.svg"
 
   inkscape:export-filename="C:\Users\binki\Documents\repos\slate_permutate\images\favicon_96.png"
 
   inkscape:export-xdpi="135"
 
   inkscape:export-ydpi="135">
 
  <defs
 
     id="defs3042" />
 
  <sodipodi:namedview
 
     id="base"
 
     pagecolor="#ffffff"
 
     bordercolor="#666666"
 
     borderopacity="1.0"
 
     inkscape:pageopacity="0.0"
 
     inkscape:pageshadow="2"
 
     inkscape:zoom="1"
 
     inkscape:cx="32"
 
     inkscape:cy="40.443748"
 
     inkscape:document-units="px"
 
     inkscape:current-layer="layer1"
 
     showgrid="false"
 
     inkscape:window-width="1366"
 
     inkscape:window-height="716"
 
     inkscape:window-x="-8"
 
     inkscape:window-y="-8"
 
     inkscape:window-maximized="1" />
 
  <metadata
 
     id="metadata3045">
 
    <rdf:RDF>
 
      <cc:Work
 
         rdf:about="">
 
        <dc:format>image/svg+xml</dc:format>
 
        <dc:type
 
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
 
        <dc:title></dc:title>
 
      </cc:Work>
 
    </rdf:RDF>
 
  </metadata>
 
  <g
 
     inkscape:label="Layer 1"
 
     inkscape:groupmode="layer"
 
     id="layer1"
 
     transform="translate(0,-988.36218)">
 
    <rect
 
       style="fill:#d0ffdc;fill-opacity:1;stroke:none"
 
       id="rect3106"
 
       width="88"
 
       height="84"
 
       x="-8"
 
       y="-5"
 
       transform="translate(0,988.36218)"
 
       ry="0"
 
       rx="0" />
 
    <text
 
       xml:space="preserve"
 
       style="font-size:72px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:-4px;word-spacing:0px;fill:#4d4d4d;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
 
       x="-0.59351826"
 
       y="1043.0419"
 
       id="text12334-9-1"
 
       sodipodi:linespacing="125%"
 
       inkscape:export-filename="/home/ethanzonca/Images/slatepermutate-square.png"
 
       inkscape:export-xdpi="413.78741"
 
       inkscape:export-ydpi="413.78741"><tspan
 
         sodipodi:role="line"
 
         id="tspan12336-1-7"
 
         x="-0.59351826"
 
         y="1043.0419"
 
         style="font-size:72px;font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:-4px;writing-mode:lr-tb;text-anchor:start;fill:#4d4d4d;fill-opacity:1;font-family:Delicious Heavy;-inkscape-font-specification:'Delicious Heavy, Heavy'">S<tspan
 
   style="font-size:72px;letter-spacing:-4px;fill:#000000"
 
   id="tspan12338-7-4">P</tspan></tspan></text>
 
  </g>
 
</svg>
inc/class.page.php
Show inline comments
 
modified file chmod 100755 => 100644
 
@@ -373,13 +373,14 @@ class page
 
	  '    <title>' . $this->pagetitle . ' - ' . $this->base_title[0] . ' - ' . $this->base_title[1] . '</title>'. PHP_EOL .
 
          '    <link rel="stylesheet" href="styles/general.css" type="text/css" media="screen" charset="utf-8" />'.  PHP_EOL .
 
	  '    <link rel="stylesheet" type="text/css" media="print" href="styles/print.css" />'. PHP_EOL .
 
          '    <!--[if IE]>'. PHP_EOL .
 
          '      <link rel="stylesheet" type="text/css" media="screen" charset="utf-8" href="styles/ie.css" />'. PHP_EOL .
 
          '    <![endif]-->'. PHP_EOL .
 
          '    <link rel="icon" href="images/favicon.png" />'. PHP_EOL
 
          '    <link rel="icon" href="images/favicon.svg" type="image/svg+xml" sizes="any" />' . PHP_EOL
 
      . '    <link rel="apple-touch-icon" href="images/favicon.svg" type="image/svg+xml" sizes="any" />' . PHP_EOL
 
      . '    <style type="text/css">' . PHP_EOL
 
      . $this->cdata_wrap(school_page_css($this->school))
 
      . '    </style>' . PHP_EOL;
 

	
 
    foreach ($this->meta as $key => $value)
 
      echo '    <meta name="' . htmlentities($key, ENT_QUOTES)
inc/class.schedule.php
Show inline comments
 
@@ -514,13 +514,13 @@ class Schedule
 
	. '    jQuery(\'.cute-time\').cuteTime();' . PHP_EOL
 
	. '  });' . PHP_EOL
 
	. '        </script>' . PHP_EOL;
 

	
 
      echo '        <div id="sharedialog" title="Share Schedule">' . PHP_EOL
 
	. '          <p class="indent"><img alt="[fb]" class="noborder" src="http://facebook.com/favicon.ico" /> <a href="http://www.facebook.com/sharer.php?u=' . urlencode(htmlentities($outputPage->gen_share_url($this->id_get()))) .'&amp;t=My%20Schedule">Share on Facebook</a></p>
 
		     <p class="indent"><img alt="[sp]" class="noborder" src="images/favicon.png" style="margin-right: 5px;"/><span class="clicktoclipboard"><a href="#">Share with URL</a><span class="toclipboard hidden"><p>Copy the share URL below:<br /><em class="centeredtext smallurl">' . htmlentities($outputPage->gen_share_url($this->id_get())) . '</em></p></span></span></p>' . PHP_EOL
 
		     <p class="indent"><img alt="[sp]" class="noborder" src="images/favicon.svg" style="margin-right: 5px; width: 16px; height: 16px;"/><span class="clicktoclipboard"><a href="#">Share with URL</a><span class="toclipboard hidden"><p>Copy the share URL below:<br /><em class="centeredtext smallurl">' . htmlentities($outputPage->gen_share_url($this->id_get())) . '</em></p></span></span></p>' . PHP_EOL
 
	. '        </div>' . PHP_EOL
 
	. '        <p>' . PHP_EOL
 
	. '          <a href="input.php?s='.$this->id.'" class="button">Edit</a>' . PHP_EOL
 
	. '          <span id="printItems"><a href="#" class="button">Print</a></span>' . PHP_EOL
 
	. '          <span id="share"><a href="#" class="button">Share</a></span>' . PHP_EOL;
 

	
0 comments (0 inline, 0 general)