diff options
author | tommy tomson <thomas.bierey@gmx.de> | 2012-04-16 19:23:11 +0200 |
---|---|---|
committer | tommy tomson <thomas.bierey@gmx.de> | 2012-04-16 19:23:11 +0200 |
commit | f08844a8a58f46d539753831a8ff99995fc3c1ae (patch) | |
tree | c1a231e0d0a90f21d216d4ae554b51f547f93ea4 | |
parent | 15dc8f4b212a0554844fcc3104942fe6fc944918 (diff) | |
download | volse-hubzilla-f08844a8a58f46d539753831a8ff99995fc3c1ae.tar.gz volse-hubzilla-f08844a8a58f46d539753831a8ff99995fc3c1ae.tar.bz2 volse-hubzilla-f08844a8a58f46d539753831a8ff99995fc3c1ae.zip |
diabook-themes: bugfix (sry, necessary)
-rwxr-xr-x | view/theme/diabook-aerith/ch_directory_item.tpl | 10 | ||||
-rw-r--r-- | view/theme/diabook-aerith/nav.tpl | 2 | ||||
-rw-r--r-- | view/theme/diabook-aerith/theme.php | 4 | ||||
-rwxr-xr-x | view/theme/diabook-blue/ch_directory_item.tpl | 10 | ||||
-rw-r--r-- | view/theme/diabook-blue/nav.tpl | 2 | ||||
-rw-r--r-- | view/theme/diabook-blue/theme.php | 4 | ||||
-rwxr-xr-x | view/theme/diabook-red/ch_directory_item.tpl | 10 | ||||
-rw-r--r-- | view/theme/diabook-red/nav.tpl | 2 | ||||
-rw-r--r-- | view/theme/diabook-red/theme.php | 4 | ||||
-rwxr-xr-x | view/theme/diabook/ch_directory_item.tpl | 10 | ||||
-rw-r--r-- | view/theme/diabook/nav.tpl | 2 | ||||
-rwxr-xr-x | view/theme/diabook/theme.php | 4 |
12 files changed, 52 insertions, 12 deletions
diff --git a/view/theme/diabook-aerith/ch_directory_item.tpl b/view/theme/diabook-aerith/ch_directory_item.tpl new file mode 100755 index 000000000..db1936e4b --- /dev/null +++ b/view/theme/diabook-aerith/ch_directory_item.tpl @@ -0,0 +1,10 @@ + +<div class="directory-item" id="directory-item-$id" > + <div class="directory-photo-wrapper" id="directory-photo-wrapper-$id" > + <div class="directory-photo" id="directory-photo-$id" > + <a href="$profile-link" class="directory-profile-link" id="directory-profile-link-$id" > + <img class="directory-photo-img" src="$photo" alt="$alt-text" title="$alt-text" /> + </a> + </div> + </div> +</div> diff --git a/view/theme/diabook-aerith/nav.tpl b/view/theme/diabook-aerith/nav.tpl index 6559c49ea..0453ec7ee 100644 --- a/view/theme/diabook-aerith/nav.tpl +++ b/view/theme/diabook-aerith/nav.tpl @@ -103,7 +103,7 @@ </li> {{ endif }} - {{ if $nav.settings }} + {{ if $nav.home }} <li id="nav-home-link" class="nav-menu $sel.home"> <a class="$nav.home.2" href="$nav.home.0" title="$nav.home.3" >$nav.home.1 <span id="home-update" class="nav-notify"></span></a> diff --git a/view/theme/diabook-aerith/theme.php b/view/theme/diabook-aerith/theme.php index df93cbed8..c798643b5 100644 --- a/view/theme/diabook-aerith/theme.php +++ b/view/theme/diabook-aerith/theme.php @@ -36,7 +36,7 @@ function diabook_aerith_community_info(){ 0, 9 ); - $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl'); + $tpl = file_get_contents( dirname(__file__).'/ch_directory_item.tpl'); if(count($r)) { $photo = 'thumb'; foreach($r as $rr) { @@ -115,7 +115,7 @@ function diabook_aerith_community_info(){ dbesc(t('Profile Photos')) ); if(count($r)) { - $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl'); + $tpl = file_get_contents( dirname(__file__).'/ch_directory_item.tpl'); foreach($r as $rr) { $photo_page = $a->get_baseurl() . '/photos/' . $rr['nickname'] . '/image/' . $rr['resource-id']; $photo_url = $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . $rr['scale'] .'.jpg'; diff --git a/view/theme/diabook-blue/ch_directory_item.tpl b/view/theme/diabook-blue/ch_directory_item.tpl new file mode 100755 index 000000000..db1936e4b --- /dev/null +++ b/view/theme/diabook-blue/ch_directory_item.tpl @@ -0,0 +1,10 @@ + +<div class="directory-item" id="directory-item-$id" > + <div class="directory-photo-wrapper" id="directory-photo-wrapper-$id" > + <div class="directory-photo" id="directory-photo-$id" > + <a href="$profile-link" class="directory-profile-link" id="directory-profile-link-$id" > + <img class="directory-photo-img" src="$photo" alt="$alt-text" title="$alt-text" /> + </a> + </div> + </div> +</div> diff --git a/view/theme/diabook-blue/nav.tpl b/view/theme/diabook-blue/nav.tpl index 6559c49ea..0453ec7ee 100644 --- a/view/theme/diabook-blue/nav.tpl +++ b/view/theme/diabook-blue/nav.tpl @@ -103,7 +103,7 @@ </li> {{ endif }} - {{ if $nav.settings }} + {{ if $nav.home }} <li id="nav-home-link" class="nav-menu $sel.home"> <a class="$nav.home.2" href="$nav.home.0" title="$nav.home.3" >$nav.home.1 <span id="home-update" class="nav-notify"></span></a> diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php index 2257f8df0..9aac48c38 100644 --- a/view/theme/diabook-blue/theme.php +++ b/view/theme/diabook-blue/theme.php @@ -35,7 +35,7 @@ function diabook_blue_community_info(){ 0, 9 ); - $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl'); + $tpl = file_get_contents( dirname(__file__).'/ch_directory_item.tpl'); if(count($r)) { $photo = 'thumb'; foreach($r as $rr) { @@ -114,7 +114,7 @@ function diabook_blue_community_info(){ dbesc(t('Profile Photos')) ); if(count($r)) { - $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl'); + $tpl = file_get_contents( dirname(__file__).'/ch_directory_item.tpl'); foreach($r as $rr) { $photo_page = $a->get_baseurl() . '/photos/' . $rr['nickname'] . '/image/' . $rr['resource-id']; $photo_url = $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . $rr['scale'] .'.jpg'; diff --git a/view/theme/diabook-red/ch_directory_item.tpl b/view/theme/diabook-red/ch_directory_item.tpl new file mode 100755 index 000000000..db1936e4b --- /dev/null +++ b/view/theme/diabook-red/ch_directory_item.tpl @@ -0,0 +1,10 @@ + +<div class="directory-item" id="directory-item-$id" > + <div class="directory-photo-wrapper" id="directory-photo-wrapper-$id" > + <div class="directory-photo" id="directory-photo-$id" > + <a href="$profile-link" class="directory-profile-link" id="directory-profile-link-$id" > + <img class="directory-photo-img" src="$photo" alt="$alt-text" title="$alt-text" /> + </a> + </div> + </div> +</div> diff --git a/view/theme/diabook-red/nav.tpl b/view/theme/diabook-red/nav.tpl index 6559c49ea..0453ec7ee 100644 --- a/view/theme/diabook-red/nav.tpl +++ b/view/theme/diabook-red/nav.tpl @@ -103,7 +103,7 @@ </li> {{ endif }} - {{ if $nav.settings }} + {{ if $nav.home }} <li id="nav-home-link" class="nav-menu $sel.home"> <a class="$nav.home.2" href="$nav.home.0" title="$nav.home.3" >$nav.home.1 <span id="home-update" class="nav-notify"></span></a> diff --git a/view/theme/diabook-red/theme.php b/view/theme/diabook-red/theme.php index fb2ad21fd..1ef65d83e 100644 --- a/view/theme/diabook-red/theme.php +++ b/view/theme/diabook-red/theme.php @@ -35,7 +35,7 @@ function diabook_red_community_info(){ 0, 9 ); - $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl'); + $tpl = file_get_contents( dirname(__file__).'/ch_directory_item.tpl'); if(count($r)) { $photo = 'thumb'; foreach($r as $rr) { @@ -114,7 +114,7 @@ function diabook_red_community_info(){ dbesc(t('Profile Photos')) ); if(count($r)) { - $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl'); + $tpl = file_get_contents( dirname(__file__).'/ch_directory_item.tpl'); foreach($r as $rr) { $photo_page = $a->get_baseurl() . '/photos/' . $rr['nickname'] . '/image/' . $rr['resource-id']; $photo_url = $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . $rr['scale'] .'.jpg'; diff --git a/view/theme/diabook/ch_directory_item.tpl b/view/theme/diabook/ch_directory_item.tpl new file mode 100755 index 000000000..db1936e4b --- /dev/null +++ b/view/theme/diabook/ch_directory_item.tpl @@ -0,0 +1,10 @@ + +<div class="directory-item" id="directory-item-$id" > + <div class="directory-photo-wrapper" id="directory-photo-wrapper-$id" > + <div class="directory-photo" id="directory-photo-$id" > + <a href="$profile-link" class="directory-profile-link" id="directory-profile-link-$id" > + <img class="directory-photo-img" src="$photo" alt="$alt-text" title="$alt-text" /> + </a> + </div> + </div> +</div> diff --git a/view/theme/diabook/nav.tpl b/view/theme/diabook/nav.tpl index 6559c49ea..0453ec7ee 100644 --- a/view/theme/diabook/nav.tpl +++ b/view/theme/diabook/nav.tpl @@ -103,7 +103,7 @@ </li> {{ endif }} - {{ if $nav.settings }} + {{ if $nav.home }} <li id="nav-home-link" class="nav-menu $sel.home"> <a class="$nav.home.2" href="$nav.home.0" title="$nav.home.3" >$nav.home.1 <span id="home-update" class="nav-notify"></span></a> diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 490a647f3..0fdcbf701 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -41,7 +41,7 @@ function diabook_community_info(){ 0, 9 ); - $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl'); + $tpl = file_get_contents( dirname(__file__).'/ch_directory_item.tpl'); if(count($r)) { $photo = 'thumb'; foreach($r as $rr) { @@ -120,7 +120,7 @@ function diabook_community_info(){ dbesc(t('Profile Photos')) ); if(count($r)) { - $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl'); + $tpl = file_get_contents( dirname(__file__).'/ch_directory_item.tpl'); foreach($r as $rr) { $photo_page = $a->get_baseurl() . '/photos/' . $rr['nickname'] . '/image/' . $rr['resource-id']; $photo_url = $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . $rr['scale'] .'.jpg'; |