added local droid fonts
authorGreg Gay <info@atutor.ca>
Tue, 17 Aug 2010 18:24:54 +0000 (18:24 -0000)
committerGreg Gay <info@atutor.ca>
Tue, 17 Aug 2010 18:24:54 +0000 (18:24 -0000)
docs/themes/default/fonts/DroidSans-Bold.ttf [new file with mode: 0644]
docs/themes/default/fonts/DroidSans.ttf [new file with mode: 0644]
docs/themes/default/include/footer.tmpl.php
docs/themes/default/include/header.tmpl.php
docs/themes/default/styles.css

diff --git a/docs/themes/default/fonts/DroidSans-Bold.ttf b/docs/themes/default/fonts/DroidSans-Bold.ttf
new file mode 100644 (file)
index 0000000..7ac04b6
Binary files /dev/null and b/docs/themes/default/fonts/DroidSans-Bold.ttf differ
diff --git a/docs/themes/default/fonts/DroidSans.ttf b/docs/themes/default/fonts/DroidSans.ttf
new file mode 100644 (file)
index 0000000..767c63a
Binary files /dev/null and b/docs/themes/default/fonts/DroidSans.ttf differ
index 75b21df..c1297eb 100644 (file)
@@ -60,6 +60,13 @@ if($languageManager->getNumEnabledLanguages() > 1) {
                <br style="clear:both;" />
       <div style="margin-left:auto; margin-right:auto; width:20em;">
         <small><?php if (isset($this->course_copyright)) echo $this->course_copyright.'<br />'; echo _AT("copyright"); ?></small><br />
+  <!-- guide -->
+
+    <div>
+    <a href="#" onclick="trans.utility.poptastic('<?php echo TR_GUIDES_PATH."index.php?p=home/index.php"; ?>'); return false;" target="_new"><em><?php echo _AT('general_help'); ?></em></a>&nbsp;
+  </div>
+
+
       </div>
                
     </div>
index 7c70c0b..10715dc 100644 (file)
@@ -88,7 +88,7 @@ $starttime = $mtime;
       })();
     </script>
 
-       <link href='http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold' rel='stylesheet' type='text/css' />
+       <!-- <link href='http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold' rel='stylesheet' type='text/css' /> -->
        <link rel="icon" href="<?php echo $this->base_path; ?>favicon.ico" type="image/x-icon" /> 
        <link rel="stylesheet" href="<?php echo $this->base_path.'themes/'.$this->theme; ?>/forms.css" type="text/css" />
        <link rel="stylesheet" href="<?php echo $this->base_path.'themes/'.$this->theme; ?>/styles.css" type="text/css" />
index 59a91d1..841d8e6 100644 (file)
@@ -8,7 +8,21 @@
 /* modify it under the terms of the GNU General Public License          */
 /* as published by the Free Software Foundation.                        */
 /************************************************************************/
-@import url(http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold);
+/* @import url(http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold); */
+
+@font-face {
+  font-family: 'Droid Sans';
+  font-style: normal;
+  font-weight: bold;
+  src: local('Droid Sans'), url('fonts/DroidSans-Bold.ttf') format('truetype');
+}
+
+@font-face {
+  font-family: 'Droid Sans';
+  font-style: normal;
+  font-weight: normal;
+  src: local('Droid Sans'), url('fonts/DroidSans.ttf') format('truetype');
+}
 
 html,body{
   height:100%;