Форуми / Cotonti / Support / 0.0.6 admin.inc.tpl

Trustmaster
#14424 17.07.2009 12:27
In page.add.tpl/page.edit.tpl there is code near Submit button:
				<tr>
					<td colspan="2" class="valid">
					<!-- IF {PHP.usr_can_publish} -->
					<input name="rpublish" type="submit" class="submit" value="{PHP.L.Publish}"
						onclick="this.value='OK';return true" />
					<input type="submit" value="{PHP.L.Putinvalidationqueue}" />
					<!-- ELSE -->
					<input type="submit" value="{PHP.L.Submit}" />
					<!-- ENDIF -->
					</td>
				</tr>
You need to use it or similar in your skin. Now we have 2 buttons for admins: Submit to validation queue or Publish directly.
May the Source be with you!