Example #1
0
 public static function gp_project_actions($project, $translation_sets)
 {
     ob_start();
     gp_project_actions($project, $translation_sets);
     $output = ob_get_contents();
     ob_end_clean();
     $output = str_replace(' ↓ ', '', $output);
     $output = str_replace('<ul>', '<ul class="dropdown-menu" role="menu">', $output);
     echo $output;
 }
Example #2
0
echo apply_filters('gp_project_description', $project->description, $project);
?>
</p>

<?php 
if ($can_write) {
    ?>

<div class="actionlist">
	<a href="#" class="project-actions" id="project-actions-toggle"><?php 
    _e('Project actions &darr;', 'glotpress');
    ?>
</a>
	<div class="project-actions hide-if-js">
		<?php 
    gp_project_actions($project, $translation_sets);
    ?>
	</div>
</div>
<?php 
}
?>

<div id="project" <?php 
if ($sub_projects) {
    echo ' class="with-sub-projects"';
}
?>
>

<?php