<!-- outer tabs -->
';
- echo $this->outerTabs($params);
- echo '<!-- inner tabs -->';
- if (isset($params['group']) && $params['group']) {
- echo $this->projectTabs($params['toptab'],$params['group']);
- }
- echo '<div id="maindiv">
+ echo $this->outerTabs($params);
+ echo '<!-- inner tabs -->';
+ if (isset($params['group']) && $params['group']) {
+ echo $this->projectTabs($params['toptab'],$params['group']);
+ }
+ echo '<div id="maindiv">
';
- }
+ }
- function bodyFooter($params) {
- echo '</div> <!-- id="maindiv" -->
+ function bodyFooter($params) {
- echo '</div>
++ echo '</div> <!-- id="maindiv" -->
';
- }
+ }
- function footer($params) {
- $this->bodyFooter($params);
- echo '
+ function footer($params) {
++ $this->bodyFooter($params);
+ echo '
<!-- PLEASE LEAVE "Powered By FusionForge" on your site -->
<div class="align-right">
- <a href="http://fusionforge.org/">
- <img src="'. util_make_uri ('/images/pow-fusionforge.png') .'" alt="Powered By FusionForge" />
- </a></div>
+ ' . $this->navigation->getPoweredBy() . '
+ </div>
+ ' . $this->navigation->getShowSource() . '
';
- global $sys_show_source;
- if ($sys_show_source) {
- global $SCRIPT_NAME;
- print util_make_link ('/source.php?file=' . $SCRIPT_NAME, _('Show source'), array ("class" => "showsource"));
- }
-
- echo '
+ echo '
</body>
</html>
';
<div class="box-title-left">
<div class="box-title-right">
<h3 class="box-title-content" id="'. $this->toSlug($id) .'-title-content">'. $title .'</h3>
- </div>
- </div>
- </div>
+ </div> <!-- class="box-title-right" -->
+ </div> <!-- class="box-title-left" -->
+ </div> <!-- class="box-title" -->
<div id="'. $this->toSlug($id) .'-content" class="box-content">
';
- return $t_result;
- }
-
- /**
- * boxMiddle() - Middle HTML box
- *
- * @param string Box title
- * @param string The box background color
- */
- function boxMiddle($title, $id = '') {
- $t_result ='
+ return $t_result;
+ }
+
+ /**
+ * boxMiddle() - Middle HTML box
+ *
+ * @param string Box title
+ * @param string The box background color
+ */
+ function boxMiddle($title, $id = '') {
+ $t_result ='
</div> <!-- class="box-content" -->
<h3 id="title-'. $this->toSlug($id).'" class="box-middle">'.$title.'</h3>
<div class="box-content">
';
- return $t_result;
- }
-
- /**
- * boxBottom() - Bottom HTML box
- *
- */
- function boxBottom() {
- $t_result='
+ return $t_result;
+ }
+
+ /**
+ * boxBottom() - Bottom HTML box
+ *
+ */
+ function boxBottom() {
+ $t_result='
- </div>
+ </div> <!-- class="box-content" -->
</div> <!-- class="box-surround" -->
';
- return $t_result;
- }
-
- /**
- * boxGetAltRowStyle() - Get an alternating row style for tables
- *
- * @param int Row number
- */
- function boxGetAltRowStyle($i) {
- if ($i % 2 == 0) {
- return 'class="bgcolor-white"';
- } else {
- return 'class="bgcolor-grey"';
- }
- }
-
- /**
- * listTableTop() - Takes an array of titles and builds the first row of a new table.
- *
- * @param array The array of titles
- * @param array The array of title links
- * @param boolean Whether to highlight or not the entry
- */
- function listTableTop ($title_arr,$links_arr=false,$selected=false) {
- $return = '<table class="width-100p100 listTable';
- if ($selected == true) {
- $return .= ' selected';
- }
- $return .= '">
+ return $t_result;
+ }
+
+ /**
+ * boxGetAltRowStyle() - Get an alternating row style for tables
+ *
+ * @param int Row number
+ */
+ function boxGetAltRowStyle($i) {
+ if ($i % 2 == 0) {
+ return 'class="bgcolor-white"';
+ } else {
+ return 'class="bgcolor-grey"';
+ }
+ }
+
+ /**
+ * listTableTop() - Takes an array of titles and builds the first row of a new table.
+ *
+ * @param array The array of titles
+ * @param array The array of title links
+ * @param boolean Whether to highlight or not the entry
+ */
+ function listTableTop ($title_arr,$links_arr=false,$selected=false) {
+ $return = '<table class="width-100p100 listTable';
+ if ($selected == true) {
+ $return .= ' selected';
+ }
+ $return .= '">
<tr>';
- $count=count($title_arr);
- if ($links_arr) {
- for ($i=0; $i<$count; $i++) {
- $return .= '
+ $count=count($title_arr);
+ if ($links_arr) {
+ for ($i=0; $i<$count; $i++) {
+ $return .= '
<th scope="col"><a class="sortbutton" href="'.util_make_url ($links_arr[$i]).'"><strong>'.$title_arr[$i].'</strong></a></th>';
- }
- } else {
- for ($i=0; $i<$count; $i++) {
- $return .= '
+ }
+ } else {
+ for ($i=0; $i<$count; $i++) {
+ $return .= '
<th scope="col"><strong>'.$title_arr[$i].'</strong></th>';
- }
- }
- return $return.'</tr>';
- }
+ }
+ }
+ return $return.'</tr>';
+ }
- function listTableBottom() {
- return '
+ function listTableBottom() {
+ return '
</table>';
- }
+ }
- function tabGenerator($TABS_DIRS, $TABS_TITLES, $nested=false, $selected=false, $sel_tab_bgcolor='WHITE', $total_width='100%') {
+ function tabGenerator($TABS_DIRS, $TABS_TITLES, $nested=false,
+ $selected=false, $sel_tab_bgcolor='WHITE',
+ $total_width='100%') {
$count=count($TABS_DIRS);
if ($count < 1) {
return;