Beispiel #1
0
        ?>
: <a href="<?php 
        echo $search_result->getObjectUrl();
        ?>
"><?php 
        echo clean($search_result->getObjectName());
        ?>
</a></li>
<?php 
    }
    // foreach
    ?>
</ul>

<?php 
    if (isset($pagination) && $pagination instanceof DataPagination) {
        echo advanced_pagination($pagination, active_project()->getSearchUrl($search_string, '#PAGE#'));
    }
    // if
    ?>

<?php 
} else {
    ?>
<p><?php 
    echo lang('no search result for', $search_string);
    ?>
</p>
<?php 
}
// if
                ?>
      </div>
  <?php 
            }
            // if
            ?>
      <div class="clear"></div>
    </div>
    <div class="clear"></div>
  </div>
<?php 
        }
        // foreach
    }
    // if
    ?>
  <div id="contactsPaginationBottom"><?php 
    echo advanced_pagination($contacts_pagination, get_url('dashboard', 'search_contacts', array('search_for' => $search_term, 'page' => '#PAGE#')));
    ?>
</div>
</div>
<?php 
} else {
    ?>
  <div><?php 
    echo lang('no search result for', clean($search_term));
    ?>
</div>
<?php 
}
// if
Beispiel #3
0
        // foreach
        ?>
  </table>
  <?php 
    } else {
        foreach ($messages as $message) {
            $this->assign('message', $message);
            $this->assign('on_message_page', false);
            $this->includeTemplate(get_template_path('view_message', 'message'));
        }
        // foreach
        ?>
  <?php 
    }
    // if
    ?>
  <div id="messagesPaginationBottom"><?php 
    echo advanced_pagination($messages_pagination, get_url('message', 'index', array('page' => '#PAGE#')));
    ?>
</div>
</div>
<?php 
} else {
    ?>
<p><?php 
    echo lang('no messages in project');
    ?>
</p>
<?php 
}
// if
Beispiel #4
0
  <div id="ticketsPaginationTop"><?php 
        echo advanced_pagination($tickets_pagination, get_url('tickets', 'index', $options_pagination));
        ?>
</div>
  <?php 
    }
    ?>
  <?php 
    $this->assign('tickets', $tickets);
    $this->includeTemplate(get_template_path('view_tickets', 'tickets'));
    ?>
  <?php 
    if (isset($tickets_pagination)) {
        ?>
  <div id="ticketsPaginationBottom"><?php 
        echo advanced_pagination($tickets_pagination, get_url('tickets', 'index', $options_pagination));
        ?>
</div>
  <?php 
    }
    ?>
</div>
<?php 
} else {
    ?>
<p><?php 
    echo lang('no tickets in project');
    ?>
</p>
<?php 
}
Beispiel #5
0
	</td>
	<?php 
        }
        ?>
</tr>
<?php 
        ++$iteration;
    }
    // foreach
    ?>
</table>

<?php 
    echo submit_button('Compare');
    ?>
</form>
  <div id="wikiPageRevisionsPaginationBottom"><?php 
    echo advanced_pagination($pagination, get_url('wiki', 'history', array('id' => $page->getId(), 'page' => '#PAGE#')));
    ?>
</div>
</div>
<?php 
} else {
    ?>
<p><?php 
    echo lang('wiki page revisions dnx');
    ?>
</p>
<?php 
}
// if
Beispiel #6
0
	<div class="searchHeader">
		<table width="100%"><tr><td><a class="coViewAction ico-<?php 
        echo $search_result["icontype"];
        ?>
 internalLink searchGroupTitle" href='<?php 
        echo get_url('search', 'searchbytype', array('manager' => $search_result["manager"], 'search_for' => $search_string, 'search_all_projects' => $search_all_projects));
        ?>
'><?php 
        echo $search_result["type"];
        ?>
</a></td>
		<td align=right><?php 
        if (isset($enable_pagination) && $pagination->getTotalItems() > $pagination->getItemsPerPage()) {
            ?>
			<?php 
            echo advanced_pagination($pagination, get_url('search', 'searchbytype', array('active_project' => active_project() ? active_project()->getId() : '', 'search_for' => $search_string, 'manager' => $search_result["manager"], 'page' => '#PAGE#', 'search_all_projects' => $search_all_projects)), 'search_pagination');
            ?>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<?php 
            echo lang('search result description short', $pagination->getStartItemNumber(), $pagination->getEndItemNumber(), $pagination->getTotalItems(), clean($search_string));
            ?>
		<?php 
        }
        // if
        ?>
		<?php 
        if (!isset($enable_pagination) && $pagination->countItemsOnPage(1) < $pagination->getTotalItems()) {
            ?>
			<a class="internalLink" href='<?php 
            echo get_url('search', 'searchbytype', array('manager' => $search_result["manager"], 'search_for' => $search_string, 'search_all_projects' => $search_all_projects));
            ?>
Beispiel #7
0
<?php 
  add_stylesheet_to_page('project/tickets.css');
  $options_pagination = array('page' => '#PAGE#');
  if (isset($closed) && $closed) $options_pagination['closed'] = true;
?>
<?php if(isset($tickets) && is_array($tickets) && count($tickets)) { ?>
<div id="tickets">
  <?php if (isset($tickets_pagination)): ?>
  <div id="ticketsPaginationTop"><?php echo advanced_pagination($tickets_pagination, get_url('tickets', 'index', $options_pagination)) ?></div>
  <?php endif ?>
  <?php
  $this->assign('tickets', $tickets);
  $this->includeTemplate(get_template_path('view_tickets', 'tickets'));
  ?>
  <?php if (isset($tickets_pagination)): ?>
  <div id="ticketsPaginationBottom"><?php echo advanced_pagination($tickets_pagination, get_url('tickets', 'index', $options_pagination)) ?></div>
  <?php endif ?>
</div>
<?php } else { ?>
<p><?php echo lang('no tickets in project') ?></p>
<?php } // if ?>
<?php 
} else {
    ?>
    <a href="<?php 
    echo $order_by_name_url;
    ?>
"><?php 
    echo lang('order by filename');
    ?>
</a> | <a href="<?php 
    echo $order_by_posttime_url;
    ?>
" class="selected"><?php 
    echo lang('order by posttime');
    ?>
</a>
<?php 
}
// if
?>
  </div>
  <div class="filesPagination">
<?php 
if ($pagination instanceof DataPagination) {
    echo advanced_pagination($pagination, $current_folder instanceof ProjectFolder ? $current_folder->getBrowseUrl($order, "#PAGE#") : ProjectFiles::getIndexUrl($order, '#PAGE#'));
}
// if
?>
  </div>
</div>
</a>
<?php 
} else {
    ?>
    <a class="internalLink" href="<?php 
    echo $order_by_name_url;
    ?>
"><?php 
    echo lang('order by filename');
    ?>
</a> | <a href="<?php 
    echo $order_by_posttime_url;
    ?>
" class="selected internalLink"><?php 
    echo lang('order by posttime');
    ?>
</a>
<?php 
}
// if
?>
  </div>
  <div class="filesPagination">
<?php 
if ($pagination instanceof DataPagination) {
    echo advanced_pagination($pagination, ProjectFiles::getIndexUrl($order, '#PAGE#'));
}
// if
?>
  </div>
</div>
Beispiel #10
0
: <a class="internalLink" href="<?php 
        echo $search_result->getObjectUrl();
        ?>
"><?php 
        echo clean($search_result->getObjectName());
        ?>
</a></li>
<?php 
    }
    // foreach
    ?>
</ul>

<?php 
    if (isset($pagination) && $pagination instanceof DataPagination) {
        echo advanced_pagination($pagination, get_url('project', 'search', array('active_project' => active_project() ? active_project()->getId() : '', 'search_for' => $search_string, 'page' => (int) '#PAGE#' > 0 ? (int) '#PAGE#' : 1)));
    }
    // if
    ?>

<?php 
} else {
    ?>
<p><?php 
    echo lang('no search result for', $search_string);
    ?>
</p>
<?php 
}
// if
?>
            ?>
    </td>
    <td width="10%">
      <?php 
            if (trim($contact->getHomeNumber()) != '') {
                ?>
        <?php 
                echo clean($contact->getHomeNumber());
                ?>
      <?php 
            }
            // if
            ?>
    </td>
  </tr>
<?php 
        }
        // foreach
        ?>
  </table>
<?php 
    }
    // if
}
// if
?>
  <div id="bottom"><?php 
echo advanced_pagination($contacts_pagination, get_url('dashboard', 'contacts', trim($initial) == '' ? array('page' => '#PAGE#') : array('page' => '#PAGE#', 'initial' => $initial)));
?>
</div>
</div>