diff --git a/data/templates/minimal/about.tpl.php b/data/templates/minimal/about.tpl.php new file mode 100644 index 0000000..40d269b --- /dev/null +++ b/data/templates/minimal/about.tpl.php @@ -0,0 +1,31 @@ +includeTemplate($GLOBALS['top_include']); +?> + +
getLastTagDescription($currenttag)) {
+ $cDescription = $cdservice->getLastTagDescription($currenttag);
+ echo nl2br(filter($cDescription['cdDescription']));
+} elseif(isset($hash) && $cdservice->getLastBookmarkDescription($hash)) {
+ $cDescription = $cdservice->getLastBookmarkDescription($hash);
+ echo nl2br(filter($cDescription['cdTitle'])). "
";
+ echo nl2br(filter($cDescription['cdDescription'])). "
";
+}
+
+//common tag description edit
+if ($userservice->isLoggedOn()) {
+ if ($currenttag != ''
+ && ($GLOBALS['enableCommonTagDescriptionEditedByAll']
+ || $currentUser->isAdmin()
+ )
+ ) {
+ echo ' ';
+ echo !is_array($cDescription) || strlen($cDescription['cdDescription'])==0?T_('Edit the common description of this tag'):'';
+ echo ' ';
+ } else if (isset($hash)) {
+ echo ' (';
+ echo T_('Edit the common description of this bookmark').')';
+ }
+}
+?>
getDescription($currenttag, $userObject['uId']); +echo nl2br(filter($pDescription['tDescription'])); + +//personal tag description edit +if($userservice->isLoggedOn()) { + if($currenttag!= '') { + echo ' '; + echo strlen($pDescription['tDescription'])==0?T_('Edit your personal description of this tag'):''; + echo ' '; + } +} +?>
+ + + + 0) { ?> + +- + '; + $dateSort = 'date_desc'; + break; + +case 'title_asc': + $titleArrow = ' '; + $titleSort = 'title_desc'; + break; + +case 'title_desc': + $titleArrow = ' '; + $titleSort = 'title_asc'; + break; + +case 'voting_asc': + $votingArrow = ' '; + $votingSort = 'voting_desc'; + break; + +case 'voting_desc': + $votingArrow = ' '; + $votingSort = 'voting_asc'; + break; + +case 'date_desc': +default: + $dateArrow = ' '; + $dateSort = 'date_asc'; + break; +} +?> + + / + + / + + + / + + +'; + echo T_('Bookmarks from other users for this tag').''; + //echo T_(' for these tags'); + } else if ($userservice->isLoggedOn()){ + echo ' - '; + echo ''; + echo T_('Only your bookmarks for this tag').''; + //echo T_(' for these tags'); + } +} +?>
+'. $bfirst . $bprev . $bnext . $blast . sprintf(T_('Page %d of %d'), $page, $totalpages) ." ". $brss ."
\n"; + + if (getPerPageCount($currentUser) > 10) { + echo $pagesBanner; // display a page banner if too many bookmarks to manage + } + + +?> +'.T_('No bookmarks available').'
'; +} + +$this->includeTemplate($GLOBALS['bottom_include']); +?> diff --git a/data/templates/minimal/bottom.inc.php b/data/templates/minimal/bottom.inc.php new file mode 100644 index 0000000..4e5b226 --- /dev/null +++ b/data/templates/minimal/bottom.inc.php @@ -0,0 +1,50 @@ +