You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
4.9 KiB

  1. <!--<a
  2. class="button color orange oppose"
  3. href="{$c->route('nodeconfig', array($me,'urn:xmpp:microblog:0'))}" >
  4. <i class="fa fa-user"></i> {$c->__('config.feed_configuration')}
  5. </a>-->
  6. <form enctype="multipart/form-data" method="post" action="index.php" name="general">
  7. <br/>
  8. <h3>{$c->__('config.general')}</h3>
  9. <div class="block">
  10. <div class="select">
  11. <select name="language" id="language" value="{$conf.language}">
  12. <option value="en">English (default)</option>
  13. {loop="$languages"}
  14. {if="$key == $conf.language"}
  15. <option
  16. value="{$key}"
  17. selected="selected">
  18. {$value}
  19. </option>
  20. {else}
  21. <option
  22. value="{$key}">
  23. {$value}
  24. </option>
  25. {/if}
  26. {/loop}
  27. </select>
  28. </div>
  29. <label for="language">{$c->__('config.language')}</label>
  30. </div>
  31. <div class="block">
  32. <div class="select">
  33. <select name="roster" id="roster" value="{$conf.roster}">
  34. <option value="hide" {if="$conf.roster == 'hide'"}selected="selected"{/if}>
  35. {$c->__('config.roster_hide')}
  36. </option>
  37. <option value="show" {if="$conf.roster == 'show'"}selected="selected"{/if} >
  38. {$c->__('config.roster_show')}
  39. </option>
  40. </select>
  41. </div>
  42. <label for="roster">{$c->__('config.roster')}</label>
  43. </div>
  44. <div class="clear"></div>
  45. <br />
  46. <!--
  47. <h3>{$c->__('config.notifications')}</h3>
  48. <div class="block">
  49. <div class="checkbox">
  50. <input
  51. type="checkbox"
  52. id="privacy"
  53. name="privacy"
  54. {if="$me->privacy"}
  55. checked
  56. {/if}
  57. onchange="{$privacy}">
  58. <label for="privacy"></label>
  59. </div>
  60. <label for="language">{$c->__('notifications.message')}</label>
  61. </div>
  62. <div class="block">
  63. <div class="checkbox">
  64. <input
  65. type="checkbox"
  66. id="privacy"
  67. name="privacy"
  68. {if="$me->privacy"}
  69. checked
  70. {/if}
  71. onchange="{$privacy}">
  72. <label for="privacy"></label>
  73. </div>
  74. <label for="language">{$c->__('notifications.desktop')}</label>
  75. </div>-->
  76. <!--
  77. <h3>{$c->__('config.appearence')}</h3>-->
  78. <!--<div class="block large" id="nav_color">
  79. <a
  80. type="button"
  81. style="width: 45%; float: right;"
  82. class="button flat">
  83. {$c->__('button.reset')}
  84. </a>
  85. <input
  86. style="box-shadow: none; width: 50%; float: left;"
  87. name="color"
  88. class="color"
  89. value="
  90. {if="isset($color)"}
  91. {$color}
  92. {else}
  93. 082D50
  94. {/if}
  95. ">
  96. <label for="color"><i class="fa fa-adjust"></i> {$c->__('config.background_color')}</label>
  97. </div>-->
  98. <!--
  99. <div class="block large" id="font_size">
  100. <label for="size"><i class="fa fa-font"></i> {$c->__('config.font_size')}</label>
  101. <a
  102. type="button"
  103. class="button flat">
  104. {$c->__('button.reset')}
  105. </a>
  106. <span>
  107. 12
  108. <input
  109. id="slide"
  110. type="range"
  111. min="12"
  112. max="16"
  113. step="0.5"
  114. value="
  115. {if="isset($size)"}
  116. {$size}
  117. {else}
  118. 14
  119. {/if}
  120. "
  121. name="size"
  122. style="width: 45%;"
  123. />
  124. 16
  125. </span>
  126. <span id="currentsize">
  127. {if="isset($size)"}
  128. {$size}
  129. {else}
  130. 14
  131. {/if}
  132. px
  133. </span>
  134. </div>
  135. -->
  136. <!--<label id="lock" for="soundnotif">{$c->t('Enable Sound Notification:'); ?></label>
  137. <input type="checkbox" name="soundnotif" value="soundnotif" checked="checked" /><br /> -->
  138. <!--<input value="{$c->t('Submit'); ?>" onclick="<?php echo $submit; ?>" type="button" class="button icon yes merged right" style="float: right;">
  139. <input type="reset" value="{$c->t('Reset'); ?>" class="button icon no merged left" style="float: right;">-->
  140. <div class="clear padded"></div>
  141. <a
  142. onclick="{$submit}"
  143. class="button color oppose" >
  144. {$c->__('button.save')}
  145. </a>
  146. <div class="clear"></div>
  147. </form>
  148. <!--
  149. <div class="message info">{$c->__('config.info')}</div>-->