Deutschland United States United Kingdom
ContentLion - Open Source CMS

Compare Revisions

Ignore whitespace Rev 2 → Rev 3

/classes/fontform.php
24,24 → 24,44
<input id="color5" name="color5" value="<?PHP echo $_GET['color5']; ?>" type="hidden" />
<input id="color6" name="color6" value="<?PHP echo $_GET['color6']; ?>" type="hidden" />
<h2>Überschrift 1</h2>
<select name="fontfamilyh1" id="fontfamilyh1" onchange="refreshFrame()" >
<?PHP $this->printFonts(); ?>
</select>
<?PHP
$test = new plugin_fonts_combobox();
$test->name = "fontfamilyh1";
$test->id = "fontfamilyh1";
$test->value = "Arial";
$test->onChange ="refreshFrame()";
$test->display();
?>
<input style="width:30px;" name="fontsizeh1" id="fontsizeh1" value="24px" onkeyup="refreshFrame()" onchange="refreshFrame()" />
<h2>Überschrift 2</h2>
<select name="fontfamilyh2" id="fontfamilyh2" onchange="refreshFrame()" >
<?PHP $this->printFonts(); ?>
</select>
<?PHP
$test = new plugin_fonts_combobox();
$test->name = "fontfamilyh2";
$test->id = "fontfamilyh2";
$test->value = "Arial";
$test->onChange ="refreshFrame()";
$test->display();
?>
<input style="width:30px;" name="fontsizeh2" id="fontsizeh2" value="20px" onkeyup="refreshFrame()" onchange="refreshFrame()" />
<h2>Überschrift 3</h2>
<select name="fontfamilyh3" id="fontfamilyh3" onchange="refreshFrame()" >
<?PHP $this->printFonts(); ?>
</select>
<?PHP
$test = new plugin_fonts_combobox();
$test->name = "fontfamilyh3";
$test->id = "fontfamilyh3";
$test->value = "Arial";
$test->onChange ="refreshFrame()";
$test->display();
?>
<input style="width:30px;" name="fontsizeh3" id="fontsizeh3" value="18px" onkeyup="refreshFrame()" onchange="refreshFrame()" />
<h2>Normaler Text</h2>
<select name="fontfamilyp" id="fontfamilyp" onchange="refreshFrame()" >
<?PHP $this->printFonts(); ?>
</select>
<?PHP
$test = new plugin_fonts_combobox();
$test->name = "fontfamilyp";
$test->id = "fontfamilyp";
$test->value = "Arial";
$test->onChange ="refreshFrame()";
$test->display();
?>
<input style="width:30px;" name="fontsizep" id="fontsizep" value="14px" onkeyup="refreshFrame()" onchange="refreshFrame()" /><br />
<input type="submit" value="Weiter &gt;&gt;" />
</form>
49,93 → 69,6
<?PHP
}
 
private function printFonts(){
?>
<option>Allan</option>
<option>Allerta</option>
<option>Anonymous Pro</option>
<option>Allerta Stencil</option>
<option>Arimo</option>
<option selected="selected">Arial</option>
<option>Arvo</option>
<option>Bentham</option>
<option>Buda</option>
<option>Cabin</option>
<option>Calligraffitti</option>
<option>Cantarell</option>
<option>Cardo</option>
<option>Cherry Cream Soda</option>
<option>Chewy</option>
<option>Coda</option>
<option>Coming Soon</option>
<option>Copse</option>
<option>Corben</option>
<option>Cousine</option>
<option>Covered By Your Grace</option>
<option>Crafty Girls</option>
<option>Crimson Text</option>
<option>Crushed</option>
<option>Cuprum</option>
<option>Dancing Script</option>
<option>Droid Sans</option>
<option>Droid Sans Mono</option>
<option>Droid Serif</option>
<option>Fontdiner Swanky</option>
<option>Geo</option>
<option>Gruppo</option>
<option>IM Fell English</option>
<option>Inconsolata</option>
<option>Irish Growler</option>
<option>Kenia</option>
<option>Kranky</option>
<option>Kreon</option>
<option>Kristi</option>
<option>Lato</option>
<option>Lekton</option>
<option>Luckiest Guy</option>
<option>Josefin Sans</option>
<option>Josefin Slab</option>
<option>Just Another Hand</option>
<option>Just Me Again Down Here</option>
<option>Lobster</option>
<option>Maiden Orange</option>
<option>Meddon</option>
<option>Merriweather</option>
<option>Molengo</option>
<option>Mountains of Christmas</option>
<option>Neucha</option>
<option>Neuton</option>
<option>Nobile</option>
<option>OFL Sorts Mill Goudy TT</option>
<option>Old Standard TT</option>
<option>Orbitron</option>
<option>Permanent Marker</option>
<option>Philosopher</option>
<option>PT Sans Narrow</option>
<option>Radley</option>
<option>Raleway</option>
<option>Reenie Beanie</option>
<option>Rock Salt</option>
<option>Schoolbell</option>
<option>Slackey</option>
<option>Sniglet</option>
<option>Sunshiney</option>
<option>Syncopate</option>
<option>Tangerine</option>
<option>Tahoma</option>
<option>Tinos</option>
<option>Ubuntu</option>
<option>UnifrakturCook</option>
<option>UnifrakturMaguntia</option>
<option>Unkempt</option>
<option>Verdana</option>
<option>Vollkorn</option>
<option>Vibur</option>
<option>Walter Turncoat</option>
<option>Yanone Kaffeesatz</option>
<?PHP
}
 
public function getHeader(){
$host = Settings::getValue("host");
return "<script type=\"text/javascript\" src=\"".$host."system/plugins/skinwizard/js/get.js\"></script><style>.colorbox{width:8px;height:8px;float:left;margin-right:5px;border:1px solid #dddddd;}.colorselector{height:10px;width:85px;padding:2px;}.colorselector:hover{background-color:#ddddff;}</style>";