aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-12-14 14:36:20 +0000
committerpatdenice <patdenice@piwigo.org>2010-12-14 14:36:20 +0000
commite97974a42e64ee43d95cef258d65d9b022929dbe (patch)
tree00cef9ee9212ae653a8e266a2db51ad3dbe6c39b /admin/themes/default
parent21fe811c3b773af20a9e9d9932274cae16111cb1 (diff)
feature 2060: Remove adviser from db structure.
Remove adviser from user_list page and some db queries. git-svn-id: http://piwigo.org/svn/trunk@8131 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default')
-rw-r--r--admin/themes/default/default-colors.css2
-rw-r--r--admin/themes/default/template/extend_for_templates.tpl2
-rw-r--r--admin/themes/default/template/user_list.tpl13
3 files changed, 1 insertions, 16 deletions
diff --git a/admin/themes/default/default-colors.css b/admin/themes/default/default-colors.css
index d786a9d33..915df5a9b 100644
--- a/admin/themes/default/default-colors.css
+++ b/admin/themes/default/default-colors.css
@@ -29,7 +29,7 @@ INPUT.radio, INPUT.checkbox {
/**
- * Header message like upgrade or adviser mode
+ * Header message like upgrade
*/
.header_msgs {
text-align:center;
diff --git a/admin/themes/default/template/extend_for_templates.tpl b/admin/themes/default/template/extend_for_templates.tpl
index bbaa48b5c..07998128a 100644
--- a/admin/themes/default/template/extend_for_templates.tpl
+++ b/admin/themes/default/template/extend_for_templates.tpl
@@ -28,10 +28,8 @@
</tr>
{/foreach}
</table>
- {if !is_adviser()}
<p>
<input class="submit" type="submit" value="{'Submit'|@translate}" name="submit">
</p>
- {/if}
</form>
{/if}
diff --git a/admin/themes/default/template/user_list.tpl b/admin/themes/default/template/user_list.tpl
index ec0fd29f3..03772e104 100644
--- a/admin/themes/default/template/user_list.tpl
+++ b/admin/themes/default/template/user_list.tpl
@@ -120,19 +120,6 @@
</select>
</td>
</tr>
-
- {if isset($adviser)}
- <tr>
- <td>{'Adviser'|@translate}</td>
- <td>
- <label><input type="radio" name="adviser" value="leave" checked="checked"> {'leave'|@translate}</label>
- / {'set to'|@translate}
- <label><input type="radio" name="adviser" value="true">{'Yes'|@translate}</label>
- <label><input type="radio" name="adviser" value="false">{'No'|@translate}</label>
- </td>
- </tr>
- {/if}
-
</table>
</fieldset>