diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-24 04:07:17 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-24 04:07:17 +0000 |
commit | bd0008f450fe55b28590e209917da8a61ebdc373 (patch) | |
tree | 46888d1841923ae1f8fb5039f650e776a0b36229 /templates | |
parent | ded54786a5d1f24d21b2ffe1ec9d2d2b664a8c54 (diff) | |
download | ampache-bd0008f450fe55b28590e209917da8a61ebdc373.tar.gz ampache-bd0008f450fe55b28590e209917da8a61ebdc373.tar.bz2 ampache-bd0008f450fe55b28590e209917da8a61ebdc373.zip |
quick commit so I can build a nightly
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_add_playlist.inc.php | 48 | ||||
-rw-r--r-- | templates/show_playlist_edit.inc.php | 7 | ||||
-rw-r--r-- | templates/show_search.inc | 5 |
3 files changed, 52 insertions, 8 deletions
diff --git a/templates/show_add_playlist.inc.php b/templates/show_add_playlist.inc.php new file mode 100644 index 00000000..f356d6f7 --- /dev/null +++ b/templates/show_add_playlist.inc.php @@ -0,0 +1,48 @@ +<?php +/* + + Copyright (c) 2001 - 2006 Ampache.org + All rights reserved. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +*/ + +?> +<?php show_box_top(_('Create a new playlist')); ?> +<form name="songs" method="post" action="<?php echo conf('web_path'); ?>/playlist.php"> +<table> +<tr> + <td><?php echo _('Name'); ?>:</td> + <td><input type="text" name="playlist_name" size="20" /></td> +</tr> +<tr> + <td><?php echo _('Type'); ?>:</td> + <td> + <select name="type"> + <option value="private"> Private </option> + <option value="public"> Public </option> + </select> + </td> +</tr> +<tr> + <td colspan="2"> + <input type="submit" value="<?php echo _('Create'); ?>" /> + <input type="hidden" name="action" value="Create" /> + </td> +</tr> +</table> +</form> +<?php show_box_bottom(); ?> diff --git a/templates/show_playlist_edit.inc.php b/templates/show_playlist_edit.inc.php index 48bd78fa..1ff9b1ad 100644 --- a/templates/show_playlist_edit.inc.php +++ b/templates/show_playlist_edit.inc.php @@ -24,10 +24,8 @@ $web_path = conf('web_path'); ?> <form method="post" action="<?php echo $web_path; ?>/playlist.php" enctype="multipart/form-data"> -<table class="text-box"> -<tr> - <td colspan="2" class="header2"><?php echo _('Editing Playlist'); ?></td> -</tr> +<?php show_box_top(_('Editing Playlist')); ?> +<table> <tr> <td><?php echo _('Name'); ?>:</td> <td align="left"> @@ -51,4 +49,5 @@ $web_path = conf('web_path'); </td> </tr> </table> +<?php show_box_bottom(); ?> </form> diff --git a/templates/show_search.inc b/templates/show_search.inc index 09262afe..116b30d3 100644 --- a/templates/show_search.inc +++ b/templates/show_search.inc @@ -24,12 +24,9 @@ * This is the template for the searches... amazing! */ ?> -<?php require (conf('prefix') . '/templates/show_box_top.inc.php'); ?> +<?php show_box_top(_('Search Ampache') . "..."); ?> <form name="search" method="post" action="<?php echo conf('web_path'); ?>/search.php" enctype="multipart/form-data" style="Display:inline"> <table class="tabledata" cellspacing="0" cellpadding="3" border="0"> -<tr class="table-header"> - <th colspan="4"><?php echo _('Search Ampache'); ?>...</th> -</tr> <tr class="<?php echo flip_class(); ?>"> <td><?php echo _('Keywords') ?></td> <td> |