PluginProbe
Link Library / 7.9.1
Link Library v7.9.1
7.9.7 7.9.6 7.9.5 7.9.4 7.9.3 7.9.2 7.9.1 6.0-Beta11 6.0-Beta12 6.0-Beta2 6.0-Beta3 6.0-Beta4 6.0-Beta5 6.0-Beta6 6.0-Beta7 6.0-Beta8 6.0-Beta9 6.6.8 7.1.4 7.1.5 7.1.6 7.1.7 7.1.8 7.1.9 7.2.0 All 135 releases
link-library / cssgenerator.php

cssgenerator.php in Link Library 7.9.1, at cssgenerator.php

30 lines 793 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 function link_library_generate_css( $my_link_library_plugin ) {
4 $options = '';
5 $genoptions = '';
6
7 $genoptions = get_option( 'LinkLibraryGeneral' );
8 $genoptions = wp_parse_args( $genoptions, ll_reset_gen_settings( 'return' ) );
9
10 header("Content-type: text/css");
11
12 if ( isset( $genoptions['fullstylesheet'] ) ) {
13 echo stripslashes( $genoptions['fullstylesheet'] );
14 }
15
16 for ( $i = 1; $i <= $genoptions['numberstylesets']; $i++ ) {
17 $settingsid = intval( $i );
18
19 $settingsname = 'LinkLibraryPP' . $settingsid;
20 $options = get_option( $settingsname );
21 $options = wp_parse_args( $options, ll_reset_options( 1, 'list', 'return' ) );
22
23 if ( !empty( $options['stylesheet'] ) ) {
24 echo stripslashes( $options['stylesheet'] ) . "\n";
25 }
26 }
27
28 exit;
29 }
30