Changeset 15477 for extensions/typetags/admin
- Timestamp:
- Jun 2, 2012, 12:14:12 PM (12 years ago)
- Location:
- extensions/typetags/admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/typetags/admin/farbtastic/index.php
r9863 r15477 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | PhpWebGallery - a PHP based picture gallery |4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |6 // +-----------------------------------------------------------------------+7 // | file : $Id: index.php 1912 2007-03-16 06:30:07Z rub $8 // | last update : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $9 // | last modifier : $Author: rub $10 // | revision : $Revision: 1912 $11 // +-----------------------------------------------------------------------+12 // | This program is free software; you can redistribute it and/or modify |13 // | it under the terms of the GNU General Public License as published by |14 // | the Free Software Foundation |15 // | |16 // | This program is distributed in the hope that it will be useful, but |17 // | WITHOUT ANY WARRANTY; without even the implied warranty of |18 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |19 // | General Public License for more details. |20 // | |21 // | You should have received a copy of the GNU General Public License |22 // | along with this program; if not, write to the Free Software |23 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |24 // | USA. |25 // +-----------------------------------------------------------------------+26 27 // Recursive call28 2 $url = '../'; 29 3 header( 'Request-URI: '.$url ); -
extensions/typetags/admin/index.php
r3301 r15477 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | PhpWebGallery - a PHP based picture gallery |4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |6 // +-----------------------------------------------------------------------+7 // | file : $Id: index.php 1912 2007-03-16 06:30:07Z rub $8 // | last update : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $9 // | last modifier : $Author: rub $10 // | revision : $Revision: 1912 $11 // +-----------------------------------------------------------------------+12 // | This program is free software; you can redistribute it and/or modify |13 // | it under the terms of the GNU General Public License as published by |14 // | the Free Software Foundation |15 // | |16 // | This program is distributed in the hope that it will be useful, but |17 // | WITHOUT ANY WARRANTY; without even the implied warranty of |18 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |19 // | General Public License for more details. |20 // | |21 // | You should have received a copy of the GNU General Public License |22 // | along with this program; if not, write to the Free Software |23 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |24 // | USA. |25 // +-----------------------------------------------------------------------+26 27 // Recursive call28 2 $url = '../'; 29 3 header( 'Request-URI: '.$url ); -
extensions/typetags/admin/typetags_admin.tpl
r15149 r15477 72 72 <h2>TypeT@gs</h2> 73 73 </div> 74 75 <form action="{$typetags_ADMIN}" method="post" name="form">76 <fieldset>77 <legend>{'Configuration'|@translate}</legend>78 <b>{'Display colored tags'|@translate}</b>79 <label><input type="radio" name="show_all" value="false" {if not $SHOW_ALL}checked="checked"{/if}> {'Only on tags page'|@translate}</label>80 <label><input type="radio" name="show_all" value="true" {if $SHOW_ALL}checked="checked"{/if}> {'Everywhere'|@translate}</label>81 <p><input class="submit" type="submit" name="save_config" value="{'Submit'|@translate}"></p>82 </fieldset>83 </form>84 74 85 75 <form action="{$typetags_ADMIN}" method="post" name="form"> 86 76 <fieldset> 87 {if isset($ edited_typetag)}77 {if isset($IN_EDIT)} 88 78 <legend>{'Edit typetag'|@translate}</legend> 89 79 <div class="edit-container"> 90 <div id="colorpicker" style="float:right;"></div>80 <div id="colorpicker"></div> 91 81 <p><b>{'Edited TypeTag'|@translate} : <input type="text" readonly="readonly" size="18" style="background-color:{$typetag.OLD_COLOR};color:{$typetag.COLOR_TEXT};" value="{$typetag.OLD_NAME}"></b></p> 92 82 <p> </p> … … 103 93 <legend>{'Create a Typetag'|@translate}</legend> 104 94 <div class="edit-container"> 105 <div id="colorpicker" style="float:right;"></div> 106 <p> </p> 95 <div id="colorpicker"></div> 107 96 <p>{'New TypeTag'|@translate} : <input type="text" size="18" name="typetag_name" value="{if isset($typetag.NAME)}{$typetag.NAME}{/if}"></p> 108 97 <p>{'Color TypeTag'|@translate} : <input type="text" id="hexval" name="typetag_color" size="7" maxlength="7" value="{if isset($typetag.COLOR)}{$typetag.COLOR}{else}#444444{/if}"></p> … … 116 105 </form> 117 106 118 {if !empty($typetags_selection) }107 {if !empty($typetags_selection) and !isset($IN_EDIT)} 119 108 <form action="{$typetags_ADMIN}" method="post" name="form" onsubmit="save_datas(this);"> 120 109 <fieldset> … … 151 140 </form> 152 141 {/if} 142 143 {if !isset($IN_EDIT)} 144 <form action="{$typetags_ADMIN}" method="post" name="form"> 145 <fieldset> 146 <legend>{'Configuration'|@translate}</legend> 147 <b>{'Display colored tags'|@translate}</b> 148 <label><input type="radio" name="show_all" value="false" {if not $SHOW_ALL}checked="checked"{/if}> {'Only on tags page'|@translate}</label> 149 <label><input type="radio" name="show_all" value="true" {if $SHOW_ALL}checked="checked"{/if}> {'Everywhere'|@translate}</label> 150 <p><input class="submit" type="submit" name="save_config" value="{'Submit'|@translate}"></p> 151 </fieldset> 152 </form> 153 {/if} -
extensions/typetags/admin/typetags_style.css
r15149 r15477 2 2 width: 500px; 3 3 margin: auto; 4 } 5 6 #colorpicker { 7 float:right; 8 margin-top:-15px; 4 9 } 5 10
Note: See TracChangeset
for help on using the changeset viewer.