Beispiel #1
0
        }
        ?>
						
							</ol>
							 <?php 
        wp_reset_query();
        ?>
						</div>
						<div class="col-sm-12 hilite clearfix">
							<p class="meta" style="text-align:center; padding:1em;">
							<?php 
        // display creative commons?
        if ($my_cc_mode != 'none') {
            // get the license code, either define for site or post meta for user assigned
            $cc_code = $my_cc_mode == 'site' ? ds106bank_option('cc_site') : get_post_meta($post->ID, 'cc', true);
            echo cc_license_html($cc_code, $assignmentAuthor, get_the_time("Y", $my_id));
        }
        ?>
						
						
							</p>
						</div>
					
					</div>
					
					<div id="content" class="row">
						<div class="col-sm-8 ">
					<!-- comments -->	
						<?php 
        comments_template('', true);
        ?>
Beispiel #2
0
            echo '<p class="author-description"><strong>Edit Link:</strong> <em>(emailed to author)</em><br /> <a href="#" id="getEditLink" class="pretty-button pretty-button-blue" data-widurl="' . get_bloginfo('url') . '/get-edit-link/?wid=' . $post->ID . '">Request Now</a> <span id="getEditLinkResponse" class="writenew"></span></p>';
        }
        ?>
							
							
							
							<?php 
        if (truwriter_option('use_cc') != 'none') {
            ?>
					
								<!-- creative commons -->
								<p class="author-description"><strong>License: </strong><br />
								<?php 
            // get the license code, either define for site or post meta for user assigned
            $cc_code = truwriter_option('use_cc') == 'site' ? truwriter_option('cc_site') : get_post_meta($post->ID, 'wLicense', true);
            echo cc_license_html($cc_code, $wAuthor, get_the_time("Y", $post->ID));
            ?>
		
							
								</p> <!-- /creative commons -->
							<?php 
        }
        ?>

							
							<p class="author-description"><strong>Share: </strong> <a href="https://twitter.com/share" class="twitter-share-button" data-hashtags="splot" 
<a href="https://twitter.com/share" class="twitter-share-button" data-text="Published at TRU Writer: <?php 
        echo addslashes(get_the_title());
        ?>
 by <?php 
        echo $wAuthor;
Beispiel #3
0
        ?>
						<!-- creative commons options -->
						<fieldset>
				
					
							<?php 
        if ($my_cc_mode == 'site') {
            ?>
					
							<label for="wLicense"><?php 
            _e('Creative Commons License Applied', 'wpbootstrap');
            ?>
</label>
								<p>All writing added to this site will be licensed:</p>
								<p class="form-control"><?php 
            echo cc_license_html(truwriter_option('cc_site'), $wAuthor);
            ?>
</p>
								<input type="hidden" name="wLicense" id="wLicense" value="<?php 
            echo truwriter_option('cc_site');
            ?>
">
								
				
							<?php 
        } elseif ($my_cc_mode == 'user') {
            ?>
								<label for="wLicense"><?php 
            _e('Creative Commons License', 'wpbootstrap');
            ?>
</label>
">
					
							<?php 
        if ($my_cc_mode == 'site') {
            ?>
					
							<label for="assignmentCC"><?php 
            _e('Creative Commons License Applied', 'wpbootstrap');
            ?>
</label>
								<span class="help-block">All <?php 
            echo lcfirst(THINGNAME);
            ?>
s added to this site will be licensed</span>
								<p class="form-control-static"><?php 
            echo cc_license_html(ds106bank_option('cc_site'));
            ?>
</p>
				
							<?php 
        } elseif ($my_cc_mode == 'user') {
            ?>
								<label for="assignmentCC"><?php 
            _e('Choose a license to apply to this ' . THINGNAME, 'wpbootstrap');
            ?>
</label>
								<select name="assignmentCC" id="assignmentCC" class="form-control">
								<option value="--">Select...</option>
								<?php 
            echo cc_license_select_options($assignmentCC);
            ?>