From 35a44d8d27f8866b90d47940d0ea3572ac663af1 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Tue, 23 Oct 2012 19:20:49 +0100 Subject: [PATCH] Diabook - first part of clean-up to make the theme maintainable. --- view/theme/diabook/admin_users.tpl | 88 ------------------------------ view/theme/diabook/theme.php | 44 --------------- 2 files changed, 132 deletions(-) delete mode 100644 view/theme/diabook/admin_users.tpl diff --git a/view/theme/diabook/admin_users.tpl b/view/theme/diabook/admin_users.tpl deleted file mode 100644 index 8aabb51ec9..0000000000 --- a/view/theme/diabook/admin_users.tpl +++ /dev/null @@ -1,88 +0,0 @@ - -
-

$title - $page

- -
- -

$h_pending

- {{ if $pending }} - - - - {{ for $th_pending as $th }}{{ endfor }} - - - - - - {{ for $pending as $u }} - - - - - - - - {{ endfor }} - -
$th
$u.created$u.name - - -
- -
- {{ else }} -

$no_pending

- {{ endif }} - - - - -

$h_users

- {{ if $users }} - - - - - {{ for $th_users as $th }}{{ endfor }} - - - - - - {{ for $users as $u }} - - - - - - - - - - - - {{ endfor }} - -
$th
$u.nickname$u.name$u.register_date$u.lastitem_date - - -
- -
- {{ else }} - NO USERS?!? - {{ endif }} -
-
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index cf45441757..c0ca82b41c 100644 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -37,7 +37,6 @@ load_config("diabook"); load_pconfig(local_user(), "diabook"); //get statuses of boxes at right-hand-column -$close_pages = get_diabook_config( "close_pages", 1 ); $close_profiles = get_diabook_config( "close_profiles", 0 ); $close_helpers = get_diabook_config( "close_helpers", 0 ); $close_services = get_diabook_config( "close_services", 0 ); @@ -297,11 +296,6 @@ if ($color=="dark") $color_path = "/diabook-dark/";